Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jul 29, 2023
1 parent d7ec2b1 commit ac75782
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,14 @@ export class Selection<S = any> extends Executable<S, S[]> {
extra?: U,
query?: Selection.Callback<S, boolean>,
): Selection<Pick<S, K> & FieldMap<S, U>>

groupBy<K extends Dict<FieldLike<S>>>(fields: K, query?: Selection.Callback<S, boolean>): Selection<FieldMap<S, K>>
groupBy<K extends Dict<FieldLike<S>>, U extends Dict<FieldLike<S>>>(
fields: K,
extra?: U,
query?: Selection.Callback<S, boolean>,
): Selection<FieldMap<S, K & U>>

groupBy(fields: any, ...args: any[]) {
this.args[0].fields = this.resolveFields(fields)
this.args[0].group = Object.keys(this.args[0].fields!)
Expand Down
2 changes: 1 addition & 1 deletion packages/memory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"@minatojs/tests": "^1.5.0"
},
"dependencies": {
"cosmokit": "^1.4.2"
"cosmokit": "^1.4.3"
}
}
6 changes: 3 additions & 3 deletions packages/mongo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/driver-mongo",
"version": "2.5.2",
"version": "2.6.0",
"description": "MongoDB Driver for Minato",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"mongodb": "^4.16.0",
"cosmokit": "^1.4.2",
"reggol": "^1.4.2"
"cosmokit": "^1.4.3",
"reggol": "^1.4.4"
}
}
8 changes: 4 additions & 4 deletions packages/mysql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/driver-mysql",
"version": "2.4.6",
"version": "2.4.7",
"description": "MySQL Driver for Minato",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -32,9 +32,9 @@
"@types/mysql": "^2.15.21"
},
"dependencies": {
"@minatojs/sql-utils": "^4.0.4",
"@minatojs/sql-utils": "^4.0.5",
"@vlasky/mysql": "^2.18.6",
"cosmokit": "^1.4.2",
"reggol": "^1.4.2"
"cosmokit": "^1.4.3",
"reggol": "^1.4.4"
}
}
4 changes: 2 additions & 2 deletions packages/sql-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/sql-utils",
"version": "4.0.4",
"version": "4.0.5",
"description": "SQL Utilities for Minato",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -32,6 +32,6 @@
"@minatojs/core": "^2.3.2"
},
"dependencies": {
"cosmokit": "^1.4.2"
"cosmokit": "^1.4.3"
}
}
8 changes: 4 additions & 4 deletions packages/sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minatojs/driver-sqlite",
"version": "3.5.4",
"version": "3.5.6",
"description": "SQLite Driver for Minato",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -31,9 +31,9 @@
"@minatojs/tests": "^1.5.0"
},
"dependencies": {
"@minatojs/sql-utils": "^4.0.4",
"@minatojs/sql-utils": "^4.0.5",
"@minatojs/sql.js": "^2.0.1",
"cosmokit": "^1.4.2",
"reggol": "^1.4.2"
"cosmokit": "^1.4.3",
"reggol": "^1.4.4"
}
}
2 changes: 1 addition & 1 deletion packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chai-shape": "^1.0.0",
"cosmokit": "^1.4.2"
"cosmokit": "^1.4.3"
}
}

0 comments on commit ac75782

Please sign in to comment.