@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,453 @@
|
|
|
1
|
+
// hoisted class for cyclic dependency
|
|
2
|
+
class Range {
|
|
3
|
+
constructor (range, options) {
|
|
4
|
+
if (!options || typeof options !== 'object') {
|
|
5
|
+
options = {
|
|
6
|
+
loose: !!options,
|
|
7
|
+
includePrerelease: false
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if (range instanceof Range) {
|
|
12
|
+
if (
|
|
13
|
+
range.loose === !!options.loose &&
|
|
14
|
+
range.includePrerelease === !!options.includePrerelease
|
|
15
|
+
) {
|
|
16
|
+
return range
|
|
17
|
+
} else {
|
|
18
|
+
return new Range(range.raw, options)
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (range instanceof Comparator) {
|
|
23
|
+
// just put it in the set and return
|
|
24
|
+
this.raw = range.value
|
|
25
|
+
this.set = [[range]]
|
|
26
|
+
this.format()
|
|
27
|
+
return this
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
this.options = options
|
|
31
|
+
this.loose = !!options.loose
|
|
32
|
+
this.includePrerelease = !!options.includePrerelease
|
|
33
|
+
|
|
34
|
+
// First, split based on boolean or ||
|
|
35
|
+
this.raw = range
|
|
36
|
+
this.set = range
|
|
37
|
+
.split(/\s*\|\|\s*/)
|
|
38
|
+
// map the range to a 2d array of comparators
|
|
39
|
+
.map(range => this.parseRange(range.trim()))
|
|
40
|
+
// throw out any comparator lists that are empty
|
|
41
|
+
// this generally means that it was not a valid range, which is allowed
|
|
42
|
+
// in loose mode, but will still throw if the WHOLE range is invalid.
|
|
43
|
+
.filter(c => c.length)
|
|
44
|
+
|
|
45
|
+
if (!this.set.length) {
|
|
46
|
+
throw new TypeError(`Invalid SemVer Range: ${range}`)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
this.format()
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
format () {
|
|
53
|
+
this.range = this.set
|
|
54
|
+
.map((comps) => {
|
|
55
|
+
return comps.join(' ').trim()
|
|
56
|
+
})
|
|
57
|
+
.join('||')
|
|
58
|
+
.trim()
|
|
59
|
+
return this.range
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
toString () {
|
|
63
|
+
return this.range
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
parseRange (range) {
|
|
67
|
+
const loose = this.options.loose
|
|
68
|
+
range = range.trim()
|
|
69
|
+
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
|
|
70
|
+
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]
|
|
71
|
+
range = range.replace(hr, hyphenReplace(this.options.includePrerelease))
|
|
72
|
+
debug('hyphen replace', range)
|
|
73
|
+
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
|
|
74
|
+
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
|
|
75
|
+
debug('comparator trim', range, re[t.COMPARATORTRIM])
|
|
76
|
+
|
|
77
|
+
// `~ 1.2.3` => `~1.2.3`
|
|
78
|
+
range = range.replace(re[t.TILDETRIM], tildeTrimReplace)
|
|
79
|
+
|
|
80
|
+
// `^ 1.2.3` => `^1.2.3`
|
|
81
|
+
range = range.replace(re[t.CARETTRIM], caretTrimReplace)
|
|
82
|
+
|
|
83
|
+
// normalize spaces
|
|
84
|
+
range = range.split(/\s+/).join(' ')
|
|
85
|
+
|
|
86
|
+
// At this point, the range is completely trimmed and
|
|
87
|
+
// ready to be split into comparators.
|
|
88
|
+
|
|
89
|
+
const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]
|
|
90
|
+
return range
|
|
91
|
+
.split(' ')
|
|
92
|
+
.map(comp => parseComparator(comp, this.options))
|
|
93
|
+
.join(' ')
|
|
94
|
+
.split(/\s+/)
|
|
95
|
+
// in loose mode, throw out any that are not valid comparators
|
|
96
|
+
.filter(this.options.loose ? comp => !!comp.match(compRe) : () => true)
|
|
97
|
+
.map(comp => new Comparator(comp, this.options))
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
intersects (range, options) {
|
|
101
|
+
if (!(range instanceof Range)) {
|
|
102
|
+
throw new TypeError('a Range is required')
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return this.set.some((thisComparators) => {
|
|
106
|
+
return (
|
|
107
|
+
isSatisfiable(thisComparators, options) &&
|
|
108
|
+
range.set.some((rangeComparators) => {
|
|
109
|
+
return (
|
|
110
|
+
isSatisfiable(rangeComparators, options) &&
|
|
111
|
+
thisComparators.every((thisComparator) => {
|
|
112
|
+
return rangeComparators.every((rangeComparator) => {
|
|
113
|
+
return thisComparator.intersects(rangeComparator, options)
|
|
114
|
+
})
|
|
115
|
+
})
|
|
116
|
+
)
|
|
117
|
+
})
|
|
118
|
+
)
|
|
119
|
+
})
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// if ANY of the sets match ALL of its comparators, then pass
|
|
123
|
+
test (version) {
|
|
124
|
+
if (!version) {
|
|
125
|
+
return false
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (typeof version === 'string') {
|
|
129
|
+
try {
|
|
130
|
+
version = new SemVer(version, this.options)
|
|
131
|
+
} catch (er) {
|
|
132
|
+
return false
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
137
|
+
if (testSet(this.set[i], version, this.options)) {
|
|
138
|
+
return true
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return false
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
module.exports = Range
|
|
145
|
+
|
|
146
|
+
const Comparator = require('./comparator')
|
|
147
|
+
const debug = require('../internal/debug')
|
|
148
|
+
const SemVer = require('./semver')
|
|
149
|
+
const {
|
|
150
|
+
re,
|
|
151
|
+
t,
|
|
152
|
+
comparatorTrimReplace,
|
|
153
|
+
tildeTrimReplace,
|
|
154
|
+
caretTrimReplace
|
|
155
|
+
} = require('../internal/re')
|
|
156
|
+
|
|
157
|
+
// take a set of comparators and determine whether there
|
|
158
|
+
// exists a version which can satisfy it
|
|
159
|
+
const isSatisfiable = (comparators, options) => {
|
|
160
|
+
let result = true
|
|
161
|
+
const remainingComparators = comparators.slice()
|
|
162
|
+
let testComparator = remainingComparators.pop()
|
|
163
|
+
|
|
164
|
+
while (result && remainingComparators.length) {
|
|
165
|
+
result = remainingComparators.every((otherComparator) => {
|
|
166
|
+
return testComparator.intersects(otherComparator, options)
|
|
167
|
+
})
|
|
168
|
+
|
|
169
|
+
testComparator = remainingComparators.pop()
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
return result
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// comprised of xranges, tildes, stars, and gtlt's at this point.
|
|
176
|
+
// already replaced the hyphen ranges
|
|
177
|
+
// turn into a set of JUST comparators.
|
|
178
|
+
const parseComparator = (comp, options) => {
|
|
179
|
+
debug('comp', comp, options)
|
|
180
|
+
comp = replaceCarets(comp, options)
|
|
181
|
+
debug('caret', comp)
|
|
182
|
+
comp = replaceTildes(comp, options)
|
|
183
|
+
debug('tildes', comp)
|
|
184
|
+
comp = replaceXRanges(comp, options)
|
|
185
|
+
debug('xrange', comp)
|
|
186
|
+
comp = replaceStars(comp, options)
|
|
187
|
+
debug('stars', comp)
|
|
188
|
+
return comp
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
|
|
192
|
+
|
|
193
|
+
// ~, ~> --> * (any, kinda silly)
|
|
194
|
+
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0
|
|
195
|
+
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0
|
|
196
|
+
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0
|
|
197
|
+
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0
|
|
198
|
+
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0
|
|
199
|
+
const replaceTildes = (comp, options) =>
|
|
200
|
+
comp.trim().split(/\s+/).map((comp) => {
|
|
201
|
+
return replaceTilde(comp, options)
|
|
202
|
+
}).join(' ')
|
|
203
|
+
|
|
204
|
+
const replaceTilde = (comp, options) => {
|
|
205
|
+
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]
|
|
206
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
207
|
+
debug('tilde', comp, _, M, m, p, pr)
|
|
208
|
+
let ret
|
|
209
|
+
|
|
210
|
+
if (isX(M)) {
|
|
211
|
+
ret = ''
|
|
212
|
+
} else if (isX(m)) {
|
|
213
|
+
ret = `>=${M}.0.0 <${+M + 1}.0.0`
|
|
214
|
+
} else if (isX(p)) {
|
|
215
|
+
// ~1.2 == >=1.2.0 <1.3.0
|
|
216
|
+
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0`
|
|
217
|
+
} else if (pr) {
|
|
218
|
+
debug('replaceTilde pr', pr)
|
|
219
|
+
ret = `>=${M}.${m}.${p}-${pr
|
|
220
|
+
} <${M}.${+m + 1}.0`
|
|
221
|
+
} else {
|
|
222
|
+
// ~1.2.3 == >=1.2.3 <1.3.0
|
|
223
|
+
ret = `>=${M}.${m}.${p
|
|
224
|
+
} <${M}.${+m + 1}.0`
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
debug('tilde return', ret)
|
|
228
|
+
return ret
|
|
229
|
+
})
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// ^ --> * (any, kinda silly)
|
|
233
|
+
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0
|
|
234
|
+
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0
|
|
235
|
+
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0
|
|
236
|
+
// ^1.2.3 --> >=1.2.3 <2.0.0
|
|
237
|
+
// ^1.2.0 --> >=1.2.0 <2.0.0
|
|
238
|
+
const replaceCarets = (comp, options) =>
|
|
239
|
+
comp.trim().split(/\s+/).map((comp) => {
|
|
240
|
+
return replaceCaret(comp, options)
|
|
241
|
+
}).join(' ')
|
|
242
|
+
|
|
243
|
+
const replaceCaret = (comp, options) => {
|
|
244
|
+
debug('caret', comp, options)
|
|
245
|
+
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]
|
|
246
|
+
const z = options.includePrerelease ? '-0' : ''
|
|
247
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
248
|
+
debug('caret', comp, _, M, m, p, pr)
|
|
249
|
+
let ret
|
|
250
|
+
|
|
251
|
+
if (isX(M)) {
|
|
252
|
+
ret = ''
|
|
253
|
+
} else if (isX(m)) {
|
|
254
|
+
ret = `>=${M}.0.0${z} <${+M + 1}.0.0${z}`
|
|
255
|
+
} else if (isX(p)) {
|
|
256
|
+
if (M === '0') {
|
|
257
|
+
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0${z}`
|
|
258
|
+
} else {
|
|
259
|
+
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0${z}`
|
|
260
|
+
}
|
|
261
|
+
} else if (pr) {
|
|
262
|
+
debug('replaceCaret pr', pr)
|
|
263
|
+
if (M === '0') {
|
|
264
|
+
if (m === '0') {
|
|
265
|
+
ret = `>=${M}.${m}.${p}-${pr
|
|
266
|
+
} <${M}.${m}.${+p + 1}${z}`
|
|
267
|
+
} else {
|
|
268
|
+
ret = `>=${M}.${m}.${p}-${pr
|
|
269
|
+
} <${M}.${+m + 1}.0${z}`
|
|
270
|
+
}
|
|
271
|
+
} else {
|
|
272
|
+
ret = `>=${M}.${m}.${p}-${pr
|
|
273
|
+
} <${+M + 1}.0.0${z}`
|
|
274
|
+
}
|
|
275
|
+
} else {
|
|
276
|
+
debug('no pr')
|
|
277
|
+
if (M === '0') {
|
|
278
|
+
if (m === '0') {
|
|
279
|
+
ret = `>=${M}.${m}.${p
|
|
280
|
+
}${z} <${M}.${m}.${+p + 1}${z}`
|
|
281
|
+
} else {
|
|
282
|
+
ret = `>=${M}.${m}.${p
|
|
283
|
+
}${z} <${M}.${+m + 1}.0${z}`
|
|
284
|
+
}
|
|
285
|
+
} else {
|
|
286
|
+
ret = `>=${M}.${m}.${p
|
|
287
|
+
} <${+M + 1}.0.0${z}`
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
debug('caret return', ret)
|
|
292
|
+
return ret
|
|
293
|
+
})
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
const replaceXRanges = (comp, options) => {
|
|
297
|
+
debug('replaceXRanges', comp, options)
|
|
298
|
+
return comp.split(/\s+/).map((comp) => {
|
|
299
|
+
return replaceXRange(comp, options)
|
|
300
|
+
}).join(' ')
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
const replaceXRange = (comp, options) => {
|
|
304
|
+
comp = comp.trim()
|
|
305
|
+
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]
|
|
306
|
+
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
307
|
+
debug('xRange', comp, ret, gtlt, M, m, p, pr)
|
|
308
|
+
const xM = isX(M)
|
|
309
|
+
const xm = xM || isX(m)
|
|
310
|
+
const xp = xm || isX(p)
|
|
311
|
+
const anyX = xp
|
|
312
|
+
|
|
313
|
+
if (gtlt === '=' && anyX) {
|
|
314
|
+
gtlt = ''
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// if we're including prereleases in the match, then we need
|
|
318
|
+
// to fix this to -0, the lowest possible prerelease value
|
|
319
|
+
pr = options.includePrerelease ? '-0' : ''
|
|
320
|
+
|
|
321
|
+
if (xM) {
|
|
322
|
+
if (gtlt === '>' || gtlt === '<') {
|
|
323
|
+
// nothing is allowed
|
|
324
|
+
ret = '<0.0.0-0'
|
|
325
|
+
} else {
|
|
326
|
+
// nothing is forbidden
|
|
327
|
+
ret = '*'
|
|
328
|
+
}
|
|
329
|
+
} else if (gtlt && anyX) {
|
|
330
|
+
// we know patch is an x, because we have any x at all.
|
|
331
|
+
// replace X with 0
|
|
332
|
+
if (xm) {
|
|
333
|
+
m = 0
|
|
334
|
+
}
|
|
335
|
+
p = 0
|
|
336
|
+
|
|
337
|
+
if (gtlt === '>') {
|
|
338
|
+
// >1 => >=2.0.0
|
|
339
|
+
// >1.2 => >=1.3.0
|
|
340
|
+
gtlt = '>='
|
|
341
|
+
if (xm) {
|
|
342
|
+
M = +M + 1
|
|
343
|
+
m = 0
|
|
344
|
+
p = 0
|
|
345
|
+
} else {
|
|
346
|
+
m = +m + 1
|
|
347
|
+
p = 0
|
|
348
|
+
}
|
|
349
|
+
} else if (gtlt === '<=') {
|
|
350
|
+
// <=0.7.x is actually <0.8.0, since any 0.7.x should
|
|
351
|
+
// pass. Similarly, <=7.x is actually <8.0.0, etc.
|
|
352
|
+
gtlt = '<'
|
|
353
|
+
if (xm) {
|
|
354
|
+
M = +M + 1
|
|
355
|
+
} else {
|
|
356
|
+
m = +m + 1
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
ret = `${gtlt + M}.${m}.${p}${pr}`
|
|
361
|
+
} else if (xm) {
|
|
362
|
+
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0${pr}`
|
|
363
|
+
} else if (xp) {
|
|
364
|
+
ret = `>=${M}.${m}.0${pr
|
|
365
|
+
} <${M}.${+m + 1}.0${pr}`
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
debug('xRange return', ret)
|
|
369
|
+
|
|
370
|
+
return ret
|
|
371
|
+
})
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
// Because * is AND-ed with everything else in the comparator,
|
|
375
|
+
// and '' means "any version", just remove the *s entirely.
|
|
376
|
+
const replaceStars = (comp, options) => {
|
|
377
|
+
debug('replaceStars', comp, options)
|
|
378
|
+
// Looseness is ignored here. star is always as loose as it gets!
|
|
379
|
+
return comp.trim().replace(re[t.STAR], '')
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
// This function is passed to string.replace(re[t.HYPHENRANGE])
|
|
383
|
+
// M, m, patch, prerelease, build
|
|
384
|
+
// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
|
|
385
|
+
// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do
|
|
386
|
+
// 1.2 - 3.4 => >=1.2.0 <3.5.0
|
|
387
|
+
const hyphenReplace = incPr => ($0,
|
|
388
|
+
from, fM, fm, fp, fpr, fb,
|
|
389
|
+
to, tM, tm, tp, tpr, tb) => {
|
|
390
|
+
if (isX(fM)) {
|
|
391
|
+
from = ''
|
|
392
|
+
} else if (isX(fm)) {
|
|
393
|
+
from = `>=${fM}.0.0${incPr ? '-0' : ''}`
|
|
394
|
+
} else if (isX(fp)) {
|
|
395
|
+
from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`
|
|
396
|
+
} else if (fpr) {
|
|
397
|
+
from = `>=${from}`
|
|
398
|
+
} else {
|
|
399
|
+
from = `>=${from}${incPr ? '-0' : ''}`
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
if (isX(tM)) {
|
|
403
|
+
to = ''
|
|
404
|
+
} else if (isX(tm)) {
|
|
405
|
+
to = `<${+tM + 1}.0.0${incPr ? '-0' : ''}`
|
|
406
|
+
} else if (isX(tp)) {
|
|
407
|
+
to = `<${tM}.${+tm + 1}.0${incPr ? '-0' : ''}`
|
|
408
|
+
} else if (tpr) {
|
|
409
|
+
to = `<=${tM}.${tm}.${tp}-${tpr}`
|
|
410
|
+
} else if (incPr) {
|
|
411
|
+
to = `<${tM}.${tm}.${+tp + 1}-0`
|
|
412
|
+
} else {
|
|
413
|
+
to = `<=${to}`
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
return (`${from} ${to}`).trim()
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
const testSet = (set, version, options) => {
|
|
420
|
+
for (let i = 0; i < set.length; i++) {
|
|
421
|
+
if (!set[i].test(version)) {
|
|
422
|
+
return false
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
if (version.prerelease.length && !options.includePrerelease) {
|
|
427
|
+
// Find the set of versions that are allowed to have prereleases
|
|
428
|
+
// For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0
|
|
429
|
+
// That should allow `1.2.3-pr.2` to pass.
|
|
430
|
+
// However, `1.2.4-alpha.notready` should NOT be allowed,
|
|
431
|
+
// even though it's within the range set by the comparators.
|
|
432
|
+
for (let i = 0; i < set.length; i++) {
|
|
433
|
+
debug(set[i].semver)
|
|
434
|
+
if (set[i].semver === Comparator.ANY) {
|
|
435
|
+
continue
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
if (set[i].semver.prerelease.length > 0) {
|
|
439
|
+
const allowed = set[i].semver
|
|
440
|
+
if (allowed.major === version.major &&
|
|
441
|
+
allowed.minor === version.minor &&
|
|
442
|
+
allowed.patch === version.patch) {
|
|
443
|
+
return true
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// Version has a -pre, but it's not one of the ones we like.
|
|
449
|
+
return false
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
return true
|
|
453
|
+
}
|