Skip to content

Commit 557716d

Browse files
authored
fix(pg-connection-string): export default from esm wrapper (#3425)
Prior to v2.8.0, the parse function was the default when using import. When esm compatibility was introduced in v2.8.0, there was not default specified. This broke existing code that relied on that default. Fixes #3424
1 parent 9cc7d8e commit 557716d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/pg-connection-string/esm/index.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import connectionString from '../index.js'
33

44
// Re-export the parse function
5+
export default connectionString.parse
56
export const parse = connectionString.parse
67
export const toClientConfig = connectionString.toClientConfig
78
export const parseIntoClientConfig = connectionString.parseIntoClientConfig

0 commit comments

Comments
 (0)