{"_id":"deprecate","_rev":"9-12b435b7667182054865a16a15b4ad07","name":"deprecate","description":"Mark methods as deprecated and warn the user when they're called","dist-tags":{"latest":"1.1.1"},"versions":{"0.1.0":{"name":"deprecate","version":"0.1.0","description":"Mark methods as deprecated and warn the user when they're called","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/brianc/node-deprecate.git"},"keywords":["deprecate"],"author":{"name":"Brian M. Carlson"},"license":"MIT","devDependencies":{"mocha":"~1.8.1"},"_id":"deprecate@0.1.0","dist":{"shasum":"c49058612dc6c8e5145eafe4839b8c2c7d041c14","tarball":"https://registry.npmjs.org/deprecate/-/deprecate-0.1.0.tgz","integrity":"sha512-hGDyLk7ZdiEROjxSlIQvNu+jajVCdmVRaHZ3fjGw9QIce9blkKZAsfwD9rO3yMn/EpbL/QVMAp2pMLMwmWyGng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBLnspGIK2F0o7dGaraOys+fbgPCzBTiJt52dhLuw2V6AiATg/WNAUE1l1Br/oNDsKnrkp3Kw/qXwzGnUEej2OCRuw=="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"brianc","email":"brian.m.carlson@gmail.com"},"maintainers":[{"name":"brianc","email":"brian.m.carlson@gmail.com"}],"directories":{}},"1.0.0":{"name":"deprecate","version":"1.0.0","description":"Mark methods as deprecated and warn the user when they're called","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/brianc/node-deprecate.git"},"keywords":["deprecate"],"author":{"name":"Brian M. Carlson"},"license":"MIT","devDependencies":{"mocha":"~1.8.1"},"gitHead":"9cd7d72f1ae494f3df862dd50b711a32674ba7da","bugs":{"url":"https://github.com/brianc/node-deprecate/issues"},"homepage":"https://github.com/brianc/node-deprecate#readme","_id":"deprecate@1.0.0","_shasum":"661490ed2428916a6c8883d8834e5646f4e4a4a8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"brianc","email":"brian.m.carlson@gmail.com"},"dist":{"shasum":"661490ed2428916a6c8883d8834e5646f4e4a4a8","tarball":"https://registry.npmjs.org/deprecate/-/deprecate-1.0.0.tgz","integrity":"sha512-3OFRdih9G2VYAfA/H6vizXyCvwLGLr9hdAh1z39HY3lAKbi2/BELQDVhbZ6AaTOjdh5BAi/GJ1QphQBHjCyXVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH92QwOTEm3DHfeCbMjlNXoP7tNbUVyvVU1z4bcDvCWJAiEAwWS/BhaSh0S7WItiEBviEU+2ESzowsaiSqv79A7ONH4="}]},"maintainers":[{"name":"brianc","email":"brian.m.carlson@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/deprecate-1.0.0.tgz_1471551901623_0.828695727745071"},"directories":{}},"1.1.0":{"name":"deprecate","version":"1.1.0","description":"Mark methods as deprecated and warn the user when they're called","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/brianc/node-deprecate.git"},"keywords":["deprecate"],"author":{"name":"Brian M. Carlson"},"license":"MIT","devDependencies":{"mocha":"~1.8.1"},"gitHead":"fbdbba5de0aa1e0e2a78e4347a48b614c0ef10dd","bugs":{"url":"https://github.com/brianc/node-deprecate/issues"},"homepage":"https://github.com/brianc/node-deprecate#readme","_id":"deprecate@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"brianc","email":"brian.m.carlson@gmail.com"},"dist":{"integrity":"sha512-b5dDNQYdy2vW9WXUD8+RQlfoxvqztLLhDE+T7Gd37I5E8My7nJkKu6FmhdDeRWJ8B+yjZKuwjCta8pgi8kgSqA==","shasum":"bbd069d62b232175b4e8459b2650cd2bad51f4b8","tarball":"https://registry.npmjs.org/deprecate/-/deprecate-1.1.0.tgz","fileCount":5,"unpackedSize":5032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhsmHCRA9TVsSAnZWagAAOKwQAI44nEzi9tSRaax8x+Hc\nbNNgR8x6PpjMV31Rrftg8aCsZbWwrp5OY8iebqT9FJjn3TP66L9oH5JUecja\nDmhHMCti/enQBedrI1e9hjwhCk4A6pw6lttZiUU4bXoo0Wt8c/hdg6drS99A\nqZuDIX0Ef9/skabuk4db7AbWf3mbwTWqCNOaqU0Kxq96jkhX9Ui7AUqqXYMc\nyURf75ZOQRBskBA6poI3vyKKp0MY8zBp86A8Qw8rHeb/wlROdOb9CebEBSBp\nRQcklbyN3aBsrI/CywJy8LZiNeXkY0zidHHFJH0sNfSYV0oW4niYss6zKMlC\nEd14jitdRMy/nNJq1XMXozEk9095qgtAQBSgkDSWWXc4KuIvn4NPYdMlRg7U\ngYwXk3fK+l6ZWK0NKrbypA4/x7+UAABTGQSLXpMkKJskwgFeJRpqW6KWPQ9M\nxmxH7Ntdk4M4CSeElfSZGd+VsmkJgvqJ0sy6zFjvsLi83JICuvFUtACHVU11\npcUrkug7P1JrphAq4bTkI/7rObi73TNvL/sVNsvBFjJdEKkZiUkIvNPrx+sB\nD10srgq+Ey2XYLFhuuIqhwg8zccdfZmeXIQsOmZb9k+aPFmb/Wmu8qAHuGbP\nS6GTZKxU984TLe8G9xhq8gFEH30tgm4ZUhRYdptcF0cTMW+q0nivscPJ9TkK\n1s6F\r\n=HsAp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX7msG+ReoRBgHrhywqq+1XIp8FO1iQEjv2Z5j6S3a3wIgSKBwrxWp+pOCEN8MP5BRF3hfJwAfGgKqXUmGzwzBlSk="}]},"maintainers":[{"name":"brianc","email":"brian.m.carlson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deprecate_1.1.0_1535560070377_0.7779493338858965"},"_hasShrinkwrap":false},"1.1.1":{"name":"deprecate","version":"1.1.1","description":"Mark methods as deprecated and warn the user when they're called","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/brianc/node-deprecate.git"},"keywords":["deprecate"],"author":{"name":"Brian M. Carlson"},"license":"MIT","devDependencies":{"mocha":"~1.8.1"},"gitHead":"6fac708cad8f491e2bde3dd657280201b25440f0","bugs":{"url":"https://github.com/brianc/node-deprecate/issues"},"homepage":"https://github.com/brianc/node-deprecate#readme","_id":"deprecate@1.1.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ZGDXefq1xknT292LnorMY5s8UVU08/WKdzDZCUT6t9JzsiMSP4uzUhgpqugffNVcT5WC6wMBiSQ+LFjlv3v7iQ==","shasum":"4632e981fc815eeaf00be945a40359c0f8bf9913","tarball":"https://registry.npmjs.org/deprecate/-/deprecate-1.1.1.tgz","fileCount":5,"unpackedSize":5074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOfJpCRA9TVsSAnZWagAAhsIP/2dDGUFsnpOZRlEZa//F\noqlyqjIFctbXzcGkcNUazHMuRJYPRjcEJgvK4B2/30IfF/+1o+lCGa4EDZWh\na8WLVz3IO+Tw3HO6vY4P2qYHHRu4LYAcCuurbkqrIiwXbNtWd0XMCsfr7fta\naItxCtG5+XfTzTasS59AksqEpCFqVQEOPI8tqk6SRBExHyKngXUF2h3qja9V\n7KUEwtAg81ArxTkEG6qmUgRYsr4gQ9bCsOcsaUJdHo+chutpSHbsfk4p15lQ\nlkfrVcXvaYcDEbf9sPXb6EIRg2s3pe+w9QS1w3Ln3J53qmlX4gC1jP8ZItZa\nKYFaWDuFS4Aj2l+5AtE0oYvLblMnsiYEA/Dm6euFL0G9LW41B7vwETdv4lfD\ntNgPeNJ6Vhgq89zRbh6DASbpjM7BM4SCpZISgCG41YV9YpRHd1H1DCYI6BRU\nrbQbeSH6RdaxeVeRUpY6KhRBI/IV98BDHl8jlDrExA+mFw9VEBkZAPaXlqcH\nA6CIipJzFA4KRR7lGX3K+9i2lxlPwtLK6OWgzN0gYcx4Y+tskOwInWTwOOEx\nLXWeikr7I1N5GkB33bElkKAF1Q+K5gx2bIgE/CpSV+hhn9YkCOeiZZYnoNqK\n9WTOVRYWIIAPamIB11urT4SXr0p8yF+86C6siRpIOLIqf7m6JodtYyX8zGyE\nxyFj\r\n=IMIv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVosySxaQsdN6R2eufPbHuu534KBlRcpBSfr8A9O+cCQIgXJWvJO0ifXXvXvo1H7oCs6wP259w7j9hWi9QD6yJpH8="}]},"maintainers":[{"name":"brianc","email":"brian.m.carlson@gmail.com"}],"_npmUser":{"name":"brianc","email":"brian.m.carlson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deprecate_1.1.1_1564078696412_0.772591963268811"},"_hasShrinkwrap":false}},"readme":"# deprecate\n\n[![Build Status](https://secure.travis-ci.org/brianc/node-deprecate.png?branch=master)](http://travis-ci.org/brianc/node-deprecate)\n\nMark a method as deprecated.  Write a message to a stream the first time the deprecated method is called.\n\n## api\n\n`var deprecate = require('deprecate');`\n\n### deprecate([string message1 [, string message2 [,...]]])\n\nCall `deprecate` within a function you are deprecating.  It will spit out all the messages to the console the first time _and only the first time_ the method is called.\n\n```js\nvar deprecate = require('deprecate');\n\nvar someDeprecatedFunction = function() {\n  deprecate('someDeprecatedFunction() is deprecated');\n};\n\nsomeDeprecatedFunction();\nsomeDeprecatedFunction();\nsomeDeprecatedFunction();\nconsole.log('end');\n\n//program output:\n\nWARNING!!\nsomeDeprecatedFunction() is deprecated\n\n\nend\n```\n\n### deprecate.color\n\nSet to `false` to not output a color.  Defaults to `'\\x1b[31;1m'` which is red.\n\n### deprecate.silence\n\nSet to `false` to do nothing at all when the deprecate method is called.  Useful in tests of the library you're deprecating things within.\n\n### deprecate.stream\n\nThe stream to which output is written.  Defaults to `process.stderr`\n\n## license\n\nMIT\n","maintainers":[{"name":"brianc","email":"brian.m.carlson@gmail.com"}],"time":{"modified":"2022-06-15T01:10:06.978Z","created":"2013-03-07T15:38:25.369Z","0.1.0":"2013-03-07T15:38:26.267Z","1.0.0":"2016-08-18T20:25:02.630Z","1.1.0":"2018-08-29T16:27:50.513Z","1.1.1":"2019-07-25T18:18:16.572Z"},"author":{"name":"Brian M. Carlson"},"repository":{"type":"git","url":"git://github.com/brianc/node-deprecate.git"},"homepage":"https://github.com/brianc/node-deprecate#readme","keywords":["deprecate"],"bugs":{"url":"https://github.com/brianc/node-deprecate/issues"},"license":"MIT","readmeFilename":"README.md"}