Refactor: Convert CommonJS to ECMAScript Modules (ESM) #3579
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run npm run lint:
packages/notification/channel/mailgun.ts#L59
Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'
|
Run npm run 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
|
Run npm run 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
|
Run npm run 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
|
Run npm run lint:
src/components/probe/index.test.ts#L57
Unexpected any. Specify a different type
|
Run npm run lint:
src/components/probe/prober/http/index.test.ts#L54
Unexpected any. Specify a different type
|
Run npm run 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
|
Run npm run 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
|
Run npm run 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
|
Run npm run 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
|
Loading