{
  "ml": {
    "analyzed_at": "2026-11-19T19:03:35Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.07688129,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      },
      {
        "lvl": -1,
        "id": 8
      },
      {
        "lvl": -1,
        "id": 9
      },
      {
        "lvl": -1,
        "id": 10
      },
      {
        "lvl": -1,
        "id": 11
      },
      {
        "lvl": -1,
        "id": 12
      },
      {
        "lvl": -1,
        "id": 13
      },
      {
        "lvl": -1,
        "id": 14
      },
      {
        "lvl": -1,
        "id": 15
      },
      {
        "lvl": -1,
        "id": 16
      },
      {
        "lvl": -1,
        "id": 17
      },
      {
        "lvl": -1,
        "id": 18
      },
      {
        "lvl": -1,
        "id": 19
      },
      {
        "lvl": -1,
        "id": 20
      },
      {
        "lvl": -1,
        "id": 21
      },
      {
        "lvl": -1,
        "id": 22
      },
      {
        "lvl": -1,
        "id": 23
      },
      {
        "lvl": -1,
        "id": 24
      },
      {
        "lvl": -1,
        "id": 25
      },
      {
        "lvl": -1,
        "id": 26
      },
      {
        "lvl": -1,
        "id": 27
      },
      {
        "lvl": -1,
        "id": 28
      },
      {
        "lvl": -1,
        "id": 29
      },
      {
        "lvl": -1,
        "id": 30
      },
      {
        "lvl": -1,
        "id": 31
      },
      {
        "lvl": -1,
        "id": 32
      },
      {
        "lvl": -1,
        "id": 33
      },
      {
        "lvl": -1,
        "id": 34
      },
      {
        "lvl": -1,
        "id": 35
      },
      {
        "lvl": -1,
        "id": 36
      },
      {
        "lvl": -1,
        "id": 37
      },
      {
        "lvl": -1,
        "id": 38
      },
      {
        "lvl": -1,
        "id": 39
      },
      {
        "lvl": -1,
        "id": 40
      }
    ],
    "lvl": -1,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.07688129,
    "v": "7",
    "version": "v20.20"
  },
  "path": "ts-pattern-5.0.4.tgz",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "directory_count": 0,
              "double_extension_count": 0,
              "executable_count": 0,
              "file_count": 41,
              "format.regular_count": 41,
              "hidden_file_count": 0,
              "homoglyph_filename_count": 0,
              "max_filename_length": 44,
              "member_count": 41,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 3,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_spread_seconds": 0,
              "timing.mtime_unique_count": 1,
              "uncompressed_size": 418486,
              "unicode_filename_count": 0
            },
            "binary": {
              "peak_region_bytes": 92160,
              "peak_region_entropy": 7.84
            },
            "consistency": {
              "name_repo_mismatch": 0
            },
            "file": {
              "entropy": 8,
              "size": 92322
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "ts-pattern",
            "source": "npm.name",
            "verified": false
          },
          "urls": [
            {
              "url": "git+ssh://git@github.com/gvergnaud/ts-pattern.git",
              "kind": "repository",
              "source": "npm.repository.url"
            },
            {
              "url": "https://github.com/gvergnaud/ts-pattern#readme",
              "kind": "homepage",
              "source": "npm.homepage"
            }
          ],
          "trust": "unsigned",
          "authors": [
            {
              "name": "Gabriel Vergnaud",
              "role": "author",
              "source": "npm.authors"
            }
          ],
          "version": {
            "value": "5.0.4",
            "source": "npm.version",
            "verified": false
          },
          "identifier": {
            "value": "ts-pattern",
            "source": "npm.name",
            "verified": false
          },
          "description": {
            "value": "The exhaustive Pattern Matching library for TypeScript.",
            "source": "npm.description",
            "verified": false
          }
        },
        "mol": "K(Am)H₃(Cm₄Db₆Os₂)Md₅(Ne₂Pa₉Pt₄)",
        "path": "ts-pattern-5.0.4.tgz",
        "refs": [
          {
            "kind": "repository",
            "to": "git+ssh://git@github.com/gvergnaud/ts-pattern.git"
          }
        ],
        "risk": 26,
        "sha": "9f9bfca8809eb9807cf5dc7637e339b8970baa7e22097084d97423314ec75b89",
        "size": 92322,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/archive/layout::archive-at-least-10-members"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive ships a README beside HTML or JavaScript files",
            "id": "metadata/archive/layout::archive-readme-with-web-members",
            "uses": [
              2,
              57
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive member named with JavaScript extension",
            "id": "metadata/archive/member/extension::archive-js-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript source-map filename suffix",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/extension/asset::javascript-sourcemap-suffix"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "JavaScript source map",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/format/source-map::sourcemap"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source map sourcesContent array",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/format/source-map::sourcemap-sources-content"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source map of TypeScript sources",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/format/source-map::sourcemap-typescript-sources"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript contains a long inline whitespace run",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/line::long-inline-whitespace-run"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Exactly one line exceeds 1000 bytes",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/line::single-long-line-outlier"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Filename is package.json",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/filename/identity::package-json-basename"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "At least 100 parameterless functions",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/source/function::parameterless-functions-100-plus"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Source has 6+ code-like string candidates",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/literal/embedded-source::embedded-code-candidates-6"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/markup/markdown::markdown-heading-before-fenced-block"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "JavaScript uses many sequence expressions",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/syntax/operator::javascript-many-sequence-expressions"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Declares TypeScript development dependency",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/development::npm-typescript-development-dependency"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package has multiple entry declaration fields",
            "from": [
              {
                "file": 40,
                "line": 7,
                "off": 175
              }
            ],
            "id": "metadata/package/entrypoint/module::multiple-entry-declaration-fields",
            "uses": [
              18,
              171,
              179,
              180
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Declares npm ESM module type",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::npm-esm-package-type"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Package declares TypeScript types entry",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::pkg-types-field"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Package declares an unpkg CDN entry",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::pkg-unpkg-cdn-entry"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "npm publish root manifest declares runtime-tree entrypoint",
            "from": [
              {
                "file": 40,
                "line": 23,
                "off": 560
              }
            ],
            "id": "metadata/package/entrypoint/module::publish-root-runtime-tree-entrypoint",
            "uses": [
              174,
              187
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Package.json declares a files allowlist",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/files/package-json::files-array-present"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Manifest text references src path",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/files/package-json::src-path-reference"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript/TypeScript file under dist",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/files/runtime::javascript-dist-tree-artifact"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "npm archive member under package dist tree",
            "id": "metadata/package/files/runtime::npm-archive-member-dist-runtime-path"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Has dist/index.js path",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/files/runtime::npm-dist-index-entry"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Homepage points to major Git host",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/homepage::homepage-git-host"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "npm keywords mention TypeScript",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/keywords/capability::npm-typescript-keyword"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "License text starts MIT/ISC/Apache/BSD",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/license::npm-license-mit-isc-apache-bsd-prefix"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Repository identifies major Git host",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/repository::repo-url-git-host"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Build script declares a shell script invocation",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/build::build-shell-script-declaration"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Package declares build script",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/build::has-build-script-build"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package declares a prepublish-only script",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/build::has-prepublish-only"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Declares prepublishOnly or postversion key",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/build::has-release-scripts-2"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "Package declares a build script",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/build::pkg-build-script-field"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package script runs a bundler or compiler",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/build::script-runs-bundler-cli"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "package.json declares a development script",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/develop::pkg-dev-script-field"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Fetch syntax adjacent to JSON parsing",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/http/request/json::fetch-adjacent-json-parse"
          },
          {
            "conf": 0.91,
            "crit": 3,
            "desc": "Fetch call near JSON response parsing",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/http/request/json::fetch-call-near-json-parse"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Contains a hardcoded remote HTTP(S) URL",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/url/host/domain-http::js-remote-host-url"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "URL host has a very short domain",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/url/host/domain-http::short-domain-url"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References example, Wikipedia, or Unicode URLs",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/url/reference::documentation-url-reference"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/url/scheme::http-url-literal"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Repeated computed-property calls (3+)",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-computed-call-cluster"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Calls a property using bracket notation",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-subscript-callee"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Contains an unconditional loop header",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/loop/unconditional::infinite-loop-header"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Anonymous function body returns this",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/return::return-this-body"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls an entries method",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/sequence::entries-method-call"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Calls JSON.stringify()",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/serialize/json::json-stringify-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes value with JSON.stringify",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/serialize/json::json-stringify-text-call"
          },
          {
            "conf": 0.93,
            "crit": 3,
            "desc": "Score field with numeric value",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/data/string/search::threat-pattern-score-annotation"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript emoji console.log call text",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/os/console/io::cli-status-emoji-log"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Logs a single identifier with console.log",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/os/console/io::js-console-log-identifier"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "npm install text at shell command boundary",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/os/package-manager/reference-install::npm-install-shell-boundary-text"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Named npm install text at command boundary",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/os/package-manager/reference-install::npm-named-install-shell-boundary-text"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "from": [
              {
                "file": 14
              }
            ],
            "id": "well-known/app/development/code-forge/github::github-service-url"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Archive contains a script member",
            "id": "metadata/archive/layout::archive-contains-script-member"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive member is a README document",
            "id": "metadata/archive/member/filename/role::archive-readme-member"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive has no path traversal members",
            "id": "metadata/archive/member/path::no-path-traversal-members"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "File entropy exceeds two bits",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/binary/layout/entropy::byte-entropy-above-two"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Code has source map reference",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/build/bundler/asset::has-sourcemap"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "UMD header with AMD define fallback",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/build/bundler/wrapper::umd-amd-define-factory"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains a minified UMD AMD branch",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/build/minifier::js-umd-wrapper-amd-minified"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains a minified UMD CommonJS branch",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "metadata/build/minifier::js-umd-wrapper-minified"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Low whitespace and compact code indicators",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/build/minifier::minified-text-shape",
            "uses": [
              81,
              140,
              142,
              145
            ]
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "Uses minifier-style void 0 for undefined",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/build/minifier::void-zero"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Overall entropy at most 5.0",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::overall-entropy-at-most-five"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Script peak-entropy region mass at least 1KB",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/entropy::script-peak-entropy-region-mass-at-least-1k"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "JavaScript source-map path or decoded child",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/extension/asset::javascript-source-map-path"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a source declaration extension",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/file/extension/identity::declaration-file-extension"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JavaScript source filename extension",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/extension/identity::javascript-source-extension"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "JSON file extension",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/extension/identity::json-extension"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Markdown or documentation file extension",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/extension/identity::markdown-file-basename"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Common web or JSON file extension",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/file/extension/identity::web-asset-extension"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Compressed-tar suffix in archive basename",
            "id": "metadata/file/extension/package::compressed-tar-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "JavaScript or TypeScript source filename",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/extension/source::js-ts-source-basename"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "File has 30 or more lines",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/file/line::file-has-30-plus-lines"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Very short file (under 12 lines)",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/line::file-under-12-lines"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "JavaScript file exceeds one thousand lines",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/line::javascript-over-1000-lines"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Very long line",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/line::single-long-line"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "JavaScript file under 5KB",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/file/size::javascript-small-file-5k"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Whole-file whitespace ratio at most ten percent",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/text-distribution::low-whitespace-ratio"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Source whitespace ratio \u003e=20%",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/file/text-distribution::source-whitespace-at-least-twenty-percent"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Basename starts README, REQUIREMENTS, or INSTALL",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/filename/name-form::readme-requirements-install-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./BuildMany.cjs",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/import/npm/relative/1/buildmany/cjs::relative/1/buildmany/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./BuildMany.js",
            "from": [
              {
                "file": 25
              }
            ],
            "id": "metadata/import/npm/relative/1/buildmany/js::relative/1/buildmany/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./DeepExclude.cjs",
            "from": [
              {
                "file": 30
              }
            ],
            "id": "metadata/import/npm/relative/1/deepexclude/cjs::relative/1/deepexclude/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./DeepExclude.js",
            "from": [
              {
                "file": 31
              }
            ],
            "id": "metadata/import/npm/relative/1/deepexclude/js::relative/1/deepexclude/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./DistributeUnions.cjs",
            "from": [
              {
                "file": 22
              }
            ],
            "id": "metadata/import/npm/relative/1/distributeunions/cjs::relative/1/distributeunions/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./DistributeUnions.js",
            "from": [
              {
                "file": 23
              }
            ],
            "id": "metadata/import/npm/relative/1/distributeunions/js::relative/1/distributeunions/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./ExtractPreciseValue.cjs",
            "from": [
              {
                "file": 36
              }
            ],
            "id": "metadata/import/npm/relative/1/extractprecisevalue/cjs::relative/1/extractprecisevalue/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./ExtractPreciseValue.js",
            "from": [
              {
                "file": 37
              }
            ],
            "id": "metadata/import/npm/relative/1/extractprecisevalue/js::relative/1/extractprecisevalue/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./FindSelected.cjs",
            "from": [
              {
                "file": 34
              }
            ],
            "id": "metadata/import/npm/relative/1/findselected/cjs::relative/1/findselected/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./FindSelected.js",
            "from": [
              {
                "file": 35
              }
            ],
            "id": "metadata/import/npm/relative/1/findselected/js::relative/1/findselected/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./helpers.cjs",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/import/npm/relative/1/helpers/cjs::relative/1/helpers/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./helpers.js",
            "from": [
              {
                "file": 21
              }
            ],
            "id": "metadata/import/npm/relative/1/helpers/js::relative/1/helpers/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./internals/symbols.cjs",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/npm/relative/1/internals/symbols/cjs::relative/1/internals/symbols/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./internals/symbols.js",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/import/npm/relative/1/internals/symbols/js::relative/1/internals/symbols/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./InvertPattern.cjs",
            "from": [
              {
                "file": 34
              }
            ],
            "id": "metadata/import/npm/relative/1/invertpattern/cjs::relative/1/invertpattern/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./InvertPattern.js",
            "from": [
              {
                "file": 35
              }
            ],
            "id": "metadata/import/npm/relative/1/invertpattern/js::relative/1/invertpattern/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./IsMatching.cjs",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/import/npm/relative/1/ismatching/cjs::relative/1/ismatching/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./IsMatching.js",
            "from": [
              {
                "file": 25
              }
            ],
            "id": "metadata/import/npm/relative/1/ismatching/js::relative/1/ismatching/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./Pattern.cjs",
            "from": [
              {
                "file": 26
              }
            ],
            "id": "metadata/import/npm/relative/1/pattern/cjs::relative/1/pattern/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./Pattern.js",
            "from": [
              {
                "file": 27
              }
            ],
            "id": "metadata/import/npm/relative/1/pattern/js::relative/1/pattern/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./patterns.cjs",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/npm/relative/1/patterns/cjs::relative/1/patterns/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./patterns.js",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/npm/relative/1/patterns/js::relative/1/patterns/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/ExtractPreciseValue.cjs",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "metadata/import/npm/relative/1/types/extractprecisevalue/cjs::relative/1/types/extractprecisevalue/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/ExtractPreciseValue.js",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/npm/relative/1/types/extractprecisevalue/js::relative/1/types/extractprecisevalue/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/helpers.cjs",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "metadata/import/npm/relative/1/types/helpers/cjs::relative/1/types/helpers/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/helpers.js",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/npm/relative/1/types/helpers/js::relative/1/types/helpers/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/InvertPattern.cjs",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "metadata/import/npm/relative/1/types/invertpattern/cjs::relative/1/types/invertpattern/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/InvertPattern.js",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/npm/relative/1/types/invertpattern/js::relative/1/types/invertpattern/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/Match.cjs",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/npm/relative/1/types/match/cjs::relative/1/types/match/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/Match.js",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "metadata/import/npm/relative/1/types/match/js::relative/1/types/match/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/Pattern.cjs",
            "from": [
              {
                "file": 14
              }
            ],
            "id": "metadata/import/npm/relative/1/types/pattern/cjs::relative/1/types/pattern/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/Pattern.js",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/npm/relative/1/types/pattern/js::relative/1/types/pattern/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../internals/symbols.cjs",
            "from": [
              {
                "file": 28
              }
            ],
            "id": "metadata/import/npm/relative/2/internals/symbols/cjs::relative/2/internals/symbols/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../internals/symbols.js",
            "from": [
              {
                "file": 29
              }
            ],
            "id": "metadata/import/npm/relative/2/internals/symbols/js::relative/2/internals/symbols/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../patterns.cjs",
            "from": [
              {
                "file": 36
              }
            ],
            "id": "metadata/import/npm/relative/2/patterns/cjs::relative/2/patterns/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../patterns.js",
            "from": [
              {
                "file": 37
              }
            ],
            "id": "metadata/import/npm/relative/2/patterns/js::relative/2/patterns/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../types/FindSelected.cjs",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/import/npm/relative/2/types/findselected/cjs::relative/2/types/findselected/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../types/FindSelected.js",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/import/npm/relative/2/types/findselected/js::relative/2/types/findselected/js"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../types/Pattern.cjs",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/import/npm/relative/2/types/pattern/cjs::relative/2/types/pattern/cjs"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ../types/Pattern.js",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/import/npm/relative/2/types/pattern/js::relative/2/types/pattern/js"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Declares ES module exports",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/lang/javascript-features::esm-export"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Code uses generator functions",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/javascript-features::has-generators"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Symbol constructor usage marker",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/javascript-features::has-symbols-base"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Code uses Symbol iterators",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/javascript-features::has-symbols-iter"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "5+ comma sequence expressions",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/javascript-features::js-comma-sequence-count-5"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "ES6 template literal syntax",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/javascript-features::template-literal"
          },
          {
            "conf": 0.97,
            "crit": 2,
            "desc": "English UI language code",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/locale/translation::language-label-code-en"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "uses": [
              236,
              237,
              238,
              239,
              240,
              241,
              242
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "TypeScript declaration file",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/lang/scripted::dts-declaration-file"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JavaScript startsWith method",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/scripted::startswith-method"
          },
          {
            "conf": 0.5,
            "crit": 2,
            "desc": "Five or fewer comment lines in file",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/comment::few-comment-lines"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "High comment-to-code ratio",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/lang/source/comment::high-comment-to-code-ratio"
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Source has at most two comments",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/lang/source/comment::source-at-most-two-comments"
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/lang/source/comment::source-comment-bytes-over-300"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "TypeScript interface declaration in source",
            "from": [
              {
                "file": 38
              }
            ],
            "id": "metadata/lang/source/declaration::interface-only-source"
          },
          {
            "conf": 0.82,
            "crit": 2,
            "desc": "At least six constant-return functions",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/function::constant-return-functions-6"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Parser reports high function density",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/function::high-function-density"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Many no-param functions",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/function::many-no-param-functions"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Parser counts many one-line functions",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/function::many-one-liner-functions"
          },
          {
            "conf": 0.4,
            "crit": 2,
            "desc": "Analyzed layer contains at most three strings",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/lang/source/literal/string/population::analyzed-layer-string-count-at-most-three"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Low identifier reuse ratio",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/naming/population::low-identifier-reuse"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Sequential source identifier names",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/naming/population::sequential-identifiers"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Over 30% single-character identifiers",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/naming/population::single-character-identifier-ratio-over-30"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Source has no parsed call sites",
            "from": [
              {
                "file": 20
              }
            ],
            "id": "metadata/lang/source/shape::source-no-parsed-call-sites"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Identifier assignment ending in semicolon",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/assignment/name::semicolon-identifier-assignment"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content"
          },
          {
            "conf": 0.97,
            "crit": 2,
            "desc": "Markdown fence names a code language",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/markup/markdown::fenced-language-block-marker"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Input member-name reference",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/syntax/member::message-input-member-name"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Payload/data member-name reference",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/member::message-payload-data-member-name"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "TypeScript any, void, Array or Promise type",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/lang/source/syntax/operator::typescript-any-void-container-annotation"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "TypeScript primitive type annotation",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/lang/source/syntax/operator::typescript-primitive-type-annotation"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json contains literal author key",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/author/identity::author-key-text"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "package.json declares author metadata",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/author/identity::has-author-field"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "npm manifest has many devDependencies",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/count::npm-many-dev-dependencies"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package declares development dependencies",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/presence::has-dev-deps"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "npm manifest omits dependencies field",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/presence::npm-no-dependencies-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "npm manifest declares no runtime dependencies",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/presence::npm-no-runtime-dependencies",
            "uses": [
              159
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "npm manifest has only many devDependencies",
            "from": [
              {
                "file": 40,
                "line": 60,
                "off": 1600
              }
            ],
            "id": "metadata/package/dependencies/presence::npm-no-runtime-many-devdeps",
            "uses": [
              157,
              160
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "package.json contains literal description key",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/description/presence::description-key-text"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Package has meaningful description",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/description/presence::has-description"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Code has JSDoc @example",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/package/documentation/package-metadata::has-jsdoc-example"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Package documentation basename",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/documentation/source::package-doc-reference-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README document basename",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/documentation/source::readme-any-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README Markdown basename",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/documentation/source::readme-markdown-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest declares no activation events",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/extension::vscode-activation-events-absent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest declares no browser entry module",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/extension::vscode-browser-entry-absent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest contributes no configuration block",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/extension::vscode-configuration-contribution-absent"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json declares an exports map",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::has-exports-field"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package declares standard index entry",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::has-index-entry"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package main targets dist output",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::main-dist-entrypoint"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package main targets runtime tree",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::main-runtime-tree-entrypoint"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package module targets dist output",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::module-dist-entrypoint"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "npm archive contains a code member",
            "id": "metadata/package/entrypoint/module::npm-archive-code-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Published npm manifest declares runtime-tree entrypoint",
            "from": [
              {
                "file": 40,
                "line": 23,
                "off": 560
              }
            ],
            "id": "metadata/package/entrypoint/module::npm-publish-runtime-tree-entrypoint",
            "uses": [
              174,
              187
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package exports dist entrypoint",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::pkg-exports-dist-entrypoint"
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "package.json declares a main entry point",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::pkg-main-field"
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "\"module\": field in package.json",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::pkg-module-field"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package types targets dist output",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::types-dist-entrypoint"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package unpkg targets dist output",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/entrypoint/module::unpkg-dist-entrypoint"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Archive container path",
            "id": "metadata/package/files/included::archive-container-path"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Filename is index.js",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/files/included::javascript-index-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "npm archive ships license member",
            "id": "metadata/package/files/included::npm-license-archive-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Archive carries npm package manifest",
            "id": "metadata/package/files/included::npm-package-manifest-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest sits at npm publish root",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/files/included::npm-publish-root-manifest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "npm archive ships runtime JavaScript",
            "id": "metadata/package/files/included::npm-runtime-code-member"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package files list includes the dist directory",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/files/package-json::files-dist-ref"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package files list includes runtime tree",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/files/package-json::files-runtime-tree-ref"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package has homepage URL",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/homepage::has-homepage-field"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Package declares keywords",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/keywords/identity::has-keywords"
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "Copyright notice",
            "from": [],
            "id": "metadata/package/license::copyright-word"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "MIT license permission grant sentence",
            "from": [],
            "id": "metadata/package/license::mit-license-grant-text"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "MIT License named in text",
            "from": [],
            "id": "metadata/package/license::mit-license-text"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "package.json contains literal license key",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/license::npm-license-key-text"
          },
          {
            "atk": "T1195.002",
            "conf": 0.97,
            "crit": 2,
            "desc": "Manifest declares a permissive SPDX license",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/license::permissive-license-declared"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "npm archive has no parsed package name",
            "id": "metadata/package/name/convention::npm-archive-name-missing"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "npm manifest declares a package name",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/name/convention::npm-has-name"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "npm hyphenated multiword name",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/name/vocabulary::npm-hyphenated-multiword-name"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package has bugs/issues URL",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/repository::has-bugs-url-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "package.json declares repository metadata",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/repository::has-repository-field"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json declares a repository URL",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/repository::has-repository-url"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "package.json declares repository type git",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/repository::repo-declares-git-type"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Manifest has no contributes section",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/runtime::vscode-contributes-absent"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "package.json declares a test script",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/scripts/develop::has-test-script"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Package uses Jest testing framework",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/testing/presence/manifest::has-jest"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Package version uses numeric SemVer format",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/versioning/scheme::conventional-version-base"
          },
          {
            "conf": 0.65,
            "crit": 2,
            "desc": "Mature package version",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/versioning/scheme::mature-package-version"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "package.json defines a package version",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/versioning/scheme::npm-has-version"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Version starts with a nonzero major number",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/versioning/scheme::npm-nonzero-major-version-prefix"
          },
          {
            "conf": 0.96,
            "crit": 2,
            "desc": "JavaScript distribution output path",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/path/development::js-distribution-output-path"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Permission or access term",
            "from": [],
            "id": "metadata/permission/prose::permission-permission-term-english"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains an HTTPS URL prefix",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/http/message::https-prefix"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Collection forEach/map callback",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/loop/collection::collection-callback-header"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "For/foreach loop over a collection",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "micro-behaviors/data/control-flow/loop/collection::record-loop-header"
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Exports a JavaScript module through CommonJS",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/module-exec::js-module-exports"
          },
          {
            "conf": 0.86,
            "crit": 2,
            "desc": "Calls a parenthesized function expression",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/control-flow/module-exec::js-synchronous-iife-close"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Binds an indexed value to a variable",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/property/access::indexed-value-variable-binding"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Binds computed property to variable",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/property/access::js-computed-property-alias"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "References a value object member",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/property/access::js-value-property-read"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Value property assigned to a local variable",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/property/assign::property-value-local-assignment"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "JavaScript substring or slice call",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/string/access::js-substring-call"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "JavaScript empty-string variable initializer",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/data/string/concat/expression::js-empty-string-initializer"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "References the toString conversion method",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/string/conversion::tostring-token"
          },
          {
            "conf": 0.82,
            "crit": 2,
            "desc": "Searches strings with includes or indexOf",
            "from": [
              {
                "file": 36
              }
            ],
            "id": "micro-behaviors/data/string/search::js-includes-indexof-call"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Writes output through JavaScript console.log",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/os/console/io::js-console-log-call"
          },
          {
            "conf": 0.4,
            "crit": 2,
            "desc": "3+ Date.now() calls",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/time/query::js-triple-date-now"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Archive contains at least six members",
            "id": "metadata/archive/layout::archive-at-least-6-members"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Distribution JavaScript references a source map",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/build/bundler/asset::js-dist-sourcemap-output",
            "uses": [
              23,
              60
            ]
          },
          {
            "conf": 0.86,
            "crit": 1,
            "desc": "Call has a nested call argument",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/javascript-features::js-nested-call-argument"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          },
          {
            "conf": 0.92,
            "crit": 1,
            "desc": "Large source comment span",
            "from": [
              {
                "file": 24
              }
            ],
            "id": "metadata/lang/source/comment::large-source-comment-span",
            "uses": [
              136,
              137
            ]
          },
          {
            "conf": 0.75,
            "crit": 1,
            "desc": "JavaScript source contains fetch token",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/naming/interface/network::fetch-word-text"
          },
          {
            "conf": 0.75,
            "crit": 1,
            "desc": "JavaScript source contains post token",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/naming/interface/network::post-word-text"
          },
          {
            "conf": 0.75,
            "crit": 1,
            "desc": "JavaScript source contains request token",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/naming/interface/network::request-word-text"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "user key prefix in object text",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/naming/resource::user-object-key"
          },
          {
            "conf": 0.4,
            "crit": 1,
            "desc": "Result name with field or assignment separator",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/shape::result-field-or-assignment-syntax"
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Call outside static-table helper vocabulary",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/syntax/call/relationship::javascript-call-outside-table-helper-vocabulary"
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Ternary selects identifier then scalar literal",
            "from": [
              {
                "file": 26
              }
            ],
            "id": "metadata/lang/source/syntax/conditional::js-conditional-identifier-scalar"
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Object body field holds an identifier",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/key-value::body-field-identifier"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Backtick code-fence token with ts prefix",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "metadata/lang/source/syntax/markup/markdown::backtick-ts-fence-prefix"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Chat object defines message or content key",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/object::chat-message-content-field"
          },
          {
            "conf": 0.92,
            "crit": 1,
            "desc": "Literal equality or membership source pattern",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/source/syntax/operator::literal-comparison-source-pattern"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "npm manifest omits Ethers client",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/presence::npm-manifest-omits-ethers-client"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "npm manifest omits Web3 client",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/presence::npm-manifest-omits-web3-client"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "npm manifest omits Web3 and Ethers clients",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/dependencies/presence::npm-manifest-omits-web3-ethers",
            "uses": [
              255,
              256
            ]
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Manifest lacks grammars contribution field",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/runtime::vscode-grammars-contribution-absent-evidence"
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Manifest lacks languages contribution field",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/runtime::vscode-languages-contribution-absent-evidence"
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Manifest lacks localization contribution field",
            "from": [
              {
                "file": 40
              }
            ],
            "id": "metadata/package/runtime::vscode-localizations-contribution-absent-evidence"
          },
          {
            "conf": 0.93,
            "crit": 1,
            "desc": "Success status field",
            "from": [
              {
                "file": 18
              }
            ],
            "id": "micro-behaviors/communications/http/device-code::success-status-field"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "Search query parameter",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/communications/http/dynamic::dnr-search-query-param"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Data contains HTTP URL text",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/url/reference::data-http-url-text"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "First comma-sequence indexed read with temp",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/collection/array::seq-swap-first-write"
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "Traverses an object through a computed property",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/property/access::js-indexed-object-traversal"
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "Assigns a computed object property",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/property/assign::js-indexed-object-assignment"
          },
          {
            "conf": 0.7,
            "crit": 1,
            "desc": "Array index i access",
            "from": [
              {
                "file": 8
              }
            ],
            "id": "micro-behaviors/data/reassembly::array-index-i"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Dotted variable concatenation",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/data/string/concat/expression::js-dotted-variable-concat"
          },
          {
            "conf": 0.7,
            "crit": 1,
            "desc": "JavaScript extension reference",
            "from": [
              {
                "file": 21
              }
            ],
            "id": "micro-behaviors/fs/path/extension::js-reference"
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "References the JavaScript console object",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/os/console/io::js-console-object"
          },
          {
            "atk": "T1497.001",
            "conf": 0.9,
            "crit": 1,
            "desc": "Compares detection score to threshold",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "objectives/anti-analysis/vm-detect/score::js-score-threshold-comparison",
            "mbc": "B0009"
          },
          {
            "conf": 0.85,
            "crit": 1,
            "desc": "Named field extracted from HTTP response",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "objectives/anti-static/obfuscation/eval/dynamic::response-data-field-ref"
          },
          {
            "atk": "T1195.002",
            "conf": 0.85,
            "crit": 1,
            "desc": "Obfuscated file contains fetch call",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "objectives/anti-static/obfuscation/obfuscator-supply-chain::obfuscated-fetch-text"
          },
          {
            "atk": "T1195.002,T1041",
            "conf": 0.85,
            "crit": 1,
            "desc": "Compact package version field key",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "objectives/exfiltration/oob/system-profile/request-body::compact-package-version-key"
          },
          {
            "atk": "T1486,T1657",
            "conf": 1.0,
            "crit": 1,
            "desc": "First-person possession phrase",
            "from": [
              {
                "file": 34
              }
            ],
            "id": "objectives/impact/ransom/extortion::we-have-possession-phrase"
          }
        ],
        "type": "npm"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 8,
            "line": 1,
            "ln": 7,
            "s": "gn=\"center\"\u003eTS-Pattern\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nThe exhaustive Pattern Matching library for \u003ca href=\"https://github.com/microsoft/TypeScript\"\u003eTypeScript\u003c/a\u003e\nwith smart type inference.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ts-pattern\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/ts-pattern.svg\" alt=\"downloads\" height=\"18\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ts-pattern\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/ts-pattern.svg\" alt=\"npm version\" height=\"18\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/gvergnaud/ts-pattern\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/ts-pattern.svg\" alt=\"MIT license\" height=\"18\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n```ts\nimport { match, P } from 'ts-pattern';\n\ntype Data =\n  | { type: 'text'; content: string }\n  | { type: 'img'; src: string };\n\ntype Result =\n  | { type: 'ok'; data: Data }\n  | { type: 'error'; error: Error };\n\nconst result: Result = ...;\n\nconst html = match(result)\n  .with({ type: 'erro"
          },
          {
            "col": 16,
            "line": 35,
            "ln": 1024,
            "s": " 'ok', data: { type: 'text' } }, (res) =\u003e `\u003cp\u003e${res.data.content}\u003c/p\u003e`)\n  .with({ type: 'ok', data: { type: 'img', src: P.select() } }, (src) =\u003e `\u003cimg src=${src} /\u003e`)\n  .exhaustive();\n```\n\n## About\n\nWrite **better** and **safer conditions**. Pattern matching lets you express complex conditions in a single, compact expressio"
          },
          {
            "col": 200,
            "line": 42,
            "ln": 1422,
            "s": "ecking ensures you havenât forgotten **any possible case**.\n\n![ts-pattern](https://user-images.githubusercontent.com/9265418/231688650-7cd957a9-8edc-4db8-a5fe-61e1c2179d91.gif)\n\n\u003cp align=\"center\"\u003e\u003ci\u003eAnimation by \u003ca target=\"_blank\" href=\"https://twitter.com/nicoespeon/status/1644342570389061634?s=20\"\u003e@nicoespeon\u003c/a\u003e\u003c/i\u003e\u003c/p\u003e\n\n## Features\n\n- Pattern-match on **any data structure**: nested [Objects](#objects), [Arrays](#tuples-arrays), [Tuples](#tuples-arrays), [Sets](#pset-patterns), [Maps](#pmap-patterns) and all primitive types.\n- **Typesafe**, with helpful [type inference](#type-inference).\n- **Exhaustiveness checking** support, enforcing that you are matching every possible case with [`.exhaustive()`](#exhaustive).\n- Use [patterns](#patterns) to **validate** the shape of your data with [`isMatching`](#ismatching).\n- **Expressiv"
          },
          {
            "col": 26,
            "line": 57,
            "ln": 2721,
            "s": "[**only ~2kB**](https://bundlephobia.com/package/ts-pattern)).\n\n## What is Pattern Matching?\n\n[Pattern Matching](https://stackoverflow.com/questions/2502354/what-is-pattern-matching-in-functional-languages) is a code-bra"
          },
          {
            "col": 141,
            "line": 63,
            "ln": 3281,
            "s": "9/proposal-pattern-matching) to add Pattern Matching to EcmaScript, but it is still in stage 1 and "
          },
          {
            "col": 407,
            "line": 63,
            "ln": 3547,
            "s": "hat you can start using today.\n\nRead the introduction blog post: [Bringing Pattern Matching to TypeScript ð¨ Introducing TS-Pattern](https://dev.to/gvergnaud/bringing-pattern-matching-to-typescript-introducing-ts-pattern-v3-0-o1k)\n\n## Installation\n\nVia npm\n\n```\nnpm install ts-pattern\n```\n\nVia yarn\n\n```\nyarn add ts-pattern\n```\n\n### Compatibility with different TypeScript versions\n\nNote: TS-Pattern assumes [Strict Mode](https://www.typescriptlang.org/tsconfig#strict) is enabled in your `tsconfig.json` file.\n\n| ts-pattern                                                                           "
          },
          {
            "col": 10,
            "line": 127,
            "ln": 6487,
            "s": "pe inference](#type-inference)\n- [Inspirations](#inspirations)\n\n## Code Sandbox Examples\n\n- [Basic Demo](https://codesandbox.io/s/ts-pattern-examples-v4-bdy5p2?file=/src/examples/basic.tsx)\n- [React gif fetcher app Demo](https://codesandbox.io/s/ts-pattern-gif-search-demo"
          },
          {
            "col": 50,
            "line": 139,
            "ln": 7397,
            "s": "/s/ts-pattern-examples-v4-bdy5p2?file=/src/examples/union.tsx)\n\n## Getting Started\n\nAs an example, let's create a state reducer for a frontend application that fetches some data.\n\n### Example: a state reducer w"
          },
          {
            "col": 54,
            "line": 149,
            "ln": 7815,
            "s": "ur application\ncan respond to: `fetch`, `success`, `error` and `cancel`.\n\nI use the word `event` but you can replace it with `action` if you are used\nto Redux's terminology.\n\n```ts"
          },
          {
            "col": 20,
            "line": 158,
            "ln": 8051,
            "s": "ing'; startTime: number }\n  | { status: 'success'; data: string }\n  | { status: 'error'; error: Error };\n\ntype E"
          },
          {
            "col": 49,
            "line": 170,
            "ln": 8419,
            "s": "instance we can only `cancel`\na request if we are currently in the `loading` state.\nTo avoid unwanted s"
          },
          {
            "col": 117,
            "line": 172,
            "ln": 8619,
            "s": "state and the event**, and return a new state.\n\nThis is a case where `match` really shines. Instead of writing nested switch statements, we can use "
          },
          {
            "col": 14,
            "line": 182,
            "ln": 8997,
            "s": "pe\u003cState\u003e()\n    .with(\n      [{ status: 'loading' }, { type: 'success' }],\n      ([_, event]) =\u003e ({ status: 'success', data: event.data })\n    )\n    .with(\n      [{ status: 'loading' }, { type: 'error', error: P.select() }],\n      "
          },
          {
            "col": 55,
            "line": 192,
            "ln": 9339,
            "s": "],\n      () =\u003e ({ status: 'loading', startTime: Date.now() })\n    )\n    .with(\n      [\n        {\n          status: 'loading',\n          startTime: P.when"
          },
          {
            "col": 2,
            "line": 211,
            "ln": 9735,
            "s": "## match(value)\n\n`match` takes a value and returns a [_builder_](https://en.wikipedia.org/wiki/Builder_pattern) on which you can add your pattern matching cases.\n\n\u003c!-- prettier-ignore --\u003e\n```ts\nmatch([state, event])\n```\n\nIt"
          },
          {
            "col": 81,
            "line": 248,
            "ln": 10912,
            "s": "s branch.\n\nThe second argument is the **handler function**: the code **branch** that will be called if the input value matches the pattern.\n\nThe handler "
          },
          {
            "col": 75,
            "line": 280,
            "ln": 12157,
            "s": "ror }]\n    }\n  )\n```\n\nIn a pattern, we can only have a **single** anonymous selection. If you need to select more properties on your input data stru"
          },
          {
            "col": 45,
            "line": 318,
            "ln": 13449,
            "s": "of your patterns\n- pass it as second parameter to `.with(...)`\n\n#### using P.when(predicate)\n\n```ts\n  .with(\n    [\n      {\n        status: 'loading',\n        startTime: P.when((t) =\u003e t + 2000 \u003c Date.now()),\n      },\n      { t"
          },
          {
            "col": 5,
            "line": 361,
            "ln": 14376,
            "s": " at any level:\n  .with([P._, { type: P._ }], () =\u003e state)\n\n```\n\n### .exhaustive(), .otherwise() and .run()\n\n```ts\n  .exhaustive();\n```\n\n`.exhaustive()` **executes** the pattern matching expression, and **returns the result**. It also enabl"
          },
          {
            "col": 58,
            "line": 415,
            "ln": 15974,
            "s": "tterns than strings and exhaustiveness checking works as well.\n\n## API Reference\n\n### `match`\n\n```ts\nmatch(value);\n```\n\nCreate a `Match` object on which you can later call `.with`, `.when`, `.otherwise` and `.run`.\n\n#### Signature\n\n```ts\nfunction match\u003cTInput, TOutput\u003e(input: TInput): Match\u003cTInput, TOutput\u003e;\n```\n\n#### Arguments\n\n- `input`\n  - **Required**\n  - the input value your patterns will be tested against.\n\n### `.with`\n\n```ts\nmatch(...)\n  .with(pattern, [...patterns], handler)\n```\n\n#### Signature\n\n```ts\nfunction with(\n  pattern: Pattern\u003cTInput\u003e,\n  h"
          },
          {
            "col": 54,
            "line": 490,
            "ln": 18045,
            "s": "from the input with the [`select` function](#select-patterns).\n\n### `.when`\n\n```ts\nmatch(...)\n  .when(predicate, handler)\n```\n\n#### Signature\n\n```ts\nfunction when(\n  predicate: (value: TInput) =\u003e unknown,\n  h"
          },
          {
            "col": 28,
            "line": 516,
            "ln": 18609,
            "s": "e `match` case must return values of the same type, `TOutput`.\n\n### `.returnType`\n\n```ts\nmatch(...)\n  .returnType\u003cstring\u003e()\n  .with(..., () =\u003e \"has to be a string\")\n  .with(..., () =\u003e \"Oops\".length)\n  //           "
          },
          {
            "col": 43,
            "line": 539,
            "ln": 19328,
            "s": "will return. All branches must return values assignable to it.\n\n### `.exhaustive`\n\n```ts\nmatch(...)\n  .with(...)\n  .exhaustive()\n```\n\nRuns the pattern-matching expression and returns its result. It also enables exh"
          },
          {
            "col": 104,
            "line": 549,
            "ln": 19565,
            "s": "aking sure at compile time that we have handled all possible cases.\n\n#### Signature\n\n```ts\nfunction exh"
          },
          {
            "col": 20,
            "line": 561,
            "ln": 19771,
            "s": " | 'pro';\n\nconst fn = (org: Plan, user: Permission) =\u003e\n  match([org, user])\n    .with(['basic', 'viewer"
          },
          {
            "col": 144,
            "line": 681,
            "ln": 22808,
            "s": "n which tells us whether the pattern matches the value or not.\n\n## Patterns\n\nA pattern is a description of the expected shape of your input value.\n\nPatterns can be regular JavaScript values (`\"some strin"
          },
          {
            "col": 5,
            "line": 693,
            "ln": 23461,
            "s": "rt { match, Pattern } from 'ts-pattern';\n\nconst toString = (value: unknown): string =\u003e\n  match(value)\n    .with(Pattern.string, (str) =\u003e str)\n    .with("
          },
          {
            "col": 8,
            "line": 735,
            "ln": 24681,
            "s": "rwise(() =\u003e 'something else');\n\nconsole.log(output);\n// =\u003e 'number: two'\n```\n\n### Objects\n\nPatterns can "
          },
          {
            "col": 94,
            "line": 800,
            "ln": 26461,
            "s": "\n\n```ts\nimport { match, P } from 'ts-pattern';\n\nconst input = 'hello';\n\nconst output = match(input)\n  .with(P._, () =\u003e 'It will always match')\n  // OR\n  .with("
          },
          {
            "col": 5,
            "line": 857,
            "ln": 27555,
            "s": "s\nimport { match, P } from 'ts-pattern';\n\nconst input = true;\n\nconst output = match\u003cnumber | string | boolean\u003e(input)\n  .with(P.string, () =\u003e 'it is a string"
          },
          {
            "col": 17,
            "line": 940,
            "ln": 29546,
            "s": " = [\n  { title: 'Hello world!', content: 'This is a very interesting content' },\n  { title: 'Bonjour!', co"
          },
          {
            "col": 9,
            "line": 946,
            "ln": 29743,
            "s": "\n    P.array({ title: P.string, content: P.string }),\n    (posts) =\u003e 'a list of posts!'\n  )\n  .otherwise(("
          },
          {
            "col": 60,
            "line": 958,
            "ln": 30029,
            "s": "tlang.org/docs/handbook/release-notes/typescript-4-0.html#variadic-tuple-types) are array types creat"
          },
          {
            "col": 74,
            "line": 969,
            "ln": 30583,
            "s": ".(number | string)[]]\n  .with(['print', ...P.array(P.string)], (input) =\u003e input) // input: ['print', "
          },
          {
            "col": 5,
            "line": 1000,
            "ln": 31575,
            "s": "`P.map` patterns\n\nTo match a Map, you can use `P.map(keyPattern, valuePattern)`.\nIt takes a subpattern to match against the key, a subpattern to matc"
          },
          {
            "col": 33,
            "line": 1040,
            "ln": 32828,
            "s": "tern';\n\ntype Input = { score: number };\n\nconst output = match({ score: 10 })\n  .with(\n    {\n      score: P.when((score): score is 5 =\u003e score === 5),\n    },\n    (input) =\u003e 'ð' // input is inferred as { score: 5 }\n  )\n  .with({ score: P.when((score) =\u003e score \u003c 5) }, () =\u003e 'ð')\n  .with({ score: P.when((score) =\u003e score \u003e 5) }, () =\u003e 'ð')\n  .run();\n\nconsole.log(output);\n// =\u003e 'ð'\n```\n\n### `P.not` patterns\n\n`P.not` lets you match on everything **but** a specific value.\nit's a function taking "
          },
          {
            "col": 17,
            "line": 1140,
            "ln": 35442,
            "s": "e: number; name: string };\ntype Post = { body: string };\ntype Input = { author: User; content: Post };\n\ndeclare const"
          },
          {
            "col": 42,
            "line": 1272,
            "ln": 38323,
            "s": "p you match on specific strings.\n\n### `P.string.startsWith`\n\n`P.string.startsWith(str)` matches strings that start with the provided string.\n\n```ts\nconst "
          },
          {
            "col": 50,
            "line": 1323,
            "ln": 39480,
            "s": "o long'\n```\n\n### `P.string.includes`\n\n`P.string.includes(str)` matches strings that contain the provided substring.\n\n```ts\nconst fn = (input: string) =\u003e\n"
          },
          {
            "col": 14,
            "line": 1333,
            "ln": 39661,
            "s": "tring.includes('!'), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn('Good job! ð')); // logs 'â'\n```\n\n### `P.string.regex`\n\n`P.string.regex(RegExp)` matches strings if they match the provided regular expression.\n\n```ts\ncons"
          },
          {
            "col": 14,
            "line": 1363,
            "ln": 40397,
            "s": "umber.between(1, 5), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn(3), fn(1), fn(5), fn(7)); // logs 'â â â â'\n```\n\n### `P.number.lt`\n\n`P.number.lt(max)` matches numbers smaller than `max`.\n\n```ts\nconst fn = (input: number) =\u003e\n  matc"
          },
          {
            "col": 6,
            "line": 1376,
            "ln": 40664,
            "s": "with(P.number.lt(7), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn(2), fn(7)); // logs 'â â'\n```\n\n### `P.number.gt`\n\n`P.number.gt(min)` matches numbers greater than `min`.\n\n```ts\nconst fn = (input: number) =\u003e\n  matc"
          },
          {
            "col": 6,
            "line": 1389,
            "ln": 40909,
            "s": "with(P.number.gt(7), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn(12), fn(7)); // logs 'â â'\n```\n\n### `P.number.lte`\n\n`P.number.lte(max)` matches numbers smaller than or equal to `max`.\n\n```ts\nconst fn = (input: num"
          },
          {
            "col": 7,
            "line": 1402,
            "ln": 41170,
            "s": "ith(P.number.lte(7), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn(7), fn(12)); // logs 'â â'\n```\n\n### `P.number.gte`\n\n`P.number.gte(min)` matches numbers greater than or equal to `min`.\n\n```ts\nconst fn = (input: num"
          },
          {
            "col": 7,
            "line": 1415,
            "ln": 41431,
            "s": "ith(P.number.gte(7), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn(7), fn(2)); // logs 'â â'\n```\n\n### `P.number.int`\n\n`P.number.int()` matches integers.\n\n```ts\nconst fn = (input: number) =\u003e\n  match(input)\n    .with(P.number.int(), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn(12), fn(-3.141592)); // logs 'â â'\n```\n\n### `P.number.finite`\n\n`P.number.finite()` matches all numbers except `Infinity` and `-Infinity`.\n\n```ts\nconst fn = ("
          },
          {
            "col": 9,
            "line": 1441,
            "ln": 41938,
            "s": "h(P.number.finite(), () =\u003e 'â')\n    .otherwise(() =\u003e 'â');\n\nconsole.log(fn(-3.141592), fn(Infinity)); // logs 'â â'\n```\n\n### `P.number.positive`\n\n`P.number.positive()` matches positive numbers.\n\n```ts\nconst fn = (input: number) =\u003e\n  match"
          },
          {
            "col": 16,
            "line": 1493,
            "ln": 42997,
            "s": "nfer\u003ctypeof postPattern\u003e;\n\n// posts: Post[]\nconst posts = await fetch(someUrl)\n  .then((res) =\u003e res.json())\n  .then((res: unknown): Post[] =\u003e\n    isMatching({ data: P.array(postPattern) }, res) ? res.data : []\n  );\n```\n\nAlthough not "
          },
          {
            "col": 28,
            "line": 1545,
            "ln": 44762,
            "s": " Video;\n\nconst formatContent = (content: Content): string =\u003e\n  match(content)\n    .with({ type: 'text' }, "
          },
          {
            "col": 25,
            "line": 1587,
            "ln": 46140,
            "s": "nown): x is string =\u003e typeof x === 'string';\n\nconst isNumber = (x: unknown): x is number =\u003e typeof x === 'number';\n\nconst fn = (input: { id: number | string }) =\u003e\n  match(input)"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "anonymous",
              9078
            ],
            [
              "anonymous",
              9228
            ],
            [
              "anonymous",
              9348
            ],
            [
              "anonymous",
              9493
            ],
            [
              "anonymous",
              9578
            ],
            [
              "state",
              9626
            ],
            [
              "anonymous",
              10624
            ],
            [
              "anonymous",
              11364
            ],
            [
              "anonymous",
              12033
            ],
            [
              "anonymous",
              12486
            ],
            [
              "anonymous",
              13625
            ],
            [
              "anonymous",
              13702
            ],
            [
              "anonymous",
              13969
            ],
            [
              "anonymous",
              14030
            ],
            [
              "state",
              14273
            ],
            [
              "state",
              14358
            ],
            [
              "state",
              14421
            ],
            [
              "state",
              15216
            ],
            [
              "anonymous",
              15741
            ],
            [
              "anonymous",
              15782
            ],
            [
              "name",
              15813
            ],
            [
              "anonymous",
              32988
            ],
            [
              "anonymous",
              33071
            ],
            [
              "anonymous",
              33096
            ],
            [
              "anonymous",
              33134
            ],
            [
              "anonymous",
              33159
            ],
            [
              "author",
              35679
            ],
            [
              "author",
              35831
            ],
            [
              "anonymous",
              35911
            ]
          ],
          "imp": [
            [
              "",
              "P.select"
            ],
            [
              "",
              "match"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.not"
            ],
            [
              "",
              "Date.now"
            ],
            [
              "",
              "P.when"
            ],
            [
              "",
              "Date.now"
            ],
            [
              "",
              "match"
            ],
            [
              "",
              "match"
            ],
            [
              "",
              "match"
            ],
            [
              "",
              "State"
            ],
            [
              "",
              "State"
            ],
            [
              "",
              "State"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error.with"
            ],
            [
              "",
              "ts.with.select.with.select.select.error"
            ],
            [
              "",
              "ts.with.select.with.select.select.error"
            ],
            [
              "",
              "ts.with.select.with.select.select"
            ],
            [
              "",
              "ts.with.select.with.select.select"
            ],
            [
              "",
              "ts.with.select.with.select"
            ],
            [
              "",
              "ts.with.select.with.select"
            ],
            [
              "",
              "ts.with.select.with"
            ],
            [
              "",
              "ts.with.select.with"
            ],
            [
              "",
              "ts.with.select.with"
            ],
            [
              "",
              "ts.with.select"
            ],
            [
              "",
              "ts.with.select"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "status.not"
            ],
            [
              "",
              "P.when"
            ],
            [
              "",
              "Date.now"
            ],
            [
              "",
              "pattern"
            ],
            [
              "",
              "handler"
            ],
            [
              "",
              "handler"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "Date.now"
            ],
            [
              "",
              "P._"
            ],
            [
              "",
              "P._"
            ],
            [
              "",
              "P._"
            ],
            [
              "",
              "ts.with.with.with.exhaustive"
            ],
            [
              "",
              "ts.with.with.with"
            ],
            [
              "",
              "ts.with.with.with"
            ],
            [
              "",
              "ts.with.with.with"
            ],
            [
              "",
              "ts.with.with.with"
            ],
            [
              "",
              "ts.with.with"
            ],
            [
              "",
              "ts.with"
            ],
            [
              "",
              "match.with.with.otherwise"
            ],
            [
              "",
              "match.with.with"
            ],
            [
              "",
              "match.with"
            ],
            [
              "",
              "match"
            ],
            [
              "",
              "Match.with.when.otherwise.run"
            ],
            [
              "",
              "Match.with.when.otherwise.run"
            ],
            [
              "",
              "Match.with.when.otherwise"
            ],
            [
              "",
              "Match.with.when"
            ],
            [
              "",
              "Match.with"
            ],
            [
              "",
              "Match"
            ],
            [
              "",
              "score.when"
            ],
            [
              "",
              "P.when"
            ],
            [
              "",
              "P.when"
            ],
            [
              "",
              "console.log"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "author.select"
            ],
            [
              "",
              "P.number.gt"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.number.gt"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.optional"
            ],
            [
              "",
              "P.optional"
            ],
            [
              "",
              "P.optional"
            ],
            [
              "",
              "P.optional"
            ],
            [
              "",
              "key.optional"
            ],
            [
              "",
              "key.optional"
            ],
            [
              "",
              "value.instanceOf"
            ],
            [
              "",
              "value.instanceOf"
            ],
            [
              "",
              "type.union"
            ],
            [
              "",
              "constructor"
            ],
            [
              "",
              "constructor"
            ],
            [
              "",
              "prop.intersection"
            ],
            [
              "",
              "P.instanceOf"
            ],
            [
              "",
              "prop.intersection"
            ],
            [
              "",
              "P.instanceOf"
            ],
            [
              "",
              "P.number.between.optional"
            ],
            [
              "",
              "P.number.between"
            ],
            [
              "",
              "P.string.optional"
            ],
            [
              "",
              "data.array"
            ],
            [
              "",
              "type.union"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "type.union"
            ],
            [
              "",
              "P.select"
            ],
            [
              "",
              "P.when"
            ],
            [
              "",
              "P.when"
            ]
          ],
          "mbr": [
            "Date.now",
            "Match.with",
            "Match.with.when",
            "Match.with.when.otherwise",
            "Match.with.when.otherwise.run",
            "P._",
            "P.instanceOf",
            "P.not",
            "P.number",
            "P.number.between",
            "P.number.between.optional",
            "P.number.gt",
            "P.optional",
            "P.select",
            "P.string",
            "P.string.optional",
            "P.when",
            "a.key",
            "author.select",
            "console.log",
            "data.array",
            "event.data",
            "key.optional",
            "match.returnType",
            "match.with",
            "match.with.with",
            "match.with.with.otherwise",
            "prop.intersection",
            "res.data",
            "res.data.content",
            "score.when",
            "state.startTime",
            "status.not",
            "title.string",
            "ts.with",
            "ts.with.select",
            "ts.with.select.with",
            "ts.with.select.with.select",
            "ts.with.select.with.select.select",
            "ts.with.select.with.select.select.error",
            "ts.with.select.with.select.select.error.with",
            "ts.with.select.with.select.select.error.with.with",
            "ts.with.select.with.select.select.error.with.with.not",
            "ts.with.with",
            "ts.with.with.with",
            "ts.with.with.with.exhaustive",
            "type.union",
            "userOrOrg.name",
            "value.instanceOf"
          ],
          "metrics": {
            "ast": {
              "call_count": 162,
              "const_return_function_count": 11,
              "const_return_function_ratio": 0.38,
              "identity_function_count": 1,
              "max_array_length": 2,
              "max_depth": 38,
              "max_member_depth": 10,
              "member_count": 49,
              "node_count": 9523,
              "op.add": 3,
              "op.bor": 6,
              "op.eq": 1,
              "op.gt": 6,
              "op.lnot": 1,
              "op.lt": 11,
              "op_density.add": 0,
              "op_density.bor": 0,
              "op_density.eq": 0,
              "op_density.gt": 0,
              "op_density.lnot": 0,
              "op_density.lt": 0,
              "sequence_count": 54,
              "string_return_function_count": 6,
              "string_return_function_ratio": 0.21
            },
            "binary": {
              "peak_region_bytes": 28393,
              "peak_region_entropy": 5.29
            },
            "binds": {
              "count": 4
            },
            "comments": {
              "chars": 1529,
              "count": 63,
              "lines": 63,
              "to_code_ratio": 0.04
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_documents": 1
            },
            "file": {
              "entropy": 5.02,
              "size": 47849
            },
            "functions": {
              "anonymous": 29,
              "avg_length_lines": 1.34,
              "avg_param_name_length": 6.53,
              "avg_params": 0.52,
              "code_ratio": 0.02,
              "density": 1.78,
              "length_stddev": 1.09,
              "max_length_lines": 6,
              "max_params": 2,
              "min_length_lines": 1,
              "no_params_count": 15,
              "one_liners": 26,
              "single_char_params": 3
            },
            "identifiers": {
              "all_lowercase_ratio": 0.77,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.13,
              "avg_length": 5.79,
              "count": 2648,
              "has_digit_ratio": 0,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0,
              "length_stddev": 2.8,
              "max_length": 15,
              "min_length": 1,
              "numeric_suffix_count": 1,
              "repeated_char_names": 4,
              "reuse_ratio": 0.17,
              "sequential_names": 18,
              "single_char_count": 19,
              "single_char_ratio": 0.04,
              "underscore_prefix_count": 1,
              "unique": 448
            },
            "strings": {
              "avg_entropy": 2.39,
              "avg_length": 21.03,
              "bytes": 4857,
              "count": 231,
              "embedded_code_candidates": 7,
              "empty_count": 33,
              "entropy_stddev": 1.1,
              "max_length": 519,
              "sql": 1,
              "url_count": 8
            },
            "text": {
              "anonymous_function_ratio": 1,
              "ascii_art_lines": 1,
              "avg_line_length": 28.43,
              "char_entropy": 5.02,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.26,
              "identifier_density": 1.63,
              "identifiers_to_functions_ratio": 15.45,
              "last_line_length": 84,
              "line_length_stddev": 42.37,
              "lines": 1626,
              "lines_over_200": 21,
              "long_token_count": 6,
              "max_line_length": 436,
              "max_whitespace_run": 174,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.72,
              "normalized_string_count": 5.73,
              "normalized_unique_identifiers": 42,
              "repeated_char_sequences": 20,
              "space_count": 7292,
              "string_density": 0.14,
              "strings_to_functions_ratio": 7.97,
              "suspicious_identifier_ratio": 0.05,
              "suspicious_string_ratio": 0.03,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 109,
              "whitespace_ratio": 0.19
            }
          },
          "tgt": [
            "A",
            "Date.now",
            "Match",
            "Match.with",
            "Match.with.when",
            "Match.with.when.otherwise",
            "Match.with.when.otherwise.run",
            "P._",
            "P.instanceOf",
            "P.not",
            "P.number.between",
            "P.number.between.optional",
            "P.number.gt",
            "P.optional",
            "P.select",
            "P.string.optional",
            "P.when",
            "State",
            "author.select",
            "console.log",
            "constructor",
            "data.array",
            "handler",
            "key.optional",
            "match",
            "match.with",
            "match.with.with",
            "match.with.with.otherwise",
            "pattern",
            "prop.intersection",
            "score.when",
            "status.not",
            "ts.with",
            "ts.with.select",
            "ts.with.select.with",
            "ts.with.select.with.select",
            "ts.with.select.with.select.select",
            "ts.with.select.with.select.select.error",
            "ts.with.select.with.select.select.error.with",
            "ts.with.select.with.select.select.error.with.with",
            "ts.with.with",
            "ts.with.with.with",
            "ts.with.with.with.exhaustive",
            "type.union",
            "value.instanceOf"
          ]
        },
        "id": 1,
        "mol": "K(Am)H₃(Cm₄Db₂Os₂)Md₂(Pt₃)",
        "path": "ts-pattern-5.0.4.tgz!!package/README.md",
        "pid": 0,
        "risk": 10,
        "sha": "58020ae015f764b758b19d6cad41ac70479426efb58387937ccabb22c0e0b4c3",
        "sid": 10771396842,
        "size": 47849,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/filename/name-form::readme-requirements-install-basename"
              }
            ],
            "crit": "notable",
            "id": "metadata/filename/name-form::delimited-readme-basename",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "metadata/filename/name-form::readme-requirements-install-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/package-manager/reference-install::npm-install-command-text",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript contains a long inline whitespace run",
            "id": "metadata/file/line::long-inline-whitespace-run"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Source has 6+ code-like string candidates",
            "id": "metadata/lang/source/literal/embedded-source::embedded-code-candidates-6"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings",
            "spans": [
              [
                1213,
                8
              ],
              [
                1750,
                11
              ],
              [
                2785,
                28
              ],
              [
                3781,
                15
              ],
              [
                6551,
                24
              ],
              [
                7461,
                18
              ],
              [
                16038,
                16
              ],
              [
                22872,
                11
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "id": "metadata/lang/source/syntax/markup/markdown::markdown-heading-before-fenced-block",
            "spans": [
              [
                13513,
                33
              ],
              [
                14440,
                47
              ],
              [
                16056,
                16
              ],
              [
                16190,
                19
              ],
              [
                16391,
                16
              ],
              [
                18109,
                16
              ],
              [
                18673,
                22
              ],
              [
                19392,
                22
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "JavaScript uses many sequence expressions",
            "id": "metadata/lang/source/syntax/operator::javascript-many-sequence-expressions"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Fetch syntax adjacent to JSON parsing",
            "id": "micro-behaviors/communications/http/request/json::fetch-adjacent-json-parse",
            "spans": [
              [
                43061,
                41
              ]
            ]
          },
          {
            "conf": 0.91,
            "crit": 3,
            "desc": "Fetch call near JSON response parsing",
            "id": "micro-behaviors/communications/http/request/json::fetch-call-near-json-parse",
            "spans": [
              [
                43061,
                41
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Contains a hardcoded remote HTTP(S) URL",
            "id": "micro-behaviors/communications/url/host/domain-http::js-remote-host-url",
            "spans": [
              [
                108,
                18
              ],
              [
                227,
                21
              ],
              [
                284,
                22
              ],
              [
                1661,
                19
              ],
              [
                9799,
                25
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "URL host has a very short domain",
            "id": "micro-behaviors/communications/url/host/domain-http::short-domain-url",
            "spans": [
              [
                3682,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References example, Wikipedia, or Unicode URLs",
            "id": "micro-behaviors/communications/url/reference::documentation-url-reference",
            "spans": [
              [
                9800,
                30
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/url/scheme::http-url-literal",
            "spans": [
              [
                108,
                39
              ],
              [
                227,
                40
              ],
              [
                284,
                44
              ],
              [
                434,
                43
              ],
              [
                528,
                39
              ],
              [
                584,
                43
              ],
              [
                1661,
                62
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Repeated computed-property calls (3+)",
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-computed-call-cluster",
            "spans": [
              [
                1486,
                13
              ],
              [
                1813,
                10
              ],
              [
                1834,
                9
              ],
              [
                1860,
                9
              ],
              [
                1886,
                7
              ],
              [
                1910,
                7
              ],
              [
                1987,
                17
              ],
              [
                2118,
                18
              ]
            ]
          },
          {
            "conf": 0.93,
            "crit": 3,
            "desc": "Score field with numeric value",
            "id": "micro-behaviors/data/string/search::threat-pattern-score-annotation",
            "spans": [
              [
                32892,
                9
              ],
              [
                33032,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript emoji console.log call text",
            "id": "micro-behaviors/os/console/io::cli-status-emoji-log",
            "spans": [
              [
                39725,
                47
              ],
              [
                40461,
                61
              ],
              [
                40728,
                39
              ],
              [
                40973,
                40
              ],
              [
                41234,
                40
              ],
              [
                41495,
                39
              ],
              [
                41721,
                48
              ],
              [
                42002,
                54
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Logs a single identifier with console.log",
            "id": "micro-behaviors/os/console/io::js-console-log-identifier",
            "spans": [
              [
                33184,
                19
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "npm install text at shell command boundary",
            "id": "micro-behaviors/os/package-manager/reference-install::npm-install-shell-boundary-text",
            "spans": [
              [
                3811,
                11
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Named npm install text at command boundary",
            "id": "micro-behaviors/os/package-manager/reference-install::npm-named-install-shell-boundary-text",
            "spans": [
              [
                3810,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                108,
                19
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Script peak-entropy region mass at least 1KB",
            "id": "metadata/file/entropy::script-peak-entropy-region-mass-at-least-1k"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "JSON file extension",
            "id": "metadata/file/extension/identity::json-extension",
            "spans": [
              [
                4047,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Markdown or documentation file extension",
            "id": "metadata/file/extension/identity::markdown-file-basename"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "File has 30 or more lines",
            "id": "metadata/file/line::file-has-30-plus-lines"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "JavaScript file exceeds one thousand lines",
            "id": "metadata/file/line::javascript-over-1000-lines"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Basename starts README, REQUIREMENTS, or INSTALL",
            "id": "metadata/filename/name-form::readme-requirements-install-basename"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Code uses generator functions",
            "id": "metadata/lang/javascript-features::has-generators",
            "spans": [
              [
                10960,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "5+ comma sequence expressions",
            "id": "metadata/lang/javascript-features::js-comma-sequence-count-5"
          },
          {
            "conf": 0.97,
            "crit": 2,
            "desc": "English UI language code",
            "id": "metadata/lang/locale/translation::language-label-code-en",
            "spans": [
              [
                9808,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                95,
                0
              ]
            ],
            "uses": [
              50,
              51,
              52,
              53,
              54,
              55,
              56
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JavaScript startsWith method",
            "id": "metadata/lang/scripted::startswith-method",
            "spans": [
              [
                38371,
                0
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "id": "metadata/lang/source/comment::source-comment-bytes-over-300"
          },
          {
            "conf": 0.82,
            "crit": 2,
            "desc": "At least six constant-return functions",
            "id": "metadata/lang/source/function::constant-return-functions-6"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Parser counts many one-line functions",
            "id": "metadata/lang/source/function::many-one-liner-functions"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Sequential source identifier names",
            "id": "metadata/lang/source/naming/population::sequential-identifiers"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Identifier assignment ending in semicolon",
            "id": "metadata/lang/source/syntax/assignment/name::semicolon-identifier-assignment",
            "spans": [
              [
                27603,
                0
              ]
            ]
          },
          {
            "conf": 0.97,
            "crit": 2,
            "desc": "Markdown fence names a code language",
            "id": "metadata/lang/source/syntax/markup/markdown::fenced-language-block-marker",
            "spans": [
              [
                673,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Payload/data member-name reference",
            "id": "metadata/lang/source/syntax/member::message-payload-data-member-name",
            "spans": [
              [
                9122,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Package documentation basename",
            "id": "metadata/package/documentation/source::package-doc-reference-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README document basename",
            "id": "metadata/package/documentation/source::readme-any-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README Markdown basename",
            "id": "metadata/package/documentation/source::readme-markdown-basename"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Contains an HTTPS URL prefix",
            "id": "micro-behaviors/communications/http/message::https-prefix",
            "spans": [
              [
                108,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Collection forEach/map callback",
            "id": "micro-behaviors/data/control-flow/loop/collection::collection-callback-header",
            "spans": [
              [
                31623,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "JavaScript empty-string variable initializer",
            "id": "micro-behaviors/data/string/concat/expression::js-empty-string-initializer",
            "spans": [
              [
                26509,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "References the toString conversion method",
            "id": "micro-behaviors/data/string/conversion::tostring-token",
            "spans": [
              [
                23509,
                0
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 2,
            "desc": "Searches strings with includes or indexOf",
            "id": "micro-behaviors/data/string/search::js-includes-indexof-call",
            "spans": [
              [
                39528,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Writes output through JavaScript console.log",
            "id": "micro-behaviors/os/console/io::js-console-log-call",
            "spans": [
              [
                33184,
                0
              ]
            ]
          },
          {
            "conf": 0.4,
            "crit": 2,
            "desc": "3+ Date.now() calls",
            "id": "micro-behaviors/time/query::js-triple-date-now",
            "spans": [
              [
                9387,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                3579,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                3606,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                3932,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                3313,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                55,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1240,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                2071,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                12205,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                95,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                164,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                8667,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 1,
            "desc": "JavaScript source contains fetch token",
            "id": "metadata/lang/source/naming/interface/network::fetch-word-text",
            "spans": [
              [
                7847,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 1,
            "desc": "JavaScript source contains post token",
            "id": "metadata/lang/source/naming/interface/network::post-word-text",
            "spans": [
              [
                3606,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 1,
            "desc": "JavaScript source contains request token",
            "id": "metadata/lang/source/naming/interface/network::request-word-text",
            "spans": [
              [
                8451,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "user key prefix in object text",
            "id": "metadata/lang/source/naming/resource::user-object-key",
            "spans": [
              [
                19803,
                0
              ]
            ]
          },
          {
            "conf": 0.4,
            "crit": 1,
            "desc": "Result name with field or assignment separator",
            "id": "metadata/lang/source/shape::result-field-or-assignment-syntax",
            "spans": [
              [
                893,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Call outside static-table helper vocabulary",
            "id": "metadata/lang/source/syntax/call/relationship::javascript-call-outside-table-helper-vocabulary",
            "spans": [
              [
                107,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Object body field holds an identifier",
            "id": "metadata/lang/source/syntax/key-value::body-field-identifier",
            "spans": [
              [
                35483,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Backtick code-fence token with ts prefix",
            "id": "metadata/lang/source/syntax/markup/markdown::backtick-ts-fence-prefix",
            "spans": [
              [
                673,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Chat object defines message or content key",
            "id": "metadata/lang/source/syntax/object::chat-message-content-field",
            "spans": [
              [
                751,
                0
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 1,
            "desc": "Literal equality or membership source pattern",
            "id": "metadata/lang/source/syntax/operator::literal-comparison-source-pattern",
            "spans": [
              [
                46242,
                0
              ]
            ]
          },
          {
            "conf": 0.93,
            "crit": 1,
            "desc": "Success status field",
            "id": "micro-behaviors/communications/http/device-code::success-status-field",
            "spans": [
              [
                9029,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "References the JavaScript console object",
            "id": "micro-behaviors/os/console/io::js-console-object",
            "spans": [
              [
                24713,
                0
              ]
            ]
          },
          {
            "atk": "T1497.001",
            "conf": 0.9,
            "crit": 1,
            "desc": "Compares detection score to threshold",
            "id": "objectives/anti-analysis/vm-detect/score::js-score-threshold-comparison",
            "mbc": "B0009",
            "spans": [
              [
                33145,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 1,
            "desc": "Named field extracted from HTTP response",
            "id": "objectives/anti-static/obfuscation/eval/dynamic::response-data-field-ref",
            "spans": [
              [
                1075,
                0
              ]
            ]
          },
          {
            "atk": "T1195.002",
            "conf": 0.85,
            "crit": 1,
            "desc": "Obfuscated file contains fetch call",
            "id": "objectives/anti-static/obfuscation/obfuscator-supply-chain::obfuscated-fetch-text",
            "spans": [
              [
                6690,
                0
              ]
            ]
          },
          {
            "atk": "T1486,T1657",
            "conf": 1.0,
            "crit": 1,
            "desc": "First-person possession phrase",
            "id": "objectives/impact/ransom/extortion::we-have-possession-phrase",
            "spans": [
              [
                19597,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "function n(n,t){(null==t||t\u003en.length)\u0026\u0026(t=n.length);for(var e=0,r=new Array(t);e\u003ct;e++)r[e]=n[e];return r}function t(t,e){var r=\"undefined\"!=typeof Symbol\u0026\u0026t[Symbol.iterator]||t[\"@@iterator\"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if(\"string\"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===r\u0026\u0026t.constructor\u0026\u0026(r=t.constructor.name),\"Map\"===r||\"Set\"===r?Array.from(t):\"Arguments\"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e\u0026\u0026t\u0026\u0026\"number\"==typeof t.length){r\u0026\u0026(t=r);var u=0;return functio"
          },
          {
            "col": 729,
            "line": 1,
            "ln": 728,
            "s": "stance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}var e=Symbol.for(\"@ts-pattern/matcher\"),r=Symbol.for(\"@ts-pattern/isVariadic\"),u=\"@ts-pattern/anonymous-select-key\","
          },
          {
            "col": 995,
            "line": 1,
            "ln": 994,
            "s": "unction(n){return n\u0026\u0026!!n[e]},c=function n(u,c,a){if(o(u)){var f=u[e]().match(c),s=f.matched,l=f.selections;return s\u0026\u0026l\u0026\u0026Object.keys(l).forEach(function(n){return a(n,l[n])}),s}if(i(u)){if(!i(c))return!1;if(Array.isArray(u)){if(!Array.isArr"
          },
          {
            "col": 1242,
            "line": 1,
            "ln": 1241,
            "s": "turn!1;for(var h,v=[],g=[],m=[],p=t(u.keys());!(h=p()).done;){var y=u[h.value];o(y)\u0026\u0026y[r]?m.push(y):m.length?g.push(y):v.push(y)}if(m.length){if(m.length\u003e1)throw new Error(\""
          },
          {
            "col": 1503,
            "line": 1,
            "ln": 1502,
            "s": "\");if(c.length\u003cv.length+g.length)return!1;var d=c.slice(0,v.length),b=0===g.length?[]:c.slice(-g.length),w=c.slice(v.length,0===g.length?Infinity:-g.le"
          },
          {
            "col": 1868,
            "line": 1,
            "ln": 1867,
            "s": "keys(u).every(function(t){var r,i=u[t];return(t in c||o(r=i)\u0026\u0026\"optional\"===r[e]().matcherType)\u0026\u0026n(i,c[t],a)})}return Object.is(c,u)},a=function n(t){var r,u,c;return i(t)?o(t)?null!=(r=null==(u=(c=t[e]()).getSelectionKeys)?void 0:u.call(c))?r:[]:Array.isArray(t)?f(t,n):f(Object.values(t),n):[]},f=function(n,t){return n.reduce(fun"
          },
          {
            "col": 2251,
            "line": 1,
            "ln": 2250,
            "s": "var n=[].slice.call(arguments);if(1===n.length){var t=n[0];return function(n){return c(t,n,function(){})}}if(2===n.length)return c(n[0],n[1],function(){});throw new Error(\"isMatching wasn't given the right number of arguments: expected 1 or 2, received \"+n.length+\".\")}function l(n){return Object.assign(n,{optional:function(){return v(n)},and:function(t){return p(n,t)},or:function(t){return y(n,t)},select:function(t){return void 0===t?b"
          },
          {
            "col": 2858,
            "line": 1,
            "ln": 2857,
            "s": "k(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object.assign(n,((e={})[r]=!0,e));case 2:case\"end\":return t.stop()}},t)})()},t))}(n),{optional:function(){return h(v(n))},select:function(t){return h(void 0===t?b(n):b(t,n"
          },
          {
            "col": 3155,
            "line": 1,
            "ln": 3154,
            "s": "tion v(n){var t;return l(((t={})[e]=function(){return{match:function(t){var e={},r=function(n,t){e[n]=t};return void 0===t?(a(n).forEach(function(n){return r(n,void 0)"
          },
          {
            "col": 3407,
            "line": 1,
            "ln": 3406,
            "s": "ion(){return a(n)},matcherType:\"optional\"}},t))}var g=function(n,e){for(var r,u=t(n);!(r=u()).done;)if(!e(r.value))return!1;return!0},m=function(n,e){for(var r,u=t(n.entries());!(r=u()).done;){var i=r.value;if(!e(i[1],i[0]))return!1}return!0};function p(){var n,t=[].slice.call(arguments);return l(((n={"
          },
          {
            "col": 4873,
            "line": 1,
            "ln": 4872,
            "s": ",A=O,x=function n(t){return Object.assign(l(t),{startsWith:function(e){return n(p(t,(r=e,d(function(n){return S(n)\u0026\u0026n.startsWith(r)}))));var r},endsWith:f"
          },
          {
            "col": 6122,
            "line": 1,
            "ln": 6121,
            "s": "e,r)))},lt:function(e){return n(p(t,I(e)))},gt:function(e){return n(p(t,E(e)))},lte:function(e){return n(p(t,K(e)))},gte:function(e){return n(p(t,T(e)))},int:function(){return n(p(t,k()))},finite:function(){return n"
          },
          {
            "col": 6912,
            "line": 1,
            "ln": 6911,
            "s": "e,r)))},lt:function(e){return n(p(t,z(e)))},gt:function(e){return n(p(t,L(e)))},lte:function(e){return n(p(t,R(e)))},gte:function(e){return n(p(t,U(e)))},positive:function(){return n(p(t,C()))},negative:function(){r"
          },
          {
            "col": 7216,
            "line": 1,
            "ln": 7215,
            "s": "(n){return\"symbol\"==typeof n})),q=l(d(function(n){return null==n})),D={__proto__:null,matcher:e,optional:v,array:function(){var n,t=[].slice.call(arguments);return h(((n={"
          },
          {
            "col": 7456,
            "line": 1,
            "ln": 7455,
            "s": "{matched:!1};if(0===t.length)return{matched:!0};var e=t[0],r={};if(0===n.length)return a(e).forEach(function(n){r[n]=[]}),{matched:!0,selections:r};var u="
          },
          {
            "col": 8041,
            "line": 1,
            "ln": 8040,
            "s": "t){e[n]=(e[n]||[]).concat([t])},u=t[0];return{matched:g(n,function(n){return c(u,n,r)}),selections:e}}"
          },
          {
            "col": 8580,
            "line": 1,
            "ln": 8579,
            "s": "key, value), received \"+(null==(r=t[0])?void 0:r.toString()));var i=t[0],o=t[1];return{matched:m(n,function(n,t){var e=c(i,t,u),r=c(o,n,u);return e\u0026\u0026r}),selections:e}},"
          },
          {
            "col": 9438,
            "line": 1,
            "ln": 9437,
            "s": "id 0},H=/*#__PURE__*/function(){function n(n,t){this.input=void 0,this.state=void 0,this.input=n,this.state=t}var t=n.prototype;return t.with=function(){var t=this,e=[].slice.call(arguments);if(this.state.matched)return this;var r=e[e.length-1],i=[e[0]],o=void 0;3===e.length\u0026\u0026\"function\"==typeof e[1]?(i.push(e[0]),o=e[1]):e.length\u003e2\u0026\u0026i.push.apply(i,e.slice(1,e.length-1));var a=!1,f={},s=function(n,t){a=!0,f[n]=t},l=!i.some(function(n){return c(n,t.input,s)})||o\u0026\u0026!Boolean(o(this.input))?G:{matched:!0,value:r(a?u in f?f[u]:f:this.input,this.input)};"
          },
          {
            "col": 10312,
            "line": 1,
            "ln": 10311,
            "s": "ion(){if(this.state.matched)return this.state.value;var n;try{n=JSON.stringify(this.input)}catch(t){n=this.input}throw new Error(\"Pattern matching error: no pattern matches value \"+n)},t.returnType=function(){return this},n}();exports.P=D,exports.Pattern=D,exports.isMatching=s,exports.match=function(n){return new H(n,G)};\n//# sourceMappingURL=index.cjs.map\n"
          }
        ],
        "depth": 1,
        "facts": {
          "exp": [
            [
              "P"
            ],
            [
              "Pattern"
            ],
            [
              "isMatching"
            ],
            [
              "match"
            ]
          ],
          "funcs": [
            [
              "n",
              0
            ],
            [
              "t",
              106
            ],
            [
              "anonymous",
              254
            ],
            [
              "anonymous",
              601
            ],
            [
              "anonymous",
              940
            ],
            [
              "anonymous",
              993
            ],
            [
              "n",
              1025
            ],
            [
              "anonymous",
              1137
            ],
            [
              "anonymous",
              1674
            ],
            [
              "anonymous",
              1718
            ],
            [
              "anonymous",
              1818
            ],
            [
              "anonymous",
              1881
            ],
            [
              "n",
              2002
            ],
            [
              "anonymous",
              2165
            ],
            [
              "anonymous",
              2195
            ],
            [
              "s",
              2237
            ],
            [
              "anonymous",
              2316
            ],
            [
              "anonymous",
              2341
            ],
            [
              "anonymous",
              2391
            ],
            [
              "l",
              2519
            ],
            [
              "anonymous",
              2566
            ],
            [
              "anonymous",
              2594
            ],
            [
              "anonymous",
              2624
            ],
            [
              "anonymous",
              2658
            ],
            [
              "h",
              2703
            ],
            [
              "anonymous",
              2738
            ],
            [
              "anonymous",
              2804
            ],
            [
              "t",
              2859
            ],
            [
              "anonymous",
              2909
            ],
            [
              "anonymous",
              3068
            ],
            [
              "anonymous",
              3102
            ],
            [
              "v",
              3150
            ],
            [
              "anonymous",
              3190
            ],
            [
              "anonymous",
              3214
            ],
            [
              "anonymous",
              3237
            ],
            [
              "anonymous",
              3291
            ],
            [
              "anonymous",
              3401
            ],
            [
              "anonymous",
              3460
            ],
            [
              "anonymous",
              3542
            ],
            [
              "p",
              3649
            ],
            [
              "anonymous",
              3715
            ],
            [
              "anonymous",
              3739
            ],
            [
              "anonymous",
              3762
            ],
            [
              "anonymous",
              3807
            ],
            [
              "anonymous",
              3869
            ],
            [
              "y",
              3919
            ],
            [
              "anonymous",
              3985
            ],
            [
              "anonymous",
              4009
            ],
            [
              "anonymous",
              4032
            ],
            [
              "anonymous",
              4076
            ],
            [
              "anonymous",
              4125
            ],
            [
              "anonymous",
              4187
            ],
            [
              "d",
              4236
            ],
            [
              "anonymous",
              4272
            ],
            [
              "anonymous",
              4296
            ],
            [
              "b",
              4343
            ],
            [
              "anonymous",
              4499
            ],
            [
              "anonymous",
              4523
            ],
            [
              "anonymous",
              4602
            ],
            [
              "anonymous",
              4657
            ],
            [
              "w",
              4722
            ],
            [
              "S",
              4761
            ],
            [
              "j",
              4800
            ],
            [
              "anonymous",
              4849
            ],
            [
              "n",
              4879
            ],
            [
              "anonymous",
              4931
            ],
            [
              "anonymous",
              4963
            ],
            [
              "anonymous",
              5025
            ],
            [
              "anonymous",
              5057
            ],
            [
              "anonymous",
              5118
            ],
            [
              "anonymous",
              5143
            ],
            [
              "anonymous",
              5164
            ],
            [
              "anonymous",
              5220
            ],
            [
              "anonymous",
              5245
            ],
            [
              "anonymous",
              5266
            ],
            [
              "anonymous",
              5321
            ],
            [
              "anonymous",
              5353
            ],
            [
              "anonymous",
              5410
            ],
            [
              "anonymous",
              5442
            ],
            [
              "anonymous",
              5510
            ],
            [
              "anonymous",
              5533
            ],
            [
              "anonymous",
              5574
            ],
            [
              "anonymous",
              5595
            ],
            [
              "anonymous",
              5629
            ],
            [
              "anonymous",
              5650
            ],
            [
              "anonymous",
              5684
            ],
            [
              "anonymous",
              5705
            ],
            [
              "anonymous",
              5740
            ],
            [
              "anonymous",
              5761
            ],
            [
              "anonymous",
              5796
            ],
            [
              "anonymous",
              5816
            ],
            [
              "anonymous",
              5866
            ],
            [
              "anonymous",
              5886
            ],
            [
              "anonymous",
              5935
            ],
            [
              "anonymous",
              5955
            ],
            [
              "anonymous",
              5989
            ],
            [
              "anonymous",
              6009
            ],
            [
              "n",
              6043
            ],
            [
              "anonymous",
              6092
            ],
            [
              "anonymous",
              6132
            ],
            [
              "anonymous",
              6168
            ],
            [
              "anonymous",
              6205
            ],
            [
              "anonymous",
              6242
            ],
            [
              "anonymous",
              6279
            ],
            [
              "anonymous",
              6317
            ],
            [
              "anonymous",
              6357
            ],
            [
              "anonymous",
              6397
            ],
            [
              "anonymous",
              6439
            ],
            [
              "anonymous",
              6462
            ],
            [
              "anonymous",
              6503
            ],
            [
              "anonymous",
              6524
            ],
            [
              "anonymous",
              6558
            ],
            [
              "anonymous",
              6579
            ],
            [
              "anonymous",
              6613
            ],
            [
              "anonymous",
              6634
            ],
            [
              "anonymous",
              6669
            ],
            [
              "anonymous",
              6690
            ],
            [
              "anonymous",
              6725
            ],
            [
              "anonymous",
              6745
            ],
            [
              "anonymous",
              6779
            ],
            [
              "anonymous",
              6799
            ],
            [
              "n",
              6833
            ],
            [
              "anonymous",
              6882
            ],
            [
              "anonymous",
              6922
            ],
            [
              "anonymous",
              6958
            ],
            [
              "anonymous",
              6995
            ],
            [
              "anonymous",
              7032
            ],
            [
              "anonymous",
              7074
            ],
            [
              "anonymous",
              7114
            ],
            [
              "anonymous",
              7160
            ],
            [
              "anonymous",
              7207
            ],
            [
              "anonymous",
              7253
            ],
            [
              "anonymous",
              7328
            ],
            [
              "anonymous",
              7392
            ],
            [
              "anonymous",
              7416
            ],
            [
              "anonymous",
              7555
            ],
            [
              "anonymous",
              7609
            ],
            [
              "anonymous",
              7675
            ],
            [
              "anonymous",
              7737
            ],
            [
              "anonymous",
              7791
            ],
            [
              "anonymous",
              7855
            ],
            [
              "anonymous",
              7879
            ],
            [
              "anonymous",
              8029
            ],
            [
              "anonymous",
              8098
            ],
            [
              "anonymous",
              8160
            ],
            [
              "anonymous",
              8214
            ],
            [
              "anonymous",
              8278
            ],
            [
              "anonymous",
              8302
            ],
            [
              "anonymous",
              8419
            ],
            [
              "anonymous",
              8678
            ],
            [
              "anonymous",
              8764
            ],
            [
              "anonymous",
              8860
            ],
            [
              "anonymous",
              8898
            ],
            [
              "anonymous",
              8922
            ],
            [
              "anonymous",
              8956
            ],
            [
              "anonymous",
              8989
            ],
            [
              "anonymous",
              9293
            ],
            [
              "anonymous",
              9316
            ],
            [
              "anonymous",
              9335
            ],
            [
              "anonymous",
              9383
            ],
            [
              "anonymous",
              9458
            ],
            [
              "n",
              9469
            ],
            [
              "anonymous",
              9579
            ],
            [
              "anonymous",
              9826
            ],
            [
              "anonymous",
              9863
            ],
            [
              "anonymous",
              10024
            ],
            [
              "anonymous",
              10187
            ],
            [
              "anonymous",
              10270
            ],
            [
              "anonymous",
              10306
            ],
            [
              "anonymous",
              10509
            ],
            [
              "anonymous",
              10603
            ]
          ],
          "imp": [
            [
              "",
              "Array"
            ],
            [
              "",
              "r.call"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "Object.prototype.toString.call.slice"
            ],
            [
              "",
              "Object.prototype.toString.call"
            ],
            [
              "",
              "Array.from"
            ],
            [
              "",
              "TypeError"
            ],
            [
              "",
              "Symbol.for"
            ],
            [
              "",
              "Symbol.for"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "Object.keys.forEach"
            ],
            [
              "",
              "Object.keys"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "u.keys"
            ],
            [
              "",
              "m.push"
            ],
            [
              "",
              "g.push"
            ],
            [
              "",
              "v.push"
            ],
            [
              "",
              "Error"
            ],
            [
              "",
              "c.slice"
            ],
            [
              "",
              "c.slice"
            ],
            [
              "",
              "c.slice"
            ],
            [
              "",
              "v.every"
            ],
            [
              "",
              "g.every"
            ],
            [
              "",
              "u.every"
            ],
            [
              "",
              "Object.keys.every"
            ],
            [
              "",
              "Object.keys"
            ],
            [
              "",
              "Object.is"
            ],
            [
              "",
              "u.call"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "Object.values"
            ],
            [
              "",
              "n.reduce"
            ],
            [
              "",
              "n.concat"
            ],
            [
              "",
              "Error"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "regeneratorRuntime.mark"
            ],
            [
              "",
              "regeneratorRuntime.mark"
            ],
            [
              "",
              "regeneratorRuntime.wrap"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "t.stop"
            ],
            [
              "",
              "a.forEach"
            ],
            [
              "",
              "n.entries"
            ],
            [
              "",
              "t.every"
            ],
            [
              "",
              "f.forEach"
            ],
            [
              "",
              "t.some"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "n.startsWith"
            ],
            [
              "",
              "n.endsWith"
            ],
            [
              "",
              "n.includes"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "n.match"
            ],
            [
              "",
              "Number.isInteger"
            ],
            [
              "",
              "Number.isFinite"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "a.forEach"
            ],
            [
              "",
              "n.every"
            ],
            [
              "",
              "Error"
            ],
            [
              "",
              "r.toString"
            ],
            [
              "",
              "i.push"
            ],
            [
              "",
              "i.push.apply"
            ],
            [
              "",
              "e.slice"
            ],
            [
              "",
              "i.some"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "Error"
            ]
          ],
          "mbr": [
            "Array.from",
            "Array.isArray",
            "JSON.stringify",
            "Number.isFinite",
            "Number.isInteger",
            "Object.assign",
            "Object.is",
            "Object.keys",
            "Object.keys.every",
            "Object.keys.forEach",
            "Object.prototype",
            "Object.prototype.toString",
            "Object.prototype.toString.call",
            "Object.prototype.toString.call.slice",
            "Object.values",
            "Symbol.for",
            "Symbol.iterator",
            "a.forEach",
            "c.length",
            "c.slice",
            "e.length",
            "e.slice",
            "exports.P",
            "exports.Pattern",
            "exports.isMatching",
            "exports.match",
            "f.forEach",
            "f.matched",
            "f.selections",
            "g.every",
            "g.length",
            "g.push",
            "h.value",
            "i.push",
            "i.push.apply",
            "i.some",
            "m.length",
            "m.push",
            "n.concat",
            "n.endsWith",
            "n.entries",
            "n.every",
            "n.includes",
            "n.length",
            "n.match",
            "n.prototype",
            "n.reduce",
            "n.size",
            "n.startsWith",
            "r.call",
            "r.toString",
            "r.value",
            "regeneratorRuntime.mark",
            "regeneratorRuntime.wrap",
            "t.constructor",
            "t.constructor.name",
            "t.every",
            "t.exhaustive",
            "t.input",
            "t.length",
            "t.next",
            "t.otherwise",
            "t.prev",
            "t.returnType",
            "t.run",
            "t.some",
            "t.stop",
            "t.when",
            "t.with",
            "u.call",
            "u.every",
            "u.keys",
            "u.length",
            "v.every",
            "v.length",
            "v.push"
          ],
          "metrics": {
            "ast": {
              "call_count": 303,
              "max_array_length": 1,
              "max_concat_chain": 3,
              "max_depth": 43,
              "max_member_depth": 5,
              "member_count": 76,
              "node_count": 7538,
              "op.add": 5,
              "op.eq": 43,
              "op.ge": 6,
              "op.gt": 7,
              "op.land": 45,
              "op.le": 5,
              "op.lnot": 41,
              "op.lor": 13,
              "op.lt": 6,
              "op.ne": 4,
              "op.sub": 5,
              "op_density.add": 0,
              "op_density.eq": 0.01,
              "op_density.ge": 0,
              "op_density.gt": 0,
              "op_density.land": 0.01,
              "op_density.le": 0,
              "op_density.lnot": 0.01,
              "op_density.lor": 0,
              "op_density.lt": 0,
              "op_density.ne": 0,
              "op_density.sub": 0,
              "sequence_count": 27
            },
            "binary": {
              "peak_region_bytes": 8622,
              "peak_region_entropy": 5.12
            },
            "binds": {
              "count": 142
            },
            "comments": {
              "base64": 1,
              "chars": 50,
              "count": 3,
              "lines": 3
            },
            "exports": {
              "api_count": 4,
              "count": 4
            },
            "file": {
              "entropy": 5,
              "size": 10670
            },
            "functions": {
              "anonymous": 151,
              "avg_length_lines": 1,
              "avg_name_length": 1,
              "avg_nesting_depth": 1.11,
              "avg_param_name_length": 1,
              "avg_params": 0.87,
              "code_ratio": 0.5,
              "count": 13,
              "density": 8550,
              "max_length_lines": 1,
              "max_nesting_depth": 4,
              "max_params": 3,
              "min_length_lines": 1,
              "nested": 67,
              "no_params_count": 49,
              "one_liners": 171,
              "single_char_names": 20,
              "single_char_params": 149
            },
            "identifiers": {
              "all_lowercase_ratio": 0.64,
              "all_uppercase_ratio": 0.15,
              "avg_entropy": 1.58,
              "avg_length": 4.73,
              "count": 1416,
              "double_underscore_count": 1,
              "length_stddev": 3.57,
              "max_length": 18,
              "min_length": 1,
              "reuse_ratio": 0.11,
              "sequential_names": 48,
              "single_char_count": 50,
              "single_char_ratio": 0.32,
              "underscore_prefix_count": 2,
              "unique": 158
            },
            "source": {
              "function_count": 13
            },
            "strings": {
              "avg_entropy": 2.68,
              "avg_length": 19.72,
              "bytes": 631,
              "count": 32,
              "entropy_stddev": 0.99,
              "max_length": 132,
              "shell": 2
            },
            "text": {
              "anonymous_function_ratio": 0.88,
              "avg_line_length": 5334,
              "char_entropy": 5,
              "digit_ratio": 0.02,
              "identifier_density": 708,
              "identifiers_to_functions_ratio": 0.92,
              "last_line_length": 34,
              "line_length_stddev": 5300,
              "lines": 2,
              "lines_over_1000": 1,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "long_token_count": 8,
              "max_line_length": 10634,
              "max_whitespace_run": 1,
              "normalized_function_count": 120.92,
              "normalized_string_count": 22.63,
              "normalized_unique_identifiers": 158,
              "space_count": 322,
              "string_density": 16,
              "strings_to_functions_ratio": 0.19,
              "suspicious_comment_ratio": 0.33,
              "suspicious_identifier_ratio": 0.3,
              "suspicious_string_ratio": 0.06,
              "top_char": 110,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 86,
              "whitespace_ratio": 0.03
            }
          },
          "tgt": [
            "Array",
            "Array.from",
            "Array.isArray",
            "B",
            "Boolean",
            "C",
            "E",
            "Error",
            "F",
            "H",
            "I",
            "JSON.stringify",
            "K",
            "L",
            "M",
            "N",
            "Number.isFinite",
            "Number.isInteger",
            "Object.assign",
            "Object.is",
            "Object.keys",
            "Object.keys.every",
            "Object.keys.forEach",
            "Object.prototype.toString.call",
            "Object.prototype.toString.call.slice",
            "Object.values",
            "P",
            "R",
            "S",
            "Symbol.for",
            "T",
            "TypeError",
            "U",
            "_",
            "a",
            "a.forEach",
            "b",
            "c",
            "c.slice",
            "d",
            "e",
            "e.slice",
            "f",
            "f.forEach",
            "g",
            "g.every",
            "g.push",
            "h",
            "i",
            "i.push",
            "i.push.apply",
            "i.some",
            "j",
            "k",
            "l",
            "m",
            "m.push",
            "n",
            "n.concat",
            "n.endsWith",
            "n.entries",
            "n.every",
            "n.includes",
            "n.match",
            "n.reduce",
            "n.startsWith",
            "o",
            "p",
            "r",
            "r.call",
            "r.toString",
            "regeneratorRuntime.mark",
            "regeneratorRuntime.wrap",
            "s",
            "t",
            "t.every",
            "t.some",
            "t.stop",
            "u",
            "u.call",
            "u.every",
            "u.keys",
            "v",
            "v.every",
            "v.push",
            "w",
            "y",
            "z"
          ]
        },
        "id": 2,
        "mol": "H(Db₅)Md₃(PaPt)",
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.cjs",
        "pid": 0,
        "risk": 7,
        "sha": "bd9bdd40663b09fa013224f4c82d9e7bb0929449535af5701810127c40a6659c",
        "sid": 4150920413,
        "size": 10670,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Exactly one line exceeds 1000 bytes",
            "id": "metadata/file/line::single-long-line-outlier"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "JavaScript uses many sequence expressions",
            "id": "metadata/lang/source/syntax/operator::javascript-many-sequence-expressions"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript/TypeScript file under dist",
            "id": "metadata/package/files/runtime::javascript-dist-tree-artifact"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Repeated computed-property calls (3+)",
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-computed-call-cluster",
            "spans": [
              [
                792,
                18
              ],
              [
                1059,
                4
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Calls a property using bracket notation",
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-subscript-callee",
            "spans": [
              [
                1058,
                6
              ],
              [
                1942,
                6
              ],
              [
                2064,
                6
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Contains an unconditional loop header",
            "id": "micro-behaviors/data/control-flow/loop/unconditional::infinite-loop-header",
            "spans": [
              [
                2921,
                7
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Anonymous function body returns this",
            "id": "micro-behaviors/data/control-flow/return::return-this-body",
            "spans": [
              [
                9579,
                83
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls an entries method",
            "id": "micro-behaviors/data/control-flow/sequence::entries-method-call",
            "spans": [
              [
                3571,
                10
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Calls JSON.stringify()",
            "id": "micro-behaviors/data/serialize/json::json-stringify-call",
            "spans": [
              [
                10375,
                14
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes value with JSON.stringify",
            "id": "micro-behaviors/data/serialize/json::json-stringify-text-call",
            "spans": [
              [
                10375,
                16
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Code has source map reference",
            "id": "metadata/build/bundler/asset::has-sourcemap",
            "spans": [
              [
                10639,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Low whitespace and compact code indicators",
            "id": "metadata/build/minifier::minified-text-shape",
            "uses": [
              18,
              24,
              26,
              28
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Overall entropy at most 5.0",
            "id": "metadata/file/entropy::overall-entropy-at-most-five"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Script peak-entropy region mass at least 1KB",
            "id": "metadata/file/entropy::script-peak-entropy-region-mass-at-least-1k"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JavaScript source filename extension",
            "id": "metadata/file/extension/identity::javascript-source-extension"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "JavaScript or TypeScript source filename",
            "id": "metadata/file/extension/source::js-ts-source-basename"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Very short file (under 12 lines)",
            "id": "metadata/file/line::file-under-12-lines"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Very long line",
            "id": "metadata/file/line::single-long-line",
            "spans": [
              [
                0,
                10634
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Whole-file whitespace ratio at most ten percent",
            "id": "metadata/file/text-distribution::low-whitespace-ratio"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Code uses Symbol iterators",
            "id": "metadata/lang/javascript-features::has-symbols-iter",
            "spans": [
              [
                793,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "5+ comma sequence expressions",
            "id": "metadata/lang/javascript-features::js-comma-sequence-count-5"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                52,
                0
              ]
            ],
            "uses": [
              45,
              46,
              47,
              48,
              49,
              50
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JavaScript startsWith method",
            "id": "metadata/lang/scripted::startswith-method",
            "spans": [
              [
                4920,
                0
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 2,
            "desc": "Five or fewer comment lines in file",
            "id": "metadata/lang/source/comment::few-comment-lines"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Parser reports high function density",
            "id": "metadata/lang/source/function::high-function-density"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Many no-param functions",
            "id": "metadata/lang/source/function::many-no-param-functions"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Parser counts many one-line functions",
            "id": "metadata/lang/source/function::many-one-liner-functions"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Low identifier reuse ratio",
            "id": "metadata/lang/source/naming/population::low-identifier-reuse"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Sequential source identifier names",
            "id": "metadata/lang/source/naming/population::sequential-identifiers"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Over 30% single-character identifiers",
            "id": "metadata/lang/source/naming/population::single-character-identifier-ratio-over-30"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                51,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Input member-name reference",
            "id": "metadata/lang/source/syntax/member::message-input-member-name",
            "spans": [
              [
                9886,
                0
              ]
            ]
          },
          {
            "conf": 0.96,
            "crit": 2,
            "desc": "JavaScript distribution output path",
            "id": "metadata/path/development::js-distribution-output-path"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Collection forEach/map callback",
            "id": "micro-behaviors/data/control-flow/loop/collection::collection-callback-header",
            "spans": [
              [
                1128,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Exports a JavaScript module through CommonJS",
            "id": "micro-behaviors/data/control-flow/module-exec::js-module-exports",
            "spans": [
              [
                10538,
                0
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 2,
            "desc": "Calls a parenthesized function expression",
            "id": "micro-behaviors/data/control-flow/module-exec::js-synchronous-iife-close",
            "spans": [
              [
                3044,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Binds an indexed value to a variable",
            "id": "micro-behaviors/data/property/access::indexed-value-variable-binding",
            "spans": [
              [
                8641,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Binds computed property to variable",
            "id": "micro-behaviors/data/property/access::js-computed-property-alias",
            "spans": [
              [
                1052,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "References a value object member",
            "id": "micro-behaviors/data/property/access::js-value-property-read",
            "spans": [
              [
                3512,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Value property assigned to a local variable",
            "id": "micro-behaviors/data/property/assign::property-value-local-assignment",
            "spans": [
              [
                3599,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "JavaScript substring or slice call",
            "id": "micro-behaviors/data/string/access::js-substring-call",
            "spans": [
              [
                1550,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "References the toString conversion method",
            "id": "micro-behaviors/data/string/conversion::tostring-token",
            "spans": [
              [
                333,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Distribution JavaScript references a source map",
            "id": "metadata/build/bundler/asset::js-dist-sourcemap-output",
            "spans": [
              [
                10639,
                0
              ]
            ],
            "uses": [
              2,
              10
            ]
          },
          {
            "conf": 0.86,
            "crit": 1,
            "desc": "Call has a nested call argument",
            "id": "metadata/lang/javascript-features::js-nested-call-argument",
            "spans": [
              [
                6153,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                1333,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                2446,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                2590,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                785,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                52,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                9574,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                9485,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Call outside static-table helper vocabulary",
            "id": "metadata/lang/source/syntax/call/relationship::javascript-call-outside-table-helper-vocabulary",
            "spans": [
              [
                203,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "Search query parameter",
            "id": "micro-behaviors/communications/http/dynamic::dnr-search-query-param",
            "spans": [
              [
                1273,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "First comma-sequence indexed read with temp",
            "id": "micro-behaviors/data/collection/array::seq-swap-first-write",
            "spans": [
              [
                1307,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "Traverses an object through a computed property",
            "id": "micro-behaviors/data/property/access::js-indexed-object-traversal",
            "spans": [
              [
                1899,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "Assigns a computed object property",
            "id": "micro-behaviors/data/property/assign::js-indexed-object-assignment",
            "spans": [
              [
                3186,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Dotted variable concatenation",
            "id": "micro-behaviors/data/string/concat/expression::js-dotted-variable-concat",
            "spans": [
              [
                2507,
                0
              ]
            ]
          },
          {
            "atk": "T1195.002,T1041",
            "conf": 0.85,
            "crit": 1,
            "desc": "Compact package version field key",
            "id": "objectives/exfiltration/oob/system-profile/request-body::compact-package-version-key",
            "spans": [
              [
                7320,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "{\"version\":3,\"file\":\"index.cjs\",\"sources\":[\"../src/internals/symbols.ts\",\"../src/internals/helpers.ts\",\"../src/is-matching.ts\",\"../src/patterns.ts\",\"../src/match.ts\"],\"sourcesContent\":[\"/**\\n * Symbols used internally within ts-pattern to construct and discriminate\\n * Guard, Not, and Select, and AnonymousSelect"
          },
          {
            "col": 5768,
            "line": 1,
            "ln": 5767,
            "s": "ion for `isMatching` on GitHub](https://github.com/gvergnaud/ts-pattern#ismatching)\\n *\\n * @example\\n *  const hasName = isMatching({ name: P.string"
          },
          {
            "col": 9775,
            "line": 1,
            "ln": 9774,
            "s": "ation for `P.narrow` on GitHub](https://github.com/gvergnaud/ts-pattern#Pnarrow)\\n *\\n * @example\\n * type Input = ['a' | 'b' | 'c', 'a' | 'b' | '"
          },
          {
            "col": 13094,
            "line": 1,
            "ln": 13093,
            "s": "tation for `P.array` on GitHub](https://github.com/gvergnaud/ts-pattern#Parray-patterns)\\n *\\n * @example\\n *  match(value)\\n *   .with({ users: P.array({"
          },
          {
            "col": 14782,
            "line": 1,
            "ln": 14781,
            "s": "P.set` documentation on GitHub](https://github.com/gvergnaud/ts-pattern#Pset-patterns)\\n *\\n * @example\\n *  match(value)\\n *   .with({ users: P.set(P.s"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 41984,
              "peak_region_entropy": 4.91
            },
            "file": {
              "entropy": 5.27,
              "size": 61971
            }
          }
        },
        "id": 3,
        "mol": "Md",
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.cjs.map",
        "pid": 0,
        "risk": 3,
        "sha": "ba7fb4c7c73be5f9b12c3258cc6a886d9403a939d236ed2e3634bbe3d108f388",
        "sid": 10771396860,
        "size": 61971,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/format/source-map::sourcemap",
                "spans": [
                  [
                    0,
                    19
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/file/format/source-map::sourcemap-raw-signature",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "metadata/file/format/source-map::sourcemap-typescript-sources",
                "spans": [
                  [
                    0,
                    128
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/file/format/source-map::sourcemap-typescript-sources-raw",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript source-map filename suffix",
            "id": "metadata/file/extension/asset::javascript-sourcemap-suffix"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "JavaScript source map",
            "id": "metadata/file/format/source-map::sourcemap",
            "spans": [
              [
                0,
                19
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source map sourcesContent array",
            "id": "metadata/file/format/source-map::sourcemap-sources-content",
            "spans": [
              [
                167,
                18
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source map of TypeScript sources",
            "id": "metadata/file/format/source-map::sourcemap-typescript-sources",
            "spans": [
              [
                0,
                128
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "File entropy exceeds two bits",
            "id": "metadata/binary/layout/entropy::byte-entropy-above-two"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "JavaScript source-map path or decoded child",
            "id": "metadata/file/extension/asset::javascript-source-map-path"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Data contains HTTP URL text",
            "id": "micro-behaviors/communications/url/reference::data-http-url-text",
            "spans": [
              [
                14813,
                0
              ]
            ]
          }
        ],
        "type": "data"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import * as Pattern from './patterns.cjs';\nexport { match } from './match.cjs';\nexport { isMatching } from './is-matching.cjs';\nexport { Pattern, Pattern as P };\n"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "./patterns.cjs"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 4,
              "node_count": 53
            },
            "binary": {
              "peak_region_bytes": 162,
              "peak_region_entropy": 4.49
            },
            "file": {
              "entropy": 4.49,
              "size": 162
            },
            "identifiers": {
              "all_lowercase_ratio": 0.25,
              "all_uppercase_ratio": 0.25,
              "avg_entropy": 1.99,
              "avg_length": 5.75,
              "count": 6,
              "length_stddev": 3.27,
              "max_length": 10,
              "min_length": 1,
              "reuse_ratio": 0.67,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.25,
              "unique": 4
            },
            "imports": {
              "count": 1,
              "relative": 1,
              "relative_ratio": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 3.36,
              "avg_length": 14,
              "bytes": 42,
              "count": 3,
              "entropy_stddev": 0.21,
              "max_length": 17,
              "path_count": 3
            },
            "text": {
              "avg_line_length": 39.5,
              "char_entropy": 4.49,
              "identifier_density": 1.5,
              "import_density": 25,
              "last_line_length": 33,
              "line_length_stddev": 5.41,
              "lines": 4,
              "max_line_length": 47,
              "max_whitespace_run": 1,
              "normalized_import_count": 0.5,
              "normalized_string_count": 1.5,
              "normalized_unique_identifiers": 2,
              "space_count": 21,
              "string_density": 0.75,
              "suspicious_identifier_ratio": 0.25,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 29,
              "whitespace_ratio": 0.15
            }
          }
        },
        "id": 4,
        "mol": "Md(Pa)",
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.d.cts",
        "pid": 0,
        "refs": [
          {
            "kind": "local",
            "off": 26,
            "to": "./patterns.cjs"
          },
          {
            "kind": "local",
            "off": 66,
            "to": "./match.cjs"
          },
          {
            "kind": "local",
            "off": 108,
            "to": "./is-matching.cjs"
          }
        ],
        "risk": 3,
        "sha": "d08c3fab3add1d488ac11ff584bf8d9fe2109180c6f7c04c3c735cc4ade3a90f",
        "sid": 3815008557,
        "size": 162,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript/TypeScript file under dist",
            "id": "metadata/package/files/runtime::javascript-dist-tree-artifact"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Overall entropy at most 5.0",
            "id": "metadata/file/entropy::overall-entropy-at-most-five"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a source declaration extension",
            "id": "metadata/file/extension/identity::declaration-file-extension"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "JavaScript or TypeScript source filename",
            "id": "metadata/file/extension/source::js-ts-source-basename"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Very short file (under 12 lines)",
            "id": "metadata/file/line::file-under-12-lines"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "JavaScript file under 5KB",
            "id": "metadata/file/size::javascript-small-file-5k"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./patterns.cjs",
            "id": "metadata/import/npm/relative/1/patterns/cjs::relative/1/patterns/cjs",
            "spans": [
              [
                25,
                0
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Declares ES module exports",
            "id": "metadata/lang/javascript-features::esm-export",
            "spans": [
              [
                128,
                0
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "TypeScript declaration file",
            "id": "metadata/lang/scripted::dts-declaration-file"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Source has no parsed call sites",
            "id": "metadata/lang/source/shape::source-no-parsed-call-sites"
          },
          {
            "conf": 0.96,
            "crit": 2,
            "desc": "JavaScript distribution output path",
            "id": "metadata/path/development::js-distribution-output-path"
          }
        ],
        "type": "javascript"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import * as Pattern from './patterns.js';\nexport { match } from './match.js';\nexport { isMatching } from './is-matching.js';\nexport { Pattern, Pattern as P };\n"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "./patterns.js"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 4,
              "node_count": 53
            },
            "binary": {
              "peak_region_bytes": 159,
              "peak_region_entropy": 4.48
            },
            "file": {
              "entropy": 4.48,
              "size": 159
            },
            "identifiers": {
              "all_lowercase_ratio": 0.25,
              "all_uppercase_ratio": 0.25,
              "avg_entropy": 1.99,
              "avg_length": 5.75,
              "count": 6,
              "length_stddev": 3.27,
              "max_length": 10,
              "min_length": 1,
              "reuse_ratio": 0.67,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.25,
              "unique": 4
            },
            "imports": {
              "count": 1,
              "relative": 1,
              "relative_ratio": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 3.33,
              "avg_length": 13,
              "bytes": 39,
              "count": 3,
              "entropy_stddev": 0.21,
              "max_length": 16,
              "path_count": 3
            },
            "text": {
              "avg_line_length": 38.75,
              "char_entropy": 4.48,
              "identifier_density": 1.5,
              "import_density": 25,
              "last_line_length": 33,
              "line_length_stddev": 5.12,
              "lines": 4,
              "max_line_length": 46,
              "max_whitespace_run": 1,
              "normalized_import_count": 0.5,
              "normalized_string_count": 1.5,
              "normalized_unique_identifiers": 2,
              "space_count": 21,
              "string_density": 0.75,
              "suspicious_identifier_ratio": 0.25,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 29,
              "whitespace_ratio": 0.16
            }
          }
        },
        "id": 5,
        "mol": "Md(Pa)",
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.d.ts",
        "pid": 0,
        "refs": [
          {
            "kind": "local",
            "off": 26,
            "to": "./patterns.js"
          },
          {
            "kind": "local",
            "off": 65,
            "to": "./match.js"
          },
          {
            "kind": "local",
            "off": 106,
            "to": "./is-matching.js"
          }
        ],
        "risk": 3,
        "sha": "b1152042664d55d993ef4336bc1aad185858bbf45fae754d42b59539e5f3e45a",
        "sid": 3815008467,
        "size": 159,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript/TypeScript file under dist",
            "id": "metadata/package/files/runtime::javascript-dist-tree-artifact"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Overall entropy at most 5.0",
            "id": "metadata/file/entropy::overall-entropy-at-most-five"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a source declaration extension",
            "id": "metadata/file/extension/identity::declaration-file-extension"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "JavaScript or TypeScript source filename",
            "id": "metadata/file/extension/source::js-ts-source-basename"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Very short file (under 12 lines)",
            "id": "metadata/file/line::file-under-12-lines"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "JavaScript file under 5KB",
            "id": "metadata/file/size::javascript-small-file-5k"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./patterns.js",
            "id": "metadata/import/npm/relative/1/patterns/js::relative/1/patterns/js",
            "spans": [
              [
                25,
                0
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Declares ES module exports",
            "id": "metadata/lang/javascript-features::esm-export",
            "spans": [
              [
                78,
                0
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "TypeScript declaration file",
            "id": "metadata/lang/scripted::dts-declaration-file"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Source has no parsed call sites",
            "id": "metadata/lang/source/shape::source-no-parsed-call-sites"
          },
          {
            "conf": 0.96,
            "crit": 2,
            "desc": "JavaScript distribution output path",
            "id": "metadata/path/development::js-distribution-output-path"
          },
          {
            "conf": 0.7,
            "crit": 1,
            "desc": "JavaScript extension reference",
            "id": "micro-behaviors/fs/path/extension::js-reference",
            "spans": [
              [
                64,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-field-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "const t=Symbol.for(\"@ts-pattern/matcher\"),e=Symbol.for(\"@ts-pattern/isVariadic\"),n=\"@ts-pattern/anonymous-select-key\",r=t=\u003eBoolean(t\u0026\u0026\"object\"==typeof t),i=e=\u003ee\u0026\u0026!!e[t],s=(n,o,c)=\u003e{if(i(n)){const e=n[t](),{matched:r,selections:i}=e.match(o);return r\u0026\u0026i\u0026\u0026Object.keys(i).forEach(t=\u003ec(t,i[t])),r}if(r(n)){if(!r(o))return!1;if(Array.isArray(n)){if(!Array.isArray(o))return!1;let t=[],r=[],a=[];for(const s of n.keys()){const o=n[s];i(o)\u0026\u0026o[e]?a.push(o):a.length?r.push(o):t.push(o)}if(a.length){if(a.length\u003e1)throw new Error(\"Pattern error: Using `...P.array(...)` several times in a single pattern is not allowe"
          },
          {
            "col": 613,
            "line": 1,
            "ln": 612,
            "s": ";if(o.length\u003ct.length+r.length)return!1;const e=o.slice(0,t.length),n=0===r.length?[]:o.slice(-r.length),i=o.slice(t.length,0===r.length?Infinity:-r.le"
          },
          {
            "col": 903,
            "line": 1,
            "ln": 902,
            "s": ")=\u003es(t,o[e],c))}return Object.keys(n).every(e=\u003e{const r=n[e];return(e in o||i(a=r)\u0026\u0026\"optional\"===a[t]().matcherType)\u0026\u0026s(r,o[e],c);var a})}return Object.is(o,n)},o=e=\u003e{var n,s,a;return r(e)?i(e)?null!=(n=null==(s=(a=e[t]()).getSelectionKeys)?void 0:s.call(a))?n:[]:Array.isArray(e)?c(e,o):c(Object.values(e),o):[]},c=(t,e)=\u003et.reduce((t,n)=\u003et.concat(e"
          },
          {
            "col": 1268,
            "line": 1,
            "ln": 1267,
            "s": "n a(...t){if(1===t.length){const[e]=t;return t=\u003es(e,t,()=\u003e{})}if(2===t.length){const[e,n]=t;return s("
          },
          {
            "col": 1374,
            "line": 1,
            "ln": 1373,
            "s": ")=\u003e{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function u(t){return Object.assign(t,{optional:()=\u003el(t),and:e=\u003em(t,e),or:e=\u003ep(t,e),select:e=\u003evoid 0===e?d(t):d(e,t)})}function h(t){return Object.assign((t=\u003eObject.assign(t,{*[Symbol.iterator](){yield Object.assign(t,{[e]:!0})}}))(t),{optional:()=\u003eh(l(t)),select:e=\u003eh(void 0===e?d(t):d(e,t))})}function l(e){return u({[t]"
          },
          {
            "col": 1826,
            "line": 1,
            "ln": 1825,
            "s": "h:t=\u003e{let n={};const r=(t,e)=\u003e{n[t]=e};return void 0===t?(o(e).forEach(t=\u003er(t,void 0)),{matched:!0,se"
          },
          {
            "col": 1993,
            "line": 1,
            "ln": 1992,
            "s": "\u003eo(e),matcherType:\"optional\"})})}const g=(t,e)=\u003e{for(const n of t)if(!e(n))return!1;return!0},f=(t,e)=\u003e{for(const[n,r]of t.entries())if(!e(r,n))return!1;return!0};function m(...e){return u({[t]:()=\u003e({match:t=\u003e{let n={};const r=(t,e)=\u003e{n[t]=e};return{matched:e."
          },
          {
            "col": 2794,
            "line": 1,
            "ln": 2793,
            "s": "ched:void 0===i||s(i,t,(t,n)=\u003e{e[t]=n}),selections:e}},getSelectionKeys:()=\u003e[null!=r?r:n].concat(void"
          },
          {
            "col": 3049,
            "line": 1,
            "ln": 3048,
            "s": "ion(t){return!0})),O=S,j=t=\u003eObject.assign(u(t),{startsWith:e=\u003e{return j(m(t,(n=e,y(t=\u003eb(t)\u0026\u0026t.startsWith(n)))));var n},endsWith:e=\u003e{return j(m(t,(n=e,y(t="
          },
          {
            "col": 3758,
            "line": 1,
            "ln": 3757,
            "s": "n:(e,n)=\u003eW(m(t,E(e,n))),lt:e=\u003eW(m(t,I(e))),gt:e=\u003eW(m(t,K(e))),lte:e=\u003eW(m(t,A(e))),gte:e=\u003eW(m(t,x(e))),int:()=\u003eW(m(t,P())),finite:()=\u003eW(m(t,T())),positive:()=\u003eW(m(t,"
          },
          {
            "col": 4158,
            "line": 1,
            "ln": 4157,
            "s": "n:(e,n)=\u003eV(m(t,$(e,n))),lt:e=\u003eV(m(t,z(e))),gt:e=\u003eV(m(t,L(e))),lte:e=\u003eV(m(t,M(e))),gte:e=\u003eV(m(t,F(e))),positive:()=\u003eV(m(t,J())),negative:()=\u003eV(m(t,U()))}),q=V(y(w)),C=u(y(function(t){return\"boolean\"==typeof t})),D=u(y(fun"
          },
          {
            "col": 4572,
            "line": 1,
            "ln": 4571,
            "s": "{matched:!1};if(0===e.length)return{matched:!0};const n=e[0];let r={};if(0===t.length)return o(n).forEach(t=\u003e{r[t]=[]}),{matched:!0,selections:r};const i=(t"
          },
          {
            "col": 5058,
            "line": 1,
            "ln": 5057,
            "s": "=\u003e{n[t]=(n[t]||[]).concat([e])},i=e[0];return{matched:g(t,t=\u003es(i,t,r)),selections:n}},getSelectionKeys"
          },
          {
            "col": 5411,
            "line": 1,
            "ln": 5410,
            "s": "ched:!0};var i;if(1===e.length)throw new Error(`\\`P.map\\` wasn't given enough arguments. Expected (key, value), received ${null==(i=e[0])?void 0:i.toString()}`);const[o,c]=e;return{matched:f(t,(t,e)=\u003e{const n=s(o,e,r),i=s(c,t,r);return n\u0026\u0026i}),selections:"
          },
          {
            "col": 6283,
            "line": 1,
            "ln": 6282,
            "s": "R(t){return new X(t,Q)}class X{constructor(t,e){this.input=void 0,this.state=void 0,this.input=t,this.state=e}with(...t){if(this.state.matched)return this;const e=t[t.length-1],r=[t[0]];let i;3===t.length\u0026\u0026\"function\"==typeof t[1]?(r.push(t[0]),i=t[1]):t.length\u003e2\u0026\u0026r.push(...t.slice(1,t.length-1));let o=!1,c={};const a=(t,e)=\u003e{o=!0,c[t]=e},u=!r.some(t=\u003es(t,this.input,a))||i\u0026\u0026!"
          },
          {
            "col": 7021,
            "line": 1,
            "ln": 7020,
            "s": "run(){if(this.state.matched)return this.state.value;let t;try{t=JSON.stringify(this.input)}catch(e){t=this.input}throw new Error(`Pattern matching error: no pattern matches value ${t}`)}returnType(){return this}}export{H as P,H as Pattern,a as isMatching,R as match};\n//# sourceMappingURL=index.js.map\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "t",
              120
            ],
            [
              "e",
              156
            ],
            [
              "anonymous",
              171
            ],
            [
              "t",
              277
            ],
            [
              "anonymous",
              784
            ],
            [
              "anonymous",
              813
            ],
            [
              "anonymous",
              898
            ],
            [
              "e",
              946
            ],
            [
              "e",
              1065
            ],
            [
              "anonymous",
              1218
            ],
            [
              "anonymous",
              1234
            ],
            [
              "a",
              1260
            ],
            [
              "t",
              1312
            ],
            [
              "anonymous",
              1321
            ],
            [
              "anonymous",
              1372
            ],
            [
              "u",
              1493
            ],
            [
              "anonymous",
              1540
            ],
            [
              "e",
              1553
            ],
            [
              "e",
              1566
            ],
            [
              "e",
              1583
            ],
            [
              "h",
              1611
            ],
            [
              "t",
              1647
            ],
            [
              "Symbol",
              1667
            ],
            [
              "anonymous",
              1737
            ],
            [
              "e",
              1756
            ],
            [
              "l",
              1787
            ],
            [
              "anonymous",
              1815
            ],
            [
              "t",
              1827
            ],
            [
              "anonymous",
              1848
            ],
            [
              "t",
              1896
            ],
            [
              "anonymous",
              1989
            ],
            [
              "anonymous",
              2033
            ],
            [
              "anonymous",
              2088
            ],
            [
              "m",
              2155
            ],
            [
              "anonymous",
              2186
            ],
            [
              "t",
              2198
            ],
            [
              "anonymous",
              2219
            ],
            [
              "e",
              2258
            ],
            [
              "anonymous",
              2303
            ],
            [
              "p",
              2336
            ],
            [
              "anonymous",
              2367
            ],
            [
              "t",
              2379
            ],
            [
              "anonymous",
              2400
            ],
            [
              "t",
              2438
            ],
            [
              "e",
              2470
            ],
            [
              "anonymous",
              2515
            ],
            [
              "y",
              2547
            ],
            [
              "anonymous",
              2572
            ],
            [
              "t",
              2584
            ],
            [
              "d",
              2616
            ],
            [
              "anonymous",
              2743
            ],
            [
              "t",
              2755
            ],
            [
              "anonymous",
              2816
            ],
            [
              "anonymous",
              2865
            ],
            [
              "v",
              2914
            ],
            [
              "b",
              2953
            ],
            [
              "w",
              2992
            ],
            [
              "anonymous",
              3043
            ],
            [
              "t",
              3073
            ],
            [
              "e",
              3107
            ],
            [
              "t",
              3131
            ],
            [
              "e",
              3176
            ],
            [
              "t",
              3200
            ],
            [
              "e",
              3244
            ],
            [
              "t",
              3254
            ],
            [
              "e",
              3259
            ],
            [
              "e",
              3297
            ],
            [
              "t",
              3307
            ],
            [
              "e",
              3312
            ],
            [
              "e",
              3349
            ],
            [
              "t",
              3373
            ],
            [
              "e",
              3413
            ],
            [
              "t",
              3437
            ],
            [
              "anonymous",
              3491
            ],
            [
              "n",
              3500
            ],
            [
              "t",
              3523
            ],
            [
              "e",
              3528
            ],
            [
              "t",
              3544
            ],
            [
              "e",
              3549
            ],
            [
              "t",
              3565
            ],
            [
              "e",
              3570
            ],
            [
              "t",
              3587
            ],
            [
              "e",
              3592
            ],
            [
              "anonymous",
              3609
            ],
            [
              "t",
              3615
            ],
            [
              "anonymous",
              3647
            ],
            [
              "t",
              3653
            ],
            [
              "anonymous",
              3684
            ],
            [
              "t",
              3690
            ],
            [
              "anonymous",
              3706
            ],
            [
              "t",
              3712
            ],
            [
              "t",
              3728
            ],
            [
              "anonymous",
              3759
            ],
            [
              "e",
              3784
            ],
            [
              "e",
              3803
            ],
            [
              "e",
              3823
            ],
            [
              "e",
              3843
            ],
            [
              "anonymous",
              3863
            ],
            [
              "anonymous",
              3886
            ],
            [
              "anonymous",
              3911
            ],
            [
              "anonymous",
              3936
            ],
            [
              "anonymous",
              3966
            ],
            [
              "n",
              3975
            ],
            [
              "t",
              3998
            ],
            [
              "e",
              4003
            ],
            [
              "t",
              4019
            ],
            [
              "e",
              4024
            ],
            [
              "t",
              4040
            ],
            [
              "e",
              4045
            ],
            [
              "t",
              4062
            ],
            [
              "e",
              4067
            ],
            [
              "anonymous",
              4084
            ],
            [
              "t",
              4090
            ],
            [
              "anonymous",
              4106
            ],
            [
              "t",
              4112
            ],
            [
              "t",
              4128
            ],
            [
              "anonymous",
              4159
            ],
            [
              "e",
              4184
            ],
            [
              "e",
              4203
            ],
            [
              "e",
              4223
            ],
            [
              "e",
              4243
            ],
            [
              "anonymous",
              4268
            ],
            [
              "anonymous",
              4293
            ],
            [
              "anonymous",
              4327
            ],
            [
              "anonymous",
              4374
            ],
            [
              "anonymous",
              4420
            ],
            [
              "anonymous",
              4499
            ],
            [
              "anonymous",
              4528
            ],
            [
              "t",
              4540
            ],
            [
              "t",
              4677
            ],
            [
              "anonymous",
              4725
            ],
            [
              "t",
              4785
            ],
            [
              "anonymous",
              4830
            ],
            [
              "anonymous",
              4867
            ],
            [
              "anonymous",
              4896
            ],
            [
              "t",
              4908
            ],
            [
              "anonymous",
              5052
            ],
            [
              "t",
              5115
            ],
            [
              "anonymous",
              5160
            ],
            [
              "anonymous",
              5197
            ],
            [
              "anonymous",
              5226
            ],
            [
              "t",
              5238
            ],
            [
              "anonymous",
              5347
            ],
            [
              "anonymous",
              5603
            ],
            [
              "anonymous",
              5685
            ],
            [
              "anonymous",
              5761
            ],
            [
              "anonymous",
              5787
            ],
            [
              "t",
              5799
            ],
            [
              "anonymous",
              5819
            ],
            [
              "anonymous",
              5846
            ],
            [
              "anonymous",
              6134
            ],
            [
              "anonymous",
              6157
            ],
            [
              "e",
              6176
            ],
            [
              "anonymous",
              6207
            ],
            [
              "R",
              6273
            ],
            [
              "constructor",
              6313
            ],
            [
              "with",
              6392
            ],
            [
              "anonymous",
              6601
            ],
            [
              "t",
              6632
            ],
            [
              "when",
              6771
            ],
            [
              "otherwise",
              6919
            ],
            [
              "exhaustive",
              6989
            ],
            [
              "run",
              7020
            ],
            [
              "returnType",
              7206
            ]
          ],
          "imp": [
            [
              "",
              "Symbol.for"
            ],
            [
              "",
              "Symbol.for"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "e.match"
            ],
            [
              "",
              "Object.keys.forEach"
            ],
            [
              "",
              "Object.keys"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "n.keys"
            ],
            [
              "",
              "a.push"
            ],
            [
              "",
              "r.push"
            ],
            [
              "",
              "t.push"
            ],
            [
              "",
              "Error"
            ],
            [
              "",
              "o.slice"
            ],
            [
              "",
              "o.slice"
            ],
            [
              "",
              "o.slice"
            ],
            [
              "",
              "t.every"
            ],
            [
              "",
              "r.every"
            ],
            [
              "",
              "n.every"
            ],
            [
              "",
              "Object.keys.every"
            ],
            [
              "",
              "Object.keys"
            ],
            [
              "",
              "Object.is"
            ],
            [
              "",
              "s.call"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "Object.values"
            ],
            [
              "",
              "t.reduce"
            ],
            [
              "",
              "t.concat"
            ],
            [
              "",
              "Error"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "o.forEach"
            ],
            [
              "",
              "t.entries"
            ],
            [
              "",
              "e.every"
            ],
            [
              "",
              "c.forEach"
            ],
            [
              "",
              "e.some"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "t.startsWith"
            ],
            [
              "",
              "t.endsWith"
            ],
            [
              "",
              "t.includes"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "t.match"
            ],
            [
              "",
              "Number.isInteger"
            ],
            [
              "",
              "Number.isFinite"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Object.assign"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "o.forEach"
            ],
            [
              "",
              "t.every"
            ],
            [
              "",
              "Error"
            ],
            [
              "",
              "i.toString"
            ],
            [
              "",
              "r.push"
            ],
            [
              "",
              "r.push"
            ],
            [
              "",
              "t.slice"
            ],
            [
              "",
              "r.some"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "Boolean"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "Error"
            ]
          ],
          "mbr": [
            "Array.isArray",
            "JSON.stringify",
            "Number.isFinite",
            "Number.isInteger",
            "Object.assign",
            "Object.is",
            "Object.keys",
            "Object.keys.every",
            "Object.keys.forEach",
            "Object.values",
            "Symbol.for",
            "Symbol.iterator",
            "a.length",
            "a.push",
            "c.forEach",
            "e.every",
            "e.length",
            "e.match",
            "e.some",
            "i.toString",
            "n.every",
            "n.keys",
            "n.length",
            "o.forEach",
            "o.length",
            "o.slice",
            "r.every",
            "r.length",
            "r.push",
            "r.some",
            "s.call",
            "t.concat",
            "t.endsWith",
            "t.entries",
            "t.every",
            "t.includes",
            "t.length",
            "t.match",
            "t.push",
            "t.reduce",
            "t.size",
            "t.slice",
            "t.startsWith"
          ],
          "metrics": {
            "ast": {
              "call_count": 271,
              "max_array_length": 2,
              "max_depth": 29,
              "max_member_depth": 3,
              "member_count": 43,
              "node_count": 5752,
              "op.add": 1,
              "op.eq": 36,
              "op.ge": 5,
              "op.gt": 6,
              "op.land": 38,
              "op.le": 5,
              "op.lnot": 36,
              "op.lor": 7,
              "op.lt": 5,
              "op.ne": 3,
              "op.sub": 4,
              "op_density.add": 0,
              "op_density.eq": 0.01,
              "op_density.ge": 0,
              "op_density.gt": 0,
              "op_density.land": 0.01,
              "op_density.le": 0,
              "op_density.lnot": 0.01,
              "op_density.lor": 0,
              "op_density.lt": 0,
              "op_density.ne": 0,
              "op_density.sub": 0,
              "sequence_count": 11
            },
            "binary": {
              "peak_region_bytes": 6298,
              "peak_region_entropy": 5.14
            },
            "binds": {
              "count": 87
            },
            "comments": {
              "base64": 1,
              "chars": 31,
              "count": 1,
              "lines": 1,
              "to_code_ratio": 1
            },
            "file": {
              "entropy": 5.12,
              "size": 7322
            },
            "functions": {
              "anonymous": 144,
              "avg_length_lines": 1,
              "avg_name_length": 4,
              "avg_nesting_depth": 1.04,
              "avg_param_name_length": 1,
              "avg_params": 0.44,
              "code_ratio": 0.5,
              "count": 20,
              "density": 8200,
              "high_entropy_names": 1,
              "max_length_lines": 1,
              "max_nesting_depth": 3,
              "max_params": 3,
              "min_length_lines": 1,
              "nested": 63,
              "no_params_count": 116,
              "one_liners": 164,
              "single_char_names": 12,
              "single_char_params": 72
            },
            "identifiers": {
              "all_lowercase_ratio": 0.6,
              "all_uppercase_ratio": 0.18,
              "avg_entropy": 1.49,
              "avg_length": 4.53,
              "count": 1214,
              "double_underscore_count": 1,
              "length_stddev": 3.53,
              "max_length": 16,
              "min_length": 1,
              "reuse_ratio": 0.12,
              "sequential_names": 50,
              "single_char_count": 52,
              "single_char_ratio": 0.36,
              "underscore_prefix_count": 2,
              "unique": 144
            },
            "source": {
              "class_count": 1,
              "function_count": 19
            },
            "strings": {
              "avg_entropy": 2.91,
              "avg_length": 23.62,
              "bytes": 496,
              "count": 21,
              "entropy_stddev": 0.96,
              "max_length": 108,
              "shell": 2
            },
            "text": {
              "anonymous_function_ratio": 0.88,
              "avg_line_length": 3660,
              "char_entropy": 5.12,
              "digit_ratio": 0.02,
              "identifier_density": 607,
              "identifiers_to_functions_ratio": 0.88,
              "last_line_length": 33,
              "line_length_stddev": 3627,
              "lines": 2,
              "lines_over_1000": 1,
              "lines_over_200": 1,
              "lines_over_500": 1,
              "long_token_count": 15,
              "max_line_length": 7287,
              "max_whitespace_run": 1,
              "normalized_function_count": 115.97,
              "normalized_string_count": 14.85,
              "normalized_unique_identifiers": 144,
              "space_count": 193,
              "string_density": 10.5,
              "strings_to_functions_ratio": 0.13,
              "suspicious_comment_ratio": 1,
              "suspicious_identifier_ratio": 0.35,
              "suspicious_string_ratio": 0.1,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 85,
              "whitespace_ratio": 0.03
            }
          },
          "tgt": [
            "$",
            "A",
            "Array.isArray",
            "Boolean",
            "E",
            "Error",
            "F",
            "I",
            "J",
            "JSON.stringify",
            "K",
            "L",
            "M",
            "Number.isFinite",
            "Number.isInteger",
            "Object.assign",
            "Object.is",
            "Object.keys",
            "Object.keys.every",
            "Object.keys.forEach",
            "Object.values",
            "P",
            "Symbol.for",
            "T",
            "U",
            "V",
            "W",
            "X",
            "_",
            "a",
            "a.push",
            "b",
            "c",
            "c.forEach",
            "d",
            "e",
            "e.every",
            "e.match",
            "e.some",
            "f",
            "g",
            "h",
            "i",
            "i.toString",
            "j",
            "k",
            "l",
            "m",
            "n.every",
            "n.keys",
            "o",
            "o.forEach",
            "o.slice",
            "p",
            "r",
            "r.every",
            "r.push",
            "r.some",
            "s",
            "s.call",
            "t",
            "t.concat",
            "t.endsWith",
            "t.entries",
            "t.every",
            "t.includes",
            "t.match",
            "t.push",
            "t.reduce",
            "t.slice",
            "t.startsWith",
            "u",
            "v",
            "w",
            "x",
            "y",
            "z"
          ]
        },
        "id": 6,
        "mol": "H(Db₃)Md₃(PaPt)",
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.js",
        "pid": 0,
        "risk": 7,
        "sha": "ec663e4fa58849f30e66978478936fa08151dd1baae6da25801337b06bb0a961",
        "sid": 4150920426,
        "size": 7322,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Exactly one line exceeds 1000 bytes",
            "id": "metadata/file/line::single-long-line-outlier"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "At least 100 parameterless functions",
            "id": "metadata/lang/source/function::parameterless-functions-100-plus"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript/TypeScript file under dist",
            "id": "metadata/package/files/runtime::javascript-dist-tree-artifact"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Has dist/index.js path",
            "id": "metadata/package/files/runtime::npm-dist-index-entry"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Repeated computed-property calls (3+)",
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-computed-call-cluster",
            "spans": [
              [
                199,
                4
              ],
              [
                1668,
                18
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Calls a property using bracket notation",
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-subscript-callee",
            "spans": [
              [
                198,
                6
              ],
              [
                999,
                6
              ],
              [
                1117,
                6
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls an entries method",
            "id": "micro-behaviors/data/control-flow/sequence::entries-method-call",
            "spans": [
              [
                2114,
                10
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Calls JSON.stringify()",
            "id": "micro-behaviors/data/serialize/json::json-stringify-call",
            "spans": [
              [
                7084,
                14
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes value with JSON.stringify",
            "id": "micro-behaviors/data/serialize/json::json-stringify-text-call",
            "spans": [
              [
                7084,
                16
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Code has source map reference",
            "id": "metadata/build/bundler/asset::has-sourcemap",
            "spans": [
              [
                7292,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Low whitespace and compact code indicators",
            "id": "metadata/build/minifier::minified-text-shape",
            "uses": [
              18,
              28,
              30,
              32
            ]
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "Uses minifier-style void 0 for undefined",
            "id": "metadata/build/minifier::void-zero",
            "spans": [
              [
                5458,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Script peak-entropy region mass at least 1KB",
            "id": "metadata/file/entropy::script-peak-entropy-region-mass-at-least-1k"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JavaScript source filename extension",
            "id": "metadata/file/extension/identity::javascript-source-extension"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Common web or JSON file extension",
            "id": "metadata/file/extension/identity::web-asset-extension"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "JavaScript or TypeScript source filename",
            "id": "metadata/file/extension/source::js-ts-source-basename"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Very short file (under 12 lines)",
            "id": "metadata/file/line::file-under-12-lines"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Very long line",
            "id": "metadata/file/line::single-long-line",
            "spans": [
              [
                0,
                7287
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Whole-file whitespace ratio at most ten percent",
            "id": "metadata/file/text-distribution::low-whitespace-ratio"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Declares ES module exports",
            "id": "metadata/lang/javascript-features::esm-export",
            "spans": [
              [
                7232,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Symbol constructor usage marker",
            "id": "metadata/lang/javascript-features::has-symbols-base",
            "spans": [
              [
                1667,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "5+ comma sequence expressions",
            "id": "metadata/lang/javascript-features::js-comma-sequence-count-5"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "ES6 template literal syntax",
            "id": "metadata/lang/javascript-features::template-literal",
            "spans": [
              [
                5466,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                15,
                0
              ]
            ],
            "uses": [
              45,
              46,
              47,
              48,
              49
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JavaScript startsWith method",
            "id": "metadata/lang/scripted::startswith-method",
            "spans": [
              [
                3096,
                0
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 2,
            "desc": "Five or fewer comment lines in file",
            "id": "metadata/lang/source/comment::few-comment-lines"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "High comment-to-code ratio",
            "id": "metadata/lang/source/comment::high-comment-to-code-ratio"
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Source has at most two comments",
            "id": "metadata/lang/source/comment::source-at-most-two-comments"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Parser reports high function density",
            "id": "metadata/lang/source/function::high-function-density"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Many no-param functions",
            "id": "metadata/lang/source/function::many-no-param-functions"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Parser counts many one-line functions",
            "id": "metadata/lang/source/function::many-one-liner-functions"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Low identifier reuse ratio",
            "id": "metadata/lang/source/naming/population::low-identifier-reuse"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Sequential source identifier names",
            "id": "metadata/lang/source/naming/population::sequential-identifiers"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Over 30% single-character identifiers",
            "id": "metadata/lang/source/naming/population::single-character-identifier-ratio-over-30"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                389,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Filename is index.js",
            "id": "metadata/package/files/included::javascript-index-basename"
          },
          {
            "conf": 0.96,
            "crit": 2,
            "desc": "JavaScript distribution output path",
            "id": "metadata/path/development::js-distribution-output-path"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Collection forEach/map callback",
            "id": "micro-behaviors/data/control-flow/loop/collection::collection-callback-header",
            "spans": [
              [
                268,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "For/foreach loop over a collection",
            "id": "micro-behaviors/data/control-flow/loop/collection::record-loop-header",
            "spans": [
              [
                2041,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Binds an indexed value to a variable",
            "id": "micro-behaviors/data/property/access::indexed-value-variable-binding",
            "spans": [
              [
                415,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "JavaScript substring or slice call",
            "id": "micro-behaviors/data/string/access::js-substring-call",
            "spans": [
              [
                6556,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "References the toString conversion method",
            "id": "micro-behaviors/data/string/conversion::tostring-token",
            "spans": [
              [
                5557,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Distribution JavaScript references a source map",
            "id": "metadata/build/bundler/asset::js-dist-sourcemap-output",
            "spans": [
              [
                7292,
                0
              ]
            ],
            "uses": [
              2,
              9
            ]
          },
          {
            "conf": 0.86,
            "crit": 1,
            "desc": "Call has a nested call argument",
            "id": "metadata/lang/javascript-features::js-nested-call-argument",
            "spans": [
              [
                3789,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                441,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                1421,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1549,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                15,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                6392,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                6330,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Call outside static-table helper vocabulary",
            "id": "metadata/lang/source/syntax/call/relationship::javascript-call-outside-table-helper-vocabulary",
            "spans": [
              [
                8,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "Search query parameter",
            "id": "micro-behaviors/communications/http/dynamic::dnr-search-query-param",
            "spans": [
              [
                4311,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "First comma-sequence indexed read with temp",
            "id": "micro-behaviors/data/collection/array::seq-swap-first-write",
            "spans": [
              [
                956,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "Traverses an object through a computed property",
            "id": "micro-behaviors/data/property/access::js-indexed-object-traversal",
            "spans": [
              [
                1115,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 1,
            "desc": "Assigns a computed object property",
            "id": "micro-behaviors/data/property/assign::js-indexed-object-assignment",
            "spans": [
              [
                1857,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 7,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.js.map",
        "pid": 0,
        "risk": 0,
        "sha": "2ba2e90a793725bf8efb9ffa1cd5c314d17ab6fff243f39eff9a436f6bad8002",
        "sid": 10771396835,
        "size": 59216,
        "type": "data"
      },
      {
        "depth": 1,
        "id": 8,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.umd.js",
        "pid": 0,
        "risk": 0,
        "sha": "c9b6726e7299739e35d7a0fa979ab108668d31b69142b73b01e4dbf54a83e603",
        "sid": 4150920415,
        "size": 10834,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 9,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/index.umd.js.map",
        "pid": 0,
        "risk": 0,
        "sha": "123defbccd6de713f05f01cf042c832147dfb969ccb6745dd1bc5d71cbb94265",
        "sid": 10771396832,
        "size": 61974,
        "type": "data"
      },
      {
        "depth": 1,
        "id": 10,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/internals/helpers.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "2491f038e2673c4ed48028af76a5ec75f38c5f7291da5c4bf248304f97ac0d78",
        "sid": 4150693284,
        "size": 627,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 11,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/internals/helpers.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "b93e1054591ec9fdf4db7a504944605e96ebc52971d9430aba863978c21483c6",
        "sid": 4150693339,
        "size": 625,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 12,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/internals/symbols.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "d0112c7965d438d2018bf4f25a59b98b1a9a49809560a1c6130ab83f530c91c9",
        "sid": 1952833544,
        "size": 971,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 13,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/internals/symbols.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "d0112c7965d438d2018bf4f25a59b98b1a9a49809560a1c6130ab83f530c91c9",
        "sid": 1952833544,
        "size": 971,
        "type": "javascript"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import { Pattern } from './types/Pattern.cjs';\nimport * as P from './patterns.cjs';\n/**\n * `isMatching` takes pattern and returns a **type guard** function, cheching if a value matches this pattern.\n *\n * [Read  documentation for `isMatching` on GitHub](https://github.com/gvergnaud/ts-pattern#ismatching)\n *\n * @example\n *  const hasName = isMatching({ name: P.string })\n *\n *  declare let input: unknown\n *\n *  if (hasName(input)) {\n *    // `input` inferred as { name: string }\n *    return input.name\n *  }\n */\nexport declare function isMatching\u003cp extends Pattern\u003cunknown\u003e\u003e(pattern: p): (value: unknown) =\u003e value is P.infer\u003cp\u003e;\n/**\n * `isMatching` takes pattern and a value and checks if the value matches this pattern.\n *\n * [Read  documentation for `isMatching` on GitHub](https://github.com/gvergnaud/ts-pattern#ismatching)\n *\n * @example\n *  declare let input: unknown\n *\n *  if (isMatching({ name: P.string }, input)) {\n *    // `input` inferred as { name: string }\n *    return input.name\n *  }\n */\nexport declare function isMatching\u003cp extends Pattern\u003cunknown\u003e\u003e(pattern: p, value: unknown): value is P.infer\u003cp\u003e;\n"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "./patterns.cjs"
            ],
            [
              "",
              "./types/Pattern.cjs"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 10,
              "node_count": 136
            },
            "binary": {
              "peak_region_bytes": 1122,
              "peak_region_entropy": 4.73
            },
            "comments": {
              "chars": 798,
              "code": 2,
              "count": 2,
              "high_entropy": 2,
              "lines": 28,
              "to_code_ratio": 7,
              "url_count": 2
            },
            "file": {
              "entropy": 4.76,
              "size": 1122
            },
            "identifiers": {
              "all_lowercase_ratio": 0.57,
              "all_uppercase_ratio": 0.14,
              "avg_entropy": 1.83,
              "avg_length": 5.14,
              "count": 22,
              "length_stddev": 3.04,
              "max_length": 10,
              "min_length": 1,
              "reuse_ratio": 0.32,
              "sequential_names": 2,
              "single_char_count": 2,
              "single_char_ratio": 0.29,
              "unique": 7
            },
            "imports": {
              "count": 2,
              "relative": 2,
              "relative_ratio": 1,
              "third_party_count": 2,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 3.48,
              "avg_length": 16.5,
              "bytes": 33,
              "count": 2,
              "entropy_stddev": 0.1,
              "max_length": 19,
              "path_count": 2
            },
            "text": {
              "avg_line_length": 34.06,
              "char_entropy": 4.76,
              "identifier_density": 0.69,
              "import_density": 6.25,
              "last_line_length": 112,
              "line_length_stddev": 37.86,
              "lines": 32,
              "max_line_length": 116,
              "max_whitespace_run": 4,
              "normalized_import_count": 0.35,
              "normalized_string_count": 0.35,
              "normalized_unique_identifiers": 1.4,
              "space_count": 171,
              "string_density": 0.06,
              "suspicious_comment_ratio": 1,
              "suspicious_identifier_ratio": 0.29,
              "top_char": 110,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 52,
              "whitespace_ratio": 0.18
            }
          }
        },
        "id": 14,
        "mol": "K(Am)Md(Pa)",
        "path": "ts-pattern-5.0.4.tgz!!package/dist/is-matching.d.cts",
        "pid": 0,
        "refs": [
          {
            "kind": "local",
            "off": 25,
            "to": "./types/Pattern.cjs"
          },
          {
            "kind": "local",
            "off": 67,
            "to": "./patterns.cjs"
          }
        ],
        "risk": 4,
        "sha": "b4074db649add5e3ad26e3964f45f2cdac58da50f99a6c8a086cbacda87233db",
        "sid": 4150920405,
        "size": 1122,
        "supp": [
          {
            "by": [
              {
                "id": "micro-behaviors/communications/url/reference::public-code-forge-url",
                "spans": [
                  [
                    254,
                    19
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/file/catalog/service::github-service-name-reference",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "metadata/lang/source/shape::source-no-parsed-call-sites"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/data/control-flow/dispatch/computed::js-computed-call-cluster",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript/TypeScript file under dist",
            "id": "metadata/package/files/runtime::javascript-dist-tree-artifact"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                254,
                19
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Overall entropy at most 5.0",
            "id": "metadata/file/entropy::overall-entropy-at-most-five"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Script peak-entropy region mass at least 1KB",
            "id": "metadata/file/entropy::script-peak-entropy-region-mass-at-least-1k"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a source declaration extension",
            "id": "metadata/file/extension/identity::declaration-file-extension"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "JavaScript or TypeScript source filename",
            "id": "metadata/file/extension/source::js-ts-source-basename"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "File has 30 or more lines",
            "id": "metadata/file/line::file-has-30-plus-lines"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "JavaScript file under 5KB",
            "id": "metadata/file/size::javascript-small-file-5k"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./patterns.cjs",
            "id": "metadata/import/npm/relative/1/patterns/cjs::relative/1/patterns/cjs",
            "spans": [
              [
                66,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ./types/Pattern.cjs",
            "id": "metadata/import/npm/relative/1/types/pattern/cjs::relative/1/types/pattern/cjs",
            "spans": [
              [
                24,
                0
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Declares ES module exports",
            "id": "metadata/lang/javascript-features::esm-export",
            "spans": [
              [
                515,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                226,
                0
              ]
            ],
            "uses": [
              20,
              21,
              22,
              23
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "TypeScript declaration file",
            "id": "metadata/lang/scripted::dts-declaration-file"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "High comment-to-code ratio",
            "id": "metadata/lang/source/comment::high-comment-to-code-ratio"
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Source has at most two comments",
            "id": "metadata/lang/source/comment::source-at-most-two-comments"
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "id": "metadata/lang/source/comment::source-comment-bytes-over-300"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Source has no parsed call sites",
            "id": "metadata/lang/source/shape::source-no-parsed-call-sites"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Code has JSDoc @example",
            "id": "metadata/package/documentation/package-metadata::has-jsdoc-example",
            "spans": [
              [
                312,
                0
              ]
            ]
          },
          {
            "conf": 0.96,
            "crit": 2,
            "desc": "JavaScript distribution output path",
            "id": "metadata/path/development::js-distribution-output-path"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                206,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                692,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                118,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                226,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                185,
                0
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 1,
            "desc": "Large source comment span",
            "id": "metadata/lang/source/comment::large-source-comment-span",
            "uses": [
              14,
              15
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 15,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/is-matching.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "63ceef4f2b39656d72efd45b2ebe87685500738e526ba09cd289e330079817af",
        "sid": 4150920376,
        "size": 1120,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 16,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/match.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "cf469922bbdb440ed3dda253461e1c3825025ac901bb33d8b3669695cb545e2b",
        "sid": 1952833542,
        "size": 705,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 17,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/match.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "b4800a82c9c607b544bf831b1f89ed6e432f517702c4816028222128a2c806fc",
        "sid": 1952833523,
        "size": 703,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 18,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/patterns.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "85fa19cffc71b4640ec330d0db5b8601d469714f08dfff9f209bf1819c38b068",
        "sid": 4150920386,
        "size": 18541,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 19,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/patterns.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "2cc278da8bfb2a53c6fb07f92888cfa24e77539a90cb9251bc811e2371ae3dbc",
        "sid": 4150920349,
        "size": 18535,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 20,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/BuildMany.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "83eecf5a433369a7a718fcc608e5549d0e8cc059f57e6687003d48d85fb941e6",
        "sid": 4150754810,
        "size": 1232,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 21,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/BuildMany.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "5d69aa9208a5bee2e66bae22fefbb91a71e55a39e99458fcf2a903c3264e7671",
        "sid": 4150754807,
        "size": 1231,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 22,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/DeepExclude.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "b0f572c6d99ea18357395d03154074427449d7590548263b113fed1a2d5e9b67",
        "sid": 1952833519,
        "size": 143,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 23,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/DeepExclude.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "4e17486c14175f1eb6ce1b3e0072cf685b9fb9167cbac597ca3827b848903916",
        "sid": 1952833466,
        "size": 142,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 24,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/DistributeUnions.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "36f544f8a2c6dabd45534a6be96a9e3eadef735c6dace3405ae901d920300e37",
        "sid": 4150693296,
        "size": 4866,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 25,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/DistributeUnions.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "02d035ff7d4aa492f4cf187cc9334159659ec8f7d18ebeb95c078f9c34810efa",
        "sid": 4150693274,
        "size": 4863,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 26,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/ExtractPreciseValue.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "0c0239bff91663d7701a9321a4c0afc375da191892ce1ad8f6bd3d9342efbe63",
        "sid": 4150754796,
        "size": 2793,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 27,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/ExtractPreciseValue.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "35b79c6bee0be1ee94bfea90d7791d2d011d5deaedb224a76920369dabbeb56b",
        "sid": 4150754800,
        "size": 2791,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 28,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/FindSelected.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "3996f9ec0fe4edfdd114b15f3ec2f140260e4cc42defacc53208667cb7e4e8ec",
        "sid": 2223573218,
        "size": 4251,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 29,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/FindSelected.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "33c6896904b6d2a51cd90bd3a4d2211f30175372893dd98f572f0bf56a392edb",
        "sid": 3899819015,
        "size": 4248,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 30,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/InvertPattern.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "70b00a7a1f52ad2c70a8c5c3746d3b701310bc08bf22f28661718593f59e8a49",
        "sid": 4150693316,
        "size": 8411,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 31,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/InvertPattern.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "9876fe95f6846dd30b0d91588378cb6e460423a9a3c3a4dfbefb401983865e2e",
        "sid": 4150693325,
        "size": 8408,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 32,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/IsMatching.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "9e33ec69bf77684127372496a67c5cf352f996d30a995aeefedcae79e16f0c0e",
        "sid": 4150693329,
        "size": 1937,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 33,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/IsMatching.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "9ac5937cb54fdb69aeadd27047fd5ddebc07d3c86c45fa17ad4a7bbd0000c9b5",
        "sid": 4150693327,
        "size": 1936,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 34,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/Match.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "b490b7da6dd45ea16a788cda4b868c7f54c222accaa822591596c591b4324b63",
        "sid": 4150754821,
        "size": 6848,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 35,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/Match.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "8d07bafb82c5b416d0365473a23efc96b71b0eaedb72d194e043e3f58e063e19",
        "sid": 4150754811,
        "size": 6842,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 36,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/Pattern.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "1bff03cf93c6f0873bff9e4d8c23f13ab403fd618032097101ff31de97f84208",
        "sid": 10771396833,
        "size": 18965,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 37,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/Pattern.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "d0bc82888d7c6f03e4b9413ef5210fee3bb63e95516db5890d4617c4bfcb808c",
        "sid": 10771396866,
        "size": 18960,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 38,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/helpers.d.cts",
        "pid": 0,
        "risk": 0,
        "sha": "5c5ac4f9bbcb97566c8591c8a070f3d84bc823c55e85a0f32c2e4db6c7449ce4",
        "sid": 4150754806,
        "size": 6328,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 39,
        "path": "ts-pattern-5.0.4.tgz!!package/dist/types/helpers.d.ts",
        "pid": 0,
        "risk": 0,
        "sha": "5c5ac4f9bbcb97566c8591c8a070f3d84bc823c55e85a0f32c2e4db6c7449ce4",
        "sid": 4150754806,
        "size": 6328,
        "type": "javascript"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "{\n  \"name\": \"ts-pattern\",\n  \"version\": \"5.0.4\",\n  \"description\": \" The exhaustive Pattern Matching library for TypeScript.\",\n  \"type\": \"module\",\n  \"source\": \"src/index.ts\",\n  \"exports\": {\n    \".\": {\n      \"require\": {\n        \"types\": \"./dist/index.d.cts\",\n        \"default\": \"./dist/index.cjs\"\n      },\n      \"import\": {\n        \"types\": \"./dist/index.d.ts\",\n        \"default\": \"./dist/index.js\"\n      },\n      \"types\": \"./dist/index.d.ts\",\n      \"default\": \"./dist/index.js\"\n    },\n    \"./package.json\": \"./package.json\"\n  },\n  \"types\": \"dist/index.d.ts\",\n  \"main\": \"dist/index.cjs\",\n  \"module\": \"dist/index.js\",\n  \"unpkg\": \"dist/index.umd.js\",\n  \"scripts\": {\n    \"build\": \"rimraf dist \u0026\u0026 microbundle --format modern,cjs,umd \u0026\u0026 sh ./scripts/generate-cts.sh\",\n    \"dev\": \"microbundle watch\",\n    \"prepublishOnly\": \"npm run test \u0026\u0026 npm run build\",\n    \"test\": \"jest\",\n    \"clear-test\": \"jest --clearCache\",\n    \"perf\": \"tsc --project tests/tsconfig.json --noEmit --extendedDiagnostics\",\n    \"fmt\": \"prettier ./src/** ./tests/** -w\",\n    \"check\": \"tsc --strict --noEmit --extendedDiagnostics\"\n  },\n  \"files\": [\n    \"dist/**/*\",\n    \"package.json\"\n  ],\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"git+ssh://git@github.com/gvergnaud/ts-pattern.git\"\n  },\n  \"keywords\": [\n    \"pattern\",\n    \"matching\",\n    \"pattern-matching\",\n    \"typescript\",\n    \"match-with\",\n    \"match\",\n    \"switch\",\n    \"adt\"\n  ],\n  \"author\": \"Gabriel Vergnaud\",\n  \"license\": \"MIT\",\n  \"bugs\": {\n    \"url\": \"https://github.com/gvergnaud/ts-pattern/issues\"\n  },\n  \"homepage\": \"https://github.com/gvergnaud/ts-pattern#readme\",\n  \"devDependencies\": {\n    \"@types/jest\": \"^29.5.2\",\n    \"jest\": \"^29.5.0\",\n    \"microbundle\": \"^0.15.1\",\n    \"prettier\": \"^2.8.8\",\n    \"rimraf\": \"^5.0.1\",\n    \"ts-jest\": \"^29.1.0\",\n    \"typescript\": \"^5.1.3\"\n  }\n}\n"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "^29.5.2",
              "@types/jest"
            ],
            [
              "^29.5.0",
              "jest"
            ],
            [
              "^0.15.1",
              "microbundle"
            ],
            [
              "^2.8.8",
              "prettier"
            ],
            [
              "^5.0.1",
              "rimraf"
            ],
            [
              "^29.1.0",
              "ts-jest"
            ],
            [
              "^5.1.3",
              "typescript"
            ]
          ],
          "metrics": {
            "binary": {
              "peak_region_bytes": 1813,
              "peak_region_entropy": 4.72
            },
            "consistency": {
              "name_repo_mismatch": 0
            },
            "file": {
              "entropy": 4.67,
              "size": 1813
            },
            "imports": {
              "count": 7
            }
          }
        },
        "id": 40,
        "mol": "Md₂(Pa₈)",
        "path": "ts-pattern-5.0.4.tgz!!package/package.json",
        "pid": 0,
        "refs": [
          {
            "kind": "repository",
            "off": 1200,
            "to": "git+ssh://git@github.com/gvergnaud/ts-pattern.git"
          },
          {
            "kind": "local",
            "off": 279,
            "sha256": "bd9bdd40663b09fa013224f4c82d9e7bb0929449535af5701810127c40a6659c",
            "to": "dist/index.cjs"
          },
          {
            "kind": "local",
            "off": 382,
            "sha256": "ec663e4fa58849f30e66978478936fa08151dd1baae6da25801337b06bb0a961",
            "to": "dist/index.js"
          },
          {
            "kind": "local",
            "off": 236,
            "sha256": "d08c3fab3add1d488ac11ff584bf8d9fe2109180c6f7c04c3c735cc4ade3a90f",
            "to": "./dist/index.d.cts"
          },
          {
            "kind": "local",
            "off": 277,
            "sha256": "bd9bdd40663b09fa013224f4c82d9e7bb0929449535af5701810127c40a6659c",
            "to": "./dist/index.cjs"
          },
          {
            "kind": "local",
            "off": 340,
            "sha256": "b1152042664d55d993ef4336bc1aad185858bbf45fae754d42b59539e5f3e45a",
            "to": "./dist/index.d.ts"
          },
          {
            "kind": "local",
            "off": 380,
            "sha256": "ec663e4fa58849f30e66978478936fa08151dd1baae6da25801337b06bb0a961",
            "to": "./dist/index.js"
          },
          {
            "kind": "local",
            "off": 489,
            "to": "./package.json"
          }
        ],
        "risk": 10,
        "sha": "dead6cf6a564a8e3c6fbcff364f3a5d231feb40415e051a65c164c2de832288d",
        "sid": 10771396867,
        "size": 1813,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/package/freeform::pkg-skeleton-benign-context",
                "spans": [
                  [
                    1192,
                    49
                  ],
                  [
                    1258,
                    81
                  ],
                  [
                    1536,
                    46
                  ],
                  [
                    1600,
                    146
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/file/size::small-versioned-npm-manifest",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "value",
                "spans": [
                  [
                    1600,
                    146
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/files/package-json::has-files-field",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "value",
                "spans": [
                  [
                    1192,
                    49
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/repository::repository-object-without-url",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "value",
                "spans": [
                  [
                    1600,
                    146
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/scripts/reference::script-npm-run-reference",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "value",
                "spans": [
                  [
                    1600,
                    146
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/package/testing/presence/manifest::pkg-test-script-field",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Filename is package.json",
            "id": "metadata/filename/identity::package-json-basename"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Declares TypeScript development dependency",
            "id": "metadata/package/dependencies/development::npm-typescript-development-dependency",
            "spans": [
              [
                1784,
                6
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package has multiple entry declaration fields",
            "id": "metadata/package/entrypoint/module::multiple-entry-declaration-fields",
            "spans": [
              [
                175,
                200
              ],
              [
                530,
                15
              ],
              [
                560,
                14
              ],
              [
                588,
                9
              ]
            ],
            "uses": [
              4,
              32,
              39,
              40
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Declares npm ESM module type",
            "id": "metadata/package/entrypoint/module::npm-esm-package-type",
            "spans": [
              [
                127,
                6
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Package declares TypeScript types entry",
            "id": "metadata/package/entrypoint/module::pkg-types-field",
            "spans": [
              [
                530,
                15
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Package declares an unpkg CDN entry",
            "id": "metadata/package/entrypoint/module::pkg-unpkg-cdn-entry",
            "spans": [
              [
                617,
                17
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "npm publish root manifest declares runtime-tree entrypoint",
            "id": "metadata/package/entrypoint/module::publish-root-runtime-tree-entrypoint",
            "spans": [
              [
                560,
                14
              ]
            ],
            "uses": [
              35,
              43
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Package.json declares a files allowlist",
            "id": "metadata/package/files/package-json::files-array-present",
            "spans": [
              [
                1099,
                25
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Manifest text references src path",
            "id": "metadata/package/files/package-json::src-path-reference",
            "spans": [
              [
                157,
                5
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Homepage points to major Git host",
            "id": "metadata/package/homepage::homepage-git-host",
            "spans": [
              [
                1536,
                46
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "npm keywords mention TypeScript",
            "id": "metadata/package/keywords/capability::npm-typescript-keyword",
            "spans": [
              [
                1258,
                81
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "License text starts MIT/ISC/Apache/BSD",
            "id": "metadata/package/license::npm-license-mit-isc-apache-bsd-prefix",
            "spans": [
              [
                1439,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Repository identifies major Git host",
            "id": "metadata/package/repository::repo-url-git-host",
            "spans": [
              [
                1192,
                49
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Build script declares a shell script invocation",
            "id": "metadata/package/scripts/build::build-shell-script-declaration",
            "spans": [
              [
                666,
                82
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Package declares build script",
            "id": "metadata/package/scripts/build::has-build-script-build",
            "spans": [
              [
                666,
                82
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package declares a prepublish-only script",
            "id": "metadata/package/scripts/build::has-prepublish-only",
            "spans": [
              [
                797,
                29
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Declares prepublishOnly or postversion key",
            "id": "metadata/package/scripts/build::has-release-scripts-2",
            "spans": [
              [
                797,
                17
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "Package declares a build script",
            "id": "metadata/package/scripts/build::pkg-build-script-field",
            "spans": [
              [
                666,
                82
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Package script runs a bundler or compiler",
            "id": "metadata/package/scripts/build::script-runs-bundler-cli",
            "spans": [
              [
                649,
                64
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "package.json declares a development script",
            "id": "metadata/package/scripts/develop::pkg-dev-script-field",
            "spans": [
              [
                765,
                17
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json contains literal author key",
            "id": "metadata/package/author/identity::author-key-text",
            "spans": [
              [
                1407,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "package.json declares author metadata",
            "id": "metadata/package/author/identity::has-author-field",
            "spans": [
              [
                1407,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "npm manifest has many devDependencies",
            "id": "metadata/package/dependencies/count::npm-many-dev-dependencies",
            "spans": [
              [
                1600,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package declares development dependencies",
            "id": "metadata/package/dependencies/presence::has-dev-deps",
            "spans": [
              [
                1600,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "npm manifest omits dependencies field",
            "id": "metadata/package/dependencies/presence::npm-no-dependencies-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "npm manifest declares no runtime dependencies",
            "id": "metadata/package/dependencies/presence::npm-no-runtime-dependencies",
            "uses": [
              24
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "npm manifest has only many devDependencies",
            "id": "metadata/package/dependencies/presence::npm-no-runtime-many-devdeps",
            "spans": [
              [
                1600,
                0
              ]
            ],
            "uses": [
              22,
              25
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "package.json contains literal description key",
            "id": "metadata/package/description/presence::description-key-text",
            "spans": [
              [
                50,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Package has meaningful description",
            "id": "metadata/package/description/presence::has-description",
            "spans": [
              [
                50,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest declares no activation events",
            "id": "metadata/package/entrypoint/extension::vscode-activation-events-absent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest declares no browser entry module",
            "id": "metadata/package/entrypoint/extension::vscode-browser-entry-absent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest contributes no configuration block",
            "id": "metadata/package/entrypoint/extension::vscode-configuration-contribution-absent"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json declares an exports map",
            "id": "metadata/package/entrypoint/module::has-exports-field",
            "spans": [
              [
                175,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package declares standard index entry",
            "id": "metadata/package/entrypoint/module::has-index-entry",
            "spans": [
              [
                560,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package main targets dist output",
            "id": "metadata/package/entrypoint/module::main-dist-entrypoint",
            "spans": [
              [
                560,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package main targets runtime tree",
            "id": "metadata/package/entrypoint/module::main-runtime-tree-entrypoint",
            "spans": [
              [
                560,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package module targets dist output",
            "id": "metadata/package/entrypoint/module::module-dist-entrypoint",
            "spans": [
              [
                588,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Published npm manifest declares runtime-tree entrypoint",
            "id": "metadata/package/entrypoint/module::npm-publish-runtime-tree-entrypoint",
            "spans": [
              [
                560,
                0
              ]
            ],
            "uses": [
              35,
              43
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package exports dist entrypoint",
            "id": "metadata/package/entrypoint/module::pkg-exports-dist-entrypoint",
            "spans": [
              [
                175,
                0
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "package.json declares a main entry point",
            "id": "metadata/package/entrypoint/module::pkg-main-field",
            "spans": [
              [
                560,
                0
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "\"module\": field in package.json",
            "id": "metadata/package/entrypoint/module::pkg-module-field",
            "spans": [
              [
                588,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package types targets dist output",
            "id": "metadata/package/entrypoint/module::types-dist-entrypoint",
            "spans": [
              [
                530,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package unpkg targets dist output",
            "id": "metadata/package/entrypoint/module::unpkg-dist-entrypoint",
            "spans": [
              [
                617,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Manifest sits at npm publish root",
            "id": "metadata/package/files/included::npm-publish-root-manifest"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package files list includes the dist directory",
            "id": "metadata/package/files/package-json::files-dist-ref",
            "spans": [
              [
                1099,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Package files list includes runtime tree",
            "id": "metadata/package/files/package-json::files-runtime-tree-ref",
            "spans": [
              [
                1099,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package has homepage URL",
            "id": "metadata/package/homepage::has-homepage-field",
            "spans": [
              [
                1536,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Package declares keywords",
            "id": "metadata/package/keywords/identity::has-keywords",
            "spans": [
              [
                1258,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "package.json contains literal license key",
            "id": "metadata/package/license::npm-license-key-text",
            "spans": [
              [
                1439,
                0
              ]
            ]
          },
          {
            "atk": "T1195.002",
            "conf": 0.97,
            "crit": 2,
            "desc": "Manifest declares a permissive SPDX license",
            "id": "metadata/package/license::permissive-license-declared",
            "spans": [
              [
                1439,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "npm manifest declares a package name",
            "id": "metadata/package/name/convention::npm-has-name",
            "spans": [
              [
                4,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "npm hyphenated multiword name",
            "id": "metadata/package/name/vocabulary::npm-hyphenated-multiword-name",
            "spans": [
              [
                4,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Package has bugs/issues URL",
            "id": "metadata/package/repository::has-bugs-url-field",
            "spans": [
              [
                1459,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "package.json declares repository metadata",
            "id": "metadata/package/repository::has-repository-field",
            "spans": [
              [
                1153,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "package.json declares a repository URL",
            "id": "metadata/package/repository::has-repository-url",
            "spans": [
              [
                1192,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "package.json declares repository type git",
            "id": "metadata/package/repository::repo-declares-git-type",
            "spans": [
              [
                1173,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Manifest has no contributes section",
            "id": "metadata/package/runtime::vscode-contributes-absent"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "package.json declares a test script",
            "id": "metadata/package/scripts/develop::has-test-script",
            "spans": [
              [
                852,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Package uses Jest testing framework",
            "id": "metadata/package/testing/presence/manifest::has-jest",
            "spans": [
              [
                860,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Package version uses numeric SemVer format",
            "id": "metadata/package/versioning/scheme::conventional-version-base",
            "spans": [
              [
                28,
                0
              ]
            ]
          },
          {
            "conf": 0.65,
            "crit": 2,
            "desc": "Mature package version",
            "id": "metadata/package/versioning/scheme::mature-package-version",
            "spans": [
              [
                28,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "package.json defines a package version",
            "id": "metadata/package/versioning/scheme::npm-has-version",
            "spans": [
              [
                28,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Version starts with a nonzero major number",
            "id": "metadata/package/versioning/scheme::npm-nonzero-major-version-prefix",
            "spans": [
              [
                28,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "npm manifest omits Ethers client",
            "id": "metadata/package/dependencies/presence::npm-manifest-omits-ethers-client"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "npm manifest omits Web3 client",
            "id": "metadata/package/dependencies/presence::npm-manifest-omits-web3-client"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "npm manifest omits Web3 and Ethers clients",
            "id": "metadata/package/dependencies/presence::npm-manifest-omits-web3-ethers",
            "uses": [
              63,
              64
            ]
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Manifest lacks grammars contribution field",
            "id": "metadata/package/runtime::vscode-grammars-contribution-absent-evidence"
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Manifest lacks languages contribution field",
            "id": "metadata/package/runtime::vscode-languages-contribution-absent-evidence"
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Manifest lacks localization contribution field",
            "id": "metadata/package/runtime::vscode-localizations-contribution-absent-evidence"
          }
        ],
        "type": "package.json"
      }
    ],
    "v": 8
  }
}