Skip to content

Update dependencies - #126

Merged
bendrucker merged 3 commits into
brianc:masterfrom
martianboy:update-deps
Mar 11, 2021
Merged

bendrucker merged 3 commits into
brianc:masterfrom
martianboy:update-deps

Conversation

@martianboy

Copy link
Copy Markdown
Contributor

This updates all out-dated deps, and updates the codes according to the
latest standard style.

This updates all out-dated deps, and updates the codes according to the
latest standard style.
Comment thread test/types.js
['01:02:03', function (t, value) {
t.equal(value.toPostgres(), '3 seconds 2 minutes 1 hours')
t.deepEqual(value, { hours: 1, minutes: 2, seconds: 3 })
t.deepEqual(value, toPostgresInterval({ years: 0, months: 0, days: 0, hours: 1, minutes: 2, seconds: 3, milliseconds: 0 }))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably the only meaningful change, as deepEqual doesn't ignore objects' prototypes. So I added a small function to fix that.

@bendrucker

Copy link
Copy Markdown
Collaborator

Thanks, I know we're overdue for a major release here. Will have a look soon and get that process kicked off.

@martianboy

Copy link
Copy Markdown
Contributor Author

I also updated minimum node version to 10, as it was breaking under 8.x.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #126 (97d21df) into master (c4f8c12) will not change coverage.
The diff coverage is 94.11%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #126   +/-   ##
=======================================
  Coverage   91.23%   91.23%           
=======================================
  Files           4        4           
  Lines         194      194           
=======================================
  Hits          177      177           
  Misses         17       17           
Impacted Files Coverage Δ
lib/binaryParsers.js 86.11% <86.95%> (ø)
index.js 75.00% <100.00%> (ø)
lib/textParsers.js 98.01% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4f8c12...97d21df. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants