Skip to content

Refactor Node.js code to ESM #4090

Refactor Node.js code to ESM

Refactor Node.js code to ESM #4090

Triggered via pull request June 20, 2024 14:26
Status Failure
Total duration 3m 4s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 13 warnings
android
Process completed with exit code 1.
iOS
Process completed with exit code 1.
JavaScript
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/.
JavaScript: tests/Resources/buffer.test.js#L51
Unexpected use of 'require("buffer").Buffer'. Use the global variable 'Buffer' instead
JavaScript: tests/Resources/buffer.test.js#L88
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
JavaScript: tests/Resources/buffer.test.js#L95
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
JavaScript: tests/Resources/buffer.test.js#L96
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
JavaScript: tests/Resources/buffer.test.js#L104
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
JavaScript: tests/Resources/buffer.test.js#L111
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
JavaScript: tests/Resources/buffer.test.js#L117
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
JavaScript: tests/Resources/buffer.test.js#L118
'new Buffer()' was deprecated since v6.0.0. Use 'Buffer.alloc()' or 'Buffer.from()' instead
JavaScript: tests/Resources/console.test.js#L20
Unexpected use of 'require("console")'. Use the global variable 'console' instead
JavaScript: tests/Resources/console.test.js#L26
Unexpected use of 'require("console")'. Use the global variable 'console' instead
android
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/setup-java@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
iOS
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/.