parse-server 5.0.0-alpha.1 → 5.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -61
- package/lib/AccountLockout.js +2 -2
- package/lib/Adapters/Storage/Mongo/MongoSchemaCollection.js +20 -2
- package/lib/Adapters/Storage/Mongo/MongoStorageAdapter.js +9 -4
- package/lib/Adapters/Storage/Postgres/PostgresClient.js +1 -1
- package/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js +17 -6
- package/lib/Config.js +54 -2
- package/lib/Controllers/DatabaseController.js +19 -2
- package/lib/Controllers/SchemaController.js +14 -6
- package/lib/GraphQL/loaders/defaultGraphQLTypes.js +3 -6
- package/lib/GraphQL/loaders/parseClassMutations.js +13 -3
- package/lib/GraphQL/transformers/mutation.js +42 -7
- package/lib/LiveQuery/ParseLiveQueryServer.js +5 -5
- package/lib/Options/Definitions.js +37 -1
- package/lib/Options/index.js +1 -1
- package/lib/ParseServer.js +11 -8
- package/lib/Routers/SchemasRouter.js +41 -14
- package/lib/SchemaMigrations/DefinedSchemas.js +421 -0
- package/lib/SchemaMigrations/Migrations.js +36 -0
- package/lib/index.js +6 -2
- package/package.json +29 -26
- package/CHANGELOG.md +0 -1955
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-server",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.13",
|
|
4
4
|
"description": "An express module providing a Parse-compatible API server",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"license": "BSD-3-Clause",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@apollographql/graphql-playground-html": "1.6.29",
|
|
23
|
-
"@graphql-tools/links": "
|
|
23
|
+
"@graphql-tools/links": "8.2.1",
|
|
24
24
|
"@graphql-tools/stitch": "6.2.4",
|
|
25
25
|
"@graphql-tools/utils": "6.2.4",
|
|
26
|
-
"@parse/fs-files-adapter": "1.2.
|
|
26
|
+
"@parse/fs-files-adapter": "1.2.1",
|
|
27
27
|
"@parse/push-adapter": "3.4.1",
|
|
28
28
|
"apollo-server-express": "2.25.2",
|
|
29
29
|
"bcryptjs": "2.4.3",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"cors": "2.8.5",
|
|
33
33
|
"deepcopy": "2.1.0",
|
|
34
34
|
"express": "4.17.1",
|
|
35
|
-
"follow-redirects": "1.14.
|
|
36
|
-
"graphql": "15.
|
|
35
|
+
"follow-redirects": "1.14.5",
|
|
36
|
+
"graphql": "15.7.0",
|
|
37
37
|
"graphql-list-fields": "2.0.2",
|
|
38
|
-
"graphql-relay": "0.
|
|
39
|
-
"graphql-tag": "2.12.
|
|
38
|
+
"graphql-relay": "0.7.0",
|
|
39
|
+
"graphql-tag": "2.12.6",
|
|
40
40
|
"graphql-upload": "11.0.0",
|
|
41
41
|
"intersect": "1.0.1",
|
|
42
42
|
"jsonwebtoken": "8.5.1",
|
|
@@ -44,37 +44,39 @@
|
|
|
44
44
|
"ldapjs": "2.3.1",
|
|
45
45
|
"lodash": "4.17.21",
|
|
46
46
|
"lru-cache": "5.1.1",
|
|
47
|
-
"mime": "
|
|
47
|
+
"mime": "3.0.0",
|
|
48
48
|
"mongodb": "3.6.11",
|
|
49
49
|
"mustache": "4.2.0",
|
|
50
|
-
"parse": "3.
|
|
50
|
+
"parse": "3.4.0",
|
|
51
51
|
"pg-monitor": "1.4.1",
|
|
52
|
-
"pg-promise": "10.11.
|
|
52
|
+
"pg-promise": "10.11.1",
|
|
53
53
|
"pluralize": "8.0.0",
|
|
54
54
|
"redis": "3.1.2",
|
|
55
|
-
"semver": "7.3.
|
|
56
|
-
"subscriptions-transport-ws": "0.
|
|
55
|
+
"semver": "7.3.5",
|
|
56
|
+
"subscriptions-transport-ws": "0.11.0",
|
|
57
57
|
"tv4": "1.3.0",
|
|
58
58
|
"uuid": "8.3.2",
|
|
59
59
|
"winston": "3.3.3",
|
|
60
60
|
"winston-daily-rotate-file": "4.5.5",
|
|
61
|
-
"ws": "8.2.
|
|
61
|
+
"ws": "8.2.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@actions/core": "1.2.6",
|
|
65
|
+
"@apollo/client": "3.4.17",
|
|
65
66
|
"@babel/cli": "7.10.0",
|
|
66
67
|
"@babel/core": "7.10.0",
|
|
67
68
|
"@babel/plugin-proposal-object-rest-spread": "7.10.0",
|
|
68
69
|
"@babel/plugin-transform-flow-strip-types": "7.9.0",
|
|
69
70
|
"@babel/preset-env": "7.10.0",
|
|
70
71
|
"@parse/minami": "1.0.0",
|
|
72
|
+
"@semantic-release/changelog": "5.0.1",
|
|
73
|
+
"@semantic-release/commit-analyzer": "8.0.1",
|
|
74
|
+
"@semantic-release/git": "9.0.0",
|
|
75
|
+
"@semantic-release/github": "7.2.3",
|
|
76
|
+
"@semantic-release/npm": "7.1.3",
|
|
77
|
+
"@semantic-release/release-notes-generator": "9.0.3",
|
|
71
78
|
"all-node-versions": "8.0.0",
|
|
72
|
-
"apollo-
|
|
73
|
-
"apollo-client": "2.6.10",
|
|
74
|
-
"apollo-link": "1.2.14",
|
|
75
|
-
"apollo-link-http": "1.5.17",
|
|
76
|
-
"apollo-link-ws": "1.0.20",
|
|
77
|
-
"apollo-upload-client": "13.0.0",
|
|
79
|
+
"apollo-upload-client": "16.0.0",
|
|
78
80
|
"apollo-utilities": "1.3.4",
|
|
79
81
|
"babel-eslint": "10.1.0",
|
|
80
82
|
"bcrypt-nodejs": "0.0.3",
|
|
@@ -86,7 +88,7 @@
|
|
|
86
88
|
"form-data": "3.0.0",
|
|
87
89
|
"husky": "4.2.5",
|
|
88
90
|
"jasmine": "3.5.0",
|
|
89
|
-
"jasmine-spec-reporter": "
|
|
91
|
+
"jasmine-spec-reporter": "7.0.0",
|
|
90
92
|
"jsdoc": "3.6.3",
|
|
91
93
|
"jsdoc-babel": "0.5.0",
|
|
92
94
|
"lint-staged": "10.2.3",
|
|
@@ -98,6 +100,7 @@
|
|
|
98
100
|
"node-fetch": "2.6.1",
|
|
99
101
|
"nyc": "15.1.0",
|
|
100
102
|
"prettier": "2.0.5",
|
|
103
|
+
"semantic-release": "17.4.6",
|
|
101
104
|
"yaml": "1.10.0"
|
|
102
105
|
},
|
|
103
106
|
"scripts": {
|
|
@@ -114,13 +117,13 @@
|
|
|
114
117
|
"test:mongodb": "npm run test:mongodb:runnerstart --dbversion=$npm_config_dbversion && npm run test:mongodb:testonly --dbversion=$npm_config_dbversion",
|
|
115
118
|
"test:mongodb:4.0.27": "npm run test:mongodb --dbversion=4.0.27",
|
|
116
119
|
"test:mongodb:4.2.17": "npm run test:mongodb --dbversion=4.2.17",
|
|
117
|
-
"test:mongodb:4.4.
|
|
120
|
+
"test:mongodb:4.4.10": "npm run test:mongodb --dbversion=4.4.10",
|
|
118
121
|
"posttest:mongodb": "mongodb-runner stop",
|
|
119
|
-
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
120
|
-
"testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
122
|
+
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner start",
|
|
123
|
+
"testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 jasmine",
|
|
121
124
|
"test": "npm run testonly",
|
|
122
|
-
"posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
123
|
-
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.
|
|
125
|
+
"posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner stop",
|
|
126
|
+
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 nyc jasmine",
|
|
124
127
|
"start": "node ./bin/parse-server",
|
|
125
128
|
"prettier": "prettier --write {src,spec}/{**/*,*}.js",
|
|
126
129
|
"prepare": "npm run build",
|
|
@@ -128,7 +131,7 @@
|
|
|
128
131
|
"madge:circular": "node_modules/.bin/madge ./src --circular"
|
|
129
132
|
},
|
|
130
133
|
"engines": {
|
|
131
|
-
"node": ">=12.20.0"
|
|
134
|
+
"node": ">=12.20.0 <17"
|
|
132
135
|
},
|
|
133
136
|
"bin": {
|
|
134
137
|
"parse-server": "bin/parse-server"
|