{
  "name": "firebase-functions",
  "version": "7.2.2",
  "description": "Firebase SDK for Cloud Functions",
  "keywords": [
    "firebase",
    "functions",
    "google",
    "cloud"
  ],
  "homepage": "https://github.com/firebase/firebase-functions#readme",
  "bugs": {
    "url": "https://github.com/firebase/firebase-functions/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/firebase/firebase-functions.git"
  },
  "license": "MIT",
  "author": "Firebase Team",
  "files": [
    ".guides",
    "lib",
    "protos"
  ],
  "main": "lib/v2/index.js",
  "bin": {
    "firebase-functions": "./lib/bin/firebase-functions.js"
  },
  "types": "lib/v2/index.d.ts",
  "sideEffects": [
    "./lib/logger/compat.js",
    "./lib/esm/logger/compat.mjs"
  ],
  "exports": {
    "./logger/compat": {
      "types": "./lib/logger/compat.d.ts",
      "import": "./lib/esm/logger/compat.mjs",
      "require": "./lib/logger/compat.js"
    },
    "./logger": {
      "types": "./lib/logger/index.d.ts",
      "import": "./lib/esm/logger/index.mjs",
      "require": "./lib/logger/index.js"
    },
    "./params": {
      "types": "./lib/params/index.d.ts",
      "import": "./lib/esm/params/index.mjs",
      "require": "./lib/params/index.js"
    },
    "./v1": {
      "types": "./lib/v1/index.d.ts",
      "import": "./lib/esm/v1/index.mjs",
      "require": "./lib/v1/index.js"
    },
    "./v1/analytics": {
      "types": "./lib/v1/providers/analytics.d.ts",
      "import": "./lib/esm/v1/providers/analytics.mjs",
      "require": "./lib/v1/providers/analytics.js"
    },
    "./v1/auth": {
      "types": "./lib/v1/providers/auth.d.ts",
      "import": "./lib/esm/v1/providers/auth.mjs",
      "require": "./lib/v1/providers/auth.js"
    },
    "./v1/database": {
      "types": "./lib/v1/providers/database.d.ts",
      "import": "./lib/esm/v1/providers/database.mjs",
      "require": "./lib/v1/providers/database.js"
    },
    "./v1/firestore": {
      "types": "./lib/v1/providers/firestore.d.ts",
      "import": "./lib/esm/v1/providers/firestore.mjs",
      "require": "./lib/v1/providers/firestore.js"
    },
    "./v1/https": {
      "types": "./lib/v1/providers/https.d.ts",
      "import": "./lib/esm/v1/providers/https.mjs",
      "require": "./lib/v1/providers/https.js"
    },
    "./v1/pubsub": {
      "types": "./lib/v1/providers/pubsub.d.ts",
      "import": "./lib/esm/v1/providers/pubsub.mjs",
      "require": "./lib/v1/providers/pubsub.js"
    },
    "./v1/remoteConfig": {
      "types": "./lib/v1/providers/remoteConfig.d.ts",
      "import": "./lib/esm/v1/providers/remoteConfig.mjs",
      "require": "./lib/v1/providers/remoteConfig.js"
    },
    "./v1/storage": {
      "types": "./lib/v1/providers/storage.d.ts",
      "import": "./lib/esm/v1/providers/storage.mjs",
      "require": "./lib/v1/providers/storage.js"
    },
    "./v1/tasks": {
      "types": "./lib/v1/providers/tasks.d.ts",
      "import": "./lib/esm/v1/providers/tasks.mjs",
      "require": "./lib/v1/providers/tasks.js"
    },
    "./v1/testLab": {
      "types": "./lib/v1/providers/testLab.d.ts",
      "import": "./lib/esm/v1/providers/testLab.mjs",
      "require": "./lib/v1/providers/testLab.js"
    },
    ".": {
      "types": "./lib/v2/index.d.ts",
      "import": "./lib/esm/v2/index.mjs",
      "require": "./lib/v2/index.js"
    },
    "./core": {
      "types": "./lib/v2/core.d.ts",
      "import": "./lib/esm/v2/core.mjs",
      "require": "./lib/v2/core.js"
    },
    "./options": {
      "types": "./lib/v2/options.d.ts",
      "import": "./lib/esm/v2/options.mjs",
      "require": "./lib/v2/options.js"
    },
    "./https": {
      "types": "./lib/v2/providers/https.d.ts",
      "import": "./lib/esm/v2/providers/https.mjs",
      "require": "./lib/v2/providers/https.js"
    },
    "./pubsub": {
      "types": "./lib/v2/providers/pubsub.d.ts",
      "import": "./lib/esm/v2/providers/pubsub.mjs",
      "require": "./lib/v2/providers/pubsub.js"
    },
    "./storage": {
      "types": "./lib/v2/providers/storage.d.ts",
      "import": "./lib/esm/v2/providers/storage.mjs",
      "require": "./lib/v2/providers/storage.js"
    },
    "./tasks": {
      "types": "./lib/v2/providers/tasks.d.ts",
      "import": "./lib/esm/v2/providers/tasks.mjs",
      "require": "./lib/v2/providers/tasks.js"
    },
    "./alerts": {
      "types": "./lib/v2/providers/alerts/index.d.ts",
      "import": "./lib/esm/v2/providers/alerts/index.mjs",
      "require": "./lib/v2/providers/alerts/index.js"
    },
    "./alerts/appDistribution": {
      "types": "./lib/v2/providers/alerts/appDistribution.d.ts",
      "import": "./lib/esm/v2/providers/alerts/appDistribution.mjs",
      "require": "./lib/v2/providers/alerts/appDistribution.js"
    },
    "./alerts/billing": {
      "types": "./lib/v2/providers/alerts/billing.d.ts",
      "import": "./lib/esm/v2/providers/alerts/billing.mjs",
      "require": "./lib/v2/providers/alerts/billing.js"
    },
    "./alerts/crashlytics": {
      "types": "./lib/v2/providers/alerts/crashlytics.d.ts",
      "import": "./lib/esm/v2/providers/alerts/crashlytics.mjs",
      "require": "./lib/v2/providers/alerts/crashlytics.js"
    },
    "./alerts/performance": {
      "types": "./lib/v2/providers/alerts/performance.d.ts",
      "import": "./lib/esm/v2/providers/alerts/performance.mjs",
      "require": "./lib/v2/providers/alerts/performance.js"
    },
    "./eventarc": {
      "types": "./lib/v2/providers/eventarc.d.ts",
      "import": "./lib/esm/v2/providers/eventarc.mjs",
      "require": "./lib/v2/providers/eventarc.js"
    },
    "./identity": {
      "types": "./lib/v2/providers/identity.d.ts",
      "import": "./lib/esm/v2/providers/identity.mjs",
      "require": "./lib/v2/providers/identity.js"
    },
    "./database": {
      "types": "./lib/v2/providers/database.d.ts",
      "import": "./lib/esm/v2/providers/database.mjs",
      "require": "./lib/v2/providers/database.js"
    },
    "./scheduler": {
      "types": "./lib/v2/providers/scheduler.d.ts",
      "import": "./lib/esm/v2/providers/scheduler.mjs",
      "require": "./lib/v2/providers/scheduler.js"
    },
    "./remoteConfig": {
      "types": "./lib/v2/providers/remoteConfig.d.ts",
      "import": "./lib/esm/v2/providers/remoteConfig.mjs",
      "require": "./lib/v2/providers/remoteConfig.js"
    },
    "./testLab": {
      "types": "./lib/v2/providers/testLab.d.ts",
      "import": "./lib/esm/v2/providers/testLab.mjs",
      "require": "./lib/v2/providers/testLab.js"
    },
    "./firestore": {
      "types": "./lib/v2/providers/firestore.d.ts",
      "import": "./lib/esm/v2/providers/firestore.mjs",
      "require": "./lib/v2/providers/firestore.js"
    },
    "./dataconnect": {
      "types": "./lib/v2/providers/dataconnect/index.d.ts",
      "import": "./lib/esm/v2/providers/dataconnect/index.mjs",
      "require": "./lib/v2/providers/dataconnect/index.js"
    },
    "./dataconnect/graphql": {
      "types": "./lib/v2/providers/dataconnect/graphql.d.ts",
      "import": "./lib/esm/v2/providers/dataconnect/graphql.mjs",
      "require": "./lib/v2/providers/dataconnect/graphql.js"
    },
    "./v2": {
      "types": "./lib/v2/index.d.ts",
      "import": "./lib/esm/v2/index.mjs",
      "require": "./lib/v2/index.js"
    },
    "./v2/core": {
      "types": "./lib/v2/core.d.ts",
      "import": "./lib/esm/v2/core.mjs",
      "require": "./lib/v2/core.js"
    },
    "./v2/options": {
      "types": "./lib/v2/options.d.ts",
      "import": "./lib/esm/v2/options.mjs",
      "require": "./lib/v2/options.js"
    },
    "./v2/https": {
      "types": "./lib/v2/providers/https.d.ts",
      "import": "./lib/esm/v2/providers/https.mjs",
      "require": "./lib/v2/providers/https.js"
    },
    "./v2/pubsub": {
      "types": "./lib/v2/providers/pubsub.d.ts",
      "import": "./lib/esm/v2/providers/pubsub.mjs",
      "require": "./lib/v2/providers/pubsub.js"
    },
    "./v2/storage": {
      "types": "./lib/v2/providers/storage.d.ts",
      "import": "./lib/esm/v2/providers/storage.mjs",
      "require": "./lib/v2/providers/storage.js"
    },
    "./v2/tasks": {
      "types": "./lib/v2/providers/tasks.d.ts",
      "import": "./lib/esm/v2/providers/tasks.mjs",
      "require": "./lib/v2/providers/tasks.js"
    },
    "./v2/alerts": {
      "types": "./lib/v2/providers/alerts/index.d.ts",
      "import": "./lib/esm/v2/providers/alerts/index.mjs",
      "require": "./lib/v2/providers/alerts/index.js"
    },
    "./v2/alerts/appDistribution": {
      "types": "./lib/v2/providers/alerts/appDistribution.d.ts",
      "import": "./lib/esm/v2/providers/alerts/appDistribution.mjs",
      "require": "./lib/v2/providers/alerts/appDistribution.js"
    },
    "./v2/alerts/billing": {
      "types": "./lib/v2/providers/alerts/billing.d.ts",
      "import": "./lib/esm/v2/providers/alerts/billing.mjs",
      "require": "./lib/v2/providers/alerts/billing.js"
    },
    "./v2/alerts/crashlytics": {
      "types": "./lib/v2/providers/alerts/crashlytics.d.ts",
      "import": "./lib/esm/v2/providers/alerts/crashlytics.mjs",
      "require": "./lib/v2/providers/alerts/crashlytics.js"
    },
    "./v2/alerts/performance": {
      "types": "./lib/v2/providers/alerts/performance.d.ts",
      "import": "./lib/esm/v2/providers/alerts/performance.mjs",
      "require": "./lib/v2/providers/alerts/performance.js"
    },
    "./v2/eventarc": {
      "types": "./lib/v2/providers/eventarc.d.ts",
      "import": "./lib/esm/v2/providers/eventarc.mjs",
      "require": "./lib/v2/providers/eventarc.js"
    },
    "./v2/identity": {
      "types": "./lib/v2/providers/identity.d.ts",
      "import": "./lib/esm/v2/providers/identity.mjs",
      "require": "./lib/v2/providers/identity.js"
    },
    "./v2/database": {
      "types": "./lib/v2/providers/database.d.ts",
      "import": "./lib/esm/v2/providers/database.mjs",
      "require": "./lib/v2/providers/database.js"
    },
    "./v2/scheduler": {
      "types": "./lib/v2/providers/scheduler.d.ts",
      "import": "./lib/esm/v2/providers/scheduler.mjs",
      "require": "./lib/v2/providers/scheduler.js"
    },
    "./v2/remoteConfig": {
      "types": "./lib/v2/providers/remoteConfig.d.ts",
      "import": "./lib/esm/v2/providers/remoteConfig.mjs",
      "require": "./lib/v2/providers/remoteConfig.js"
    },
    "./v2/testLab": {
      "types": "./lib/v2/providers/testLab.d.ts",
      "import": "./lib/esm/v2/providers/testLab.mjs",
      "require": "./lib/v2/providers/testLab.js"
    },
    "./v2/firestore": {
      "types": "./lib/v2/providers/firestore.d.ts",
      "import": "./lib/esm/v2/providers/firestore.mjs",
      "require": "./lib/v2/providers/firestore.js"
    },
    "./v2/dataconnect": {
      "types": "./lib/v2/providers/dataconnect/index.d.ts",
      "import": "./lib/esm/v2/providers/dataconnect/index.mjs",
      "require": "./lib/v2/providers/dataconnect/index.js"
    },
    "./v2/dataconnect/graphql": {
      "types": "./lib/v2/providers/dataconnect/graphql.d.ts",
      "import": "./lib/esm/v2/providers/dataconnect/graphql.mjs",
      "require": "./lib/v2/providers/dataconnect/graphql.js"
    }
  },
  "typesVersions": {
    "*": {
      "logger": [
        "lib/logger/index"
      ],
      "logger/compat": [
        "lib/logger/compat"
      ],
      "params": [
        "lib/params/index"
      ],
      "v1": [
        "lib/v1/index"
      ],
      "v1/analytics": [
        "lib/v1/providers/analytics"
      ],
      "v1/auth": [
        "lib/v1/providers/auth"
      ],
      "v1/database": [
        "lib/v1/providers/database"
      ],
      "v1/firestore": [
        "lib/v1/providers/firestore"
      ],
      "v1/https": [
        "lib/v1/providers/https"
      ],
      "v1/pubsub": [
        "lib/v1/providers/pubsub"
      ],
      "v1/remoteConfig": [
        "lib/v1/providers/remoteConfig"
      ],
      "v1/storage": [
        "lib/v1/providers/storage"
      ],
      "v1/tasks": [
        "lib/v1/providers/tasks"
      ],
      "v1/testLab": [
        "lib/v1/providers/testLab"
      ],
      "core": [
        "lib/v2/core"
      ],
      "options": [
        "lib/v2/options"
      ],
      "https": [
        "lib/v2/providers/https"
      ],
      "pubsub": [
        "lib/v2/providers/pubsub"
      ],
      "storage": [
        "lib/v2/providers/storage"
      ],
      "tasks": [
        "lib/v2/providers/tasks"
      ],
      "alerts": [
        "lib/v2/providers/alerts/index"
      ],
      "alerts/appDistribution": [
        "lib/v2/providers/alerts/appDistribution"
      ],
      "alerts/billing": [
        "lib/v2/providers/alerts/billing"
      ],
      "alerts/crashlytics": [
        "lib/v2/providers/alerts/crashlytics"
      ],
      "alerts/performance": [
        "lib/v2/providers/alerts/performance"
      ],
      "eventarc": [
        "lib/v2/providers/eventarc"
      ],
      "identity": [
        "lib/v2/providers/identity"
      ],
      "database": [
        "lib/v2/providers/database"
      ],
      "scheduler": [
        "lib/v2/providers/scheduler"
      ],
      "remoteConfig": [
        "lib/v2/providers/remoteConfig"
      ],
      "testLab": [
        "lib/v2/providers/testLab"
      ],
      "firestore": [
        "lib/v2/providers/firestore"
      ],
      "dataconnect": [
        "lib/v2/providers/dataconnect/index"
      ],
      "dataconnect/graphql": [
        "lib/v2/providers/dataconnect/graphql"
      ],
      "v2": [
        "lib/v2/index"
      ],
      "v2/core": [
        "lib/v2/core"
      ],
      "v2/alerts": [
        "lib/v2/providers/alerts/index"
      ],
      "v2/alerts/appDistribution": [
        "lib/v2/providers/alerts/appDistribution"
      ],
      "v2/alerts/billing": [
        "lib/v2/providers/alerts/billing"
      ],
      "v2/alerts/crashlytics": [
        "lib/v2/providers/alerts/crashlytics"
      ],
      "v2/alerts/performance": [
        "lib/v2/providers/alerts/performance"
      ],
      "v2/base": [
        "lib/v2/base"
      ],
      "v2/database": [
        "lib/v2/providers/database"
      ],
      "v2/eventarc": [
        "lib/v2/providers/eventarc"
      ],
      "v2/identity": [
        "lib/v2/providers/identity"
      ],
      "v2/options": [
        "lib/v2/options"
      ],
      "v2/https": [
        "lib/v2/providers/https"
      ],
      "v2/pubsub": [
        "lib/v2/providers/pubsub"
      ],
      "v2/storage": [
        "lib/v2/providers/storage"
      ],
      "v2/tasks": [
        "lib/v2/providers/tasks"
      ],
      "v2/scheduler": [
        "lib/v2/providers/scheduler"
      ],
      "v2/remoteConfig": [
        "lib/v2/providers/remoteConfig"
      ],
      "v2/testLab": [
        "lib/v2/providers/testLab"
      ],
      "v2/firestore": [
        "lib/v2/providers/firestore"
      ],
      "v2/dataconnect": [
        "lib/v2/providers/dataconnect/index"
      ],
      "v2/dataconnect/graphql": [
        "lib/v2/providers/dataconnect/graphql"
      ],
      "*": [
        "lib/v2/index.d.ts"
      ]
    }
  },
  "publishConfig": {
    "registry": "https://wombat-dressing-room.appspot.com"
  },
  "scripts": {
    "docgen:v1:extract": "api-extractor run -c docgen/api-extractor.v1.json --local",
    "docgen:v1:toc": "ts-node docgen/toc.ts --input docgen/v1 --output docgen/v1/markdown/toc --path /docs/reference/functions",
    "docgen:v1:gen": "api-documenter-fire markdown -i docgen/v1 -o docgen/v1/markdown --project functions && npm run docgen:v1:toc",
    "docgen:v1": "npm run build && npm run docgen:v1:extract && npm run docgen:v1:gen",
    "docgen:v2:extract": "api-extractor run -c docgen/api-extractor.v2.json --local",
    "docgen:v2:toc": "ts-node docgen/toc.ts --input docgen/v2 --output docgen/v2/markdown/toc --path /docs/reference/functions/2nd-gen/node",
    "docgen:v2:gen": "api-documenter-fire markdown -i docgen/v2 -o docgen/v2/markdown --project functions && npm run docgen:v2:toc",
    "docgen:v2": "npm run build && npm run docgen:v2:extract && npm run docgen:v2:gen",
    "build": "tsdown && tsc -p tsconfig.release.json",
    "build:pack": "rm -rf lib && npm install && npm run build && npm pack",
    "build:watch": "npm run build -- -w",
    "format": "npm run format:ts && npm run format:other",
    "format:other": "npm run lint:other -- --write",
    "format:ts": "npm run lint:ts -- --fix --quiet",
    "lint": "npm run lint:ts && npm run lint:other",
    "lint:other": "prettier --check '**/*.{md,yaml,yml}'",
    "lint:quiet": "npm run lint:ts -- --quiet && npm run lint:other",
    "lint:ts": "eslint .",
    "test": "mocha --file ./mocha/setup.ts \"spec/**/*.spec.ts\"",
    "test:bin": "./scripts/bin-test/run.sh",
    "test:packaging": "./scripts/test-packaging.sh",
    "test:postmerge": "./integration_test/run_tests.sh"
  },
  "dependencies": {
    "@types/cors": "^2.8.5",
    "@types/express": "^4.17.21",
    "cors": "^2.8.5",
    "express": "^4.21.0",
    "protobufjs": "^7.2.2"
  },
  "devDependencies": {
    "@apollo/server": "^5.2.0",
    "@as-integrations/express4": "^1.1.2",
    "@eslint/eslintrc": "^3.3.1",
    "@firebase/api-documenter": "^0.2.0",
    "@microsoft/api-documenter": "^7.13.45",
    "@microsoft/api-extractor": "^7.18.7",
    "@types/chai": "^4.1.7",
    "@types/chai-as-promised": "^7.1.0",
    "@types/jsonwebtoken": "^9.0.0",
    "@types/mocha": "^5.2.7",
    "@types/mock-require": "^2.0.0",
    "@types/nock": "^10.0.3",
    "@types/node": "^18.0.0",
    "@types/node-fetch": "^3.0.3",
    "@types/sinon": "^9.0.11",
    "@typescript-eslint/eslint-plugin": "^8.46.2",
    "@typescript-eslint/parser": "^8.46.2",
    "api-extractor-model-me": "^0.1.1",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "child-process-promise": "^2.2.1",
    "eslint": "^9.38.0",
    "eslint-config-google": "^0.14.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-jsdoc": "^61.1.9",
    "eslint-plugin-prettier": "^4.2.1",
    "firebase-admin": "^13.0.0",
    "genkit": "^1.0.0-rc.4",
    "graphql": "^16.12.0",
    "jsdom": "^16.2.1",
    "jsonwebtoken": "^9.0.0",
    "jwk-to-pem": "^2.0.5",
    "mocha": "^10.2.0",
    "mock-require": "^3.0.3",
    "mz": "^2.7.0",
    "nock": "^13.2.9",
    "node-fetch": "^2.6.7",
    "portfinder": "^1.0.28",
    "prettier": "^2.8.8",
    "protobufjs-cli": "^1.1.1",
    "semver": "^7.3.5",
    "sinon": "^9.2.4",
    "ts-node": "^10.4.0",
    "tsdown": "^0.15.11",
    "typescript": "^5.9.3",
    "yaml": "^2.8.1",
    "yargs": "^15.3.1"
  },
  "peerDependencies": {
    "@apollo/server": "^5.2.0",
    "@as-integrations/express4": "^1.1.2",
    "graphql": "^16.12.0",
    "firebase-admin": "^11.10.0 || ^12.0.0 || ^13.0.0"
  },
  "peerDependenciesMeta": {
    "@apollo/server": {
      "optional": true
    },
    "@as-integrations/express4": {
      "optional": true
    },
    "graphql": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=18.0.0"
  }
}
