{"name":"apollo-reporting-protobuf","version":"0.300.0-alpha.4","description":"Protobuf format for Apollo usage reporting","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"git clean -fdX -- dist","prepare":"npm run clean && mkdir dist && npm run pbjs && npm run pbts && cp src/* dist","pbjs":"apollo-pbjs --target static-module --out dist/protobuf.js --wrap commonjs --force-number --no-from-object src/reports.proto","pbts":"apollo-pbts -o dist/protobuf.d.ts dist/protobuf.js","update-proto":"curl -sSfo src/reports.proto https://usage-reporting.api.apollographql.com/proto/reports.proto"},"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-server.git","directory":"packages/apollo-reporting-protobuf"},"keywords":["GraphQL","Apollo","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"homepage":"https://github.com/apollographql/apollo-server#readme","dependencies":{"@apollo/protobufjs":"1.2.2"},"devDependencies":{"chalk":"^1.1.3","escodegen":"^1.8.1","espree":"^3.1.3","estraverse":"^4.2.0","glob":"^7.1.1","semver":"^5.3.0","tmp":"0.0.31","uglify-js":"^2.8.15"},"gitHead":"97073f33d30f2d682655eb0e4dce1d7d43721807","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[`protobufjs`](https://www.npmjs.com/package/protobufjs) based on the\n`reports.proto` file. The output is generated with the `prepare` npm script.\n\nThe root of the repository provides the `devDependencies` necessary to build\nthese definitions (e.g. `pbjs`, `pbts`, `protobuf`, etc.) and the `prepare`\nnpm script is invoked programmatically via the monorepo tooling (e.g. Lerna)\nthanks to _this_ module's `postinstall` script.   Therefore, when making\nchanges to this module, `npx lerna run prepare` should be run from the **root**\nof this monorepo in order to update the definitions in _this_ module.\n","readmeFilename":"README.md","_id":"apollo-reporting-protobuf@0.300.0-alpha.4","_nodeVersion":"12.22.1","_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-QNAu7UfByHpm7O0VUMOM4kiNBDs1/N7ambsSgd+rzvOt1NPK2CCAEA7zbqdldAlWDNGGndBnaicTqBfQF+UVfw==","shasum":"c4a51e864869628d16c787fe001372281a6bafe6","tarball":"http://registry-npm.ywwl.com/apollo-reporting-protobuf/download/apollo-reporting-protobuf-0.300.0-alpha.4.tgz","fileCount":12,"unpackedSize":464030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglFAKCRA9TVsSAnZWagAANRwP/A2TTm8ItSJW+J/5Yfa3\nOvszBSEWUnZS4Iy/7l/QyJoUUgAgotmkDGIiP7+4D1Z2/yLI4VemU0Jka/fv\npYBUEeJ2rW+iNMUUK25ORaQmxgAi4sy9OHMReF/nHqL0soN3dHYEjtgVwWHj\nJp5kxZh5Ler9BGJa7TOj6CeuMyMfFI0UrfK8tmZaHHxj4ILQwhiyMBikctcE\ng+x0frMbGxEXDj5YH6Llzd/IVSxAr7n3z7nkqBESBolrpx6bP/KfHN2XYPdJ\nZBzoWNrUWnIxCV3HKBxOwL8f+RH4laZdAC/FbwPvulG8+R073ljBAzC9fIjQ\nD+5fezcifVzWRHVaoL4YWTIp0NGbf8unEBxQTAmIvROw8OYAAHLw1csIeQkm\nk71FZpG4K/aFcHseAEZK57Vf12rxuP7ekCx2v7QL2+5EQEN9TZiTHxu+v+G+\nu2Te47SE/R7wTp3x2tg34eTPUhYCT+6Nxc651NCZAasK8EWgQpBnpAZEk2dN\n9Ci1ZOwN6cSQpAUOvO9pnDj3gbavsYKje43SxfKOX1TbwxArb3gvGqTfwCXX\ntnoheBFhm0raS9T0UzKN1iz/0Zf3H5BQ0tDzDGNI1/EKrIhTcycqzoKFEehe\n3aBhRDoiv1tYE61XM+bBH8qXf8oeKF5Fk+PW8wt7Mey+1rTSQ8P2nAy1VQPV\n87/S\r\n=ejXN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELRVPWeuLbX5/OG+ddyzJdgCQP10RAZ6CMDgorSDLxfAiAl22Q9P+f9s6BZguwfJQKIlLvEcSyDV/rhOMZMHDNmVQ=="}],"size":43632,"noattachment":false,"key":"/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.300.0-alpha.4.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-reporting-protobuf_0.300.0-alpha.4_1620332553345_0.7054288141994376"},"_hasShrinkwrap":false,"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.","publish_time":1620332553640,"_cnpm_publish_time":1620332553640,"dist-tags":{"alpha":"3.3.0-alpha.1","latest":"3.4.0","next":"3.0.0","preview":"3.0.0-preview.1","rc":"3.0.0-rc.0","unified":"0.6.3-unified2.1"}}