Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

build(dev-deps): update all non-major dependencies #243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 29, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ivangabriele/prettier-config 3.0.2 -> 3.1.0 age adoption passing confidence
@ivangabriele/semantic-release-config-base 2.0.2 -> 2.1.0 age adoption passing confidence
@rollup/plugin-commonjs (source) 22.0.0 -> 22.0.2 age adoption passing confidence
@rollup/plugin-typescript (source) 8.3.2 -> 8.5.0 age adoption passing confidence
@types/jest (source) 27.5.1 -> 27.5.2 age adoption passing confidence
eslint-plugin-jest 26.2.2 -> 26.9.0 age adoption passing confidence
husky (source) 8.0.1 -> 8.0.3 age adoption passing confidence
pg 8.7.3 -> 8.10.0 age adoption passing confidence
rollup (source) 2.74.1 -> 2.79.1 age adoption passing confidence
typescript (source) 4.6.4 -> 4.9.5 age adoption passing confidence

Release Notes

ivangabriele/prettier-config

v3.1.0

Compare Source

Bug Fixes
  • build: force v3 patch version (c6fe2db)
  • dev-deps: resolve minimist to >=1.2.6 (bdbd748)
Features
  • disable single quotes for solidity files (ff978b8)
ivangabriele/semantic-release

v2.1.0

Compare Source

rollup/plugins (@​rollup/plugin-commonjs)

v22.0.2

Compare Source

2022-08-05

Bugfixes
  • fix: Exclude multi-line template strings from indent (#​1229)

v22.0.1

2022-06-24

Bugfixes
  • fix: Only proxy detected commonjs entry points (#​1180)
rollup/plugins (@​rollup/plugin-typescript)

v8.5.0

Compare Source

2022-09-06

Features

v8.4.0

Compare Source

2022-08-23

Features
  • feat: allow override of forced noEmit and emitDeclarationOnly compiler options (#​1242)

v8.3.4

Compare Source

2022-07-28

Bugfixes
  • fix: fix declaration file generation for single file outputs (#​1201)

v8.3.3

2022-06-10

Bugfixes
  • fix: allow tslib peerDependency to be optional for npm and pnpm (#​1191)
jest-community/eslint-plugin-jest

v26.9.0

Compare Source

Features

26.8.7 (2022-08-21)

Bug Fixes
  • prefer-expect-assertions: report on concise arrow functions (#​1207) (f928747)

26.8.6 (2022-08-21)

Bug Fixes
  • max-expect: reset expect counter when entering and exiting test function calls (#​1206) (3908ab8)

26.8.5 (2022-08-20)

Bug Fixes
  • prefer-expect-assertions: use scoped based jest fn call parser for expect checks (#​1201) (fd54ca1)

26.8.4 (2022-08-19)

Bug Fixes
  • prefer-mock-promise-shorthand: ignore mockImplementation functions that have parameters (#​1199) (78ccbef)

26.8.3 (2022-08-15)

Performance Improvements

26.8.2 (2022-08-09)

Bug Fixes
  • max-expects: don't count expect.<member>() calls towards max (#​1194) (75a0ff2)

26.8.1 (2022-08-08)

Bug Fixes
  • no-standalone-expect: only report on expect.hasAssertions & expect.assertions member calls (#​1191) (4bf9eea)

v26.8.7

Compare Source

Bug Fixes
  • prefer-expect-assertions: report on concise arrow functions (#​1207) (f928747)

v26.8.6

Compare Source

Bug Fixes
  • max-expect: reset expect counter when entering and exiting test function calls (#​1206) (3908ab8)

v26.8.5

Compare Source

Bug Fixes
  • prefer-expect-assertions: use scoped based jest fn call parser for expect checks (#​1201) (fd54ca1)

v26.8.4

Compare Source

Bug Fixes
  • prefer-mock-promise-shorthand: ignore mockImplementation functions that have parameters (#​1199) (78ccbef)

v26.8.3

Compare Source

Performance Improvements

v26.8.2

Compare Source

Bug Fixes
  • max-expects: don't count expect.<member>() calls towards max (#​1194) (75a0ff2)

v26.8.1

Compare Source

Bug Fixes
  • no-standalone-expect: only report on expect.hasAssertions & expect.assertions member calls (#​1191) (4bf9eea)

v26.8.0

Compare Source

Features

v26.7.0

Compare Source

Features

v26.6.0

Compare Source

Features

26.5.3 (2022-06-06)

Bug Fixes
  • prefer-equality-matcher: handle resolves and rejects modifiers correctly (#​1146) (0fad4df)

26.5.2 (2022-06-06)

Bug Fixes
  • prefer-comparison-matcher: handle resolves and rejects modifiers correctly (#​1145) (b1795ff)

26.5.1 (2022-06-05)

Bug Fixes
  • prefer-called-with: handle resolves and rejects modifiers correctly (#​1143) (dff1cb4)

v26.5.3

Compare Source

Bug Fixes
  • prefer-equality-matcher: handle resolves and rejects modifiers correctly (#​1146) (0fad4df)

v26.5.2

Compare Source

Bug Fixes
  • prefer-comparison-matcher: handle resolves and rejects modifiers correctly (#​1145) (b1795ff)

v26.5.1

Compare Source

Bug Fixes
  • prefer-called-with: handle resolves and rejects modifiers correctly (#​1143) (dff1cb4)

v26.5.0

Compare Source

Features

26.4.7 (2022-06-04)

Bug Fixes
  • no-restricted-matchers: allow restricting negated resolves and rejects modifiers (#​1142) (0950a96)

26.4.6 (2022-05-30)

Bug Fixes
  • no-disabled-tests: don't report on it.todo & test.todo (#​1137) (b651443)

26.4.5 (2022-05-29)

Bug Fixes
  • expect-expect: include numbers when matching assert function names with wildcards (#​1134) (2d0ef11)

26.4.4 (2022-05-29)

Bug Fixes
  • don't consider template tags in the middle of a possible jest function chain to be valid (#​1133) (430de17)

26.4.3 (2022-05-29)

Bug Fixes
  • don't consider method calls on literals or new to be jest functions (#​1132) (379ceb3)
  • produce valid code when when fixing properties accessed with square brackets (#​1131) (6cd600d)

26.4.2 (2022-05-28)

Bug Fixes
  • don't consider concurrent.skip and concurrent.only valid test functions (#​1124) (0aa5eb6)
  • no-disabled-tests: use jest function call parser for checking number of args (#​1126) (b67e389)

26.4.1 (2022-05-28)

Bug Fixes

v26.4.7

Compare Source

Bug Fixes
  • no-restricted-matchers: allow restricting negated resolves and rejects modifiers (#​1142) (0950a96)

v26.4.6

Compare Source

Bug Fixes
  • no-disabled-tests: don't report on it.todo & test.todo (#​1137) (b651443)

v26.4.5

Compare Source

Bug Fixes
  • expect-expect: include numbers when matching assert function names with wildcards (#​1134) (2d0ef11)

v26.4.4

Compare Source

Bug Fixes
  • don't consider template tags in the middle of a possible jest function chain to be valid (#​1133) (430de17)

v26.4.3

Compare Source

Bug Fixes
  • don't consider method calls on literals or new to be jest functions (#​1132) (379ceb3)
  • produce valid code when when fixing properties accessed with square brackets (#​1131) (6cd600d)

v26.4.2

Compare Source

Bug Fixes
  • don't consider concurrent.skip and concurrent.only valid test functions (#​1124) (0aa5eb6)
  • no-disabled-tests: use jest function call parser for checking number of args (#​1126) (b67e389)

v26.4.1

Compare Source

Bug Fixes

v26.4.0

Compare Source

Features
  • improve how jest function calls are resolved to account for import aliases (#​1122) (781f00e)

v26.3.0

Compare Source

Features

26.2.2 (2022-05-14)

Bug Fixes
  • use the last reference definition when checking jest fn scope (#​1109) (1b2b9c1)

26.2.1 (2022-05-14)

Bug Fixes
typicode/husky

v8.0.3

Compare Source

  • fix: add git not installed message #​1208

v8.0.2

Compare Source

  • docs: remove deprecated npm set-script
brianc/node-postgres

v8.10.0

Compare Source

  • Emit release event when client is returned to the pool.

v8.9.0

Compare Source

v8.8.0

Compare Source

[email protected]
[email protected]
  • Add optional config to pool to allow process to exit if pool is idle.
[email protected]
[email protected]
[email protected]
  • Library has been converted to Typescript. The behavior is identical, but there could be subtle breaking changes due to class names changing or other small inconsistencies introduced by the conversion.
[email protected]
[email protected]
  • Switch to optional peer dependencies & remove semver package which has been a small thorn in the side of a few users.
  • Export DatabaseError from pg-protocol.
  • Add support for sslmode in the connection string.
[email protected]
[email protected]
  • Switch internal protocol parser & serializer to pg-protocol. The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster. This is the first work to land in an on-going performance improvment initiative I'm working on. Stay tuned as things are set to get much faster still! 🚀
[email protected]
  • Switch internal protocol parser & serializer to pg-protocol. The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster.
[email protected]
  • Switch internal protocol parser & serializer to pg-protocol. The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster.
[email protected]
  • Switch to using monorepo version of pg-connection-string. This includes better support for SSL argument parsing from connection strings and ensures continuity of support.
  • Add &ssl=no-verify option to connection string and PGSSLMODE=no-verify environment variable support for the pure JS driver. This is equivalent of passing { ssl: { rejectUnauthorized: false } } to the client/pool constructor. The advantage of having support in connection strings and environment variables is it can be "externally" configured via environment variables and CLI arguments much more easily, and should remove the need to directly edit any application code for the SSL default changes in 8.0. This should make using [email protected] significantly less difficult on environments like Heroku for example.
[email protected]
  • Same changes to pg impact pg-pool as they both use the same connection parameter and connection string parsing code for configuring SSL.
[email protected]
[email protected]
note: for detailed release notes please check here
  • Remove versions of node older than 6 lts from the test matrix. pg>=8.0 may still work on older versions but it is no longer officially supported.
  • Change default behavior when not specifying rejectUnauthorized with the SSL connection parameters. Previously we defaulted to rejectUnauthorized: false when it was not specifically included. We now default to rejectUnauthorized: true. Manually specify { ssl: { rejectUnauthorized: false } } for old behavior.
  • Change default database when not specified to use the user config option if available. Previously process.env.USER was used.
  • Change pg.Pool and pg.Query to be an es6 class.
  • Make pg.native non enumerable.
  • notice messages are no longer instances of Error.
  • Passwords no longer show up when instances of clients or pools are logged.
[email protected]
  • This will likely be the last minor release before [email protected].
  • This version contains a few bug fixes and adds a deprecation warning for a pending change in 8.0 which will flip the default behavior over SSL from rejectUnauthorized from false to true making things more secure in the general use case.
[email protected]
  • Rewrote stream internals to better conform to node stream semantics. This should make pg-query-stream much better at respecting highWaterMark and getting rid of some edge case bugs when using pg-query-stream as an async iterator. Due to the size and nature of this change (effectively a full re-write) it's safest to bump the semver major here, though almost all tests remain untouched and still passing, which brings us to a breaking change to the API....
  • Changed stream.close to stream.destroy which is the official way to terminate a readable stream. This is a breaking change if you rely on the stream.close method on pg-query-stream...though should be just a find/replace type operation to upgrade as the semantics remain very similar (not exactly the same, since internals are rewritten, but more in line with how streams are "supposed" to behave).
  • Unified the config.batchSize and config.highWaterMark to both do the same thing: control how many rows are buffered in memory. The ReadableStream will manage exactly how many rows are requested from the cursor at a time. This should give better out of the box performance and help with efficient async iteration.
[email protected]
  • Add support for idle_in_transaction_session_timeout option.
7.16.0
  • Add optional, opt-in behavior to test new, faster query pipeline. This is experimental, and not documented yet. The pipeline changes will grow significantly after the 8.0 release.
7.15.0
7.14.0
7.13.0
7.12.0
7.11.0
7.10.0
7.9.0
7.8.0
7.7.0
7.6.0
7.5.0
7.4.0
7.3.0
7.2.0
  • Pinned pg-pool and pg-types to a tighter semver range. This is likely not a noticeable change for you unless you were specifically installing older versions of those libraries for some reason, but making it a minor bump here just in case it could cause any confusion.
7.1.0
Enhancements
7.0.0
Breaking Changes
  • Drop support for node < 4.x.
  • Remove pg.connect pg.end and pg.cancel singleton methods.
  • Client#connect(callback) now returns undefined. It used to return an event emitter.
  • Upgrade pg-pool to 2.x.
  • Upgrade pg-native to 2.x.
  • Standardize error message fields between JS and native driver. The only breaking changes were in the native driver as its field names were brought into alignment with the existing JS driver field names.
  • Result from multi-statement text queries such as SELECT 1; SELECT 2; are now returned as an array of results instead of a single result with 1 array containing rows from both queries.

Please see here for a migration guide

Enhancements
  • Overhauled documentation: https://node-postgres.com.
  • Add Client#connect() => Promise<void> and Client#end() => Promise<void> calls. Promises are now returned from all async methods on clients if and only if no callback was supplied to the method.
  • Add connectionTimeoutMillis to pg-pool.
v6.2.0
v6.1.0
  • Add optional callback parameter to the pure JavaScript client.end method. The native client already supported this.
v6.0.0
Breaking Changes
  • Remove pg.pools. There is still a reference kept to the pools created & tracked by pg.connect but it has been renamed, is considered private, and should not be used. Accessing this API directly was uncommon and was supposed to be private but was incorrectly documented on the wiki. Therefore, it is a breaking change of an (unintentionally) public interface to remove it by renaming it & making it private. Eventually pg.connect itself will be deprecated in favor of instantiating pools directly via new pg.Pool() so this property should become completely moot at some point. In the mean time...check out the new features...
New features
  • Replace internal pooling code with pg-pool. This is the first step in eventually deprecating and removing the singleton pg.connect. The pg-pool constructor is exported from node-postgres at require('pg').Pool. It provides a backwards compatible interface with pg.connect as well as a promise based interface & additional niceties.

You can now create an instance of a pool and don't have to rely on the pg singleton for anything:

var pg = require('pg')

var pool = new pg.Pool()

// your friendly neighborhood pool interface, without the singleton
pool.connect(function(err, client, done) {
  // ...
})

Promise support & other goodness lives now in pg-pool.

Please read the readme at pg-pool for the full api.

  • Included support for tcp keep alive. Enable it as follows:
var client = new Client({ keepAlive: true })

This should help with backends incorrectly considering idle clients to be dead and prematurely disconnecting them.

v5.1.0
  • Make the query object returned from client.query implement the promise interface. This is the first step towards promisifying more of the node-postgres api.

Example:

var client = new Client()
client.connect()
client.query('SELECT $1::text as name', ['brianc']).then(function (res) {
  console.log('hello from', res.rows[0])
  client.end()
})
v5.0.0
Breaking Changes
  • require('pg').native now returns null if the native bindings cannot be found; previously, this threw an exception.
New Features
  • better error message when passing undefined as a query parameter
  • support for defaults.connectionString
  • support for returnToHead being passed to generic pool
v4.5.0
  • Add option to parse JS date objects in query parameters as UTC
v4.4.0
  • Warn to stderr if a named query exceeds 63 characters which is the max length supported by postgres.
v4.3.0
v4.2.0
  • Support for additional error fields in postgres >= 9.3 if available.
v4.1.0
v4.0.0
  • Make native bindings an optional install with npm install pg-native
  • No longer surround query result callback with try/catch block.
  • Remove built in COPY IN / COPY OUT support - better implementations provided by pg-copy-streams and pg-native
v3.6.0
v3.5.0
  • Include support for parsing boolean arrays
v3.4.0
v3.2.0
v3.1.0
v3.0.0
Breaking changes

After some discussion it was decided node-postgres was non-compliant in how it was handling DATE results. They were being converted to UTC, but the PostgreSQL documentation specifies they should be returned in the client timezone. This is a breaking change, and if you use the date type you might want to examine your code and make sure nothing is impacted.

[email protected] included changes to not convert large integers into their JavaScript number representation because of possibility for numeric precision loss. The same types in arrays were not taken into account. This fix applies the same type of type-coercion rules to arrays of those types, so there will be no more possible numeric loss on an array of very large int8s for example. This is a breaking change because now a return type from a query of int8[] will contain string representations
of the integers. Use your favorite JavaScript bignum module to represent them without precision loss, or punch over the type converter to return the old style arrays again.

Single date parameters were properly sent to the PostgreSQL server properly in local time, but an input array of dates was being changed into utc dates. This is a violation of what PostgreSQL expects. Small breaking change, but none-the-less something you should check out if you are inserting an array of dates.

This is a small change to bring the semantics of query more in line with other EventEmitters. The tests all passed after this change, but I suppose it could still be a breaking change in certain use cases. If you are doing clever things with the end and error events of a query object you might want to check to make sure its still behaving normally, though it is most likely not an issue.

New features

The long & short of it is now any object you supply in the list of query values will be inspected for a .toPostgres method. If the method is present it will be called and its result used as the raw text value sent to PostgreSQL for that value. This allows the same type of custom type coercion on query parameters as was previously afforded to query result values.

If domains are active node-postgres will honor them and do everything it can to ensure all callbacks are properly fired in the active domain. If you have tried to use domains with node-postgres (or many other modules which pool long lived event emitters) you may have run into an issue where the active domain changes before and after a callback. This has been a longstanding footgun within node-postgres and I am happy to get it fixed.

Avoids a scenario where your pool could fill up with disconnected & unusable clients.

To provide better documentation and a clearer explanation of how to override the query result parsing system we broke the type converters into their own module. There is still work around removing the 'global-ness' of the type converters so each query or connection can return types differently, but this is a good first step and allow a lot more obvious way to return int8 results as JavaScript numbers, for example

v2.11.0
v2.10.0
v2.9.0
v2.8.0
  • Add support for parsing JSON[] and UUID[] result types
v2.7.0
  • Use single row mode in native bindings when available [@​rpedela]
    • reduces memory consumption when handling row values in 'row' event
  • Automatically bind buffer type parameters as binary [@​eugeneware]
v2.6.0
  • Respect PGSSLMODE environment variable
v2.5.0
  • Ability to opt-in to int8 parsing via pg.defaults.parseInt8 = true
v2.4.0
  • Use eval in the result set parser to increase performance
v2.3.0
  • Remove built-in support for binary Int64 parsing.
    *Due to the low usage & required compiled dependency this will be pushe

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented May 29, 2022

Codecov Report

Merging #243 (04cae9a) into main (0a9525c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #243   +/-   ##
=======================================
  Coverage   99.56%   99.56%           
=======================================
  Files           2        2           
  Lines         232      232           
  Branches       70       80   +10     
=======================================
  Hits          231      231           
  Misses          1        1           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from 3a1aca7 to efb9a85 Compare June 6, 2022 03:59
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 48c6f96 to 3a35a07 Compare June 10, 2022 15:00
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 78421c1 to ef129b1 Compare June 24, 2022 13:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 0794cc8 to ee58e12 Compare July 15, 2022 11:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ee58e12 to d7b0fac Compare July 18, 2022 22:20
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8739813 to 04cae9a Compare March 16, 2023 23:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants