{"name":"@apollo/utils.stripsensitiveliterals","version":"1.2.0","description":"Remove literals from an AST which might contain PII (strings and numbers, and optionally lists and objects)","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-utils.git","directory":"stripSensitiveLiterals/"},"keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","engines":{"node":">=12.13.0"},"publishConfig":{"access":"public"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x"},"gitHead":"70f7ccf2de2af598ef638d5440286f6ac51035d8","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"homepage":"https://github.com/apollographql/apollo-utils#readme","_id":"@apollo/utils.stripsensitiveliterals@1.2.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-E41rDUzkz/cdikM5147d8nfCFVKovXxKBcjvLEQ7bjZm/cg9zEcXvS6vFY8ugTubI3fn6zoqo0CyU8zT+BGP9w==","shasum":"4920651f36beee8e260e12031a0c5863ad0c7b28","tarball":"http://registry-npm.ywwl.com/@apollo/utils.stripsensitiveliterals/download/@apollo/utils.stripsensitiveliterals-1.2.0.tgz","fileCount":9,"unpackedSize":8969,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDa+3nmAwuw/ozPSe/Uvm3pNBynTvRLuC1zzUmFgsKImwIgEC0PlE0WNs8bmQAzJ6KZFDilxp/7FKCvEytIiinFvM8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihoRYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/MxAAjq9+Geh2iefArMD/SG/KTy7txsM6UWMe9Hw5wwfBWZyknldw\r\nScKicziZ4fGVi2k2Wu/GRPy8tQ46G8l6jVdWVYsGxDMyKzNbV6TQK4zK3z4M\r\niWJ47DBnKgyD/FRsd0tXFBZ9mBWHVIU2G4HO+3uzyQoPzy49yNdSRxLBrGd6\r\nRWibW5CDCjWJeXXAvi2WkXrsi0sULRiSJJC/yZE6Y7Wb3Zb9VbSlc+ts35Zp\r\nh06S3iEclKjYWW6CRD3vLfWcy0aJYGJpG3o6h0MoyRrjFhelyndi2xHFUkB/\r\nmHuOg9gFjwQ9LWTiwYG33715hQGlub0CYq0GJDw1IVGZ/QymwW0SOpkp8JoZ\r\nf0Xn9kjYgjuuAEaVZGjTQ7JquvbcEI2vhYH5xWGJh7HCI1DisXWBBQj5HI49\r\nQbCX0tcygCBIsc9gvYAiKFOwd39K96QlTCSwivE1Be+l2S3wHSbmtYH0uJB4\r\nzajCCuOIriz/Ovi91JfRB9G3lL7Ctkso/UowYigq6vBQyVkWUoL8C+Hgmd7P\r\nb/XsPhVdRg/ZpM6R/ELTwdUdr3Vy04rPlfiD58d7PlzvFmUG6dUljAIbMPMf\r\ndnnMSL72z+MhoxQa2hM1kcuIcDuz8+NSPozSDQaAsFrkhfi+2jOykso0uRYo\r\nUcPHqZFMeTJsacvjo2HwCjg7i2Uek9eaR4k=\r\n=f5K9\r\n-----END PGP SIGNATURE-----\r\n","size":3015,"noattachment":false,"key":"/@apollo/utils.stripsensitiveliterals/-/@apollo/utils.stripsensitiveliterals-1.2.0.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/utils.stripsensitiveliterals_1.2.0_1652982872273_0.09575272653017963"},"_hasShrinkwrap":false,"readme":"# stripSensitiveLiterals\n\nThe `stripSensitiveLiterals` function is used to remove string and numeric\nliterals from a graphql `DocumentNode` which could be sensitive. Consider using\nvariables instead!\n\n## Usage\n\n```ts\nimport { stripSensitiveLiterals } from \"@apollo/utils.stripsensitiveliterals\";\n\nstripSensitiveLiterals(\n  parse(`#graphql\n  query User {\n    user(name: \"Ada Lovelace\", age: 31, ids: [\"1\", \"2\", \"3\"]) \n  }\n`),\n);\n/**\n  query User {\n    user(name: \"\", age: 0, ids: [\"\", \"\", \"\"]) \n  }\n*/\n```\n","publish_time":1652982872424,"_cnpm_publish_time":1652982872424,"dist-tags":{"latest":"3.1.0"}}