Title: Tests fail for Node.js >= 12 · Issue #16 · nodejs/string_decoder · GitHub
Open Graph Title: Tests fail for Node.js >= 12 · Issue #16 · nodejs/string_decoder
X Title: Tests fail for Node.js >= 12 · Issue #16 · nodejs/string_decoder
Description: Hi, the tests fail for Node.js >= 12. Here's the log: *[master][~/ups/string_decoder]$ npm run test (node:5240) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buf...
Open Graph Description: Hi, the tests fail for Node.js >= 12. Here's the log: *[master][~/ups/string_decoder]$ npm run test (node:5240) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability is...
X Description: Hi, the tests fail for Node.js >= 12. Here's the log: *[master][~/ups/string_decoder]$ npm run test (node:5240) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usabi...
Opengraph URL: https://github.com/nodejs/string_decoder/issues/16
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tests fail for Node.js \u003e= 12","articleBody":"Hi, the tests fail for Node.js \u003e= 12. Here's the log:\r\n```\r\n*[master][~/ups/string_decoder]$ npm run test\r\n(node:5240) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\n\r\n\u003e string_decoder@1.3.0 test /home/nilesh/ups/string_decoder\r\n\u003e tap test/parallel/*.js \u0026\u0026 node test/verify-dependencies\r\n\r\nassert.js:132\r\n throw err;\r\n ^\r\n\r\nAssertionError [ERR_ASSERTION]: Unexpected global(s) found: queueMicrotask\r\n at process.\u003canonymous\u003e (/home/nilesh/ups/string_decoder/test/common/index.js:500:12)\r\n at process.emit (events.js:210:5) {\r\n generatedMessage: false,\r\n code: 'ERR_ASSERTION',\r\n actual: undefined,\r\n expected: undefined,\r\n operator: 'fail'\r\n}\r\nnot ok test/parallel/test-string-decoder-end.js ......... 0/1\r\n Command: \"/usr/bin/node test-string-decoder-end.js\"\r\n TAP version 13\r\n not ok 1 test/parallel/test-string-decoder-end.js\r\n ---\r\n exit: 1\r\n stderr: |\r\n assert.js:132\r\n throw err;\r\n ^\r\n \r\n AssertionError [ERR_ASSERTION]: Unexpected global(s) found: queueMicrotask\r\n at process.\u003canonymous\u003e (/home/nilesh/ups/string_decoder/test/common/index.js:500:12)\r\n at process.emit (events.js:210:5) {\r\n generatedMessage: false,\r\n code: 'ERR_ASSERTION',\r\n actual: undefined,\r\n expected: undefined,\r\n operator: 'fail'\r\n }\r\n command: \"/usr/bin/node test-string-decoder-end.js\"\r\n ...\r\n \r\n 1..1\r\n # tests 1\r\n # fail 1\r\n \r\nassert.js:132\r\n throw err;\r\n ^\r\n\r\nAssertionError [ERR_ASSERTION]: Unexpected global(s) found: queueMicrotask\r\n at process.\u003canonymous\u003e (/home/nilesh/ups/string_decoder/test/common/index.js:500:12)\r\n at process.emit (events.js:210:5) {\r\n generatedMessage: false,\r\n code: 'ERR_ASSERTION',\r\n actual: undefined,\r\n expected: undefined,\r\n operator: 'fail'\r\n}\r\nnot ok test/parallel/test-string-decoder.js ............. 0/1\r\n Command: \"/usr/bin/node test-string-decoder.js\"\r\n TAP version 13\r\n not ok 1 test/parallel/test-string-decoder.js\r\n ---\r\n exit: 1\r\n stderr: |\r\n assert.js:132\r\n throw err;\r\n ^\r\n \r\n AssertionError [ERR_ASSERTION]: Unexpected global(s) found: queueMicrotask\r\n at process.\u003canonymous\u003e (/home/nilesh/ups/string_decoder/test/common/index.js:500:12)\r\n at process.emit (events.js:210:5) {\r\n generatedMessage: false,\r\n code: 'ERR_ASSERTION',\r\n actual: undefined,\r\n expected: undefined,\r\n operator: 'fail'\r\n }\r\n command: \"/usr/bin/node test-string-decoder.js\"\r\n ...\r\n \r\n 1..1\r\n # tests 1\r\n # fail 1\r\n \r\ntotal ................................................... 0/2\r\n\r\nnot ok\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 2\r\nnpm ERR! string_decoder@1.3.0 test: `tap test/parallel/*.js \u0026\u0026 node test/verify-dependencies`\r\nnpm ERR! Exit status 2\r\nnpm ERR! \r\nnpm ERR! Failed at the string_decoder@1.3.0 test script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /home/nilesh/.npm/_logs/2020-01-22T17_03_37_159Z-debug.log\r\n\r\n```","author":{"url":"https://github.com/nileshpatra","@type":"Person","name":"nileshpatra"},"datePublished":"2020-01-22T17:04:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/16/string_decoder/issues/16"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f67a0a72-7863-79bd-0c87-244225cf5c4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 886C:15E0C:B455E:E4223:699106ED |
| html-safe-nonce | 34b479cf824317f7912c2b6a995168a1e8c488f37317583049f0d2bf6029e6af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODZDOjE1RTBDOkI0NTVFOkU0MjIzOjY5OTEwNkVEIiwidmlzaXRvcl9pZCI6IjMwMjI5NzYwMTk2ODAyNjU5NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8be21a597eb63f1c303442500a7fe22a04e633d4d558f94d676049b2a42cb05b |
| hovercard-subject-tag | issue:553674701 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/string_decoder/16/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d34127eb8288b01a9de0762bc44317355ed16355a91d53f3fc894f58e9a0317/nodejs/string_decoder/issues/16 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d34127eb8288b01a9de0762bc44317355ed16355a91d53f3fc894f58e9a0317/nodejs/string_decoder/issues/16 |
| og:image:alt | Hi, the tests fail for Node.js >= 12. Here's the log: *[master][~/ups/string_decoder]$ npm run test (node:5240) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nileshpatra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/string_decoder git https://github.com/nodejs/string_decoder.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 95052330 |
| octolytics-dimension-repository_nwo | nodejs/string_decoder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95052330 |
| octolytics-dimension-repository_network_root_nwo | nodejs/string_decoder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width