Skip to content

Commit 3b9e4d7

Browse files
committed
fix: update dependencies
1 parent 2f93c3f commit 3b9e4d7

File tree

6 files changed

+28
-28
lines changed

6 files changed

+28
-28
lines changed

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@
2323
"es6-error": "^4.1.1",
2424
"lodash": "^4.17.15",
2525
"pluralize": "^8.0.0",
26-
"roarr": "^2.14.1",
27-
"slonik": "^19.0.1",
28-
"yargs": "^14.0.0"
26+
"roarr": "^2.14.4",
27+
"slonik": "^21.4.0",
28+
"yargs": "^14.2.0"
2929
},
3030
"description": "A scaffolding tool for projects using DataLoader, Flow and PostgreSQL.",
3131
"devDependencies": {
32-
"@babel/cli": "^7.6.0",
33-
"@babel/core": "^7.6.0",
34-
"@babel/node": "^7.6.1",
35-
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
36-
"@babel/preset-env": "^7.6.0",
37-
"@babel/register": "^7.6.0",
32+
"@babel/cli": "^7.7.0",
33+
"@babel/core": "^7.7.2",
34+
"@babel/node": "^7.7.0",
35+
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
36+
"@babel/preset-env": "^7.7.1",
37+
"@babel/register": "^7.7.0",
3838
"ava": "^2.4.0",
3939
"babel-plugin-istanbul": "^5.2.0",
4040
"babel-plugin-macros": "^2.6.1",
41-
"coveralls": "^3.0.6",
42-
"eslint": "^6.4.0",
43-
"eslint-config-canonical": "^17.7.0",
44-
"flow-bin": "^0.108.0",
41+
"coveralls": "^3.0.7",
42+
"eslint": "^6.6.0",
43+
"eslint-config-canonical": "^17.8.0",
44+
"flow-bin": "^0.111.3",
4545
"flow-copy-source": "^2.0.8",
46-
"husky": "^3.0.5",
46+
"husky": "^3.0.9",
4747
"inline-loops.macro": "^1.2.2",
4848
"nyc": "^14.1.1",
49-
"semantic-release": "^15.13.24"
49+
"semantic-release": "^15.13.30"
5050
},
5151
"engines": {
5252
"node": ">=8"

src/routines/getByIds.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default async (
2828
ids: $ReadOnlyArray<string | number>,
2929
idName: string = 'id',
3030
identifiers: string,
31-
resultIsArray: boolean
31+
resultIsArray: boolean,
3232
): Promise<$ReadOnlyArray<any>> => {
3333
let rows = [];
3434

src/routines/getByIdsUsingJoiningTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default async (
1717
joiningKeyName: string,
1818
lookupKeyName: string,
1919
identifiers: string,
20-
ids: $ReadOnlyArray<string | number>
20+
ids: $ReadOnlyArray<string | number>,
2121
): Promise<$ReadOnlyArray<any>> => {
2222
let rows = [];
2323

src/utilities/generateDataLoaderFactory.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const createLoaderByIdsUsingJoiningTableDeclaration = (
3737
targetResourceTableName: string,
3838
joiningKeyName: string,
3939
lookupKeyName: string,
40-
columnSelector: string
40+
columnSelector: string,
4141
) => {
4242
return `const ${loaderName} = new DataLoader((ids) => {
4343
return getByIdsUsingJoiningTable(connection, '${joiningTableName}', '${targetResourceTableName}', '${joiningKeyName}', '${lookupKeyName}', '${columnSelector}', ids);
@@ -99,7 +99,7 @@ export default (
9999
loaderName,
100100
dataTypeMap[tableColumn.dataType] ? dataTypeMap[tableColumn.dataType] : tableColumn.dataType,
101101
tableColumn.mappedTableName,
102-
true
102+
true,
103103
);
104104

105105
loaderTypes.push(loaderType);
@@ -137,7 +137,7 @@ export default (
137137
loaderName,
138138
dataTypeMap[indexColumn.dataType] ? dataTypeMap[indexColumn.dataType] : indexColumn.dataType,
139139
indexColumn.mappedTableName,
140-
false
140+
false,
141141
);
142142

143143
loaderTypes.push(loaderType);
@@ -223,7 +223,7 @@ export default (
223223
loaderName,
224224
dataTypeMap[keyColumn.dataType] ? dataTypeMap[keyColumn.dataType] : keyColumn.dataType,
225225
relation.resource,
226-
true
226+
true,
227227
);
228228

229229
loaderTypes.push(loaderType);

test/postloader/utilities/generateDataLoaderFactory.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('creates a loader for unique indexes', (t) => {
2828
tableName: 'foo',
2929
},
3030
],
31-
{}
31+
{},
3232
));
3333

3434
const expected = trim(`
@@ -92,7 +92,7 @@ test('creates a loader for unique indexes (uses mappedTableName when available)'
9292
tableName: 'foo',
9393
},
9494
],
95-
{}
95+
{},
9696
));
9797

9898
const expected = trim(`
@@ -147,7 +147,7 @@ test('creates a loader for _id columns', (t) => {
147147
},
148148
],
149149
[],
150-
{}
150+
{},
151151
));
152152

153153
const expected = trim(`
@@ -229,7 +229,7 @@ test('creates a loader for a join table', (t) => {
229229
},
230230
],
231231
[],
232-
{}
232+
{},
233233
));
234234

235235
const expected = trim(`

test/postloader/utilities/isJoiningTable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test('correctly recognizes a joining table (genre_movie)', (t) => {
1212
[
1313
createColumnWithName('genre_id'),
1414
createColumnWithName('movie_id'),
15-
]
15+
],
1616
);
1717

1818
t.true(tableIsJoining);
@@ -24,7 +24,7 @@ test('correctly recognizes a joining table (event_event_attribute)', (t) => {
2424
[
2525
createColumnWithName('event_id'),
2626
createColumnWithName('event_attribute_id'),
27-
]
27+
],
2828
);
2929

3030
t.true(tableIsJoining);
@@ -36,7 +36,7 @@ test('correctly recognizes not a joining table', (t) => {
3636
[
3737
createColumnWithName('id'),
3838
createColumnWithName('name'),
39-
]
39+
],
4040
);
4141

4242
t.true(!tableIsJoining);

0 commit comments

Comments
 (0)