{"_id":"diagnostics_channel","_rev":"5-8767a20e38a2d8d31a2f67e7a7aaea53","name":"diagnostics_channel","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"diagnostics_channel","version":"0.1.0","description":"Reserved for Node.js core PR","main":"index.js","author":{"name":"Stephen Belanger","email":"admin@stephenbelanger.com"},"license":"ISC","_id":"diagnostics_channel@0.1.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-QtfhyIwvcTk2daM84Y/j06wMHDz3BDHkbNWoQ7b0t4maEV8JYJ2JjtHH/r3MK0Df9w0Beau1bTC2HiUhQwjsXg==","shasum":"8c590562f6ba96322bdceb27e18196c37ba8e3f2","tarball":"https://registry.npmjs.org/diagnostics_channel/-/diagnostics_channel-0.1.0.tgz","fileCount":2,"unpackedSize":253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRBtFCRA9TVsSAnZWagAAX3UP/0sb8wyY+pyVC55MFOVM\nv/dsKphorc66MNjGiEbBPNPuUHNBCEPj/MAlRWApI0qJ8qfu0DL1E7l5ecYj\nqM2vLtAbU8A+c4q8CWuQRwGdJIup0cL+YVa5fqF3b6HtWaUmahxTLEzmk4lq\n+EXorQrvWskNhuag+KjLc9YKHXR14pGxrHtHoT/DgGoAzeO+itT4h4tHdyDl\nFQ88B618jv5EpNneLey6UH45DqANY+sXqWbTDCuz/3n+ECXfp5Vj0MXaepxl\nO5KMInKC02xTqD2WwX8bMmAi1XlnPVj2notz0igRZ9bzCR218BmHP6FhHfHW\napwsFvX+ZbiGAGx75Zqlackz1JlpQgRZsmM5tZQ+jaaHJD4luH3I6FHh5b9L\np4QxZp4sUXllxioTY5NNXh/9LPG6M9/v8rq19ZSKbvV6UB22ASDauis0ZWNf\nM/1L01fA5gwbF5SHiqZEcjZtlPmv/Pcurl69IWa0yPbrM14GewrhdT7zYBmP\nKJNzKhP/G1Sk9mj3l8nVlZlzVkOXiICsk9Orv6GQfqzxLU9x2z/dOksWxwEC\nJ/NnANdHJbgvvySPqw3pRy1n3KxexdwVeDXNJdv1nklANORNXL3nSapIDLHS\nqmy8E53sLixfFUfcjZW6uUsdcAKLMEgzRSlkQCiD05eOAu+ha1blsfz5bowx\nBGJU\r\n=//f7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8eofn4bBhHiQy142I4QYQ/ej2TPMa3BKXR4mi8+7L+AIhAM1a6NQPGJJnf0HpE9S0KntP7M7Yw4PX7QLIstwWb3Eg"}]},"maintainers":[{"name":"qard","email":"admin@stephenbelanger.com"}],"_npmUser":{"name":"qard","email":"admin@stephenbelanger.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/diagnostics_channel_0.1.0_1598298948911_0.432060864265966"},"_hasShrinkwrap":false},"1.0.0":{"name":"diagnostics_channel","version":"1.0.0","description":"Exposes a polyfill for the Node.js module diagnostics_channel","main":"index.js","engines":{"node":">=4"},"scripts":{"test":"node test/all.js","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/simon-id/diagnostics_channel-polyfill.git"},"author":{"name":"simon-id","email":"simon.id@protonmail.com"},"license":"MIT","bugs":{"url":"https://github.com/simon-id/diagnostics_channel-polyfill/issues"},"homepage":"https://github.com/simon-id/diagnostics_channel-polyfill#readme","devDependencies":{"eslint":"^7.31.0","shimmer":"^1.2.1"},"gitHead":"800921c0167feeb3f8f926fc420e8f3d70e4f512","_id":"diagnostics_channel@1.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-fC3JZDlL7jOwGhM2JvA8VuAKyRQrObkR/iX2wnEysawDM2ldLccV4ZnYIPmkgqf2XfTbPZlQcRp91N2SbCbG0Q==","shasum":"95ffb3f5031a22dc1656c0747dd47c304a2e3a3f","tarball":"https://registry.npmjs.org/diagnostics_channel/-/diagnostics_channel-1.0.0.tgz","fileCount":4,"unpackedSize":7016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCYcKCRA9TVsSAnZWagAAaasP/0mA5ufBK2a7CTLdbH+P\nvmxclYpniVd7DLDqXeq/gIi2bBLcJKf3Q0RurQpyaB9XXtqDThuLBghcTqyh\ns8T+qbvebNHz2f3Z0KuzRtd/Vsgeif3Dw0axXcfd5ZJQSCB3aLY/rbxcIaNP\nh6dKLaxWgibnTW2zK76S6umcGVDsCrbThdpt48e2ZgZVHx68h7L2EoPMQJmQ\nMURqy155qnu2gMlf4Hr7IGQk5WBHitMC0TziQ+6bHPc88fL73ut/AJ7p47lF\nCMyI0lo8q4RE7W81yTB7xGxFeTdg0ykE9tjNIfP0VqfT+UPV21YqSOpDuEzJ\nHQ0whn4yBJf/XXVrZUcAxbyDowBJYJINNo3s4COKya1sxRrkuHfSsVnd9evf\nKfiMqMILvy/v+Q0+Vf0ZOSbmnemdBXSGc6KUo0ZAbDtJ3WCpKMU77RBQnoE+\nZ6GHRrT7MD2XeI8sHTGczzxgKPxm5xn2h2Z5s8vZo69SjJ/5iYgpfkdLmTQ7\nWNr8VU/a/SWBrqMa2vBGghysxjGA11tKEOtIsmAnGXKsLFPZDTdPQTXQwh29\nTsnPsbVWjU7+ymvef0pSI2HclTpYUMx/bftaynJEUMUclzpJHSeHPWkyPhWp\nng62lBT13/1qxA2s2Uz9f8ngpWpVewFwC2B8jcZdGu0yQe14wyx3d71TBv/T\n4kiB\r\n=+MTq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd4ITh6wrv2NxIDuRLmQAygmGPvX92S2upjFzeYL87/gIhAJ1xCK+GH2vYwyh41DyF+k8/ZtDw/9pQ626YSuIlymCz"}]},"_npmUser":{"name":"simon-id","email":"simon.id@datadoghq.com"},"directories":{},"maintainers":[{"name":"qard","email":"admin@stephenbelanger.com"},{"name":"simon-id","email":"simon.id@datadoghq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/diagnostics_channel_1.0.0_1628014346222_0.3083006591518431"},"_hasShrinkwrap":false},"1.1.0":{"name":"diagnostics_channel","version":"1.1.0","description":"Exposes a polyfill for the Node.js module diagnostics_channel","main":"index.js","engines":{"node":">=4"},"scripts":{"test":"node test/all.js","lint":"eslint ."},"repository":{"type":"git","url":"git+https://github.com/simon-id/diagnostics_channel-polyfill.git"},"author":{"name":"simon-id","email":"simon.id@protonmail.com"},"license":"MIT","bugs":{"url":"https://github.com/simon-id/diagnostics_channel-polyfill/issues"},"homepage":"https://github.com/simon-id/diagnostics_channel-polyfill#readme","devDependencies":{"eslint":"^7.31.0","shimmer":"^1.2.1"},"gitHead":"c558d3ce984c5cccf18edbf8d76ac15dad0ba432","_id":"diagnostics_channel@1.1.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-OE1ngLDjSBPG6Tx0YATELzYzy3RKHC+7veQ8gLa8yS7AAgw65mFbVdcsu3501abqOZCEZqZyAIemB0zXlqDSuw==","shasum":"bd66c49124ce3bac697dff57466464487f57cea5","tarball":"https://registry.npmjs.org/diagnostics_channel/-/diagnostics_channel-1.1.0.tgz","fileCount":4,"unpackedSize":7072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2oL8CRA9TVsSAnZWagAAeOIP/2V6w/++LSIUwb++GhNx\n/w5Wmv+5apwbbf/ph5Locd6DaBLG5ILrru4nCdMdH1o1w6c5u5o9s9ZmvRao\nZGpL1HOjPPCY2RPWM4u1JV9qqb0z4vT2N0Isec70qXdZ51LOyohKL2n8z9tb\nUBpyKv1vBguxVgkZkqJc5f/5ttT446TOB4Ythpc9XIPJ3b0vfAtD9JbAFXWp\nt/JJcDvz2dCVrk2QYNnoVpIzhxHU6oSmLOCDe5MxMVSXaqp8wRxucpAmTttf\nYkWWji7Lb5QLbu8T0YGyOvOl5UaTU30KSqKeZHN3rGXLUXQENT69Ja6dbYe3\nn4M+SP+syptxFS5uvElDrhjFvD64wazUHxHIfDpQSIdIbiiL1Isk/CBDvCBy\nrtwmfBkI3aJ/4khaE8xAAqs9vW4SY7Pep3MJ9xdB9z5zFfArRiEkb6GbwZsj\nkTcUoBvieesJmIXkyHw8WWrAIVV59zBJLcDkfIEB6D4gpu1AScCfHZEE8pir\nx5IZSLQPz1aEGGGD1uHn/9ajz+ASpPD3LXFMdlpGVGY6QM15g4CdbRdYUNbX\nxNl9W62Xz4bm5F17JCxY4ypO+ZVm+8yxaMStDzIviAd1eN8aCEJhOd8t5PMW\nb62MnlQxM17D9jjVcmaGLHHnUe0pP1iVrRV59/GetNjh0VCtYCzgxOJWsHUX\nGL9c\r\n=Ulzg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBVChwD4ZLFsSYvqO73nh9m7Yffi1gB+P0GtuV0FoeZQIhAKkIfNDhhhyOG/SO6nQm/Xqm/Sr2l38I4xgnTbMQJcSG"}]},"_npmUser":{"name":"simon-id","email":"simon.id@datadoghq.com"},"directories":{},"maintainers":[{"name":"qard","email":"admin@stephenbelanger.com"},{"name":"simon-id","email":"simon.id@datadoghq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/diagnostics_channel_1.1.0_1634657593360_0.18146011432081388"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-24T19:55:48.911Z","0.1.0":"2020-08-24T19:55:49.013Z","modified":"2022-04-28T12:19:18.351Z","1.0.0":"2021-08-03T18:12:26.421Z","1.1.0":"2021-10-19T15:33:13.503Z"},"maintainers":[{"name":"qard","email":"admin@stephenbelanger.com"},{"name":"simon-id","email":"simon.id@datadoghq.com"}],"description":"Exposes a polyfill for the Node.js module diagnostics_channel","author":{"name":"simon-id","email":"simon.id@protonmail.com"},"license":"MIT","readme":"# diagnostics_channel-polyfill\nExposes a polyfill for the Node.js module `diagnostics_channel`.\n\nAs of now, the Node.js module `diagnostics_channel` is only available in Node `^14.17.0 || >=15.1.0`.\nThis aim to allow using the same API on older versions of Node.\n\n### Install\n```sh\nnpm i diagnostics_channel\n```\n\n### Usage\nRefer to the official documentation: https://nodejs.org/api/diagnostics_channel.html\n\n### Notes\n- This module and the one included in Node core do NOT share the same channels, they live independently.\n- Since `WeakReference` is not available, channels will NOT be garbage collected when no reference is held in user-land. An additional function is provided to do manual cleanup if needed: `dc.deleteChannel()`. **This should not be needed in a typical scenario. Only use this method if you know why you are doing it.**\n```js\nconst dc = require('diagnostics_channel');\n\nconst a = dc.channel('test');\nconst b = dc.channel('test');\n\n// channel is memoized\nconsole.log(a === b); // true\n\ndc.deleteChannel('test');\n\nconst c = dc.channel('test');\n\n// memoized channel was deleted and a new instance was memoized\nconsole.log(a === c); // false\n\n```\n- Since `ERR_INVALID_ARG_TYPE` is not available, a simplfied copy of this error is included.\n- Since `triggerUncaughtException()` is not available, if an exception is thrown in a subscriber, the polyfill will instead simply re-throw the error inside a `process.nextTick()`, which has a similar behavior except when the process crashes because of that exception: the crash message will point to this polyfill instead of where the error was created (ie: in the subscriber).\n","readmeFilename":"README.md","homepage":"https://github.com/simon-id/diagnostics_channel-polyfill#readme","repository":{"type":"git","url":"git+https://github.com/simon-id/diagnostics_channel-polyfill.git"},"bugs":{"url":"https://github.com/simon-id/diagnostics_channel-polyfill/issues"}}