# [5.3.0](https://github.com/parse-community/parse-server/compare/5.2.8...5.3.0) (2022-10-29) ### Bug Fixes * afterSave trigger removes pointer in Parse object ([#7913](https://github.com/parse-community/parse-server/issues/7913)) ([47d796e](47d796ea58)) * authentication adapter app ID validation may be circumvented; this fixes a vulnerability that affects configurations which allow users to authenticate using the Parse Server authentication adapter for *Facebook* or *Spotify* and where the server-side authentication adapter configuration `appIds` is set as a string (e.g. `abc`) instead of an array of strings (e.g. `["abc"]`) ([GHSA-r657-33vp-gp22](https://github.com/parse-community/parse-server/security/advisories/GHSA-r657-33vp-gp22)) [skip release] ([#8188](https://github.com/parse-community/parse-server/issues/8188)) ([1a2b1b9](1a2b1b9bc1)) * auto-release process may fail if optional back-merging task fails ([#8051](https://github.com/parse-community/parse-server/issues/8051)) ([cf925e7](cf925e75e8)) * brute force guessing of user sensitive data via search patterns (GHSA-2m6g-crv8-p3c6) ([#8145](https://github.com/parse-community/parse-server/issues/8145)) [skip release] ([f0db4ca](f0db4ca4a4)) * certificate in Apple Game Center auth adapter not validated [skip release] ([#8055](https://github.com/parse-community/parse-server/issues/8055)) ([4c2aa63](4c2aa63fd2)) * custom database options are not passed to MongoDB GridFS ([#7911](https://github.com/parse-community/parse-server/issues/7911)) ([b1e5565](b1e5565b22)) * depreciate allowClientClassCreation defaulting to true ([#7925](https://github.com/parse-community/parse-server/issues/7925)) ([38ed96a](38ed96ace5)) * errors in GraphQL do not show the original error but a general `Unexpected Error` ([#8045](https://github.com/parse-community/parse-server/issues/8045)) ([0d81887](0d818879c2)) * interrupted WebSocket connection not closed by LiveQuery server ([#8012](https://github.com/parse-community/parse-server/issues/8012)) ([2d5221e](2d5221e480)) * invalid file request not properly handled [skip release] ([#8061](https://github.com/parse-community/parse-server/issues/8061)) ([1a04a34](1a04a347cf)) * live query role cache does not clear when a user is added to a role ([#8026](https://github.com/parse-community/parse-server/issues/8026)) ([199dfc1](199dfc1722)) * peer dependency mismatch for GraphQL dependencies ([#7934](https://github.com/parse-community/parse-server/issues/7934)) ([0a6faa8](0a6faa81fa)) * protected fields exposed via LiveQuery (GHSA-crrq-vr9j-fxxh) [skip release] ([#8075](https://github.com/parse-community/parse-server/issues/8075)) ([636d16e](636d16e0f9)) * return correct response when revert is used in beforeSave ([#7839](https://github.com/parse-community/parse-server/issues/7839)) ([19900fc](19900fcdf8)) * security upgrade @parse/fs-files-adapter from 1.2.1 to 1.2.2 ([#7948](https://github.com/parse-community/parse-server/issues/7948)) ([3a70fda](3a70fda679)) * security upgrade moment from 2.29.1 to 2.29.2 ([#7931](https://github.com/parse-community/parse-server/issues/7931)) ([731c550](731c550714)) * security upgrade parse push adapter from 4.1.0 to 4.1.2 ([#7893](https://github.com/parse-community/parse-server/issues/7893)) ([93667b4](93667b4e84)) * server crashes when receiving file download request with invalid byte range; this fixes a security vulnerability that allows an attacker to impact the availability of the server instance; the fix improves parsing of the range parameter to properly handle invalid range requests ([GHSA-h423-w6qv-2wj3](https://github.com/parse-community/parse-server/security/advisories/GHSA-h423-w6qv-2wj3)) [skip release] ([#8237](https://github.com/parse-community/parse-server/issues/8237)) ([4c1befa](4c1befabf2)) * session object properties can be updated by foreign user; this fixes a security vulnerability in which a foreign user can write to the session object of another user if the session object ID is known; the fix prevents writing to foreign session objects ([GHSA-6w4q-23cf-j9jp](https://github.com/parse-community/parse-server/security/advisories/GHSA-6w4q-23cf-j9jp)) [skip release] ([#8181](https://github.com/parse-community/parse-server/issues/8181)) ([83cdc89](83cdc89be9)) * websocket connection of LiveQuery interrupts frequently ([#8048](https://github.com/parse-community/parse-server/issues/8048)) ([03caae1](03caae1e61)) ### Features * add MongoDB 5.1 compatibility ([#7682](https://github.com/parse-community/parse-server/issues/7682)) ([022a856](022a85619d)) * add MongoDB 5.2 support ([#7894](https://github.com/parse-community/parse-server/issues/7894)) ([5bfa716](5bfa7160d9)) * add support for Node 17 and 18 ([#7896](https://github.com/parse-community/parse-server/issues/7896)) ([3e9f292](3e9f292d84)) * align file trigger syntax with class trigger; use the new syntax `Parse.Cloud.beforeSave(Parse.File, (request) => {})`, the old syntax `Parse.Cloud.beforeSaveFile((request) => {})` has been deprecated ([#7966](https://github.com/parse-community/parse-server/issues/7966)) ([c6dcad8](c6dcad8d16)) * replace GraphQL Apollo with GraphQL Yoga ([#7967](https://github.com/parse-community/parse-server/issues/7967)) ([1aa2204](1aa2204aeb)) * selectively enable / disable default authentication adapters ([#7953](https://github.com/parse-community/parse-server/issues/7953)) ([c1e808f](c1e808f9e8)) * upgrade mongodb from 4.4.1 to 4.5.0 ([#7991](https://github.com/parse-community/parse-server/issues/7991)) ([e692b5d](e692b5dd82)) ### Performance Improvements * reduce database operations when using the constant parameter in Cloud Function validation ([#7892](https://github.com/parse-community/parse-server/issues/7892)) ([041197f](041197fb4c))
166 lines
6.2 KiB
JSON
166 lines
6.2 KiB
JSON
{
|
|
"name": "parse-server",
|
|
"version": "5.3.0-alpha.32",
|
|
"description": "An express module providing a Parse-compatible API server",
|
|
"main": "lib/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/parse-community/parse-server"
|
|
},
|
|
"files": [
|
|
"bin/",
|
|
"lib/",
|
|
"public_html/",
|
|
"views/",
|
|
"LICENSE",
|
|
"PATENTS",
|
|
"postinstall.js",
|
|
"README.md"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"dependencies": {
|
|
"@graphql-yoga/node": "2.6.0",
|
|
"@graphql-tools/utils": "8.12.0",
|
|
"@graphql-tools/merge": "8.3.6",
|
|
"@graphql-tools/schema": "9.0.4",
|
|
"@parse/fs-files-adapter": "1.2.2",
|
|
"@parse/push-adapter": "4.1.2",
|
|
"bcryptjs": "2.4.3",
|
|
"body-parser": "1.20.1",
|
|
"commander": "5.1.0",
|
|
"cors": "2.8.5",
|
|
"deepcopy": "2.1.0",
|
|
"express": "4.18.1",
|
|
"follow-redirects": "1.15.2",
|
|
"graphql": "16.6.0",
|
|
"graphql-list-fields": "2.0.2",
|
|
"graphql-tag": "2.12.6",
|
|
"graphql-relay": "0.10.0",
|
|
"intersect": "1.0.1",
|
|
"jsonwebtoken": "8.5.1",
|
|
"jwks-rsa": "2.1.4",
|
|
"ldapjs": "2.3.3",
|
|
"lodash": "4.17.21",
|
|
"lru-cache": "7.12.0",
|
|
"mime": "3.0.0",
|
|
"mongodb": "4.10.0",
|
|
"mustache": "4.2.0",
|
|
"parse": "3.4.2",
|
|
"pg-monitor": "1.5.0",
|
|
"pg-promise": "10.12.0",
|
|
"pluralize": "8.0.0",
|
|
"redis": "3.1.2",
|
|
"semver": "7.3.8",
|
|
"subscriptions-transport-ws": "0.11.0",
|
|
"tv4": "1.3.0",
|
|
"uuid": "9.0.0",
|
|
"winston": "3.8.1",
|
|
"winston-daily-rotate-file": "4.7.1",
|
|
"ws": "8.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"graphql-tag": "2.12.6",
|
|
"@actions/core": "1.9.1",
|
|
"@apollo/client": "3.6.1",
|
|
"@babel/cli": "7.10.0",
|
|
"@babel/core": "7.10.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.10.0",
|
|
"@babel/plugin-transform-flow-strip-types": "7.9.0",
|
|
"@babel/preset-env": "7.10.0",
|
|
"@parse/minami": "1.0.0",
|
|
"@saithodev/semantic-release-backmerge": "2.1.2",
|
|
"@semantic-release/changelog": "5.0.1",
|
|
"@semantic-release/commit-analyzer": "8.0.1",
|
|
"@semantic-release/git": "9.0.0",
|
|
"@semantic-release/github": "7.2.3",
|
|
"@semantic-release/npm": "7.1.3",
|
|
"@semantic-release/release-notes-generator": "9.0.3",
|
|
"all-node-versions": "8.0.0",
|
|
"apollo-upload-client": "16.0.0",
|
|
"apollo-utilities": "1.3.4",
|
|
"babel-eslint": "10.1.0",
|
|
"bcrypt-nodejs": "0.0.3",
|
|
"cross-env": "7.0.2",
|
|
"deep-diff": "1.0.2",
|
|
"eslint": "6.8.0",
|
|
"eslint-plugin-flowtype": "5.1.3",
|
|
"flow-bin": "0.119.1",
|
|
"form-data": "3.0.0",
|
|
"husky": "4.3.8",
|
|
"jasmine": "3.5.0",
|
|
"jasmine-spec-reporter": "7.0.0",
|
|
"jsdoc": "3.6.3",
|
|
"jsdoc-babel": "0.5.0",
|
|
"lint-staged": "10.2.3",
|
|
"madge": "5.0.1",
|
|
"mock-files-adapter": "file:spec/dependencies/mock-files-adapter",
|
|
"mock-mail-adapter": "file:spec/dependencies/mock-mail-adapter",
|
|
"mongodb-runner": "4.8.1",
|
|
"mongodb-version-list": "1.0.0",
|
|
"node-fetch": "3.2.10",
|
|
"nyc": "15.1.0",
|
|
"prettier": "2.0.5",
|
|
"semantic-release": "17.4.6",
|
|
"yaml": "1.10.0"
|
|
},
|
|
"scripts": {
|
|
"ci:check": "node ./ci/ciCheck.js",
|
|
"ci:checkNodeEngine": "node ./ci/nodeEngineCheck.js",
|
|
"definitions": "node ./resources/buildConfigDefinitions.js && prettier --write 'src/Options/*.js'",
|
|
"docs": "jsdoc -c ./jsdoc-conf.json",
|
|
"lint": "flow && eslint --cache ./",
|
|
"lint-fix": "eslint --fix --cache ./",
|
|
"build": "babel src/ -d lib/ --copy-files",
|
|
"watch": "babel --watch src/ -d lib/ --copy-files",
|
|
"test:mongodb:runnerstart": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner start",
|
|
"test:mongodb:testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 jasmine",
|
|
"test:mongodb": "npm run test:mongodb:runnerstart --dbversion=$npm_config_dbversion && npm run test:mongodb:testonly --dbversion=$npm_config_dbversion",
|
|
"test:mongodb:4.0.28": "npm run test:mongodb --dbversion=4.0.28",
|
|
"test:mongodb:4.2.19": "npm run test:mongodb --dbversion=4.2.19",
|
|
"test:mongodb:4.4.13": "npm run test:mongodb --dbversion=4.4.13",
|
|
"test:mongodb:5.3.2": "npm run test:mongodb --dbversion=5.3.2",
|
|
"test:mongodb:6.0.2": "npm run test:mongodb --dbversion=6.0.2",
|
|
"posttest:mongodb": "mongodb-runner stop",
|
|
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner start",
|
|
"testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 jasmine",
|
|
"test": "npm run testonly",
|
|
"posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner stop",
|
|
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=5.3.2} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 nyc jasmine",
|
|
"start": "node ./bin/parse-server",
|
|
"prettier": "prettier --write {src,spec}/{**/*,*}.js",
|
|
"prepare": "npm run build",
|
|
"postinstall": "node -p 'require(\"./postinstall.js\")()'",
|
|
"madge:circular": "node_modules/.bin/madge ./src --circular"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.22.10 <19"
|
|
},
|
|
"bin": {
|
|
"parse-server": "bin/parse-server"
|
|
},
|
|
"optionalDependencies": {
|
|
"@node-rs/bcrypt": "1.1.0"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/parse-server",
|
|
"logo": "https://opencollective.com/parse-server/logo.txt?reverse=true&variant=binary"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/parse-server"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{src,spec}/{**/*,*}.js": [
|
|
"prettier --write",
|
|
"eslint --fix --cache",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|