Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/kriasoft/node-sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
theogravity committed Jan 28, 2019
2 parents 3a97950 + f16f8b3 commit ef660de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
- Typescript: Add cached option to open function [#81](https://github.com/kriasoft/node-sqlite/pull/81)
- Typescript: Merged declarations for methods that accepts both string and SQLStatements in Database [#80](https://github.com/kriasoft/node-sqlite/pull/80)
- Misc: Fix small typo [#84](https://github.com/kriasoft/node-sqlite/pull/84)
- Apply `npm audit` fixes (`mocha` updated to latest)

### [v3.0.0]
> 2018-08-22
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "sqlite",
"version": "3.0.0",
"version": "3.0.1",
"description": "SQLite client for Node.js applications with SQL-based migrations API",
"repository": "kriasoft/node-sqlite",
"author": "Kriasoft <[email protected]> (https://www.kriasoft.com)",
Expand Down Expand Up @@ -64,7 +64,7 @@
"eslint": "^3.14.1",
"eslint-config-airbnb-base": "^11.0.1",
"eslint-plugin-import": "^2.2.0",
"mocha": "^3.2.0",
"mocha": "^5.2.0",
"rollup": "^0.41.4",
"rollup-plugin-babel": "^2.7.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Database.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class Database {
throw new Error(`No migration files found in '${location}'.`);
}

// Ge the list of migrations, for example:
// Get the list of migrations, for example:
// { id: 1, name: 'initial', filename: '001-initial.sql', up: ..., down: ... }
// { id: 2, name: 'feature', fielname: '002-feature.sql', up: ..., down: ... }
await Promise.all(migrations.map(migration => new this.Promise((resolve, reject) => {
Expand Down

0 comments on commit ef660de

Please sign in to comment.