wasm-rquickjs-cli 0.4.7

Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
{
  "apps": {
    "module-interop": {
      "category": "runnable",
      "reason": "Synthetic npm-installed app covering CJS/ESM/package graph behavior",
      "tests": {
        "test-01-esm-import-cjs.js": "ESM app imports named/default exports from installed CJS packages",
        "test-02-cjs-require-esm.cjs": "CJS app requires an installed synchronous ESM package",
        "test-03-package-exports-imports.js": "Installed packages use conditional exports, subpaths, and package imports aliases",
        "test-04-cycle-require-esm.cjs": "CJS require(esm) cycle inside an installed package reports ERR_REQUIRE_CYCLE_MODULE",
        "test-05-tla-require.cjs": "CJS require() of installed TLA ESM reports ERR_REQUIRE_ASYNC_MODULE and dynamic import still works",
        "test-06-conditional-import-graph.cjs": "Graph scanning follows import conditions for static ESM package imports",
        "test-07-conditional-import-no-false-positive.cjs": "Graph scanning does not mark module-sync branches for static ESM package imports",
        "test-08-conditional-imports-alias-graph.cjs": "Graph scanning follows import conditions for package imports aliases",
        "test-09-create-require-alias-cycle.cjs": "Graph scanning handles createRequire aliases in ESM modules",
        "test-10-already-evaluated-dependency.cjs": "CJS bridge can require an already evaluated ESM dependency",
        "test-11-module-sync-before-import-graph.cjs": "Graph scanning honors module-sync before import in package exports",
        "test-12-module-sync-before-imports-alias-graph.cjs": "Graph scanning honors module-sync before import in package imports aliases",
        "test-13-scanner-false-positive-guards.cjs": "Graph scanning avoids property require, non-call createRequire, local createRequire, and nested CJS require false positives",
        "test-14-exports-patterns.mjs": "Package exports wildcard patterns resolve for ESM, module-sync, and CJS require",
        "test-15-imports-patterns.cjs": "Package imports wildcard patterns resolve for CJS require",
        "test-16-shim-patterns.mjs": "OpenAI-style _shims/auto wildcard package exports resolve",
        "test-17-cjs-lexer-parity.mjs": "Node-baselined cjs-module-lexer parity for module.exports object literals, spread require reexports, and Object.keys callback assignment reexports",
        "test-18-cjs-lexer-helper-reexports.mjs": "Node-baselined cjs-module-lexer parity for __export/__exportStar helper reexport patterns",
        "test-19-cjs-lexer-exports-assign.mjs": "Node-baselined cjs-module-lexer parity for EXPORTS_ASSIGN require bindings and documented export-star guard variants",
        "test-20-cjs-lexer-define-property.mjs": "Node-baselined cjs-module-lexer parity for Object.defineProperty descriptor export patterns",
        "test-21-cross-path-resolver-parity.mjs": "Cross-path parity for CJS require and ESM import/import.meta.resolve through equivalent package exports and imports maps"
      }
    },
    "popular-pure-js": {
      "category": "runnable",
      "reason": "Popular pure-JS npm packages installed as a real app with node_modules attached as filesystem",
      "tests": {
        "test-01-cjs-utilities.cjs": "Classic CommonJS utilities and transitive dependencies",
        "test-02-modern-esm.mjs": "Modern ESM and exports-heavy packages",
        "test-03-date-fns-subpaths.mjs": "Package subpath exports",
        "test-04-dotenv-fs.cjs": "Filesystem-backed configuration loading",
        "test-05-ajv.cjs": "Larger CommonJS validation package graph",
        "test-06-rxjs.mjs": "RxJS package exports and operator subpaths"
      }
    },
    "http-clients": {
      "category": "runnable",
      "reason": "HTTP client packages installed as a real app with node_modules attached as filesystem; tests avoid external network by using custom fetch/adapter paths",
      "tests": {
        "test-01-axios.cjs": "Axios CommonJS load, custom adapter, and interceptors",
        "test-02-fetch-ky.mjs": "node-fetch and ky ESM package loading with local data/custom fetch paths",
        "test-03-graphql-request.mjs": "graphql-request client execution with custom fetch"
      }
    },
    "crypto-auth": {
      "category": "runnable",
      "reason": "Authentication and crypto-adjacent pure-JS packages installed as a real app with node_modules attached as filesystem",
      "tests": {
        "test-01-jsonwebtoken-bcrypt.cjs": "jsonwebtoken and bcryptjs CommonJS execution",
        "test-02-jose.mjs": "jose ESM JWT signing and verification",
        "test-03-nanoid-cookie.mjs": "nanoid, cookie, and cookie-signature package interop"
      }
    },
    "data-formats": {
      "category": "runnable",
      "reason": "Data parsing and serialization packages installed as a real app with node_modules attached as filesystem",
      "tests": {
        "test-01-csv.cjs": "papaparse and csv-parse CommonJS CSV parsing",
        "test-02-yaml-xml.cjs": "yaml and xml2js parsing/serialization",
        "test-03-binary-protobuf.cjs": "msgpackr and protobufjs binary serialization"
      }
    },
    "fs-template-config": {
      "category": "runnable",
      "reason": "Configuration, templating, and filesystem glob packages installed as a real app with node_modules attached as filesystem",
      "tests": {
        "test-01-config-parsers.cjs": "ini and toml config parsing",
        "test-02-template-engines.cjs": "ejs, handlebars, and mustache rendering",
        "test-03-fast-glob-fs.cjs": "fast-glob filesystem traversal"
      }
    },
    "validation-schema": {
      "category": "runnable",
      "reason": "Validation packages installed as a real app with node_modules attached as filesystem",
      "tests": {
        "test-01-joi-yup.cjs": "joi and yup validation",
        "test-02-superstruct-valibot.mjs": "superstruct and valibot validation"
      }
    },
    "logging-observability": {
      "category": "runnable",
      "reason": "Logging and observability packages installed as a real app with node_modules attached as filesystem; tests avoid subprocesses/transports",
      "tests": {
        "test-01-loggers.cjs": "pino, loglevel, and winston API loading without transports/processes",
        "test-02-consola-otel.mjs": "consola and OpenTelemetry API loading"
      }
    },
    "cloud-sdk-offline": {
      "category": "runnable",
      "reason": "Cloud SDK packages installed as a real app with node_modules attached as filesystem; tests use offline constructors/API shapes only",
      "tests": {
        "test-01-openai.mjs": "OpenAI SDK offline client surface",
        "test-02-anthropic.mjs": "Anthropic SDK offline client surface",
        "test-03-aws-s3.mjs": "AWS S3 SDK offline client and command construction",
        "test-04-stripe.cjs": "Stripe SDK offline client surface"
      }
    },
    "db-clients-offline": {
      "category": "runnable",
      "reason": "Database client packages installed as a real app with node_modules attached as filesystem; tests avoid network connections",
      "tests": {
        "test-01-sql-builders.cjs": "knex query builder offline execution",
        "test-02-pg-mysql.cjs": "pg and mysql2 client construction without connecting",
        "test-03-mongodb-redis.mjs": {
          "coverage": "mongodb and redis client construction without connecting",
          "flaky": true,
          "reason": "Passes focused but can trap in string_decoder under concurrent group9 load"
        },
        "test-04-drizzle.mjs": "drizzle-orm schema helpers offline execution"
      }
    }
  }
}