Skip to content

Commit e4fc00b

Browse files
authored
update @TheMost dependencies (#73)
* update @themost-framework dependencies * bump @themost/sqlite * 2.0.0 * version-2.0.0
1 parent 7954239 commit e4fc00b

6 files changed

Lines changed: 148 additions & 121 deletions

File tree

.gitpod.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This configuration file was automatically generated by Gitpod.
2+
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
3+
# and commit this file to your remote git repository to share the goodness with others.
4+
5+
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
6+
7+
tasks:
8+
- init: npm install && npm run build
9+
10+

modules/test/package-lock.json

Lines changed: 60 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/test/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@themost/test",
3-
"version": "1.1.0",
3+
"version": "2.0.0",
44
"description": "MOST Web Framework Test Api Server",
55
"repository": "https://github.com/themost-framework/themost-test.git",
66
"author": "Kyriakos Barbounakis<k.barbounakis@gmail.com>",
@@ -18,12 +18,12 @@
1818
"dependencies": {
1919
"@themost/client": "^2.5.5",
2020
"@themost/common": "^2.5.12",
21-
"@themost/data": "^2.8.5",
21+
"@themost/data": "^2.9.3",
2222
"@themost/ejs": "^2.0.1",
23-
"@themost/express": "^1.5.24",
23+
"@themost/express": "^1.6.0",
2424
"@themost/node": "^2.5.0",
25-
"@themost/query": "^2.5.21",
26-
"@themost/sqlite": "^2.6.9",
25+
"@themost/query": "^2.9.1",
26+
"@themost/sqlite": "^2.6.12",
2727
"@themost/web": "^2.5.16",
2828
"@themost/xml": "^2.5.2",
2929
"cors": "^2.8.5",

modules/test/server/routes/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function authRouter() {
5656
return done(new HttpForbiddenError());
5757
}
5858
// check if user has enabled attribute
59-
if (user.hasOwnProperty('enabled') && !user.enabled) {
59+
if (Object.prototype.hasOwnProperty.call(user, 'enabled') && !user.enabled) {
6060
//if user.enabled is off throw forbidden error
6161
return done(new HttpForbiddenError('Access is denied. User account is disabled.'));
6262
}

0 commit comments

Comments
 (0)