{
  "name": "@elastic/transport",
  "version": "9.3.5",
  "description": "Transport classes and utilities shared among Node.js Elastic client libraries",
  "type": "commonjs",
  "main": "./index.js",
  "types": "index.d.ts",
  "exports": {
    ".": {
      "import": "./esm/index.js",
      "require": "./index.js",
      "types": "./index.d.ts"
    },
    "./package.json": "./package.json",
    "./lib/*": {
      "import": "./esm/*",
      "require": "./lib/*.js",
      "types": "./lib/*.d.ts"
    },
    "./*": {
      "import": "./esm/*",
      "require": "./*",
      "types": "./*.d.ts"
    }
  },
  "scripts": {
    "test": "npm run build && npm run lint && tap",
    "test:unit": "npm run build && tap test/unit/",
    "test:unit-bun": "bun run build && bunx tap test/unit/",
    "test:acceptance": "npm run build && tap test/acceptance/",
    "test:coverage-100": "npm run build && tap --show-full-coverage",
    "test:coverage-report": "npm test && tap report --coverage-report=lcov",
    "test:coverage-ui": "npm run build && tap --coverage-report=html",
    "lint": "ts-standard src",
    "lint:fix": "ts-standard --fix src",
    "license-checker": "license-checker --production --onlyAllow='MIT;Apache-2.0;Apache1.1;ISC;BSD-3-Clause;BSD-2-Clause;0BSD'",
    "license-header": "./scripts/check-spdx",
    "generate-version": "node scripts/generate-version.js",
    "prebuild": "npm run clean-build && npm run generate-version && npm run lint",
    "build": "npm run build:cjs && npm run build:esm && npm run build:esm-fix && npm run build:esm-package",
    "build:cjs": "tsc",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:esm-fix": "tsc-esm-fix --target=esm",
    "build:esm-package": "node -e \"require('fs').writeFileSync('esm/package.json', JSON.stringify({type:'module'}, null, 2))\"",
    "clean-build": "rimraf ./lib && mkdir lib && rimraf ./esm && mkdir esm",
    "prepublishOnly": "npm run build",
    "benchmark": "npm run build && npm run benchmark:mitata && npm run benchmark:gc",
    "benchmark:mitata": "node --expose-gc test/benchmark/benchmark.mjs",
    "benchmark:gc": "node --expose-gc test/benchmark/gc-tracking.mjs",
    "benchmark:pr-comment": "node scripts/generate-pr-comment.mjs"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/elastic/elastic-transport-js.git"
  },
  "keywords": [],
  "author": {
    "name": "Elastic Client Library Maintainers",
    "company": "Elastic BV"
  },
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/elastic/elastic-transport-js/issues"
  },
  "homepage": "https://github.com/elastic/elastic-transport-js#readme",
  "engines": {
    "node": ">=20"
  },
  "devDependencies": {
    "@opentelemetry/sdk-trace-base": "1.30.1",
    "@sinonjs/fake-timers": "14.0.0",
    "@types/debug": "4.1.12",
    "@types/ms": "2.1.0",
    "@types/node": "22.17.1",
    "@types/sinonjs__fake-timers": "8.1.5",
    "@types/stoppable": "1.1.3",
    "into-stream": "6.0.0",
    "license-checker": "25.0.1",
    "mitata": "1.0.34",
    "node-abort-controller": "3.1.1",
    "proxy": "2.2.0",
    "rimraf": "6.0.1",
    "stoppable": "1.1.0",
    "tap": "21.1.1",
    "ts-node": "10.9.2",
    "ts-standard": "12.0.2",
    "tsc-esm-fix": "3.1.2",
    "typescript": "5.9.3",
    "workq": "3.0.0"
  },
  "dependencies": {
    "@opentelemetry/api": "1.x",
    "@opentelemetry/core": "2.x",
    "debug": "^4.4.1",
    "hpagent": "^1.2.0",
    "ms": "^2.1.3",
    "secure-json-parse": "^4.0.0",
    "tslib": "^2.8.1",
    "undici": "^7.19.1"
  },
  "tap": {
    "disable-coverage": true,
    "files": [
      "test/unit/",
      "test/acceptance/"
    ],
    "allow-incomplete-coverage": true,
    "plugin": [
      "@tapjs/before"
    ]
  }
}
