Update dependencies to enable Greenkeeper 🌴 (#3940)
* chore(package): update dependencies * docs(readme): add Greenkeeper badge * Fix indent issues with eslint 4.0 see http://eslint.org/docs/user-guide/migrating-to-4.0.0\#-the-indent-rule-is-more-strict
This commit is contained in:
committed by
Arthur Cinader
parent
16954c2f74
commit
e94991b368
@@ -21,6 +21,7 @@
|
||||
"space-in-parens": ["error", "never"],
|
||||
"no-multiple-empty-lines": 1,
|
||||
"prefer-const": "error",
|
||||
"space-infix-ops": "error"
|
||||
"space-infix-ops": "error",
|
||||
"no-useless-escape": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@ Parse Server works with the Express web application framework. It can be added t
|
||||
|
||||
# Getting Started
|
||||
|
||||
[](https://greenkeeper.io/)
|
||||
|
||||
|
||||
April 2016 - We created a series of video screencasts, please check them out here: [http://blog.parse.com/learn/parse-server-video-series-april-2016/](http://blog.parse.com/learn/parse-server-video-series-april-2016/)
|
||||
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
"body-parser": "1.17.2",
|
||||
"commander": "2.9.0",
|
||||
"deepcopy": "0.6.3",
|
||||
"express": "4.15.2",
|
||||
"express": "4.15.3",
|
||||
"intersect": "1.0.1",
|
||||
"lodash": "4.17.4",
|
||||
"lru-cache": "4.1.0",
|
||||
"lru-cache": "4.1.1",
|
||||
"mime": "1.3.6",
|
||||
"mongodb": "2.2.28",
|
||||
"multer": "1.3.0",
|
||||
@@ -34,7 +34,7 @@
|
||||
"parse-server-push-adapter": "1.3.0",
|
||||
"parse-server-s3-adapter": "1.0.6",
|
||||
"parse-server-simple-mailgun-adapter": "1.0.0",
|
||||
"pg-promise": "5.9.1",
|
||||
"pg-promise": "5.9.3",
|
||||
"redis": "2.7.1",
|
||||
"request": "2.81.0",
|
||||
"semver": "5.3.0",
|
||||
@@ -55,7 +55,7 @@
|
||||
"bcrypt-nodejs": "0.0.3",
|
||||
"cross-env": "5.0.1",
|
||||
"deep-diff": "0.3.8",
|
||||
"eslint": "^3.16.1",
|
||||
"eslint": "^4.0.0",
|
||||
"eslint-plugin-flowtype": "^2.25.0",
|
||||
"gaze": "1.1.2",
|
||||
"jasmine": "2.6.0",
|
||||
|
||||
@@ -140,7 +140,7 @@ function update(config, auth, className, restWhere, restObject, clientSDK) {
|
||||
}
|
||||
|
||||
const classesWithMasterOnlyAccess = ['_JobStatus', '_PushStatus', '_Hooks', '_GlobalConfig', '_JobSchedule'];
|
||||
// Disallowing access to the _Role collection except by master key
|
||||
// Disallowing access to the _Role collection except by master key
|
||||
function enforceRoleSecurity(method, className, auth) {
|
||||
if (className === '_Installation' && !auth.isMaster) {
|
||||
if (method === 'delete' || method === 'find') {
|
||||
|
||||
Reference in New Issue
Block a user