Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit a7899041
authored
Mar 24, 2018
by
Sushant
Committed by
GitHub
Mar 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chores: update dependencies (#9235)
1 parent
223b13a2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
32 deletions
appveyor-setup.ps1
appveyor.yml
package.json
test/integration/dialects/mssql/connection-manager.test.js
test/integration/sequelize.test.js
appveyor-setup.ps1
View file @
a789904
...
@@ -6,16 +6,16 @@ Start-Service sqlbrowser
...
@@ -6,16 +6,16 @@ Start-Service sqlbrowser
[
reflection.assembly]::LoadWithPartialName
(
"Microsoft.SqlServer.SqlWmiManagement"
)
|
Out-Null
[
reflection.assembly]::LoadWithPartialName
(
"Microsoft.SqlServer.SqlWmiManagement"
)
|
Out-Null
$wmi
=
New-Object
(
'Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer'
)
$wmi
=
New-Object
(
'Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer'
)
$tcp
=
$wmi
.GetSmoObject
(
"ManagedComputer[@Name='
${
env
:computername
}
']/ServerInstance[@Name='SQL201
6
']/ServerProtocol[@Name='Tcp']"
)
$tcp
=
$wmi
.GetSmoObject
(
"ManagedComputer[@Name='
${
env
:computername
}
']/ServerInstance[@Name='SQL201
7
']/ServerProtocol[@Name='Tcp']"
)
$tcp
.IsEnabled
=
$true
$tcp
.IsEnabled
=
$true
$tcp
.Alter
()
$tcp
.Alter
()
$wmi
=
New-Object
(
'Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer'
)
$wmi
=
New-Object
(
'Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer'
)
$ipall
=
$wmi
.GetSmoObject
(
"ManagedComputer[@Name='
${
env
:computername
}
']/ServerInstance[@Name='SQL201
6
']/ServerProtocol[@Name='Tcp']/IPAddress[@Name='IPAll']"
)
$ipall
=
$wmi
.GetSmoObject
(
"ManagedComputer[@Name='
${
env
:computername
}
']/ServerInstance[@Name='SQL201
7
']/ServerProtocol[@Name='Tcp']/IPAddress[@Name='IPAll']"
)
$port
=
$ipall
.IPAddressProperties.Item
(
"TcpDynamicPorts"
)
.Value
$port
=
$ipall
.IPAddressProperties.Item
(
"TcpDynamicPorts"
)
.Value
$config
=
@
{
$config
=
@
{
instanceName
=
"SQL201
6
"
instanceName
=
"SQL201
7
"
host
=
"localhost"
host
=
"localhost"
username
=
"sa"
username
=
"sa"
password
=
"Password12!"
password
=
"Password12!"
...
...
appveyor.yml
View file @
a789904
...
@@ -4,7 +4,7 @@ platform:
...
@@ -4,7 +4,7 @@ platform:
-
x64
-
x64
services
:
services
:
-
mssql201
6
-
mssql201
7
shallow_clone
:
true
shallow_clone
:
true
...
...
package.json
View file @
a789904
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
"generic-pool"
:
"^3.4.0"
,
"generic-pool"
:
"^3.4.0"
,
"inflection"
:
"1.12.0"
,
"inflection"
:
"1.12.0"
,
"lodash"
:
"^4.17.1"
,
"lodash"
:
"^4.17.1"
,
"moment"
:
"^2.2
0
.0"
,
"moment"
:
"^2.2
1
.0"
,
"moment-timezone"
:
"^0.5.14"
,
"moment-timezone"
:
"^0.5.14"
,
"retry-as-promised"
:
"^2.3.2"
,
"retry-as-promised"
:
"^2.3.2"
,
"semver"
:
"^5.5.0"
,
"semver"
:
"^5.5.0"
,
...
@@ -37,37 +37,37 @@
...
@@ -37,37 +37,37 @@
"wkx"
:
"^0.4.1"
"wkx"
:
"^0.4.1"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@semantic-release/github"
:
"^4.
2.6
"
,
"@semantic-release/github"
:
"^4.
x
"
,
"@semantic-release/npm"
:
"^3.
2.2
"
,
"@semantic-release/npm"
:
"^3.
x
"
,
"chai"
:
"^4.
1.2
"
,
"chai"
:
"^4.
x
"
,
"chai-as-promised"
:
"^7.
1.1
"
,
"chai-as-promised"
:
"^7.
x
"
,
"chai-datetime"
:
"^1.
5.0
"
,
"chai-datetime"
:
"^1.
x
"
,
"chai-spies"
:
"^1.
0.0
"
,
"chai-spies"
:
"^1.
x
"
,
"cheerio"
:
"^1.0.0-rc.2"
,
"cheerio"
:
"^1.0.0-rc.2"
,
"commitizen"
:
"^2.
9.6
"
,
"commitizen"
:
"^2.
x
"
,
"continuation-local-storage"
:
"^3.
2.0
"
,
"continuation-local-storage"
:
"^3.
x
"
,
"cross-env"
:
"^5.
0.5
"
,
"cross-env"
:
"^5.
x
"
,
"cz-conventional-changelog"
:
"^2.
0.0
"
,
"cz-conventional-changelog"
:
"^2.
x
"
,
"env-cmd"
:
"^7.
0.0
"
,
"env-cmd"
:
"^7.
x
"
,
"esdoc"
:
"^0.5.2"
,
"esdoc"
:
"^0.5.2"
,
"eslint"
:
"^4.
16.0
"
,
"eslint"
:
"^4.
x
"
,
"eslint-plugin-mocha"
:
"^4.
11.0
"
,
"eslint-plugin-mocha"
:
"^4.
x
"
,
"hints"
:
"^1.
1.0
"
,
"hints"
:
"^1.
x
"
,
"husky"
:
"^0.
14.2
"
,
"husky"
:
"^0.
x
"
,
"istanbul"
:
"^0.
4.5
"
,
"istanbul"
:
"^0.
x
"
,
"lcov-result-merger"
:
"^2.
0.0
"
,
"lcov-result-merger"
:
"^2.
x
"
,
"mocha"
:
"^5.
0.4
"
,
"mocha"
:
"^5.
x
"
,
"mysql2"
:
"^1.x"
,
"mysql2"
:
"^1.x"
,
"pg"
:
"^7.x"
,
"pg"
:
"^7.x"
,
"pg-hstore"
:
"^2.
3.2
"
,
"pg-hstore"
:
"^2.
x
"
,
"pg-native"
:
"^2.x"
,
"pg-native"
:
"^2.x"
,
"pg-types"
:
"^1.x"
,
"pg-types"
:
"^1.x"
,
"rimraf"
:
"^2.
5.4
"
,
"rimraf"
:
"^2.
x
"
,
"semantic-release"
:
"^15.
0.0
"
,
"semantic-release"
:
"^15.
x
"
,
"sinon"
:
"^4.
3.0
"
,
"sinon"
:
"^4.
x
"
,
"sinon-chai"
:
"^2.
14.0
"
,
"sinon-chai"
:
"^2.
x
"
,
"sqlite3"
:
"^
3
.x"
,
"sqlite3"
:
"^
4
.x"
,
"tedious"
:
"
1.14.0
"
,
"tedious"
:
"
^2.x
"
,
"uuid-validate"
:
"^0.0.2"
,
"uuid-validate"
:
"^0.0.2"
,
"validate-commit-msg"
:
"^2.12.2"
"validate-commit-msg"
:
"^2.12.2"
},
},
...
...
test/integration/dialects/mssql/connection-manager.test.js
View file @
a789904
...
@@ -82,7 +82,7 @@ if (dialect.match(/^mssql/)) {
...
@@ -82,7 +82,7 @@ if (dialect.match(/^mssql/)) {
describe
(
'Errors'
,
()
=>
{
describe
(
'Errors'
,
()
=>
{
it
(
'ECONNREFUSED'
,
()
=>
{
it
(
'ECONNREFUSED'
,
()
=>
{
const
sequelize
=
Support
.
createSequelizeInstance
({
port
:
34237
});
const
sequelize
=
Support
.
createSequelizeInstance
({
host
:
'127.0.0.1'
,
port
:
34237
});
return
expect
(
sequelize
.
connectionManager
.
getConnection
()).
to
.
have
.
been
.
rejectedWith
(
sequelize
.
ConnectionRefusedError
);
return
expect
(
sequelize
.
connectionManager
.
getConnection
()).
to
.
have
.
been
.
rejectedWith
(
sequelize
.
ConnectionRefusedError
);
});
});
...
...
test/integration/sequelize.test.js
View file @
a789904
...
@@ -152,7 +152,8 @@ describe(Support.getTestDialectTeaser('Sequelize'), () => {
...
@@ -152,7 +152,8 @@ describe(Support.getTestDialectTeaser('Sequelize'), () => {
err
.
message
.
match
(
/connect ECONNREFUSED/
)
||
err
.
message
.
match
(
/connect ECONNREFUSED/
)
||
err
.
message
.
match
(
/invalid port number/
)
||
err
.
message
.
match
(
/invalid port number/
)
||
err
.
message
.
match
(
/should be >=
?
0 and < 65536/
)
||
err
.
message
.
match
(
/should be >=
?
0 and < 65536/
)
||
err
.
message
.
match
(
/Login failed for user/
)
err
.
message
.
match
(
/Login failed for user/
)
||
err
.
message
.
match
(
/Port must be > 0 and < 65536/
)
).
to
.
be
.
ok
;
).
to
.
be
.
ok
;
});
});
});
});
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment