Refactor Node.js code to ESM #4090
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests/Resources/buffer.test.js#L51
Unexpected use of 'require("buffer").Buffer'. Use the global variable 'Buffer' instead
|
tests/Resources/buffer.test.js#L88
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
|
tests/Resources/buffer.test.js#L95
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
|
tests/Resources/buffer.test.js#L96
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
|
tests/Resources/buffer.test.js#L104
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
|
tests/Resources/buffer.test.js#L111
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
|
tests/Resources/buffer.test.js#L117
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
|
tests/Resources/buffer.test.js#L118
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
|
tests/Resources/console.test.js#L20
Unexpected use of 'require("console")'. Use the global variable 'console' instead
|
tests/Resources/console.test.js#L26
Unexpected use of 'require("console")'. Use the global variable 'console' instead
|
This job succeeded
Loading