base
base copied to clipboard
Bump connect-pg-simple from 3.1.2 to 6.0.1
Bumps connect-pg-simple from 3.1.2 to 6.0.1.
Release notes
Sourced from connect-pg-simple's releases.
v6.0.1
- Very minor security fix:
schemaNameandtableNamewasn't escaped. If any of the two contained a string with a double quote in it, then that would enable an SQL injection. This was previously a feature oftableName, before the introduction of a separateschemaName, as that allowed a schema to be defined as part oftableName. Defining schema name throughtableNameis still supported after this fix, but is now deprecated.- Fix: Errors wasn't propagated properly. Fixed in #150. Thanks @bobnil!
https://github.com/voxpelli/node-connect-pg-simple/compare/v6.0.0...v6.0.1
v6.0.0
- Breaking change: Now requires at least Node.js 10.x, this as Node.js 8.x only have a short time left in its LTS
- Breaking change: This project now uses
INSERT ... ON CONFLICT, more popularly known asUPSERT. This is only supported on PostgreSQL version 9.5 and above.- Update pg-promise dev dependency to 9.x
- Listen on pool errors. Fixes #29
- Lots of dev dependency updates
https://github.com/voxpelli/node-connect-pg-simple/compare/v5.0.0...v6.0.0
Changelog
Sourced from connect-pg-simple's changelog.
6.0.1 (2019-08-21)
- Very minor security fix:
schemaNameandtableNamewasn't escaped. If any of the two contained a string with a double quote in it, then that would enable an SQL injection. This was previously a feature oftableName, before the introduction of a separateschemaName, as that allowed a schema to be defined as part oftableName. Defining schema name throughtableNameis still supported after this fix, but is now deprecated.- Fix: Errors wasn't propagated properly. Fixed in #150. Thanks @bobnil!
6.0.0 (2019-07-28)
- Breaking change: Now requires at least Node.js 10.x, this as Node.js 8.x only have a short time left in its LTS
- Breaking change: This project now uses
INSERT ... ON CONFLICT, more popularly known asUPSERT. This is only supported on PostgreSQL version 9.5 and above.- Listen on pool errors. Fixes #29
5.0.0 (2018-06-06)
- Breaking change: Now requires at least Node.js 8.x (this as Node.js 6.x only have a short time left in its LTS and I rather don't bump the major version more often than I have to)
- Breaking change: Now expects pg 7.x to be used
- Fix: Connection string is now handled by pg instead of by this module. Should improve support for things like ssl.
4.2.1 (2017-08-20)
- Fix: The pruning timer will no longer keep Node alive, it's been given the
unref()treatment4.2.0 (2017-05-20)
- Feature: New option
pgPromiseenables the library to re-use an existing connection from pg-promise. This is a mutually-exclusive alternative to specifyingpool,conObject, orconString(only one of these can be provided).4.1.0 (2017-05-19)
- Feature: New option
conObjectenables connection details to be set through an object- Improvement: Hardening of
conStringparsing + some added tests of it4.0.0 (2017-05-19)
- Breaking change + improved support: When the pg module is provided to this module, then a pool from the new
6.xversion of that module is now required rather than providing the module itself
Commits
876348d6.0.1ad9bf56Update CHANGELOG3aced7bAdd GitHub Actions flowc2b937fMinor refactoring: Remove some .bind()df61c95Security: Escape schemaName + tableName5779bd2Bugfix: errors not propagatedc03f05dRemove unneeded denodeifyd64a89dUnpin dev dependencies5b99a86Update dev dependencies424300eUpdate dependency husky to v3.0.2- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.