File tree 5 files changed +1286
-1418
lines changed
5 files changed +1286
-1418
lines changed Original file line number Diff line number Diff line change 20
20
DIALECT : postgres
21
21
SEQ_PORT : 54320
22
22
steps :
23
- - uses : actions/checkout@v3
24
- - uses : actions/setup-node@v3
23
+ - uses : actions/checkout@v4
24
+ - uses : actions/setup-node@v4
25
25
with :
26
26
node-version : ${{ matrix.node-version }}
27
27
- run : yarn install --frozen-lockfile --ignore-engines
41
41
DIALECT : mysql
42
42
SEQ_PORT : 33060
43
43
steps :
44
- - uses : actions/checkout@v3
45
- - uses : actions/setup-node@v3
44
+ - uses : actions/checkout@v4
45
+ - uses : actions/setup-node@v4
46
46
with :
47
47
node-version : ${{ matrix.node-version }}
48
48
- run : yarn install --frozen-lockfile --ignore-engines
61
61
env :
62
62
DIALECT : sqlite
63
63
steps :
64
- - uses : actions/checkout@v3
65
- - uses : actions/setup-node@v3
64
+ - uses : actions/checkout@v4
65
+ - uses : actions/setup-node@v4
66
66
with :
67
67
node-version : ${{ matrix.node-version }}
68
68
- run : yarn install --frozen-lockfile --ignore-engines
82
82
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83
83
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
84
84
steps :
85
- - uses : actions/checkout@v3
86
- - uses : actions/setup-node@v3
85
+ - uses : actions/checkout@v4
86
+ - uses : actions/setup-node@v4
87
87
with :
88
88
node-version : 18.x
89
89
- run : yarn install --frozen-lockfile
Original file line number Diff line number Diff line change 20
20
language : [ 'javascript' ]
21
21
steps :
22
22
- name : Checkout repository
23
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
24
- name : Initialize CodeQL
25
25
uses : github/codeql-action/init@v2
26
26
with :
Original file line number Diff line number Diff line change 21
21
"yargs" : " ^16.2.0"
22
22
},
23
23
"devDependencies" : {
24
- "@babel/cli" : " 7.21.5 " ,
25
- "@babel/core" : " 7.22.1 " ,
26
- "@babel/preset-env" : " 7.22.4 " ,
27
- "@babel/register" : " 7.21.0 " ,
28
- "@commitlint/cli" : " 17.6.5 " ,
29
- "@commitlint/config-angular" : " 17.6.5 " ,
24
+ "@babel/cli" : " 7.23.0 " ,
25
+ "@babel/core" : " 7.23.2 " ,
26
+ "@babel/preset-env" : " 7.23.2 " ,
27
+ "@babel/register" : " 7.22.15 " ,
28
+ "@commitlint/cli" : " 18.2.0 " ,
29
+ "@commitlint/config-angular" : " 18.1.0 " ,
30
30
"bluebird" : " 3.7.2" ,
31
31
"eslint" : " 7.32.0" ,
32
- "eslint-config-prettier" : " 8.8 .0" ,
32
+ "eslint-config-prettier" : " 9.0 .0" ,
33
33
"eslint-plugin-prettier" : " 4.2.1" ,
34
34
"expect.js" : " 0.3.1" ,
35
35
"gulp" : " 4.0.2" ,
36
36
"husky" : " 8.0.3" ,
37
- "lint-staged" : " 13.2 .2" ,
37
+ "lint-staged" : " 15.0 .2" ,
38
38
"mocha" : " 9.2.2" ,
39
39
"mysql2" : " 3.2.0" ,
40
40
"pg" : " latest" ,
41
41
"pg-hstore" : " latest" ,
42
42
"prettier" : " 2.8.8" ,
43
- "semver" : " 7.5.1 " ,
44
- "sequelize" : " 6.32 .0" ,
43
+ "semver" : " 7.5.4 " ,
44
+ "sequelize" : " 6.33 .0" ,
45
45
"sqlite3" : " latest" ,
46
46
"through2" : " 4.0.2"
47
47
},
Original file line number Diff line number Diff line change @@ -181,10 +181,11 @@ const api = {
181
181
} ;
182
182
183
183
if ( urlParts . auth ) {
184
- result = _ . assign ( result , {
185
- username : urlParts . auth . split ( ':' ) [ 0 ] ,
186
- password : urlParts . auth . split ( ':' ) [ 1 ] ,
187
- } ) ;
184
+ const authParts = urlParts . auth . split ( ':' ) ;
185
+ result . username = authParts [ 0 ] ;
186
+ if ( authParts . length > 1 ) {
187
+ result . password = authParts . slice ( 1 ) . join ( ':' ) ;
188
+ }
188
189
}
189
190
190
191
return result ;
You can’t perform that action at this time.
0 commit comments