{"_id":"@d-fischer/deprecate","_rev":"3-77a41fe519a750ef8c2b4a6883be8e7a","name":"@d-fischer/deprecate","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.0":{"name":"@d-fischer/deprecate","version":"2.0.0","description":"Mark methods as deprecated and warn the user when they're called","main":"index.js","module":"index.mjs","exports":{".":{"require":"./index.js","import":"./index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/d-fischer/node-deprecate.git"},"keywords":["deprecate"],"author":{"name":"Daniel Fischer","email":"daniel@d-fischer.dev"},"license":"MIT","devDependencies":{"mocha":"~1.8.1"},"gitHead":"716d21694888a5b0b84573c3a820e4e8857643dd","bugs":{"url":"https://github.com/d-fischer/node-deprecate/issues"},"homepage":"https://github.com/d-fischer/node-deprecate#readme","_id":"@d-fischer/deprecate@2.0.0","_nodeVersion":"13.8.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-DJaSafIrmRr+vIty/iEmacWKTL17dsP0XHPtwA9SqRO5ZBf+IX+YZBsrS7lqFUXQYI8e2h4VmVKHqGk0+X8RFg==","shasum":"ca7d506c6c3e8473f8971fd4e3218f279fde7ebb","tarball":"https://registry.npmjs.org/@d-fischer/deprecate/-/deprecate-2.0.0.tgz","fileCount":10,"unpackedSize":6550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqaSECRA9TVsSAnZWagAAclcP+gLYxVVBnwEAjkxddQjH\naDgsQsLbLCQr8++hKCS3qJiUWe4p1Jg1AlwUup+PglKC9LX0UqaWpLOrgJHx\nx6ETjCU65hCeJityMpSNjLmLw73QVGRBIaVItSQlpaus8Bh3a8c46HkdHTOb\nDDPD3OBTViQFseQiaQiTdJTVyyg7AL7svMuG8rIqD1g2+A0cdarmmwwbhvob\nbNxHCXGqmKtXTs+dCCd6qk/NcgnGhxxx+8j0J/j0DSVH0Ub5k7UkRSbkAyjb\n364DsyzhDnRSUqWw/nfZSmow4228Rvl9K3FM4q+OcjtTHHxM/grNwscjt+kL\n3jKbt7Zu8A1fGOEqxuppxZ/hv+RZlo6S03EBHcX5pPP84YXN5Q1xNovNkY2T\n4hZhy5bedwUNCy6pI1YXGvdfa5i2VZuNHjJ3l6rzsDskLRhyk8/lcMiUqHNe\nD71oqyO9mGSt+7RfuK2DtQ7xLuJdlnFeqw20Pq8ZKBYPep0r9iF2tahPUYg1\nzmMtsQqCVXWB5/MtOIAtAEFMM49cq1XEhsiHBwleXtPF9DHEfpQouUPrtJoI\nZgAdiHo76wUxFA8mEPvmzeYBdAzFx9Qp8uUdnleziZ8oqL6MvGMXLZiSrxP1\nw3iK7QlZX43P8ZQD1HxqZWCiqvud6Kowvqv+7mwnBJoKOlwhjXsm1+OuhyPi\nlOFT\r\n=h8Fy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBn91yso/4QAUjWqKNDqurAw9FHEgEws0UtTUEYtdb6VAiBGo3ffcNZeGR9VU0hI8/KGf31jlKUu9lBR225kLdgbIw=="}]},"maintainers":[{"name":"d-fischer","email":"daniel@d-fischer.dev"}],"_npmUser":{"name":"d-fischer","email":"daniel@d-fischer.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deprecate_2.0.0_1588175996483_0.17291732564672935"},"_hasShrinkwrap":false},"2.0.1":{"name":"@d-fischer/deprecate","version":"2.0.1","description":"Mark methods as deprecated and warn the user when they're called","main":"index.js","module":"index.mjs","types":"index.d.ts","exports":{".":{"require":"./index.js","import":"./index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/d-fischer/node-deprecate.git"},"keywords":["deprecate"],"author":{"name":"Daniel Fischer","email":"daniel@d-fischer.dev"},"license":"MIT","devDependencies":{"@types/node":"^13.13.4","mocha":"~1.8.1"},"gitHead":"d6e3bf817a2a65cf36b239f31d31c921dc0d9ed4","bugs":{"url":"https://github.com/d-fischer/node-deprecate/issues"},"homepage":"https://github.com/d-fischer/node-deprecate#readme","_id":"@d-fischer/deprecate@2.0.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-HrK3Yu3iRJo1YzG52bt2TyhRGZRIyFumbV/fH0h6IWa43ZJeAI3o4LXzBVLLdA7ITLTMtYP8yJnpHuFftQwQ2A==","shasum":"5cccedff47477ae9e055a8be799ac8ac3dd22eda","tarball":"https://registry.npmjs.org/@d-fischer/deprecate/-/deprecate-2.0.1.tgz","fileCount":11,"unpackedSize":7568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerHo2CRA9TVsSAnZWagAAcsMP/2kZEEm7Wiup+xjd9Qji\nZEWoRjEqFU9+6UOVwsHyYwG+S8kbsn94m9QZYeMJYuA4O6loFO9wXRlzblvt\nqcgCXconjVBOzaaICZ2gWVRgMokgcChCI92zdYUvln4VJnUA0uzPCwAJfmPD\n4KHGT176BBYKawaqxWtTRZuVsnDypJjQZAY0KynuAR054YyBeglbqTBfNQZn\nZQhtvP7En7AF8R3GcnoX7LMR4U8vozDV2cfwcLo/En48pHZ0pXNMWRqgWNtu\nCTxZ+Sl/+nP4fVL64r/048MF07Vg7LA+2oUDa5LuTrROJtQNX/IlZ9LpHhA3\nz+J613JSQfCXLHC0c32d7sjFcJMmXQUsnVJL6mZAnIBQCNezGM0WWo7ybi+c\n/8XVYSvwkDNQpQXYWh099lO91oMsS+VxJmeI+TzaTlJmTaHJmn9DZjEiPomt\nhUUnUpS5NrP53FdOn7nSo02xflI/fr9fBXIyfusBSbp5ry8dYZlVgUquf40D\nlh9PD7hVJk0hfsFGjhnPyoXCVOkfl/hURoheZXopkYxODnIdR00h+P/5iwpa\nSCD9HvZ3s9OmOOXitQOweKEhL9zWTy68SZQftJT0nSjytJdIV4lVIwMoa563\n4FhJU1Z/tNAtgbI5eqbJAJG9IIclnFkn5iwCXabuc8tbyyauLN+LHrOw/9in\n577W\r\n=4SqK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEuj5BZkVmSZRgjqkgXjvNeckJ0426vDwddg+UvUy3jeAiEAn1kIXvqlMOUomn2xTDjW+gHZWcKalxtOgQKSXR51SwI="}]},"maintainers":[{"name":"d-fischer","email":"daniel@d-fischer.dev"}],"_npmUser":{"name":"d-fischer","email":"daniel@d-fischer.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deprecate_2.0.1_1588361782231_0.04652691344305793"},"_hasShrinkwrap":false},"2.0.2":{"name":"@d-fischer/deprecate","version":"2.0.2","description":"Mark methods as deprecated and warn the user when they're called","main":"index.js","types":"index.d.ts","exports":{".":{"require":"./index.js","import":"./index.mjs"},"./package":"./package.json","./package.json":"./package.json"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/d-fischer/node-deprecate.git"},"keywords":["deprecate"],"author":{"name":"Daniel Fischer","email":"daniel@d-fischer.dev"},"license":"MIT","devDependencies":{"@types/node":"^12.12.62","mocha":"~1.8.1"},"gitHead":"acecaf1bdef7f08afa6fceab33561e9d96f3ab0f","bugs":{"url":"https://github.com/d-fischer/node-deprecate/issues"},"homepage":"https://github.com/d-fischer/node-deprecate#readme","_id":"@d-fischer/deprecate@2.0.2","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-wlw3HwEanJFJKctwLzhfOM6LKwR70FPfGZGoKOhWBKyOPXk+3a9Cc6S9zhm6tka7xKtpmfxVIReGUwPnMbIaZg==","shasum":"d1f0d40acc881edd771cace7992a1070460608c8","tarball":"https://registry.npmjs.org/@d-fischer/deprecate/-/deprecate-2.0.2.tgz","fileCount":12,"unpackedSize":12805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeRBECRA9TVsSAnZWagAAxgYP/14ZYTPtNM21wf/QNzZH\n6/+tXpM+k5jWMDFBNfQub5LOLlEz6BQThvWmjjhqO296upj6h8usX+suWLXW\nJoGWkuxQh63/tB6qUmQ6LSPw8mZk7y+jggIlB2olQ5sDIHXIngJzZlCbTrWg\nMY53sZ8c3Maz/QYgBPj6jpKNCiHtQxCmx3Tt0STF9AxARb+QT55qQH+ZtoID\nvN4ydrNvWSik6DBFK5MZ/N9kSrE/bLBNHsihXkqRFZn/Wklxh0LwW3K6FNsi\nNFgNris6uWFtC9oNKkdR/Wv4yBuQVIm7Q9pY30io/DW6MAWP0Rqrc5P++qR/\nMhF8RvF7LTNtG+Sc2NFuAs+K7WeAtSnib8KoNYErGvqmOEvxvucK2fJAhU4W\nZBbnPUWPP7I/RXdaeiaD9ZyXdOFEubRKZ0YOdMGG7tFi73pJe4mXtL8Kv7+w\n9bx7FHOhsd+iuTOQGNYgLg5V3ePtxSqY19DB3crtCI0iiSfSmhkVoKMVD9ke\nKj9U3b5IbGgHi4npOnvxNWngIGhggQlCPhEwvGzYhUTL7mnw8RtnnRz+//eY\nXh4w89m3iVUUJ+YnfVVQ9VyKCYgLlKKSMEowJVgsncPGXHPb2Gzs/RbPUB6I\nFVgVd37+KXxlBvPkX3rmjp57ZZmYsyASVCzn8LgGiw6fOQMjDznxFXAnCRDD\n+r/s\r\n=pnvP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqeyfHjNhtF+YZBrlV2gLLO4swvo6lJRJhK2RnADuGpAiB0eeksJTqmTMSKV8Fr0HGiMyMbIXscva0+S1k1kExIYw=="}]},"maintainers":[{"name":"d-fischer","email":"daniel@d-fischer.dev"}],"_npmUser":{"name":"d-fischer","email":"daniel@d-fischer.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deprecate_2.0.2_1601769540483_0.9379975475252895"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-29T15:59:56.419Z","2.0.0":"2020-04-29T15:59:56.622Z","modified":"2022-04-05T02:28:19.732Z","2.0.1":"2020-05-01T19:36:22.339Z","2.0.2":"2020-10-03T23:59:00.594Z"},"maintainers":[{"name":"d-fischer","email":"daniel@d-fischer.dev"}],"description":"Mark methods as deprecated and warn the user when they're called","homepage":"https://github.com/d-fischer/node-deprecate#readme","keywords":["deprecate"],"repository":{"type":"git","url":"git://github.com/d-fischer/node-deprecate.git"},"author":{"name":"Daniel Fischer","email":"daniel@d-fischer.dev"},"bugs":{"url":"https://github.com/d-fischer/node-deprecate/issues"},"license":"MIT","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","readmeFilename":"README.md"}