{"bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f1a7ba44073bbc24f8730b1ea8c7b868a6a3392d","tarball":"https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-3.3.0-alpha.0.tgz","fileCount":12,"integrity":"sha512-NdO/wkCskKJU1rIDfrp6OzU67mFS95QGssmFaU26CTujfH8Gh3o7K6h8GnnlT71lf2XQFmnUEqmUeYkQokC7gg==","signatures":[{"sig":"MEQCIEcsS6l2valpwXTkw07E7W8fFzDhj7H7vJDx208ZqIKVAiAbbjs3PCEP7Zq15XRNkcSHaMoa8R4J1AF4eTjvMd12Kw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":457566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvQfUCRA9TVsSAnZWagAAhjAQAJE9KxE8s2ipp7A/aQdR\nquGyO8GlT0ICCzaxkthDchOajQBeha1waQUwXfmiDcRYiOlCIZjtmkryR2k+\nYci2MpBwYrG7g4JB+xdBz81grpyZLkjP7ZQxdeKLARyajNU/QHoa0VLt36cc\ndVcVlY3dIu09NEDi+uunUIIDCiVPpnwpUZT44KOviAsopcrVVZc9i6Y4rLNV\nUsygsJcQX0X6iJ3SideTvphLQEvrMti8p+EIW5kWmmCCuOPzfDDS0ly9krh9\n35gut9WtggGTp77Z88KLpIu01RtGrKKw3J5wFyY4Yhv7UCXLMglT/81kzL2g\nHAkZ5pukuWcRfztJvg0ZLvYfeyOng20DMddy6tzjr+wM1wG9QYjUmAnoWCIt\nNPkrnc1kI+i1FO2YNsJake2gk1lJf3wl+FwTcBjNjy26pENQwJUdolhrsZYn\nBNJiza3YiJG1rH8k8f5L6UBkN3mPcWOLLlAi1K6JOf+yMRYiqq0H8H+Txkov\nCcyFJspcC5jYsxrtX+O7fUZ78p2Cs7UsS7w/GkUXBofndefcq3h2UsGlENV2\nskXq2YYCXxszOBVoiJ0nWzuGStlS4/MuFFzzehHUb1G/BBRQ86ACY0tlZQz0\nEzD+ybiPlGRgHSzt/qkqullrub31V4TiaWOXpbttEsv7CfFwuRgkqYZeXk9v\nNBpV\r\n=0tVJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"generated/index.js","name":"apollo-reporting-protobuf","types":"generated/index.d.ts","author":{"name":"Apollo","email":"packages@apollographql.com"},"readme":"# `apollo-reporting-protobuf`\n\n> **Note:** The Apollo usage reporting API is subject to change.  We strongly\n> encourage developers to contact Apollo support at `support@apollographql.com`\n> to discuss their use case prior to building their own reporting agent using\n> this module.\n\nThis module provides JavaScript/TypeScript\n[Protocol buffer](https://developers.google.com/protocol-buffers/) definitions\nfor the Apollo usage reporting API.  These definitions are generated for\nconsumption from the `reports.proto` file which is defined internally within\nApollo.\n\n## Development\n\n> **Note:** Due to a dependency on Unix tools (e.g. `bash`, `grep`, etc.), the\n> development of this module requires a Unix system.  There is no reason why\n> this can't be avoided, the time just hasn't been taken to make those changes.\n> We'd happily accept a PR which makes the appropriate changes!\n\nCurrently, this package generates a majority of its code with\n`@apollo/protobufjs` (a fork of\n[`protobufjs`](https://www.npmjs.com/package/protobufjs) that we maintain\nspecifically for this package) based on the `reports.proto` file. The output is\ngenerated with the `generate` npm script.\n\nThe root of the repository provides some `devDependencies` necessary to build\nthese definitions qand the `prepare` npm script is invoked programmatically via\nthe monorepo tooling (e.g. Lerna) thanks to _this_ module's `postinstall`\nscript.  Therefore, when making changes to this module, run scripts via `npx\nlerna run SCRIPTNAME` in the **root** of this monorepo in order to update the\ndefinitions in _this_ module.\n\nTo update `reports.proto` to the current version recognized by the Studio usage\nreporting ingress, run `lerna run update-proto`. To then regenerate the JS and\nTS files, run `npx lerna run generate`. We check in the generated code and only\nregenerate it manually, partially to make builds faster (no need to run pbjs on\nevery `npm install`) and partially so that we don't have to make sure that\n`pbjs` runs on every Node version that we support.\n","gitHead":"2c352a9e0c5a48b8cfec145bec52cad2f0a73fa4","license":"MIT","scripts":{"pbjs":"apollo-pbjs --target static-module --out generated/protobuf.js --wrap commonjs --force-number --no-from-object src/reports.proto","pbts":"apollo-pbts -o generated/protobuf.d.ts generated/protobuf.js","generate":"rm -rf generated && mkdir generated && npm run pbjs && npm run pbts && cp src/* generated","update-proto":"curl -sSfo src/reports.proto https://usage-reporting.api.apollographql.com/proto/reports.proto"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-server#readme","keywords":["GraphQL","Apollo","Server","Javascript"],"deprecated":"The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-reporting-protobuf"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Protobuf format for Apollo usage reporting","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"12.22.7","dependencies":{"@apollo/protobufjs":"1.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/apollo-reporting-protobuf_3.3.0-alpha.0_1639778260076_0.13465854539512812","host":"s3://npm-registry-packages"},"_id":"apollo-reporting-protobuf@3.3.0-alpha.0","version":"3.3.0-alpha.0"}