Refactor: Convert CommonJS to ECMAScript Modules (ESM) #3579
node.js.yml
on: pull_request
lint
43s
format
40s
prod_test_npm
2m 13s
prod_test_binary
7m 13s
test
1m 39s
Annotations
1 error and 15 warnings
prod_test_binary
Process completed with exit code 1.
|
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
packages/notification/channel/mailgun.ts#L59
Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'
|
lint:
src/components/logger/history.ts#L37
Caution: `SQLite3` also has a named export `verbose`. Check if you meant to write `import {verbose} from 'sqlite3'` instead
|
lint:
src/components/notification/schedule-notification.ts#L8
Caution: `cron` also has a named export `schedule`. Check if you meant to write `import {schedule} from 'node-cron'` instead
|
lint:
src/components/probe/index.test.ts#L42
Caution: `pg` also has a named export `Pool`. Check if you meant to write `import {Pool} from 'pg'` instead
|
lint:
src/components/probe/index.test.ts#L57
Unexpected any. Specify a different type
|
lint:
src/components/probe/prober/http/index.test.ts#L54
Unexpected any. Specify a different type
|
lint:
src/components/probe/prober/postgres/index.ts#L7
Caution: `pgConnectionString` also has a named export `parse`. Check if you meant to write `import {parse} from 'pg-connection-string'` instead
|
lint:
src/components/probe/prober/postgres/request.ts#L32
Caution: `pg` also has a named export `Pool`. Check if you meant to write `import {Pool} from 'pg'` instead
|
lint:
src/loaders/jobs.ts#L34
Caution: `cron` also has a named export `schedule`. Check if you meant to write `import {schedule} from 'node-cron'` instead
|
lint:
src/loaders/jobs.ts#L38
Caution: `cron` also has a named export `schedule`. Check if you meant to write `import {schedule} from 'node-cron'` instead
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prod_test_npm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prod_test_binary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|