Skip to content

Commit

Permalink
Merge pull request #847 from dresende/security_and_node_11
Browse files Browse the repository at this point in the history
Resolve lodash security issues & add node 11+ support
  • Loading branch information
dxg authored Nov 4, 2019
2 parents 40d349f + d907924 commit f4ac6ee
Show file tree
Hide file tree
Showing 7 changed files with 590 additions and 168 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ node_js:
- '6'
- '8'
- '10'
- '12'
- '13'
before_script:
- mysql -e 'create database orm_test;'
- psql -c 'create database orm_test;' -U postgres
services:
- mongodb
- mysql
- postgresql
6 changes: 5 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
### v5.0.5
- Update lodash & sql-ddl-sync version to address security vulnerabilities ([845](../../pull/845)
- Node 11+ support (stable sort; see https://github.com/nodejs/node/issues/24294 for details)
- Test against node 12 & 13

### v5.0.4
- Update sql-query version to address security vulnerabilities ([841](../../pull/841)

### v5.0.3
- Update dependencies to address security vulnerabilities

### v5.0.2

- Fix rare crash when object slips into postgres `escapeValue` ([dresende/node-sql-query#54](https://github.com/dresende/node-sql-query/pull/54)) ([#833](../../pull/833))

### v5.0.1
Expand Down
4 changes: 2 additions & 2 deletions lib/ChainInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ function ChainInstance(chain, cb) {

return next();
}),
sort: promise(function (cb) {
instances.sort(cb);
sort: promise(function (sortFn) {
instances.sort(sortFn);

return next();
}),
Expand Down
Loading

0 comments on commit f4ac6ee

Please sign in to comment.