Support libpq's channel_binding and require_auth (and enforce them against every authentication request)
#2038
Annotations
7 errors and 1 warning
|
lint
Process completed with exit code 1.
|
|
lint:
packages/pg/test/unit/connection-parameters/creation-tests.js#L507
Replace `⏎········pgCString.includes("channel_binding='require'"),⏎········'libpqConnectionString·should·contain·channel_binding'⏎······` with `pgCString.includes("channel_binding='require'"),·'libpqConnectionString·should·contain·channel_binding'`
|
|
lint:
packages/pg/lib/channel-binding.js#L44
Replace `·channelBindingLevels,·channelBindingFromDeprecatedBoolean,·validatedChannelBinding,·resolveChannelBinding·` with `⏎··channelBindingLevels,⏎··channelBindingFromDeprecatedBoolean,⏎··validatedChannelBinding,⏎··resolveChannelBinding,⏎`
|
|
lint:
packages/pg/lib/channel-binding.js#L27
Replace `⏎······`Invalid·channel_binding·value:·"${value}".·Valid·values·are·"disable",·"prefer"·and·"require".`⏎····` with ``Invalid·channel_binding·value:·"${value}".·Valid·values·are·"disable",·"prefer"·and·"require".``
|
|
lint:
packages/pg/lib/channel-binding.js#L22
Replace `(value·?·'prefer'·:·'disable')` with `value·?·'prefer'·:·'disable'`
|
|
lint:
packages/pg/lib/channel-binding.js#L19
Delete `;`
|
|
lint:
packages/pg/lib/channel-binding.js#L18
Delete `·`
|
|
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|