Skip to content

Commit 5f5d2fe

Browse files
authored
Added defaultConnectionPoolFactory to the root module exports (#14)
1 parent ad14f9f commit 5f5d2fe

File tree

4 files changed

+24
-9
lines changed

4 files changed

+24
-9
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 0.5.2 (January 10, 2020)
2+
3+
## Features
4+
5+
- defaultConnectionPoolFactory is now exported at the root of the module, making it easier to create a custom connection pool factory that extends the default behavior.
6+
7+
## Security Fixes
8+
9+
- Cleaned up some npm audit errors (all on devDependencies).
10+
111
# 0.5.1 (November 4, 2019)
212

313
## Bug Fixes

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mssql-pool-party",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "Extension of mssql that provides management of multiple connection pools, dsns, retries, and more",
55
"main": "dist/index.js",
66
"files": [

src/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import debug from 'debug';
66
import ConnectionPoolParty from './connection-pool-party';
7+
import defaultConnectionPoolFactory from './default-connection-pool-factory';
78
import forceFqdnConnectionPoolFactory from './force-fqdn-connection-pool-factory';
89

910
// Send all debug() logs to stdout instead of stderr
@@ -13,4 +14,8 @@ debug.log = console.log.bind(console);
1314
// export everything from mssql since we aren't overwriting the existing interface
1415
export * from 'mssql';
1516

16-
export { ConnectionPoolParty, forceFqdnConnectionPoolFactory };
17+
export {
18+
ConnectionPoolParty,
19+
defaultConnectionPoolFactory,
20+
forceFqdnConnectionPoolFactory,
21+
};

0 commit comments

Comments
 (0)