@lopatnov/express-reverse-proxy 1.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.git/COMMIT_EDITMSG +1 -1
- package/.git/FETCH_HEAD +6 -1
- package/.git/ORIG_HEAD +1 -1
- package/.git/index +0 -0
- package/.git/logs/HEAD +4 -0
- package/.git/logs/refs/heads/master +4 -0
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/async-2.6.4 +1 -0
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.14.8 +1 -0
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.15.1 +1 -0
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/minimist-1.2.6 +2 -0
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/moment-2.29.4 +2 -0
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.10 +1 -0
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.7 +1 -0
- package/.git/logs/refs/remotes/origin/master +4 -0
- package/.git/objects/05/7279a8af3092f351c4ae469bd547adfc76f7a4 +0 -0
- package/.git/objects/05/c82a6f0ea9c0a164aad76ced44fec680b8604a +0 -0
- package/.git/objects/06/051cdbe81b43e531f1ca0fa765cb4c91d91ea1 +0 -0
- package/.git/objects/12/3d8423180da838ba0af1284aae79e1a955c98b +0 -0
- package/.git/objects/14/3d5eca2e4998e6899de6049e38b4bf2559e4e0 +0 -0
- package/.git/objects/16/a3a924f2a6924622e739eebe236ef713030c8b +0 -0
- package/.git/objects/1d/559712ab5ec703cf8e866b24b8dfb3b321ff03 +0 -0
- package/.git/objects/1f/4bda8b3565949d26f700322b343189d29bffdf +3 -0
- package/.git/objects/22/034a86b3f190407ef7a2c0eaf212ddaa686f16 +0 -0
- package/.git/objects/25/9462200ffecedc2eef36f888eb503e3f2e81ec +0 -0
- package/.git/objects/28/220d00bdbed408d7a98ece866fb5af1e7d1395 +0 -0
- package/.git/objects/33/f5906b4664855687be03e7d6d93092c9daf955 +0 -0
- package/.git/objects/39/fb332adf9703decb515ff845b2c93ee7bdd191 +0 -0
- package/.git/objects/3a/4d74b53dc2acdf09452ccf6c30100a929f557d +0 -0
- package/.git/objects/3b/f4ee4b9fb6b872ee61b1a392113d208ca7c762 +0 -0
- package/.git/objects/3f/8e368a352ad9a944b90208dee1188e4330a2f1 +1 -0
- package/.git/objects/44/e27cef5a809b8c2d36871c5193198142431a63 +0 -0
- package/.git/objects/4b/47d7aeb054f8ab581690b65dcb12308ba90b6c +0 -0
- package/.git/objects/5b/c7e4571e0196bc7913762a38c0698ab23b4b40 +0 -0
- package/.git/objects/5d/cc561a09ef24892a16f23881962624a126f9ca +0 -0
- package/.git/objects/5e/3da9aaf50f9faecdc9cb1ebeab3fba5a9e8fb4 +0 -0
- package/.git/objects/5f/7c7f1513de49814f849f66114759c6daef837d +0 -0
- package/.git/objects/64/967bb9704893349c92a31f5291fc0eb2c13fa9 +0 -0
- package/.git/objects/6e/22bebb02332d3ff461dca72d0ecb8f1d44835f +0 -0
- package/.git/objects/6f/220ef271ba804052014c8a5d406a1438efef64 +0 -0
- package/.git/objects/7f/3277bd2a1e2b01b395caf1e0e8999c1682c223 +0 -0
- package/.git/objects/83/5696f89cedc2214df0ffc788f08c4d58a97c95 +0 -0
- package/.git/objects/85/b13d9fef3c897366d43df137438cd28f915087 +0 -0
- package/.git/objects/95/d70526c36e8b3e5c814f64645623371d57946d +0 -0
- package/.git/objects/98/898b1fd7b14788c34282603fca629e813ba546 +0 -0
- package/.git/objects/9d/31d2fc81e780e5e2de1c51b8e705005e94d59d +0 -0
- package/.git/objects/a2/955bbd248d85219a4264c1b21dc7c2d0481d11 +0 -0
- package/.git/objects/a4/a1ac412998cdfe316b39e29e5462057602c1d6 +0 -0
- package/.git/objects/bb/269a37e471f96225f825accb8fec832556baeb +0 -0
- package/.git/objects/be/6b92cd3ae0f90b9b3fae0ca6661931dae6c83a +0 -0
- package/.git/objects/c0/e2ecce02f4d74977c088b07ddae70af1b0204b +0 -0
- package/.git/objects/ca/4942a1100642a56ccf314d1e9c4db6da1ee5d2 +0 -0
- package/.git/objects/cc/6904a6336d2a954e954bb0d1e50aea08c83494 +0 -0
- package/.git/objects/cd/084b222732a6e80a2440e9ecdd773aedb197e6 +0 -0
- package/.git/objects/d5/2717c6fd9c3deeb0ff98151d64927d2a6234c6 +0 -0
- package/.git/objects/d9/981364d8a15210123a3585846031c62eaecd8f +0 -0
- package/.git/objects/db/454cbee6da5938914837cda981dea069f7f409 +0 -0
- package/.git/objects/dd/b3b7a413e020bae0d7a4bec93871427e70d257 +0 -0
- package/.git/objects/e5/2673bb0d2f0856fee0cef63f2018cf38aaf12a +0 -0
- package/.git/objects/e9/bd949a381501bde67f21ba4d00c670cd65663c +0 -0
- package/.git/objects/eb/eb5a56b15dab25752fdaa5c407aa876cbf23b3 +0 -0
- package/.git/objects/ef/2403cca5e0283f168e74e1e0548f0bee6ba64b +5 -0
- package/.git/objects/ef/de9a8166073eaffcbdb334a63e93ab2e0e2bb2 +3 -0
- package/.git/objects/f1/8fc2e1985b84cd24de30829a7a4a9c691340c9 +0 -0
- package/.git/objects/f2/9fbde97f3b548ee6ec891b4b411707ebf0561a +0 -0
- package/.git/objects/f5/f2285b984ce7ef265cf79ce10ba51dcc9f9ad6 +0 -0
- package/.git/objects/fd/a93fd9e44b59cfec306dd85a72db21360569a4 +0 -0
- package/.git/refs/heads/master +1 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/async-2.6.4 +1 -0
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.14.8 +1 -0
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.15.1 +1 -0
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/minimist-1.2.6 +1 -0
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/moment-2.29.4 +1 -0
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.10 +1 -0
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.7 +1 -0
- package/.git/refs/remotes/origin/master +1 -1
- package/.git/tortoisegit.data +0 -0
- package/.git/tortoisegit.index +0 -0
- package/README.md +39 -13
- package/node_modules/@eslint/eslintrc/LICENSE +21 -0
- package/node_modules/@eslint/eslintrc/README.md +61 -0
- package/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- package/node_modules/@eslint/eslintrc/conf/environments.js +179 -0
- package/node_modules/@eslint/eslintrc/conf/eslint-all.cjs +12 -0
- package/node_modules/@eslint/eslintrc/conf/eslint-recommended.cjs +12 -0
- package/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +520 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
- package/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1103 -0
- package/node_modules/@eslint/eslintrc/lib/flat-compat.js +310 -0
- package/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- package/node_modules/@eslint/eslintrc/lib/index.js +56 -0
- package/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- package/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- package/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
- package/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- package/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- package/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
- package/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- package/node_modules/@eslint/eslintrc/package.json +81 -0
- package/node_modules/@eslint/eslintrc/universal.js +9 -0
- package/node_modules/@humanwhocodes/config-array/CHANGELOG.md +9 -0
- package/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
- package/node_modules/@humanwhocodes/config-array/README.md +266 -0
- package/node_modules/@humanwhocodes/config-array/api.js +523 -0
- package/node_modules/@humanwhocodes/config-array/package.json +61 -0
- package/node_modules/@humanwhocodes/object-schema/.eslintrc.js +29 -0
- package/node_modules/@humanwhocodes/object-schema/.github/workflows/nodejs-test.yml +27 -0
- package/node_modules/@humanwhocodes/object-schema/.github/workflows/release-please.yml +39 -0
- package/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +8 -0
- package/node_modules/@humanwhocodes/object-schema/LICENSE +29 -0
- package/node_modules/@humanwhocodes/object-schema/README.md +234 -0
- package/node_modules/@humanwhocodes/object-schema/package.json +33 -0
- package/node_modules/@humanwhocodes/object-schema/src/index.js +7 -0
- package/node_modules/@humanwhocodes/object-schema/src/merge-strategy.js +53 -0
- package/node_modules/@humanwhocodes/object-schema/src/object-schema.js +235 -0
- package/node_modules/@humanwhocodes/object-schema/src/validation-strategy.js +102 -0
- package/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +66 -0
- package/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +611 -0
- package/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +186 -0
- package/node_modules/@opencensus/core/LICENSE +202 -0
- package/node_modules/@opencensus/core/README.md +108 -0
- package/node_modules/@opencensus/core/build/src/common/console-logger.d.ts +60 -0
- package/node_modules/@opencensus/core/build/src/common/console-logger.js +97 -0
- package/node_modules/@opencensus/core/build/src/common/time-util.d.ts +41 -0
- package/node_modules/@opencensus/core/build/src/common/time-util.js +74 -0
- package/node_modules/@opencensus/core/build/src/common/types.d.ts +29 -0
- package/node_modules/@opencensus/core/build/src/common/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/common/validations.d.ts +31 -0
- package/node_modules/@opencensus/core/build/src/common/validations.js +46 -0
- package/node_modules/@opencensus/core/build/src/common/version.d.ts +16 -0
- package/node_modules/@opencensus/core/build/src/common/version.js +24 -0
- package/node_modules/@opencensus/core/build/src/exporters/console-exporter.d.ts +70 -0
- package/node_modules/@opencensus/core/build/src/exporters/console-exporter.js +91 -0
- package/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.d.ts +59 -0
- package/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.js +104 -0
- package/node_modules/@opencensus/core/build/src/exporters/types.d.ts +52 -0
- package/node_modules/@opencensus/core/build/src/exporters/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/index.d.ts +50 -0
- package/node_modules/@opencensus/core/build/src/index.js +59 -0
- package/node_modules/@opencensus/core/build/src/internal/clock.d.ts +43 -0
- package/node_modules/@opencensus/core/build/src/internal/clock.js +68 -0
- package/node_modules/@opencensus/core/build/src/internal/cls-ah.d.ts +20 -0
- package/node_modules/@opencensus/core/build/src/internal/cls-ah.js +128 -0
- package/node_modules/@opencensus/core/build/src/internal/cls.d.ts +28 -0
- package/node_modules/@opencensus/core/build/src/internal/cls.js +45 -0
- package/node_modules/@opencensus/core/build/src/internal/string-utils.d.ts +35 -0
- package/node_modules/@opencensus/core/build/src/internal/string-utils.js +49 -0
- package/node_modules/@opencensus/core/build/src/internal/util.d.ts +16 -0
- package/node_modules/@opencensus/core/build/src/internal/util.js +34 -0
- package/node_modules/@opencensus/core/build/src/metrics/export/base-metric-producer.d.ts +27 -0
- package/node_modules/@opencensus/core/build/src/metrics/export/base-metric-producer.js +25 -0
- package/node_modules/@opencensus/core/build/src/metrics/export/metric-producer-manager.d.ts +17 -0
- package/node_modules/@opencensus/core/build/src/metrics/export/metric-producer-manager.js +70 -0
- package/node_modules/@opencensus/core/build/src/metrics/export/types.d.ts +331 -0
- package/node_modules/@opencensus/core/build/src/metrics/export/types.js +69 -0
- package/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.d.ts +110 -0
- package/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.js +150 -0
- package/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.d.ts +114 -0
- package/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.js +162 -0
- package/node_modules/@opencensus/core/build/src/metrics/gauges/types.d.ts +45 -0
- package/node_modules/@opencensus/core/build/src/metrics/gauges/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/metrics/metric-component.d.ts +29 -0
- package/node_modules/@opencensus/core/build/src/metrics/metric-component.js +40 -0
- package/node_modules/@opencensus/core/build/src/metrics/metric-registry.d.ts +93 -0
- package/node_modules/@opencensus/core/build/src/metrics/metric-registry.js +152 -0
- package/node_modules/@opencensus/core/build/src/metrics/metrics.d.ts +27 -0
- package/node_modules/@opencensus/core/build/src/metrics/metrics.js +35 -0
- package/node_modules/@opencensus/core/build/src/metrics/utils.d.ts +30 -0
- package/node_modules/@opencensus/core/build/src/metrics/utils.js +42 -0
- package/node_modules/@opencensus/core/build/src/resource/resource.d.ts +98 -0
- package/node_modules/@opencensus/core/build/src/resource/resource.js +167 -0
- package/node_modules/@opencensus/core/build/src/resource/types.d.ts +31 -0
- package/node_modules/@opencensus/core/build/src/resource/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.d.ts +49 -0
- package/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.js +90 -0
- package/node_modules/@opencensus/core/build/src/stats/metric-producer.d.ts +34 -0
- package/node_modules/@opencensus/core/build/src/stats/metric-producer.js +40 -0
- package/node_modules/@opencensus/core/build/src/stats/metric-utils.d.ts +40 -0
- package/node_modules/@opencensus/core/build/src/stats/metric-utils.js +83 -0
- package/node_modules/@opencensus/core/build/src/stats/recorder.d.ts +26 -0
- package/node_modules/@opencensus/core/build/src/stats/recorder.js +76 -0
- package/node_modules/@opencensus/core/build/src/stats/stats.d.ts +97 -0
- package/node_modules/@opencensus/core/build/src/stats/stats.js +169 -0
- package/node_modules/@opencensus/core/build/src/stats/types.d.ts +242 -0
- package/node_modules/@opencensus/core/build/src/stats/types.js +48 -0
- package/node_modules/@opencensus/core/build/src/stats/view.d.ts +119 -0
- package/node_modules/@opencensus/core/build/src/stats/view.js +194 -0
- package/node_modules/@opencensus/core/build/src/tags/tag-map.d.ts +26 -0
- package/node_modules/@opencensus/core/build/src/tags/tag-map.js +45 -0
- package/node_modules/@opencensus/core/build/src/tags/types.d.ts +25 -0
- package/node_modules/@opencensus/core/build/src/tags/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/tags/validation.d.ts +20 -0
- package/node_modules/@opencensus/core/build/src/tags/validation.js +41 -0
- package/node_modules/@opencensus/core/build/src/trace/config/types.d.ts +82 -0
- package/node_modules/@opencensus/core/build/src/trace/config/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.d.ts +77 -0
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.js +113 -0
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/types.d.ts +56 -0
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/trace/model/root-span.d.ts +53 -0
- package/node_modules/@opencensus/core/build/src/trace/model/root-span.js +111 -0
- package/node_modules/@opencensus/core/build/src/trace/model/span-base.d.ts +131 -0
- package/node_modules/@opencensus/core/build/src/trace/model/span-base.js +210 -0
- package/node_modules/@opencensus/core/build/src/trace/model/span.d.ts +35 -0
- package/node_modules/@opencensus/core/build/src/trace/model/span.js +66 -0
- package/node_modules/@opencensus/core/build/src/trace/model/tracer.d.ts +112 -0
- package/node_modules/@opencensus/core/build/src/trace/model/tracer.js +241 -0
- package/node_modules/@opencensus/core/build/src/trace/model/types.d.ts +455 -0
- package/node_modules/@opencensus/core/build/src/trace/model/types.js +198 -0
- package/node_modules/@opencensus/core/build/src/trace/propagation/types.d.ts +36 -0
- package/node_modules/@opencensus/core/build/src/trace/propagation/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/trace/sampler/sampler.d.ts +72 -0
- package/node_modules/@opencensus/core/build/src/trace/sampler/sampler.js +129 -0
- package/node_modules/@opencensus/core/build/src/trace/sampler/types.d.ts +29 -0
- package/node_modules/@opencensus/core/build/src/trace/sampler/types.js +18 -0
- package/node_modules/@opencensus/core/build/src/trace/types.d.ts +46 -0
- package/node_modules/@opencensus/core/build/src/trace/types.js +18 -0
- package/node_modules/@opencensus/core/node_modules/.bin/semver +12 -0
- package/node_modules/@opencensus/core/node_modules/.bin/semver.cmd +17 -0
- package/node_modules/@opencensus/core/node_modules/.bin/semver.ps1 +28 -0
- package/node_modules/@opencensus/core/node_modules/semver/CHANGELOG.md +39 -0
- package/node_modules/@opencensus/core/node_modules/semver/LICENSE +15 -0
- package/node_modules/@opencensus/core/node_modules/semver/README.md +412 -0
- package/node_modules/@opencensus/core/node_modules/semver/bin/semver +160 -0
- package/node_modules/@opencensus/core/node_modules/semver/package.json +28 -0
- package/node_modules/@opencensus/core/node_modules/semver/range.bnf +16 -0
- package/node_modules/@opencensus/core/node_modules/semver/semver.js +1483 -0
- package/node_modules/@opencensus/core/package.json +68 -0
- package/node_modules/@opencensus/propagation-b3/LICENSE +202 -0
- package/node_modules/@opencensus/propagation-b3/README.md +46 -0
- package/node_modules/@opencensus/propagation-b3/build/src/b3-format.d.ts +35 -0
- package/node_modules/@opencensus/propagation-b3/build/src/b3-format.js +77 -0
- package/node_modules/@opencensus/propagation-b3/build/src/index.d.ts +16 -0
- package/node_modules/@opencensus/propagation-b3/build/src/index.js +22 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver +12 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver.cmd +17 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver.ps1 +28 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/LICENSE +202 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/README.md +96 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/console-logger.d.ts +51 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/console-logger.js +106 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/types.d.ts +29 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/validations.d.ts +31 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/validations.js +46 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/version.d.ts +1 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/version.js +24 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/console-exporter.d.ts +64 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/console-exporter.js +84 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.d.ts +44 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.js +104 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/types.d.ts +44 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/index.d.ts +37 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/index.js +45 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/clock.d.ts +43 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/clock.js +68 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls-ah.d.ts +5 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls-ah.js +128 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls.d.ts +28 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls.js +45 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/string-utils.d.ts +35 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/string-utils.js +49 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/util.d.ts +1 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/util.js +34 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/metric-producer.d.ts +27 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/metric-producer.js +25 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/types.d.ts +309 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/types.js +69 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.d.ts +95 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.js +151 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.d.ts +99 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.js +161 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/types.d.ts +45 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metric-registry.d.ts +79 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metric-registry.js +152 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metrics.d.ts +26 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metrics.js +34 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/utils.d.ts +30 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/utils.js +42 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/resource.d.ts +81 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/resource.js +160 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/types.d.ts +31 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.d.ts +49 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.js +90 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-producer.d.ts +34 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-producer.js +40 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-utils.d.ts +39 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-utils.js +84 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/recorder.d.ts +23 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/recorder.js +70 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/stats.d.ts +85 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/stats.js +145 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/types.d.ts +188 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/types.js +48 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/view.d.ts +118 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/view.js +201 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/config/types.d.ts +68 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/config/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.d.ts +73 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.js +110 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/types.d.ts +45 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/root-span.d.ts +38 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/root-span.js +108 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span-base.d.ts +114 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span-base.js +165 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span.d.ts +20 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span.js +65 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/tracer.d.ts +95 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/tracer.js +229 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/types.d.ts +245 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/propagation/types.d.ts +36 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/propagation/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/sampler.d.ts +56 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/sampler.js +94 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/types.d.ts +29 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/types.d.ts +46 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/types.js +18 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/package.json +63 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/CHANGELOG.md +39 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/LICENSE +15 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/README.md +412 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/bin/semver +160 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/package.json +28 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/range.bnf +16 -0
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/semver.js +1483 -0
- package/node_modules/@opencensus/propagation-b3/package.json +56 -0
- package/node_modules/@pm2/agent/.drone.jsonnet +104 -0
- package/node_modules/@pm2/agent/.mocharc.yml +12 -0
- package/node_modules/@pm2/agent/.vscode/launch.json +29 -0
- package/node_modules/@pm2/agent/LICENSE +661 -0
- package/node_modules/@pm2/agent/README.md +95 -0
- package/node_modules/@pm2/agent/config.js +30 -0
- package/node_modules/@pm2/agent/constants.js +98 -0
- package/node_modules/@pm2/agent/index.js +2 -0
- package/node_modules/@pm2/agent/node_modules/.bin/semver +12 -0
- package/node_modules/@pm2/agent/node_modules/.bin/semver.cmd +17 -0
- package/node_modules/@pm2/agent/node_modules/.bin/semver.ps1 +28 -0
- package/node_modules/@pm2/agent/node_modules/chalk/index.d.ts +411 -0
- package/node_modules/@pm2/agent/node_modules/chalk/license +9 -0
- package/node_modules/@pm2/agent/node_modules/chalk/package.json +63 -0
- package/node_modules/@pm2/agent/node_modules/chalk/readme.md +304 -0
- package/node_modules/@pm2/agent/node_modules/chalk/source/index.js +233 -0
- package/node_modules/@pm2/agent/node_modules/chalk/source/templates.js +134 -0
- package/node_modules/@pm2/agent/node_modules/chalk/source/util.js +39 -0
- package/node_modules/@pm2/agent/node_modules/semver/CHANGELOG.md +101 -0
- package/node_modules/@pm2/agent/node_modules/semver/LICENSE +15 -0
- package/node_modules/@pm2/agent/node_modules/semver/README.md +563 -0
- package/node_modules/@pm2/agent/node_modules/semver/bin/semver.js +173 -0
- package/node_modules/@pm2/agent/node_modules/semver/classes/comparator.js +139 -0
- package/node_modules/@pm2/agent/node_modules/semver/classes/index.js +5 -0
- package/node_modules/@pm2/agent/node_modules/semver/classes/range.js +453 -0
- package/node_modules/@pm2/agent/node_modules/semver/classes/semver.js +290 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/clean.js +6 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/cmp.js +48 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/coerce.js +51 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/compare-build.js +7 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/compare-loose.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/compare.js +5 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/diff.js +23 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/eq.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/gt.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/gte.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/inc.js +15 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/lt.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/lte.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/major.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/minor.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/neq.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/parse.js +37 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/patch.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/prerelease.js +6 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/rcompare.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/rsort.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/satisfies.js +10 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/sort.js +3 -0
- package/node_modules/@pm2/agent/node_modules/semver/functions/valid.js +6 -0
- package/node_modules/@pm2/agent/node_modules/semver/index.js +47 -0
- package/node_modules/@pm2/agent/node_modules/semver/internal/constants.js +17 -0
- package/node_modules/@pm2/agent/node_modules/semver/internal/debug.js +9 -0
- package/node_modules/@pm2/agent/node_modules/semver/internal/identifiers.js +23 -0
- package/node_modules/@pm2/agent/node_modules/semver/internal/re.js +179 -0
- package/node_modules/@pm2/agent/node_modules/semver/package.json +38 -0
- package/node_modules/@pm2/agent/node_modules/semver/preload.js +2 -0
- package/node_modules/@pm2/agent/node_modules/semver/range.bnf +16 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/gtr.js +4 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/intersects.js +7 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/ltr.js +4 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/max-satisfying.js +25 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/min-satisfying.js +24 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/min-version.js +57 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/outside.js +80 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/simplify.js +44 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/to-comparators.js +8 -0
- package/node_modules/@pm2/agent/node_modules/semver/ranges/valid.js +11 -0
- package/node_modules/@pm2/agent/package.json +41 -0
- package/node_modules/@pm2/agent/src/InteractorClient.js +502 -0
- package/node_modules/@pm2/agent/src/InteractorDaemon.js +452 -0
- package/node_modules/@pm2/agent/src/PM2Client.js +112 -0
- package/node_modules/@pm2/agent/src/PM2Interface.js +180 -0
- package/node_modules/@pm2/agent/src/TransporterInterface.js +173 -0
- package/node_modules/@pm2/agent/src/Utility.js +395 -0
- package/node_modules/@pm2/agent/src/WatchDog.js +70 -0
- package/node_modules/@pm2/agent/src/push/DataRetriever.js +77 -0
- package/node_modules/@pm2/agent/src/push/PushInteractor.js +206 -0
- package/node_modules/@pm2/agent/src/push/TransactionAggregator.js +670 -0
- package/node_modules/@pm2/agent/src/reverse/ReverseInteractor.js +128 -0
- package/node_modules/@pm2/agent/src/transporters/Transporter.js +129 -0
- package/node_modules/@pm2/agent/src/transporters/WebsocketTransport.js +204 -0
- package/node_modules/@pm2/agent/src/utils/BinaryHeap.js +135 -0
- package/node_modules/@pm2/agent/src/utils/EDS.js +111 -0
- package/node_modules/@pm2/agent/src/utils/probes/Histogram.js +204 -0
- package/node_modules/@pm2/agent/src/utils/units.js +10 -0
- package/node_modules/@pm2/io/.drone.jsonnet +114 -0
- package/node_modules/@pm2/io/.mocharc.js +17 -0
- package/node_modules/@pm2/io/.vscode/settings.json +3 -0
- package/node_modules/@pm2/io/CHANGELOG.md +13 -0
- package/node_modules/@pm2/io/LICENSE.md +201 -0
- package/node_modules/@pm2/io/NOTES.md +73 -0
- package/node_modules/@pm2/io/README.md +574 -0
- package/node_modules/@pm2/io/build/main/census/config/default-config.d.ts +8 -0
- package/node_modules/@pm2/io/build/main/census/config/default-config.js +12 -0
- package/node_modules/@pm2/io/build/main/census/constants.d.ts +9 -0
- package/node_modules/@pm2/io/build/main/census/constants.js +12 -0
- package/node_modules/@pm2/io/build/main/census/exporter.d.ts +18 -0
- package/node_modules/@pm2/io/build/main/census/exporter.js +103 -0
- package/node_modules/@pm2/io/build/main/census/instrumentation/ext-types.d.ts +12 -0
- package/node_modules/@pm2/io/build/main/census/instrumentation/ext-types.js +1 -0
- package/node_modules/@pm2/io/build/main/census/instrumentation/plugin-loader.d.ts +14 -0
- package/node_modules/@pm2/io/build/main/census/instrumentation/plugin-loader.js +94 -0
- package/node_modules/@pm2/io/build/main/census/plugins/express.d.ts +13 -0
- package/node_modules/@pm2/io/build/main/census/plugins/express.js +120 -0
- package/node_modules/@pm2/io/build/main/census/plugins/http.d.ts +46 -0
- package/node_modules/@pm2/io/build/main/census/plugins/http.js +325 -0
- package/node_modules/@pm2/io/build/main/census/plugins/http2.d.ts +17 -0
- package/node_modules/@pm2/io/build/main/census/plugins/http2.js +163 -0
- package/node_modules/@pm2/io/build/main/census/plugins/https.d.ts +9 -0
- package/node_modules/@pm2/io/build/main/census/plugins/https.js +61 -0
- package/node_modules/@pm2/io/build/main/census/plugins/ioredis.d.ts +23 -0
- package/node_modules/@pm2/io/build/main/census/plugins/ioredis.js +89 -0
- package/node_modules/@pm2/io/build/main/census/plugins/mongodb.d.ts +21 -0
- package/node_modules/@pm2/io/build/main/census/plugins/mongodb.js +128 -0
- package/node_modules/@pm2/io/build/main/census/plugins/mysql.d.ts +21 -0
- package/node_modules/@pm2/io/build/main/census/plugins/mysql.js +82 -0
- package/node_modules/@pm2/io/build/main/census/plugins/mysql2.d.ts +21 -0
- package/node_modules/@pm2/io/build/main/census/plugins/mysql2.js +82 -0
- package/node_modules/@pm2/io/build/main/census/plugins/net.d.ts +8 -0
- package/node_modules/@pm2/io/build/main/census/plugins/net.js +79 -0
- package/node_modules/@pm2/io/build/main/census/plugins/pg.d.ts +23 -0
- package/node_modules/@pm2/io/build/main/census/plugins/pg.js +148 -0
- package/node_modules/@pm2/io/build/main/census/plugins/redis.d.ts +19 -0
- package/node_modules/@pm2/io/build/main/census/plugins/redis.js +114 -0
- package/node_modules/@pm2/io/build/main/census/plugins/vue.d.ts +12 -0
- package/node_modules/@pm2/io/build/main/census/plugins/vue.js +78 -0
- package/node_modules/@pm2/io/build/main/census/tracer.d.ts +19 -0
- package/node_modules/@pm2/io/build/main/census/tracer.js +67 -0
- package/node_modules/@pm2/io/build/main/configuration.d.ts +6 -0
- package/node_modules/@pm2/io/build/main/configuration.js +125 -0
- package/node_modules/@pm2/io/build/main/constants.d.ts +5 -0
- package/node_modules/@pm2/io/build/main/constants.js +15 -0
- package/node_modules/@pm2/io/build/main/featureManager.d.ts +14 -0
- package/node_modules/@pm2/io/build/main/featureManager.js +105 -0
- package/node_modules/@pm2/io/build/main/features/dependencies.d.ts +7 -0
- package/node_modules/@pm2/io/build/main/features/dependencies.js +45 -0
- package/node_modules/@pm2/io/build/main/features/entrypoint.d.ts +11 -0
- package/node_modules/@pm2/io/build/main/features/entrypoint.js +52 -0
- package/node_modules/@pm2/io/build/main/features/events.d.ts +8 -0
- package/node_modules/@pm2/io/build/main/features/events.js +44 -0
- package/node_modules/@pm2/io/build/main/features/metrics.d.ts +24 -0
- package/node_modules/@pm2/io/build/main/features/metrics.js +89 -0
- package/node_modules/@pm2/io/build/main/features/notify.d.ts +23 -0
- package/node_modules/@pm2/io/build/main/features/notify.js +224 -0
- package/node_modules/@pm2/io/build/main/features/profiling.d.ts +18 -0
- package/node_modules/@pm2/io/build/main/features/profiling.js +68 -0
- package/node_modules/@pm2/io/build/main/features/tracing.d.ts +25 -0
- package/node_modules/@pm2/io/build/main/features/tracing.js +149 -0
- package/node_modules/@pm2/io/build/main/index.d.ts +3 -0
- package/node_modules/@pm2/io/build/main/index.js +8 -0
- package/node_modules/@pm2/io/build/main/metrics/eventLoopMetrics.d.ts +17 -0
- package/node_modules/@pm2/io/build/main/metrics/eventLoopMetrics.js +128 -0
- package/node_modules/@pm2/io/build/main/metrics/httpMetrics.d.ts +18 -0
- package/node_modules/@pm2/io/build/main/metrics/httpMetrics.js +178 -0
- package/node_modules/@pm2/io/build/main/metrics/network.d.ts +15 -0
- package/node_modules/@pm2/io/build/main/metrics/network.js +121 -0
- package/node_modules/@pm2/io/build/main/metrics/runtime.d.ts +16 -0
- package/node_modules/@pm2/io/build/main/metrics/runtime.js +153 -0
- package/node_modules/@pm2/io/build/main/metrics/v8.d.ts +23 -0
- package/node_modules/@pm2/io/build/main/metrics/v8.js +100 -0
- package/node_modules/@pm2/io/build/main/pmx.d.ts +54 -0
- package/node_modules/@pm2/io/build/main/pmx.js +283 -0
- package/node_modules/@pm2/io/build/main/profilers/addonProfiler.d.ts +16 -0
- package/node_modules/@pm2/io/build/main/profilers/addonProfiler.js +172 -0
- package/node_modules/@pm2/io/build/main/profilers/inspectorProfiler.d.ts +18 -0
- package/node_modules/@pm2/io/build/main/profilers/inspectorProfiler.js +268 -0
- package/node_modules/@pm2/io/build/main/serviceManager.d.ts +7 -0
- package/node_modules/@pm2/io/build/main/serviceManager.js +19 -0
- package/node_modules/@pm2/io/build/main/services/actions.d.ts +20 -0
- package/node_modules/@pm2/io/build/main/services/actions.js +146 -0
- package/node_modules/@pm2/io/build/main/services/inspector.d.ts +8 -0
- package/node_modules/@pm2/io/build/main/services/inspector.js +42 -0
- package/node_modules/@pm2/io/build/main/services/metrics.d.ts +63 -0
- package/node_modules/@pm2/io/build/main/services/metrics.js +186 -0
- package/node_modules/@pm2/io/build/main/services/runtimeStats.d.ts +10 -0
- package/node_modules/@pm2/io/build/main/services/runtimeStats.js +49 -0
- package/node_modules/@pm2/io/build/main/services/transport.d.ts +22 -0
- package/node_modules/@pm2/io/build/main/services/transport.js +13 -0
- package/node_modules/@pm2/io/build/main/transports/IPCTransport.d.ts +17 -0
- package/node_modules/@pm2/io/build/main/transports/IPCTransport.js +102 -0
- package/node_modules/@pm2/io/build/main/transports/WebsocketTransport.d.ts +0 -0
- package/node_modules/@pm2/io/build/main/transports/WebsocketTransport.js +1 -0
- package/node_modules/@pm2/io/build/main/utils/BinaryHeap.d.ts +16 -0
- package/node_modules/@pm2/io/build/main/utils/BinaryHeap.js +109 -0
- package/node_modules/@pm2/io/build/main/utils/EDS.d.ts +21 -0
- package/node_modules/@pm2/io/build/main/utils/EDS.js +93 -0
- package/node_modules/@pm2/io/build/main/utils/EWMA.d.ts +12 -0
- package/node_modules/@pm2/io/build/main/utils/EWMA.js +26 -0
- package/node_modules/@pm2/io/build/main/utils/autocast.d.ts +13 -0
- package/node_modules/@pm2/io/build/main/utils/autocast.js +49 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/counter.d.ts +10 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/counter.js +28 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/gauge.d.ts +7 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/gauge.js +20 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/histogram.d.ts +43 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/histogram.js +160 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/meter.d.ts +12 -0
- package/node_modules/@pm2/io/build/main/utils/metrics/meter.js +36 -0
- package/node_modules/@pm2/io/build/main/utils/miscellaneous.d.ts +4 -0
- package/node_modules/@pm2/io/build/main/utils/miscellaneous.js +17 -0
- package/node_modules/@pm2/io/build/main/utils/module.d.ts +5 -0
- package/node_modules/@pm2/io/build/main/utils/module.js +53 -0
- package/node_modules/@pm2/io/build/main/utils/stackParser.d.ts +37 -0
- package/node_modules/@pm2/io/build/main/utils/stackParser.js +125 -0
- package/node_modules/@pm2/io/build/main/utils/transactionAggregator.d.ts +74 -0
- package/node_modules/@pm2/io/build/main/utils/transactionAggregator.js +317 -0
- package/node_modules/@pm2/io/build/main/utils/units.d.ts +10 -0
- package/node_modules/@pm2/io/build/main/utils/units.js +16 -0
- package/node_modules/@pm2/io/docker-compose.yml +27 -0
- package/node_modules/@pm2/io/docs/README.md +106 -0
- package/node_modules/@pm2/io/node_modules/.bin/semver +12 -0
- package/node_modules/@pm2/io/node_modules/.bin/semver.cmd +17 -0
- package/node_modules/@pm2/io/node_modules/.bin/semver.ps1 +28 -0
- package/node_modules/@pm2/io/node_modules/async/CHANGELOG.md +275 -0
- package/node_modules/@pm2/io/node_modules/async/LICENSE +19 -0
- package/node_modules/@pm2/io/node_modules/async/README.md +56 -0
- package/node_modules/@pm2/io/node_modules/async/all.js +50 -0
- package/node_modules/@pm2/io/node_modules/async/allLimit.js +42 -0
- package/node_modules/@pm2/io/node_modules/async/allSeries.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/any.js +52 -0
- package/node_modules/@pm2/io/node_modules/async/anyLimit.js +43 -0
- package/node_modules/@pm2/io/node_modules/async/anySeries.js +38 -0
- package/node_modules/@pm2/io/node_modules/async/apply.js +68 -0
- package/node_modules/@pm2/io/node_modules/async/applyEach.js +51 -0
- package/node_modules/@pm2/io/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/asyncify.js +110 -0
- package/node_modules/@pm2/io/node_modules/async/auto.js +289 -0
- package/node_modules/@pm2/io/node_modules/async/autoInject.js +170 -0
- package/node_modules/@pm2/io/node_modules/async/bower.json +17 -0
- package/node_modules/@pm2/io/node_modules/async/cargo.js +94 -0
- package/node_modules/@pm2/io/node_modules/async/compose.js +58 -0
- package/node_modules/@pm2/io/node_modules/async/concat.js +43 -0
- package/node_modules/@pm2/io/node_modules/async/concatLimit.js +65 -0
- package/node_modules/@pm2/io/node_modules/async/concatSeries.js +36 -0
- package/node_modules/@pm2/io/node_modules/async/constant.js +66 -0
- package/node_modules/@pm2/io/node_modules/async/detect.js +61 -0
- package/node_modules/@pm2/io/node_modules/async/detectLimit.js +48 -0
- package/node_modules/@pm2/io/node_modules/async/detectSeries.js +38 -0
- package/node_modules/@pm2/io/node_modules/async/dir.js +43 -0
- package/node_modules/@pm2/io/node_modules/async/doDuring.js +66 -0
- package/node_modules/@pm2/io/node_modules/async/doUntil.js +39 -0
- package/node_modules/@pm2/io/node_modules/async/doWhilst.js +59 -0
- package/node_modules/@pm2/io/node_modules/async/during.js +76 -0
- package/node_modules/@pm2/io/node_modules/async/each.js +82 -0
- package/node_modules/@pm2/io/node_modules/async/eachLimit.js +45 -0
- package/node_modules/@pm2/io/node_modules/async/eachOf.js +111 -0
- package/node_modules/@pm2/io/node_modules/async/eachOfLimit.js +41 -0
- package/node_modules/@pm2/io/node_modules/async/eachOfSeries.js +35 -0
- package/node_modules/@pm2/io/node_modules/async/eachSeries.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/ensureAsync.js +73 -0
- package/node_modules/@pm2/io/node_modules/async/every.js +50 -0
- package/node_modules/@pm2/io/node_modules/async/everyLimit.js +42 -0
- package/node_modules/@pm2/io/node_modules/async/everySeries.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/filter.js +45 -0
- package/node_modules/@pm2/io/node_modules/async/filterLimit.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/filterSeries.js +35 -0
- package/node_modules/@pm2/io/node_modules/async/find.js +61 -0
- package/node_modules/@pm2/io/node_modules/async/findLimit.js +48 -0
- package/node_modules/@pm2/io/node_modules/async/findSeries.js +38 -0
- package/node_modules/@pm2/io/node_modules/async/foldl.js +78 -0
- package/node_modules/@pm2/io/node_modules/async/foldr.js +44 -0
- package/node_modules/@pm2/io/node_modules/async/forEach.js +82 -0
- package/node_modules/@pm2/io/node_modules/async/forEachLimit.js +45 -0
- package/node_modules/@pm2/io/node_modules/async/forEachOf.js +111 -0
- package/node_modules/@pm2/io/node_modules/async/forEachOfLimit.js +41 -0
- package/node_modules/@pm2/io/node_modules/async/forEachOfSeries.js +35 -0
- package/node_modules/@pm2/io/node_modules/async/forEachSeries.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/forever.js +65 -0
- package/node_modules/@pm2/io/node_modules/async/groupBy.js +54 -0
- package/node_modules/@pm2/io/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/@pm2/io/node_modules/async/groupBySeries.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/index.js +582 -0
- package/node_modules/@pm2/io/node_modules/async/inject.js +78 -0
- package/node_modules/@pm2/io/node_modules/async/internal/DoublyLinkedList.js +88 -0
- package/node_modules/@pm2/io/node_modules/async/internal/applyEach.js +38 -0
- package/node_modules/@pm2/io/node_modules/async/internal/breakLoop.js +9 -0
- package/node_modules/@pm2/io/node_modules/async/internal/consoleFunc.js +42 -0
- package/node_modules/@pm2/io/node_modules/async/internal/createTester.js +44 -0
- package/node_modules/@pm2/io/node_modules/async/internal/doLimit.js +12 -0
- package/node_modules/@pm2/io/node_modules/async/internal/doParallel.js +23 -0
- package/node_modules/@pm2/io/node_modules/async/internal/doParallelLimit.js +23 -0
- package/node_modules/@pm2/io/node_modules/async/internal/eachOfLimit.js +74 -0
- package/node_modules/@pm2/io/node_modules/async/internal/filter.js +75 -0
- package/node_modules/@pm2/io/node_modules/async/internal/findGetResult.js +10 -0
- package/node_modules/@pm2/io/node_modules/async/internal/getIterator.js +13 -0
- package/node_modules/@pm2/io/node_modules/async/internal/initialParams.js +21 -0
- package/node_modules/@pm2/io/node_modules/async/internal/iterator.js +58 -0
- package/node_modules/@pm2/io/node_modules/async/internal/map.js +35 -0
- package/node_modules/@pm2/io/node_modules/async/internal/notId.js +10 -0
- package/node_modules/@pm2/io/node_modules/async/internal/once.js +15 -0
- package/node_modules/@pm2/io/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/@pm2/io/node_modules/async/internal/parallel.js +42 -0
- package/node_modules/@pm2/io/node_modules/async/internal/queue.js +204 -0
- package/node_modules/@pm2/io/node_modules/async/internal/reject.js +21 -0
- package/node_modules/@pm2/io/node_modules/async/internal/setImmediate.js +42 -0
- package/node_modules/@pm2/io/node_modules/async/internal/slice.js +16 -0
- package/node_modules/@pm2/io/node_modules/async/internal/withoutIndex.js +12 -0
- package/node_modules/@pm2/io/node_modules/async/internal/wrapAsync.js +25 -0
- package/node_modules/@pm2/io/node_modules/async/log.js +41 -0
- package/node_modules/@pm2/io/node_modules/async/map.js +54 -0
- package/node_modules/@pm2/io/node_modules/async/mapLimit.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/mapSeries.js +36 -0
- package/node_modules/@pm2/io/node_modules/async/mapValues.js +63 -0
- package/node_modules/@pm2/io/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/@pm2/io/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/memoize.js +101 -0
- package/node_modules/@pm2/io/node_modules/async/nextTick.js +51 -0
- package/node_modules/@pm2/io/node_modules/async/package.json +80 -0
- package/node_modules/@pm2/io/node_modules/async/parallel.js +90 -0
- package/node_modules/@pm2/io/node_modules/async/parallelLimit.js +40 -0
- package/node_modules/@pm2/io/node_modules/async/priorityQueue.js +98 -0
- package/node_modules/@pm2/io/node_modules/async/queue.js +130 -0
- package/node_modules/@pm2/io/node_modules/async/race.js +70 -0
- package/node_modules/@pm2/io/node_modules/async/reduce.js +78 -0
- package/node_modules/@pm2/io/node_modules/async/reduceRight.js +44 -0
- package/node_modules/@pm2/io/node_modules/async/reflect.js +81 -0
- package/node_modules/@pm2/io/node_modules/async/reflectAll.js +105 -0
- package/node_modules/@pm2/io/node_modules/async/reject.js +45 -0
- package/node_modules/@pm2/io/node_modules/async/rejectLimit.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/rejectSeries.js +35 -0
- package/node_modules/@pm2/io/node_modules/async/retry.js +156 -0
- package/node_modules/@pm2/io/node_modules/async/retryable.js +65 -0
- package/node_modules/@pm2/io/node_modules/async/select.js +45 -0
- package/node_modules/@pm2/io/node_modules/async/selectLimit.js +37 -0
- package/node_modules/@pm2/io/node_modules/async/selectSeries.js +35 -0
- package/node_modules/@pm2/io/node_modules/async/seq.js +91 -0
- package/node_modules/@pm2/io/node_modules/async/series.js +85 -0
- package/node_modules/@pm2/io/node_modules/async/setImmediate.js +45 -0
- package/node_modules/@pm2/io/node_modules/async/some.js +52 -0
- package/node_modules/@pm2/io/node_modules/async/someLimit.js +43 -0
- package/node_modules/@pm2/io/node_modules/async/someSeries.js +38 -0
- package/node_modules/@pm2/io/node_modules/async/sortBy.js +91 -0
- package/node_modules/@pm2/io/node_modules/async/timeout.js +89 -0
- package/node_modules/@pm2/io/node_modules/async/times.js +50 -0
- package/node_modules/@pm2/io/node_modules/async/timesLimit.js +42 -0
- package/node_modules/@pm2/io/node_modules/async/timesSeries.js +32 -0
- package/node_modules/@pm2/io/node_modules/async/transform.js +87 -0
- package/node_modules/@pm2/io/node_modules/async/tryEach.js +81 -0
- package/node_modules/@pm2/io/node_modules/async/unmemoize.js +25 -0
- package/node_modules/@pm2/io/node_modules/async/until.js +41 -0
- package/node_modules/@pm2/io/node_modules/async/waterfall.js +113 -0
- package/node_modules/@pm2/io/node_modules/async/whilst.js +72 -0
- package/node_modules/@pm2/io/node_modules/async/wrapSync.js +110 -0
- package/node_modules/@pm2/io/node_modules/eventemitter2/CHANGELOG.md +122 -0
- package/node_modules/@pm2/io/node_modules/eventemitter2/LICENSE.txt +21 -0
- package/node_modules/@pm2/io/node_modules/eventemitter2/README.md +809 -0
- package/node_modules/@pm2/io/node_modules/eventemitter2/eventemitter2.d.ts +150 -0
- package/node_modules/@pm2/io/node_modules/eventemitter2/index.js +1 -0
- package/node_modules/@pm2/io/node_modules/eventemitter2/lib/eventemitter2.js +1629 -0
- package/node_modules/@pm2/io/node_modules/eventemitter2/package.json +89 -0
- package/node_modules/@pm2/io/node_modules/semver/CHANGELOG.md +70 -0
- package/node_modules/@pm2/io/node_modules/semver/LICENSE +15 -0
- package/node_modules/@pm2/io/node_modules/semver/README.md +443 -0
- package/node_modules/@pm2/io/node_modules/semver/bin/semver.js +174 -0
- package/node_modules/@pm2/io/node_modules/semver/package.json +28 -0
- package/node_modules/@pm2/io/node_modules/semver/range.bnf +16 -0
- package/node_modules/@pm2/io/node_modules/semver/semver.js +1596 -0
- package/node_modules/@pm2/io/package.json +97 -0
- package/node_modules/@pm2/io/pres/io-black.png +0 -0
- package/node_modules/@pm2/io/pres/io-white.png +0 -0
- package/node_modules/@pm2/io/test.sh +67 -0
- package/node_modules/@pm2/js-api/.drone.jsonnet +100 -0
- package/node_modules/@pm2/js-api/LICENSE +201 -0
- package/node_modules/@pm2/js-api/README.md +375 -0
- package/node_modules/@pm2/js-api/constants.js +21 -0
- package/node_modules/@pm2/js-api/index.js +1 -0
- package/node_modules/@pm2/js-api/node_modules/async/CHANGELOG.md +275 -0
- package/node_modules/@pm2/js-api/node_modules/async/LICENSE +19 -0
- package/node_modules/@pm2/js-api/node_modules/async/README.md +56 -0
- package/node_modules/@pm2/js-api/node_modules/async/all.js +50 -0
- package/node_modules/@pm2/js-api/node_modules/async/allLimit.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/allSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/any.js +52 -0
- package/node_modules/@pm2/js-api/node_modules/async/anyLimit.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/anySeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/apply.js +68 -0
- package/node_modules/@pm2/js-api/node_modules/async/applyEach.js +51 -0
- package/node_modules/@pm2/js-api/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/asyncify.js +110 -0
- package/node_modules/@pm2/js-api/node_modules/async/auto.js +289 -0
- package/node_modules/@pm2/js-api/node_modules/async/autoInject.js +170 -0
- package/node_modules/@pm2/js-api/node_modules/async/bower.json +17 -0
- package/node_modules/@pm2/js-api/node_modules/async/cargo.js +94 -0
- package/node_modules/@pm2/js-api/node_modules/async/compose.js +58 -0
- package/node_modules/@pm2/js-api/node_modules/async/concat.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/concatLimit.js +65 -0
- package/node_modules/@pm2/js-api/node_modules/async/concatSeries.js +36 -0
- package/node_modules/@pm2/js-api/node_modules/async/constant.js +66 -0
- package/node_modules/@pm2/js-api/node_modules/async/detect.js +61 -0
- package/node_modules/@pm2/js-api/node_modules/async/detectLimit.js +48 -0
- package/node_modules/@pm2/js-api/node_modules/async/detectSeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/dir.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/doDuring.js +66 -0
- package/node_modules/@pm2/js-api/node_modules/async/doUntil.js +39 -0
- package/node_modules/@pm2/js-api/node_modules/async/doWhilst.js +59 -0
- package/node_modules/@pm2/js-api/node_modules/async/during.js +76 -0
- package/node_modules/@pm2/js-api/node_modules/async/each.js +82 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachLimit.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachOf.js +111 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachOfLimit.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachOfSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/eachSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/ensureAsync.js +73 -0
- package/node_modules/@pm2/js-api/node_modules/async/every.js +50 -0
- package/node_modules/@pm2/js-api/node_modules/async/everyLimit.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/everySeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/filter.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/filterLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/filterSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/find.js +61 -0
- package/node_modules/@pm2/js-api/node_modules/async/findLimit.js +48 -0
- package/node_modules/@pm2/js-api/node_modules/async/findSeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/foldl.js +78 -0
- package/node_modules/@pm2/js-api/node_modules/async/foldr.js +44 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEach.js +82 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachLimit.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachOf.js +111 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachOfLimit.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachOfSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/forEachSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/forever.js +65 -0
- package/node_modules/@pm2/js-api/node_modules/async/groupBy.js +54 -0
- package/node_modules/@pm2/js-api/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/@pm2/js-api/node_modules/async/groupBySeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/index.js +582 -0
- package/node_modules/@pm2/js-api/node_modules/async/inject.js +78 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/DoublyLinkedList.js +88 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/applyEach.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/breakLoop.js +9 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/consoleFunc.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/createTester.js +44 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/doLimit.js +12 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/doParallel.js +23 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/doParallelLimit.js +23 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/eachOfLimit.js +74 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/filter.js +75 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/findGetResult.js +10 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/getIterator.js +13 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/initialParams.js +21 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/iterator.js +58 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/map.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/notId.js +10 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/once.js +15 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/parallel.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/queue.js +204 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/reject.js +21 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/setImmediate.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/slice.js +16 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/withoutIndex.js +12 -0
- package/node_modules/@pm2/js-api/node_modules/async/internal/wrapAsync.js +25 -0
- package/node_modules/@pm2/js-api/node_modules/async/log.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/map.js +54 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapSeries.js +36 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapValues.js +63 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/@pm2/js-api/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/memoize.js +101 -0
- package/node_modules/@pm2/js-api/node_modules/async/nextTick.js +51 -0
- package/node_modules/@pm2/js-api/node_modules/async/package.json +80 -0
- package/node_modules/@pm2/js-api/node_modules/async/parallel.js +90 -0
- package/node_modules/@pm2/js-api/node_modules/async/parallelLimit.js +40 -0
- package/node_modules/@pm2/js-api/node_modules/async/priorityQueue.js +98 -0
- package/node_modules/@pm2/js-api/node_modules/async/queue.js +130 -0
- package/node_modules/@pm2/js-api/node_modules/async/race.js +70 -0
- package/node_modules/@pm2/js-api/node_modules/async/reduce.js +78 -0
- package/node_modules/@pm2/js-api/node_modules/async/reduceRight.js +44 -0
- package/node_modules/@pm2/js-api/node_modules/async/reflect.js +81 -0
- package/node_modules/@pm2/js-api/node_modules/async/reflectAll.js +105 -0
- package/node_modules/@pm2/js-api/node_modules/async/reject.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/rejectLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/rejectSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/retry.js +156 -0
- package/node_modules/@pm2/js-api/node_modules/async/retryable.js +65 -0
- package/node_modules/@pm2/js-api/node_modules/async/select.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/selectLimit.js +37 -0
- package/node_modules/@pm2/js-api/node_modules/async/selectSeries.js +35 -0
- package/node_modules/@pm2/js-api/node_modules/async/seq.js +91 -0
- package/node_modules/@pm2/js-api/node_modules/async/series.js +85 -0
- package/node_modules/@pm2/js-api/node_modules/async/setImmediate.js +45 -0
- package/node_modules/@pm2/js-api/node_modules/async/some.js +52 -0
- package/node_modules/@pm2/js-api/node_modules/async/someLimit.js +43 -0
- package/node_modules/@pm2/js-api/node_modules/async/someSeries.js +38 -0
- package/node_modules/@pm2/js-api/node_modules/async/sortBy.js +91 -0
- package/node_modules/@pm2/js-api/node_modules/async/timeout.js +89 -0
- package/node_modules/@pm2/js-api/node_modules/async/times.js +50 -0
- package/node_modules/@pm2/js-api/node_modules/async/timesLimit.js +42 -0
- package/node_modules/@pm2/js-api/node_modules/async/timesSeries.js +32 -0
- package/node_modules/@pm2/js-api/node_modules/async/transform.js +87 -0
- package/node_modules/@pm2/js-api/node_modules/async/tryEach.js +81 -0
- package/node_modules/@pm2/js-api/node_modules/async/unmemoize.js +25 -0
- package/node_modules/@pm2/js-api/node_modules/async/until.js +41 -0
- package/node_modules/@pm2/js-api/node_modules/async/waterfall.js +113 -0
- package/node_modules/@pm2/js-api/node_modules/async/whilst.js +72 -0
- package/node_modules/@pm2/js-api/node_modules/async/wrapSync.js +110 -0
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/CHANGELOG.md +122 -0
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/LICENSE.txt +21 -0
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/README.md +809 -0
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/eventemitter2.d.ts +150 -0
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/index.js +1 -0
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/lib/eventemitter2.js +1629 -0
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/package.json +89 -0
- package/node_modules/@pm2/js-api/package.json +77 -0
- package/node_modules/@pm2/js-api/src/api_mappings.json +1 -0
- package/node_modules/@pm2/js-api/src/auth_strategies/browser_strategy.js +67 -0
- package/node_modules/@pm2/js-api/src/auth_strategies/embed_strategy.js +138 -0
- package/node_modules/@pm2/js-api/src/auth_strategies/standalone_strategy.js +33 -0
- package/node_modules/@pm2/js-api/src/auth_strategies/strategy.js +57 -0
- package/node_modules/@pm2/js-api/src/endpoint.js +34 -0
- package/node_modules/@pm2/js-api/src/keymetrics.js +78 -0
- package/node_modules/@pm2/js-api/src/namespace.js +76 -0
- package/node_modules/@pm2/js-api/src/network.js +464 -0
- package/node_modules/@pm2/js-api/src/utils/validator.js +164 -0
- package/node_modules/@pm2/js-api/src/utils/websocket.js +181 -0
- package/node_modules/@pm2/pm2-version-check/README.md +8 -0
- package/node_modules/@pm2/pm2-version-check/index.js +54 -0
- package/node_modules/@pm2/pm2-version-check/package.json +11 -0
- package/node_modules/@tootallnate/once/package.json +45 -0
- package/node_modules/@types/json5/README.md +18 -0
- package/node_modules/@types/json5/index.d.ts +44 -0
- package/node_modules/@types/json5/package.json +16 -0
- package/node_modules/@types/json5/types-metadata.json +25 -0
- package/package.json +6 -6
- package/server-config.json +3 -0
- package/server.js +190 -181
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "chalk",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Terminal string styling done right",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "chalk/chalk",
|
|
7
|
+
"main": "source",
|
|
8
|
+
"engines": {
|
|
9
|
+
"node": ">=8"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"test": "xo && nyc ava && tsd",
|
|
13
|
+
"bench": "matcha benchmark.js"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"source",
|
|
17
|
+
"index.d.ts"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"color",
|
|
21
|
+
"colour",
|
|
22
|
+
"colors",
|
|
23
|
+
"terminal",
|
|
24
|
+
"console",
|
|
25
|
+
"cli",
|
|
26
|
+
"string",
|
|
27
|
+
"str",
|
|
28
|
+
"ansi",
|
|
29
|
+
"style",
|
|
30
|
+
"styles",
|
|
31
|
+
"tty",
|
|
32
|
+
"formatting",
|
|
33
|
+
"rgb",
|
|
34
|
+
"256",
|
|
35
|
+
"shell",
|
|
36
|
+
"xterm",
|
|
37
|
+
"log",
|
|
38
|
+
"logging",
|
|
39
|
+
"command-line",
|
|
40
|
+
"text"
|
|
41
|
+
],
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"ansi-styles": "^4.1.0",
|
|
44
|
+
"supports-color": "^7.1.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"ava": "^2.4.0",
|
|
48
|
+
"coveralls": "^3.0.7",
|
|
49
|
+
"execa": "^3.2.0",
|
|
50
|
+
"import-fresh": "^3.1.0",
|
|
51
|
+
"matcha": "^0.7.0",
|
|
52
|
+
"nyc": "^14.1.1",
|
|
53
|
+
"resolve-from": "^5.0.0",
|
|
54
|
+
"tsd": "^0.7.4",
|
|
55
|
+
"xo": "^0.25.3"
|
|
56
|
+
},
|
|
57
|
+
"xo": {
|
|
58
|
+
"rules": {
|
|
59
|
+
"unicorn/prefer-string-slice": "off",
|
|
60
|
+
"unicorn/prefer-includes": "off"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
<br>
|
|
3
|
+
<br>
|
|
4
|
+
<img width="320" src="media/logo.svg" alt="Chalk">
|
|
5
|
+
<br>
|
|
6
|
+
<br>
|
|
7
|
+
<br>
|
|
8
|
+
</h1>
|
|
9
|
+
|
|
10
|
+
> Terminal string styling done right
|
|
11
|
+
|
|
12
|
+
[](https://travis-ci.org/chalk/chalk) [](https://coveralls.io/github/chalk/chalk?branch=master) [](https://www.npmjs.com/package/chalk?activeTab=dependents) [](https://www.npmjs.com/package/chalk) [](https://www.youtube.com/watch?v=9auOCbH5Ns4) [](https://github.com/xojs/xo) 
|
|
13
|
+
|
|
14
|
+
<img src="https://cdn.jsdelivr.net/gh/chalk/ansi-styles@8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" width="900">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Highlights
|
|
18
|
+
|
|
19
|
+
- Expressive API
|
|
20
|
+
- Highly performant
|
|
21
|
+
- Ability to nest styles
|
|
22
|
+
- [256/Truecolor color support](#256-and-truecolor-color-support)
|
|
23
|
+
- Auto-detects color support
|
|
24
|
+
- Doesn't extend `String.prototype`
|
|
25
|
+
- Clean and focused
|
|
26
|
+
- Actively maintained
|
|
27
|
+
- [Used by ~46,000 packages](https://www.npmjs.com/browse/depended/chalk) as of October 1, 2019
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## Install
|
|
31
|
+
|
|
32
|
+
```console
|
|
33
|
+
$ npm install chalk
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
```js
|
|
40
|
+
const chalk = require('chalk');
|
|
41
|
+
|
|
42
|
+
console.log(chalk.blue('Hello world!'));
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Chalk comes with an easy to use composable API where you just chain and nest the styles you want.
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
const chalk = require('chalk');
|
|
49
|
+
const log = console.log;
|
|
50
|
+
|
|
51
|
+
// Combine styled and normal strings
|
|
52
|
+
log(chalk.blue('Hello') + ' World' + chalk.red('!'));
|
|
53
|
+
|
|
54
|
+
// Compose multiple styles using the chainable API
|
|
55
|
+
log(chalk.blue.bgRed.bold('Hello world!'));
|
|
56
|
+
|
|
57
|
+
// Pass in multiple arguments
|
|
58
|
+
log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz'));
|
|
59
|
+
|
|
60
|
+
// Nest styles
|
|
61
|
+
log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!'));
|
|
62
|
+
|
|
63
|
+
// Nest styles of the same type even (color, underline, background)
|
|
64
|
+
log(chalk.green(
|
|
65
|
+
'I am a green line ' +
|
|
66
|
+
chalk.blue.underline.bold('with a blue substring') +
|
|
67
|
+
' that becomes green again!'
|
|
68
|
+
));
|
|
69
|
+
|
|
70
|
+
// ES2015 template literal
|
|
71
|
+
log(`
|
|
72
|
+
CPU: ${chalk.red('90%')}
|
|
73
|
+
RAM: ${chalk.green('40%')}
|
|
74
|
+
DISK: ${chalk.yellow('70%')}
|
|
75
|
+
`);
|
|
76
|
+
|
|
77
|
+
// ES2015 tagged template literal
|
|
78
|
+
log(chalk`
|
|
79
|
+
CPU: {red ${cpu.totalPercent}%}
|
|
80
|
+
RAM: {green ${ram.used / ram.total * 100}%}
|
|
81
|
+
DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
|
|
82
|
+
`);
|
|
83
|
+
|
|
84
|
+
// Use RGB colors in terminal emulators that support it.
|
|
85
|
+
log(chalk.keyword('orange')('Yay for orange colored text!'));
|
|
86
|
+
log(chalk.rgb(123, 45, 67).underline('Underlined reddish color'));
|
|
87
|
+
log(chalk.hex('#DEADED').bold('Bold gray!'));
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Easily define your own themes:
|
|
91
|
+
|
|
92
|
+
```js
|
|
93
|
+
const chalk = require('chalk');
|
|
94
|
+
|
|
95
|
+
const error = chalk.bold.red;
|
|
96
|
+
const warning = chalk.keyword('orange');
|
|
97
|
+
|
|
98
|
+
console.log(error('Error!'));
|
|
99
|
+
console.log(warning('Warning!'));
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args):
|
|
103
|
+
|
|
104
|
+
```js
|
|
105
|
+
const name = 'Sindre';
|
|
106
|
+
console.log(chalk.green('Hello %s'), name);
|
|
107
|
+
//=> 'Hello Sindre'
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
## API
|
|
112
|
+
|
|
113
|
+
### chalk.`<style>[.<style>...](string, [string...])`
|
|
114
|
+
|
|
115
|
+
Example: `chalk.red.bold.underline('Hello', 'world');`
|
|
116
|
+
|
|
117
|
+
Chain [styles](#styles) and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
|
|
118
|
+
|
|
119
|
+
Multiple arguments will be separated by space.
|
|
120
|
+
|
|
121
|
+
### chalk.level
|
|
122
|
+
|
|
123
|
+
Specifies the level of color support.
|
|
124
|
+
|
|
125
|
+
Color support is automatically detected, but you can override it by setting the `level` property. You should however only do this in your own code as it applies globally to all Chalk consumers.
|
|
126
|
+
|
|
127
|
+
If you need to change this in a reusable module, create a new instance:
|
|
128
|
+
|
|
129
|
+
```js
|
|
130
|
+
const ctx = new chalk.Instance({level: 0});
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
| Level | Description |
|
|
134
|
+
| :---: | :--- |
|
|
135
|
+
| `0` | All colors disabled |
|
|
136
|
+
| `1` | Basic color support (16 colors) |
|
|
137
|
+
| `2` | 256 color support |
|
|
138
|
+
| `3` | Truecolor support (16 million colors) |
|
|
139
|
+
|
|
140
|
+
### chalk.supportsColor
|
|
141
|
+
|
|
142
|
+
Detect whether the terminal [supports color](https://github.com/chalk/supports-color). Used internally and handled for you, but exposed for convenience.
|
|
143
|
+
|
|
144
|
+
Can be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, use the environment variable `FORCE_COLOR=1` (level 1), `FORCE_COLOR=2` (level 2), or `FORCE_COLOR=3` (level 3) to forcefully enable color, or `FORCE_COLOR=0` to forcefully disable. The use of `FORCE_COLOR` overrides all other color support checks.
|
|
145
|
+
|
|
146
|
+
Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
|
|
147
|
+
|
|
148
|
+
### chalk.stderr and chalk.stderr.supportsColor
|
|
149
|
+
|
|
150
|
+
`chalk.stderr` contains a separate instance configured with color support detected for `stderr` stream instead of `stdout`. Override rules from `chalk.supportsColor` apply to this too. `chalk.stderr.supportsColor` is exposed for convenience.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## Styles
|
|
154
|
+
|
|
155
|
+
### Modifiers
|
|
156
|
+
|
|
157
|
+
- `reset` - Resets the current color chain.
|
|
158
|
+
- `bold` - Make text bold.
|
|
159
|
+
- `dim` - Emitting only a small amount of light.
|
|
160
|
+
- `italic` - Make text italic. *(Not widely supported)*
|
|
161
|
+
- `underline` - Make text underline. *(Not widely supported)*
|
|
162
|
+
- `inverse`- Inverse background and foreground colors.
|
|
163
|
+
- `hidden` - Prints the text, but makes it invisible.
|
|
164
|
+
- `strikethrough` - Puts a horizontal line through the center of the text. *(Not widely supported)*
|
|
165
|
+
- `visible`- Prints the text only when Chalk has a color level > 0. Can be useful for things that are purely cosmetic.
|
|
166
|
+
|
|
167
|
+
### Colors
|
|
168
|
+
|
|
169
|
+
- `black`
|
|
170
|
+
- `red`
|
|
171
|
+
- `green`
|
|
172
|
+
- `yellow`
|
|
173
|
+
- `blue`
|
|
174
|
+
- `magenta`
|
|
175
|
+
- `cyan`
|
|
176
|
+
- `white`
|
|
177
|
+
- `blackBright` (alias: `gray`, `grey`)
|
|
178
|
+
- `redBright`
|
|
179
|
+
- `greenBright`
|
|
180
|
+
- `yellowBright`
|
|
181
|
+
- `blueBright`
|
|
182
|
+
- `magentaBright`
|
|
183
|
+
- `cyanBright`
|
|
184
|
+
- `whiteBright`
|
|
185
|
+
|
|
186
|
+
### Background colors
|
|
187
|
+
|
|
188
|
+
- `bgBlack`
|
|
189
|
+
- `bgRed`
|
|
190
|
+
- `bgGreen`
|
|
191
|
+
- `bgYellow`
|
|
192
|
+
- `bgBlue`
|
|
193
|
+
- `bgMagenta`
|
|
194
|
+
- `bgCyan`
|
|
195
|
+
- `bgWhite`
|
|
196
|
+
- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
|
|
197
|
+
- `bgRedBright`
|
|
198
|
+
- `bgGreenBright`
|
|
199
|
+
- `bgYellowBright`
|
|
200
|
+
- `bgBlueBright`
|
|
201
|
+
- `bgMagentaBright`
|
|
202
|
+
- `bgCyanBright`
|
|
203
|
+
- `bgWhiteBright`
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
## Tagged template literal
|
|
207
|
+
|
|
208
|
+
Chalk can be used as a [tagged template literal](http://exploringjs.com/es6/ch_template-literals.html#_tagged-template-literals).
|
|
209
|
+
|
|
210
|
+
```js
|
|
211
|
+
const chalk = require('chalk');
|
|
212
|
+
|
|
213
|
+
const miles = 18;
|
|
214
|
+
const calculateFeet = miles => miles * 5280;
|
|
215
|
+
|
|
216
|
+
console.log(chalk`
|
|
217
|
+
There are {bold 5280 feet} in a mile.
|
|
218
|
+
In {bold ${miles} miles}, there are {green.bold ${calculateFeet(miles)} feet}.
|
|
219
|
+
`);
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Blocks are delimited by an opening curly brace (`{`), a style, some content, and a closing curly brace (`}`).
|
|
223
|
+
|
|
224
|
+
Template styles are chained exactly like normal Chalk styles. The following two statements are equivalent:
|
|
225
|
+
|
|
226
|
+
```js
|
|
227
|
+
console.log(chalk.bold.rgb(10, 100, 200)('Hello!'));
|
|
228
|
+
console.log(chalk`{bold.rgb(10,100,200) Hello!}`);
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
Note that function styles (`rgb()`, `hsl()`, `keyword()`, etc.) may not contain spaces between parameters.
|
|
232
|
+
|
|
233
|
+
All interpolated values (`` chalk`${foo}` ``) are converted to strings via the `.toString()` method. All curly braces (`{` and `}`) in interpolated value strings are escaped.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
## 256 and Truecolor color support
|
|
237
|
+
|
|
238
|
+
Chalk supports 256 colors and [Truecolor](https://gist.github.com/XVilka/8346728) (16 million colors) on supported terminal apps.
|
|
239
|
+
|
|
240
|
+
Colors are downsampled from 16 million RGB values to an ANSI color format that is supported by the terminal emulator (or by specifying `{level: n}` as a Chalk option). For example, Chalk configured to run at level 1 (basic color support) will downsample an RGB value of #FF0000 (red) to 31 (ANSI escape for red).
|
|
241
|
+
|
|
242
|
+
Examples:
|
|
243
|
+
|
|
244
|
+
- `chalk.hex('#DEADED').underline('Hello, world!')`
|
|
245
|
+
- `chalk.keyword('orange')('Some orange text')`
|
|
246
|
+
- `chalk.rgb(15, 100, 204).inverse('Hello!')`
|
|
247
|
+
|
|
248
|
+
Background versions of these models are prefixed with `bg` and the first level of the module capitalized (e.g. `keyword` for foreground colors and `bgKeyword` for background colors).
|
|
249
|
+
|
|
250
|
+
- `chalk.bgHex('#DEADED').underline('Hello, world!')`
|
|
251
|
+
- `chalk.bgKeyword('orange')('Some orange text')`
|
|
252
|
+
- `chalk.bgRgb(15, 100, 204).inverse('Hello!')`
|
|
253
|
+
|
|
254
|
+
The following color models can be used:
|
|
255
|
+
|
|
256
|
+
- [`rgb`](https://en.wikipedia.org/wiki/RGB_color_model) - Example: `chalk.rgb(255, 136, 0).bold('Orange!')`
|
|
257
|
+
- [`hex`](https://en.wikipedia.org/wiki/Web_colors#Hex_triplet) - Example: `chalk.hex('#FF8800').bold('Orange!')`
|
|
258
|
+
- [`keyword`](https://www.w3.org/wiki/CSS/Properties/color/keywords) (CSS keywords) - Example: `chalk.keyword('orange').bold('Orange!')`
|
|
259
|
+
- [`hsl`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsl(32, 100, 50).bold('Orange!')`
|
|
260
|
+
- [`hsv`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsv(32, 100, 100).bold('Orange!')`
|
|
261
|
+
- [`hwb`](https://en.wikipedia.org/wiki/HWB_color_model) - Example: `chalk.hwb(32, 0, 50).bold('Orange!')`
|
|
262
|
+
- [`ansi`](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) - Example: `chalk.ansi(31).bgAnsi(93)('red on yellowBright')`
|
|
263
|
+
- [`ansi256`](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) - Example: `chalk.bgAnsi256(194)('Honeydew, more or less')`
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
## Windows
|
|
267
|
+
|
|
268
|
+
If you're on Windows, do yourself a favor and use [Windows Terminal](https://github.com/microsoft/terminal) instead of `cmd.exe`.
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
## Origin story
|
|
272
|
+
|
|
273
|
+
[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68) and the package is unmaintained. Although there are other packages, they either do too much or not enough. Chalk is a clean and focused alternative.
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
## chalk for enterprise
|
|
277
|
+
|
|
278
|
+
Available as part of the Tidelift Subscription.
|
|
279
|
+
|
|
280
|
+
The maintainers of chalk 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-chalk?utm_source=npm-chalk&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
## Related
|
|
284
|
+
|
|
285
|
+
- [chalk-cli](https://github.com/chalk/chalk-cli) - CLI for this module
|
|
286
|
+
- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal
|
|
287
|
+
- [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
|
|
288
|
+
- [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes
|
|
289
|
+
- [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Strip ANSI escape codes from a stream
|
|
290
|
+
- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
|
|
291
|
+
- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
|
|
292
|
+
- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes
|
|
293
|
+
- [slice-ansi](https://github.com/chalk/slice-ansi) - Slice a string with ANSI escape codes
|
|
294
|
+
- [color-convert](https://github.com/qix-/color-convert) - Converts colors between different models
|
|
295
|
+
- [chalk-animation](https://github.com/bokub/chalk-animation) - Animate strings in the terminal
|
|
296
|
+
- [gradient-string](https://github.com/bokub/gradient-string) - Apply color gradients to strings
|
|
297
|
+
- [chalk-pipe](https://github.com/LitoMore/chalk-pipe) - Create chalk style schemes with simpler style strings
|
|
298
|
+
- [terminal-link](https://github.com/sindresorhus/terminal-link) - Create clickable links in the terminal
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
## Maintainers
|
|
302
|
+
|
|
303
|
+
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
304
|
+
- [Josh Junon](https://github.com/qix-)
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const ansiStyles = require('ansi-styles');
|
|
3
|
+
const {stdout: stdoutColor, stderr: stderrColor} = require('supports-color');
|
|
4
|
+
const {
|
|
5
|
+
stringReplaceAll,
|
|
6
|
+
stringEncaseCRLFWithFirstIndex
|
|
7
|
+
} = require('./util');
|
|
8
|
+
|
|
9
|
+
// `supportsColor.level` → `ansiStyles.color[name]` mapping
|
|
10
|
+
const levelMapping = [
|
|
11
|
+
'ansi',
|
|
12
|
+
'ansi',
|
|
13
|
+
'ansi256',
|
|
14
|
+
'ansi16m'
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
const styles = Object.create(null);
|
|
18
|
+
|
|
19
|
+
const applyOptions = (object, options = {}) => {
|
|
20
|
+
if (options.level > 3 || options.level < 0) {
|
|
21
|
+
throw new Error('The `level` option should be an integer from 0 to 3');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Detect level if not set manually
|
|
25
|
+
const colorLevel = stdoutColor ? stdoutColor.level : 0;
|
|
26
|
+
object.level = options.level === undefined ? colorLevel : options.level;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
class ChalkClass {
|
|
30
|
+
constructor(options) {
|
|
31
|
+
return chalkFactory(options);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const chalkFactory = options => {
|
|
36
|
+
const chalk = {};
|
|
37
|
+
applyOptions(chalk, options);
|
|
38
|
+
|
|
39
|
+
chalk.template = (...arguments_) => chalkTag(chalk.template, ...arguments_);
|
|
40
|
+
|
|
41
|
+
Object.setPrototypeOf(chalk, Chalk.prototype);
|
|
42
|
+
Object.setPrototypeOf(chalk.template, chalk);
|
|
43
|
+
|
|
44
|
+
chalk.template.constructor = () => {
|
|
45
|
+
throw new Error('`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.');
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
chalk.template.Instance = ChalkClass;
|
|
49
|
+
|
|
50
|
+
return chalk.template;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
function Chalk(options) {
|
|
54
|
+
return chalkFactory(options);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
for (const [styleName, style] of Object.entries(ansiStyles)) {
|
|
58
|
+
styles[styleName] = {
|
|
59
|
+
get() {
|
|
60
|
+
const builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty);
|
|
61
|
+
Object.defineProperty(this, styleName, {value: builder});
|
|
62
|
+
return builder;
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
styles.visible = {
|
|
68
|
+
get() {
|
|
69
|
+
const builder = createBuilder(this, this._styler, true);
|
|
70
|
+
Object.defineProperty(this, 'visible', {value: builder});
|
|
71
|
+
return builder;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const usedModels = ['rgb', 'hex', 'keyword', 'hsl', 'hsv', 'hwb', 'ansi', 'ansi256'];
|
|
76
|
+
|
|
77
|
+
for (const model of usedModels) {
|
|
78
|
+
styles[model] = {
|
|
79
|
+
get() {
|
|
80
|
+
const {level} = this;
|
|
81
|
+
return function (...arguments_) {
|
|
82
|
+
const styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler);
|
|
83
|
+
return createBuilder(this, styler, this._isEmpty);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
for (const model of usedModels) {
|
|
90
|
+
const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
|
|
91
|
+
styles[bgModel] = {
|
|
92
|
+
get() {
|
|
93
|
+
const {level} = this;
|
|
94
|
+
return function (...arguments_) {
|
|
95
|
+
const styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler);
|
|
96
|
+
return createBuilder(this, styler, this._isEmpty);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
const proto = Object.defineProperties(() => {}, {
|
|
103
|
+
...styles,
|
|
104
|
+
level: {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get() {
|
|
107
|
+
return this._generator.level;
|
|
108
|
+
},
|
|
109
|
+
set(level) {
|
|
110
|
+
this._generator.level = level;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
const createStyler = (open, close, parent) => {
|
|
116
|
+
let openAll;
|
|
117
|
+
let closeAll;
|
|
118
|
+
if (parent === undefined) {
|
|
119
|
+
openAll = open;
|
|
120
|
+
closeAll = close;
|
|
121
|
+
} else {
|
|
122
|
+
openAll = parent.openAll + open;
|
|
123
|
+
closeAll = close + parent.closeAll;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return {
|
|
127
|
+
open,
|
|
128
|
+
close,
|
|
129
|
+
openAll,
|
|
130
|
+
closeAll,
|
|
131
|
+
parent
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
const createBuilder = (self, _styler, _isEmpty) => {
|
|
136
|
+
const builder = (...arguments_) => {
|
|
137
|
+
// Single argument is hot path, implicit coercion is faster than anything
|
|
138
|
+
// eslint-disable-next-line no-implicit-coercion
|
|
139
|
+
return applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
// `__proto__` is used because we must return a function, but there is
|
|
143
|
+
// no way to create a function with a different prototype
|
|
144
|
+
builder.__proto__ = proto; // eslint-disable-line no-proto
|
|
145
|
+
|
|
146
|
+
builder._generator = self;
|
|
147
|
+
builder._styler = _styler;
|
|
148
|
+
builder._isEmpty = _isEmpty;
|
|
149
|
+
|
|
150
|
+
return builder;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
const applyStyle = (self, string) => {
|
|
154
|
+
if (self.level <= 0 || !string) {
|
|
155
|
+
return self._isEmpty ? '' : string;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
let styler = self._styler;
|
|
159
|
+
|
|
160
|
+
if (styler === undefined) {
|
|
161
|
+
return string;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const {openAll, closeAll} = styler;
|
|
165
|
+
if (string.indexOf('\u001B') !== -1) {
|
|
166
|
+
while (styler !== undefined) {
|
|
167
|
+
// Replace any instances already present with a re-opening code
|
|
168
|
+
// otherwise only the part of the string until said closing code
|
|
169
|
+
// will be colored, and the rest will simply be 'plain'.
|
|
170
|
+
string = stringReplaceAll(string, styler.close, styler.open);
|
|
171
|
+
|
|
172
|
+
styler = styler.parent;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
// We can move both next actions out of loop, because remaining actions in loop won't have
|
|
177
|
+
// any/visible effect on parts we add here. Close the styling before a linebreak and reopen
|
|
178
|
+
// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92
|
|
179
|
+
const lfIndex = string.indexOf('\n');
|
|
180
|
+
if (lfIndex !== -1) {
|
|
181
|
+
string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
return openAll + string + closeAll;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
let template;
|
|
188
|
+
const chalkTag = (chalk, ...strings) => {
|
|
189
|
+
const [firstString] = strings;
|
|
190
|
+
|
|
191
|
+
if (!Array.isArray(firstString)) {
|
|
192
|
+
// If chalk() was called by itself or with a string,
|
|
193
|
+
// return the string itself as a string.
|
|
194
|
+
return strings.join(' ');
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
const arguments_ = strings.slice(1);
|
|
198
|
+
const parts = [firstString.raw[0]];
|
|
199
|
+
|
|
200
|
+
for (let i = 1; i < firstString.length; i++) {
|
|
201
|
+
parts.push(
|
|
202
|
+
String(arguments_[i - 1]).replace(/[{}\\]/g, '\\$&'),
|
|
203
|
+
String(firstString.raw[i])
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
if (template === undefined) {
|
|
208
|
+
template = require('./templates');
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
return template(chalk, parts.join(''));
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
Object.defineProperties(Chalk.prototype, styles);
|
|
215
|
+
|
|
216
|
+
const chalk = Chalk(); // eslint-disable-line new-cap
|
|
217
|
+
chalk.supportsColor = stdoutColor;
|
|
218
|
+
chalk.stderr = Chalk({level: stderrColor ? stderrColor.level : 0}); // eslint-disable-line new-cap
|
|
219
|
+
chalk.stderr.supportsColor = stderrColor;
|
|
220
|
+
|
|
221
|
+
// For TypeScript
|
|
222
|
+
chalk.Level = {
|
|
223
|
+
None: 0,
|
|
224
|
+
Basic: 1,
|
|
225
|
+
Ansi256: 2,
|
|
226
|
+
TrueColor: 3,
|
|
227
|
+
0: 'None',
|
|
228
|
+
1: 'Basic',
|
|
229
|
+
2: 'Ansi256',
|
|
230
|
+
3: 'TrueColor'
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
module.exports = chalk;
|