Skip to content

Commit 37249c2

Browse files
authored
Upgrade knex (#553)
1 parent 11867bd commit 37249c2

File tree

5 files changed

+68
-81
lines changed

5 files changed

+68
-81
lines changed

packages/redux-devtools-cli/defaultDbOptions.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
{
22
"client": "sqlite3",
33
"connection": { "filename": ":memory:" },
4-
"pool": {
5-
"min": 1,
6-
"max": 1,
7-
"idleTimeoutMillis": 360000000,
8-
"disposeTimeout": 360000000
9-
},
104
"useNullAsDefault": true,
115
"debug": false,
126
"migrate": true

packages/redux-devtools-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"graphql": "^0.13.0",
4444
"graphql-server-express": "^1.4.1",
4545
"graphql-tools": "^4.0.8",
46-
"knex": "^0.15.2",
46+
"knex": "^0.19.5",
4747
"lodash": "^4.17.19",
4848
"minimist": "^1.2.5",
4949
"morgan": "^1.10.0",

packages/redux-devtools-cli/src/db/migrations/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
exports.up = function(knex, Promise) {
1+
exports.up = function(knex) {
22
return Promise.all([
33
knex.schema.createTable('remotedev_reports', function(table) {
44
table.uuid('id').primary();
@@ -77,7 +77,7 @@ exports.up = function(knex, Promise) {
7777
]);
7878
};
7979

80-
exports.down = function(knex, Promise) {
80+
exports.down = function(knex) {
8181
return Promise.all([
8282
knex.schema.dropTable('remotedev_reports'),
8383
knex.schema.dropTable('remotedev_apps')

packages/redux-devtools-cli/src/db/seeds/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
exports.seed = function(knex, Promise) {
1+
exports.seed = function(knex) {
22
return Promise.all([knex('remotedev_apps').del()]).then(function() {
33
return Promise.all([
44
knex('remotedev_apps').insert({

yarn.lock

Lines changed: 64 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -4322,7 +4322,7 @@ bindings@^1.5.0:
43224322
dependencies:
43234323
file-uri-to-path "1.0.0"
43244324

4325-
bluebird@^3.3.5, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
4325+
bluebird@^3.3.5, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5, bluebird@^3.7.0:
43264326
version "3.7.2"
43274327
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
43284328
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
@@ -4829,15 +4829,6 @@ caseless@~0.12.0:
48294829
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
48304830
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
48314831

4832-
4833-
version "2.3.2"
4834-
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.2.tgz#250dc96b07491bfd601e648d66ddf5f60c7a5c65"
4835-
integrity sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==
4836-
dependencies:
4837-
ansi-styles "^3.2.1"
4838-
escape-string-regexp "^1.0.5"
4839-
supports-color "^5.3.0"
4840-
48414832
48424833
version "2.4.1"
48434834
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e"
@@ -5167,6 +5158,11 @@ color@^2.0.1:
51675158
color-convert "^1.9.1"
51685159
color-string "^1.5.2"
51695160

5161+
5162+
version "1.1.0"
5163+
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.1.0.tgz#1f943e5a357fac10b4e0f5aaef3b14cdc1af6ec7"
5164+
integrity sha512-6S062WDQUXi6hOfkO/sBPVwE5ASXY4G2+b4atvhJfSsuUUhIaUKlkjLe9692Ipyt5/a+IPF5aVTu3V5gvXq5cg==
5165+
51705166
colorette@^1.2.1:
51715167
version "1.2.1"
51725168
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
@@ -5213,11 +5209,16 @@ [email protected]:
52135209
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
52145210
integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==
52155211

5216-
commander@^2.14.1, commander@^2.16.0, commander@^2.19.0, commander@^2.20.0, commander@^2.9.0:
5212+
commander@^2.14.1, commander@^2.19.0, commander@^2.20.0, commander@^2.9.0:
52175213
version "2.20.3"
52185214
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
52195215
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
52205216

5217+
commander@^3.0.2:
5218+
version "3.0.2"
5219+
resolved "https://registry.yarnpkg.com/commander/-/commander-3.0.2.tgz#6837c3fb677ad9933d1cfba42dd14d5117d6b39e"
5220+
integrity sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==
5221+
52215222
commander@^4.0.1, commander@^4.1.1:
52225223
version "4.1.1"
52235224
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
@@ -5923,20 +5924,20 @@ [email protected]:
59235924
dependencies:
59245925
ms "2.0.0"
59255926

5927+
[email protected], debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
5928+
version "4.1.1"
5929+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
5930+
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
5931+
dependencies:
5932+
ms "^2.1.1"
5933+
59265934
debug@^3.1.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.6:
59275935
version "3.2.6"
59285936
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
59295937
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
59305938
dependencies:
59315939
ms "^2.1.1"
59325940

5933-
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
5934-
version "4.1.1"
5935-
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
5936-
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
5937-
dependencies:
5938-
ms "^2.1.1"
5939-
59405941
debuglog@^1.0.1:
59415942
version "1.0.1"
59425943
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
@@ -7446,16 +7447,6 @@ find-up@^4.1.0:
74467447
locate-path "^5.0.0"
74477448
path-exists "^4.0.0"
74487449

7449-
findup-sync@^2.0.0:
7450-
version "2.0.0"
7451-
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-2.0.0.tgz#9326b1488c22d1a6088650a86901b2d9a90a2cbc"
7452-
integrity sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=
7453-
dependencies:
7454-
detect-file "^1.0.0"
7455-
is-glob "^3.1.0"
7456-
micromatch "^3.0.4"
7457-
resolve-dir "^1.0.1"
7458-
74597450
findup-sync@^3.0.0:
74607451
version "3.0.0"
74617452
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1"
@@ -7826,6 +7817,11 @@ get-value@^2.0.2, get-value@^2.0.3, get-value@^2.0.6:
78267817
resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
78277818
integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=
78287819

7820+
7821+
version "2.2.5"
7822+
resolved "https://registry.yarnpkg.com/getopts/-/getopts-2.2.5.tgz#67a0fe471cacb9c687d817cab6450b96dde8313b"
7823+
integrity sha512-9jb7AW5p3in+IiJWhQiZmmwkpLaR/ccTWdWQCtZM66HJcHHLegowh4q4tSD7gouUyeNvFWRavfK9GXosQHDpFA==
7824+
78297825
getpass@^0.1.1:
78307826
version "0.1.7"
78317827
resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
@@ -8731,7 +8727,7 @@ inflight@^1.0.4:
87318727
once "^1.3.0"
87328728
wrappy "1"
87338729

8734-
inherits@2, [email protected], inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3:
8730+
inherits@2, [email protected], inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4:
87358731
version "2.0.4"
87368732
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
87378733
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
@@ -8847,7 +8843,7 @@ internal-slot@^1.0.2:
88478843
has "^1.0.3"
88488844
side-channel "^1.0.2"
88498845

8850-
interpret@^1.0.0, interpret@^1.1.0, interpret@^1.4.0:
8846+
interpret@^1.0.0, interpret@^1.1.0, interpret@^1.2.0, interpret@^1.4.0:
88518847
version "1.4.0"
88528848
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e"
88538849
integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
@@ -10166,27 +10162,26 @@ kleur@^3.0.3:
1016610162
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
1016710163
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
1016810164

10169-
knex@^0.15.2:
10170-
version "0.15.2"
10171-
resolved "https://registry.yarnpkg.com/knex/-/knex-0.15.2.tgz#6059b87489605f4cc87599a6d2a9d265709e9340"
10172-
integrity sha1-YFm4dIlgX0zIdZmm0qnSZXCek0A=
10173-
dependencies:
10174-
babel-runtime "^6.26.0"
10175-
bluebird "^3.5.1"
10176-
chalk "2.3.2"
10177-
commander "^2.16.0"
10178-
debug "3.1.0"
10179-
inherits "~2.0.3"
10180-
interpret "^1.1.0"
10181-
liftoff "2.5.0"
10182-
lodash "^4.17.10"
10183-
minimist "1.2.0"
10165+
knex@^0.19.5:
10166+
version "0.19.5"
10167+
resolved "https://registry.yarnpkg.com/knex/-/knex-0.19.5.tgz#3597ebecf88a5942f18c3e6d91af53bda59eeb5d"
10168+
integrity sha512-Hy258avCVircQq+oj3WBqPzl8jDIte438Qlq+8pt1i/TyLYVA4zPh2uKc7Bx0t+qOpa6D42HJ2jjtl2vagzilw==
10169+
dependencies:
10170+
bluebird "^3.7.0"
10171+
colorette "1.1.0"
10172+
commander "^3.0.2"
10173+
debug "4.1.1"
10174+
getopts "2.2.5"
10175+
inherits "~2.0.4"
10176+
interpret "^1.2.0"
10177+
liftoff "3.1.0"
10178+
lodash "^4.17.15"
1018410179
mkdirp "^0.5.1"
10185-
pg-connection-string "2.0.0"
10186-
tarn "^1.1.4"
10187-
tildify "1.2.0"
10188-
uuid "^3.3.2"
10189-
v8flags "^3.1.1"
10180+
pg-connection-string "2.1.0"
10181+
tarn "^2.0.0"
10182+
tildify "2.0.0"
10183+
uuid "^3.3.3"
10184+
v8flags "^3.1.3"
1019010185

1019110186
known-css-properties@^0.2.0:
1019210187
version "0.2.0"
@@ -10285,13 +10280,13 @@ [email protected]:
1028510280
dependencies:
1028610281
immediate "~3.0.5"
1028710282

10288-
liftoff@2.5.0:
10289-
version "2.5.0"
10290-
resolved "https://registry.yarnpkg.com/liftoff/-/liftoff-2.5.0.tgz#2009291bb31cea861bbf10a7c15a28caf75c31ec"
10291-
integrity sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew=
10283+
liftoff@3.1.0:
10284+
version "3.1.0"
10285+
resolved "https://registry.yarnpkg.com/liftoff/-/liftoff-3.1.0.tgz#c9ba6081f908670607ee79062d700df062c52ed3"
10286+
integrity sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==
1029210287
dependencies:
1029310288
extend "^3.0.0"
10294-
findup-sync "^2.0.0"
10289+
findup-sync "^3.0.0"
1029510290
fined "^1.0.1"
1029610291
flagged-respawn "^1.0.0"
1029710292
is-plain-object "^2.0.4"
@@ -12368,10 +12363,10 @@ performance-now@^2.1.0:
1236812363
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
1236912364
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
1237012365

12371-
pg-connection-string@2.0.0:
12372-
version "2.0.0"
12373-
resolved "https://registry.yarnpkg.com/pg-connection-string/-/pg-connection-string-2.0.0.tgz#3eefe5997e06d94821e4d502e42b6a1c73f8df82"
12374-
integrity sha1-Pu/lmX4G2Ugh5NUC5CtqHHP434I=
12366+
pg-connection-string@2.1.0:
12367+
version "2.1.0"
12368+
resolved "https://registry.yarnpkg.com/pg-connection-string/-/pg-connection-string-2.1.0.tgz#e07258f280476540b24818ebb5dca29e101ca502"
12369+
integrity sha512-bhlV7Eq09JrRIvo1eKngpwuqKtJnNhZdpdOlvrPrA4dxqXPjxSrbNrfnIDmTpwMyRszrcV4kU5ZA4mMsQUrjdg==
1237512370

1237612371
picomatch@^2.0.4, picomatch@^2.2.1:
1237712372
version "2.2.2"
@@ -15556,10 +15551,10 @@ tar@^4, tar@^4.4.10, tar@^4.4.12, tar@^4.4.8:
1555615551
safe-buffer "^5.1.2"
1555715552
yallist "^3.0.3"
1555815553

15559-
tarn@^1.1.4:
15560-
version "1.1.5"
15561-
resolved "https://registry.yarnpkg.com/tarn/-/tarn-1.1.5.tgz#7be88622e951738b9fa3fb77477309242cdddc2d"
15562-
integrity sha512-PMtJ3HCLAZeedWjJPgGnCvcphbCOMbtZpjKgLq3qM5Qq9aQud+XHrL0WlrlgnTyS8U+jrjGbEXprFcQrxPy52g==
15554+
tarn@^2.0.0:
15555+
version "2.0.0"
15556+
resolved "https://registry.yarnpkg.com/tarn/-/tarn-2.0.0.tgz#c68499f69881f99ae955b4317ca7d212d942fdee"
15557+
integrity sha512-7rNMCZd3s9bhQh47ksAQd92ADFcJUjjbyOvyFjNLwTPpGieFHMC84S+LOzw0fx1uh6hnDz/19r8CPMnIjJlMMA==
1556315558

1556415559
temp-dir@^1.0.0:
1556515560
version "1.0.0"
@@ -15687,12 +15682,10 @@ [email protected]:
1568715682
resolved "https://registry.yarnpkg.com/ticky/-/ticky-1.0.1.tgz#b7cfa71e768f1c9000c497b9151b30947c50e46d"
1568815683
integrity sha1-t8+nHnaPHJAAxJe5FRswlHxQ5G0=
1568915684

15690-
15691-
version "1.2.0"
15692-
resolved "https://registry.yarnpkg.com/tildify/-/tildify-1.2.0.tgz#dcec03f55dca9b7aa3e5b04f21817eb56e63588a"
15693-
integrity sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo=
15694-
dependencies:
15695-
os-homedir "^1.0.0"
15685+
15686+
version "2.0.0"
15687+
resolved "https://registry.yarnpkg.com/tildify/-/tildify-2.0.0.tgz#f205f3674d677ce698b7067a99e949ce03b4754a"
15688+
integrity sha512-Cc+OraorugtXNfs50hU9KS369rFXCfgGLpfCfvlc+Ud5u6VWmUQsOAa9HbTvheQdYnrdJqqv1e5oIqXppMYnSw==
1569615689

1569715690
timers-browserify@^1.0.1:
1569815691
version "1.4.2"
@@ -16198,7 +16191,7 @@ [email protected]:
1619816191
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"
1619916192
integrity sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==
1620016193

16201-
uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2, uuid@^3.4.0:
16194+
uuid@^3.0.1, uuid@^3.1.0, uuid@^3.3.2, uuid@^3.3.3, uuid@^3.4.0:
1620216195
version "3.4.0"
1620316196
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
1620416197
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
@@ -16208,7 +16201,7 @@ v8-compile-cache@^2.1.1:
1620816201
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz#54bc3cdd43317bca91e35dcaf305b1a7237de745"
1620916202
integrity sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==
1621016203

16211-
v8flags@^3.1.1:
16204+
v8flags@^3.1.3:
1621216205
version "3.2.0"
1621316206
resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.2.0.tgz#b243e3b4dfd731fa774e7492128109a0fe66d656"
1621416207
integrity sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==

0 commit comments

Comments
 (0)