Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gajus/slonik
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v31.3.0
Choose a base ref
...
head repository: gajus/slonik
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v31.4.0
Choose a head ref
  • 2 commits
  • 2 files changed
  • 3 contributors

Commits on Oct 11, 2022

  1. eslint: enable cache (#421)

    Co-authored-by: alxndrsn <alxndrsn>
    alxndrsn authored Oct 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9ed1422 View commit details

Commits on Oct 18, 2022

  1. feat: export ConnectionRoutine, QueryFunction from index.d.ts (#416)

    So can use 'import type {xyz} from slonik' from index vs 'import type {xyz} from slonik/dist/src/types'
    
    Co-authored-by: Gajus Kuizinas <gajus@gajus.com>
    Snurppa and gajus authored Oct 18, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2d552a4 View commit details
Showing with 3 additions and 1 deletion.
  1. +1 −1 package.json
  2. +2 −0 src/index.ts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@
"scripts": {
"build": "rm -fr ./dist && tsc",
"create-readme": "gitdown ./.README/README.md --output-file ./README.md",
"lint": "eslint ./src ./test && tsc --noEmit",
"lint": "eslint --cache ./src ./test && tsc --noEmit",
"test": "nyc ava --verbose --serial"
},
"types": "./dist/src/index.d.ts",
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@ export type {
CommonQueryMethods,
Connection,
ConnectionOptions,
ConnectionRoutine,
DatabaseConnection,
DatabasePool,
DatabasePoolConnection,
@@ -29,6 +30,7 @@ export type {
PrimitiveValueExpression,
Query,
QueryContext,
QueryFunction,
QueryResult,
QueryResultRow,
QueryResultRowColumn,