{"name":"@apollo/utils.stripsensitiveliterals","version":"2.0.1","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":"packages/stripSensitiveLiterals/"},"keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","engines":{"node":">=14"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x"},"gitHead":"353e9dab31d4ce1ef286564573e93bc042e8925a","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"homepage":"https://github.com/apollographql/apollo-utils#readme","_id":"@apollo/utils.stripsensitiveliterals@2.0.1","_nodeVersion":"16.19.1","_npmVersion":"8.5.0","dist":{"integrity":"sha512-QJs7HtzXS/JIPMKWimFnUMK7VjkGQTzqD9bKD1h3iuPAqLsxd0mUNVbkYOPTsDhUKgcvUOfOqOJWYohAKMvcSA==","shasum":"2f3350483be376a98229f90185eaf19888323132","tarball":"http://registry-npm.ywwl.com/@apollo/utils.stripsensitiveliterals/download/@apollo/utils.stripsensitiveliterals-2.0.1.tgz","fileCount":10,"unpackedSize":9429,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWun1acLYBDRvBEmIS3WK3KBSaTPS5+R/RIJSw4NusWAiAB600cNee+fBmQWVCQKfL9isFjuVkI6IaHeVpbvmaBbg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKyZ6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTgA//aOBs+FAqDsRRq+7r+cbNkLbZaY+gmqDK+IZt6azdnbdySXio\r\n2G0jWyX8xR6zfQSXzvFzP6/SLG00bVnMpH3h0bXYPB/AylbJ7pUyJmonYzUe\r\n7KdhdfQOF24E8wR2XoBtN0WaqV4iHaMESKEWpcPjWJweqaRNlobxoMpeCUpH\r\nDzi/gc9EzbP2J3RNXqRwYw9iCgitfwxG6SFaLSMpxKGLe3jW0CMpPboFBMLT\r\n+95YYA9NwtSFkRLvTPBf7n7o+DeZnimWXlsokAe01gQMNZV6V8wjotetyb4v\r\nqaHo0uqJCyXoLm4qySMjCa0hnwdPXKZlyymGf1Sm/svlFGZ2JgZk+J3waHWM\r\n/7N8njWJLeD1cjqDXzsUMgoFhX3Vl0gxjlGgb1G25jaHK7pomY4xfcTotz0o\r\n7FQZvuxywxQ3ndSm3+OT5qS6Bl0H+1hxJ11jrPue5IRSYcoK+ESPDuT5YJ3E\r\njfIn6hwEjKWe6mVaHHbN6dINwO8vupt03o6WtYDMr3TsfTPAC2l2+3dk6N5a\r\nPlqfhyS1Rxy8PSg1Axb1fjuG4Mx89rFpoEluOYbfLZEveHgYwLId89qG3uMk\r\n72yddpSkFvOJDpouzB4Lvl4u0bH4u0LbyYruyXbJbgifjJWg09knmqcDSvnm\r\nA5FTg/uCchsSD9JCE6Lv9Y2TJVuyTD+HEPY=\r\n=SCB0\r\n-----END PGP SIGNATURE-----\r\n","size":3199,"noattachment":false,"key":"/@apollo/utils.stripsensitiveliterals/-/@apollo/utils.stripsensitiveliterals-2.0.1.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"dkuc","email":"dariusz_kuc@hotmail.com"},{"name":"glasser","email":"glasser@apollographql.com"},{"name":"trevor.scheer","email":"trevor.scheer@gmail.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils.stripsensitiveliterals_2.0.1_1680549498569_0.8022468349134069"},"_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":1680549498810,"_cnpm_publish_time":1680549498810,"dist-tags":{"latest":"3.1.0"}}