parse 4.2.0 → 4.3.0-alpha.2
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/dist/parse.js +2172 -1735
- package/dist/parse.min.js +2 -2
- package/dist/parse.weapp.js +2154 -1717
- package/dist/parse.weapp.min.js +2 -2
- package/lib/browser/Cloud.js +25 -3
- package/lib/browser/CoreManager.js +31 -4
- package/lib/browser/EventEmitter.js +7 -2
- package/lib/browser/EventuallyQueue.js +11 -3
- package/lib/browser/LiveQueryClient.js +52 -86
- package/lib/browser/LiveQuerySubscription.js +16 -51
- package/lib/browser/LocalDatastore.js +7 -0
- package/lib/browser/ObjectStateMutations.js +3 -1
- package/lib/browser/OfflineQuery.js +1 -1
- package/lib/browser/Parse.js +171 -135
- package/lib/browser/ParseError.js +12 -1
- package/lib/browser/ParseLiveQuery.js +79 -51
- package/lib/browser/ParseObject.js +5 -1
- package/lib/browser/ParseQuery.js +53 -58
- package/lib/browser/ParseSchema.js +22 -1
- package/lib/browser/ParseSession.js +2 -6
- package/lib/browser/ParseUser.js +65 -8
- package/lib/browser/Push.js +20 -1
- package/lib/browser/RESTController.js +18 -14
- package/lib/browser/Storage.js +7 -0
- package/lib/node/Cloud.js +8 -2
- package/lib/node/CoreManager.js +30 -4
- package/lib/node/EventEmitter.js +7 -1
- package/lib/node/EventuallyQueue.js +10 -3
- package/lib/node/LiveQueryClient.js +5 -5
- package/lib/node/LiveQuerySubscription.js +5 -7
- package/lib/node/LocalDatastore.js +6 -0
- package/lib/node/ObjectStateMutations.js +3 -1
- package/lib/node/OfflineQuery.js +1 -1
- package/lib/node/Parse.js +162 -126
- package/lib/node/ParseError.js +15 -1
- package/lib/node/ParseLiveQuery.js +32 -24
- package/lib/node/ParseObject.js +5 -1
- package/lib/node/ParseQuery.js +3 -6
- package/lib/node/ParseSchema.js +20 -1
- package/lib/node/ParseSession.js +1 -6
- package/lib/node/ParseUser.js +58 -8
- package/lib/node/Push.js +5 -2
- package/lib/node/RESTController.js +13 -9
- package/lib/node/Storage.js +6 -0
- package/lib/react-native/Cloud.js +18 -5
- package/lib/react-native/CoreManager.js +30 -4
- package/lib/react-native/EventEmitter.js +8 -5
- package/lib/react-native/EventuallyQueue.js +10 -3
- package/lib/react-native/LiveQueryClient.js +38 -68
- package/lib/react-native/LiveQuerySubscription.js +16 -46
- package/lib/react-native/LocalDatastore.js +6 -0
- package/lib/react-native/ObjectStateMutations.js +3 -1
- package/lib/react-native/OfflineQuery.js +1 -1
- package/lib/react-native/Parse.js +127 -90
- package/lib/react-native/ParseError.js +8 -1
- package/lib/react-native/ParseLiveQuery.js +39 -11
- package/lib/react-native/ParseObject.js +4 -0
- package/lib/react-native/ParseQuery.js +3 -6
- package/lib/react-native/ParseSchema.js +14 -1
- package/lib/react-native/ParseUser.js +49 -6
- package/lib/react-native/Push.js +13 -3
- package/lib/react-native/RESTController.js +13 -9
- package/lib/react-native/Storage.js +6 -0
- package/lib/weapp/Cloud.js +25 -3
- package/lib/weapp/CoreManager.js +31 -4
- package/lib/weapp/EventEmitter.js +7 -2
- package/lib/weapp/EventuallyQueue.js +11 -3
- package/lib/weapp/LiveQueryClient.js +52 -86
- package/lib/weapp/LiveQuerySubscription.js +16 -51
- package/lib/weapp/LocalDatastore.js +7 -0
- package/lib/weapp/ObjectStateMutations.js +3 -1
- package/lib/weapp/OfflineQuery.js +1 -1
- package/lib/weapp/Parse.js +170 -134
- package/lib/weapp/ParseError.js +12 -1
- package/lib/weapp/ParseLiveQuery.js +79 -51
- package/lib/weapp/ParseObject.js +5 -1
- package/lib/weapp/ParseQuery.js +53 -58
- package/lib/weapp/ParseSchema.js +22 -1
- package/lib/weapp/ParseSession.js +2 -6
- package/lib/weapp/ParseUser.js +65 -8
- package/lib/weapp/Push.js +20 -1
- package/lib/weapp/RESTController.js +18 -14
- package/lib/weapp/Storage.js +7 -0
- package/package.json +22 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0-alpha.2",
|
|
4
4
|
"description": "Parse JavaScript SDK",
|
|
5
5
|
"homepage": "https://parseplatform.org",
|
|
6
6
|
"keywords": [
|
|
@@ -29,23 +29,25 @@
|
|
|
29
29
|
"react-native": false
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@babel/runtime-corejs3": "7.
|
|
33
|
-
"idb-keyval": "6.2.
|
|
32
|
+
"@babel/runtime-corejs3": "7.22.15",
|
|
33
|
+
"idb-keyval": "6.2.1",
|
|
34
34
|
"react-native-crypto-js": "1.0.0",
|
|
35
35
|
"uuid": "9.0.0",
|
|
36
36
|
"ws": "8.13.0",
|
|
37
37
|
"xmlhttprequest": "1.8.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@babel/core": "7.
|
|
41
|
-
"@babel/eslint-parser": "7.21.
|
|
40
|
+
"@babel/core": "7.22.0",
|
|
41
|
+
"@babel/eslint-parser": "7.21.8",
|
|
42
42
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
43
|
-
"@babel/plugin-transform-flow-comments": "7.
|
|
43
|
+
"@babel/plugin-transform-flow-comments": "7.22.5",
|
|
44
44
|
"@babel/plugin-transform-flow-strip-types": "7.21.0",
|
|
45
45
|
"@babel/plugin-transform-runtime": "7.21.4",
|
|
46
|
-
"@babel/preset-env": "7.21.
|
|
47
|
-
"@babel/preset-react": "7.
|
|
48
|
-
"@
|
|
46
|
+
"@babel/preset-env": "7.21.5",
|
|
47
|
+
"@babel/preset-react": "7.22.5",
|
|
48
|
+
"@babel/preset-typescript": "7.22.5",
|
|
49
|
+
"@definitelytyped/dtslint": "0.0.163",
|
|
50
|
+
"@parse/minami": "git+https://github.com/parse-community/minami#main",
|
|
49
51
|
"@saithodev/semantic-release-backmerge": "2.1.3",
|
|
50
52
|
"@semantic-release/changelog": "6.0.3",
|
|
51
53
|
"@semantic-release/commit-analyzer": "9.0.2",
|
|
@@ -59,9 +61,9 @@
|
|
|
59
61
|
"babel-plugin-transform-inline-environment-variables": "0.4.4",
|
|
60
62
|
"browserify": "17.0.0",
|
|
61
63
|
"codecov": "3.8.3",
|
|
62
|
-
"core-js": "3.30.
|
|
64
|
+
"core-js": "3.30.2",
|
|
63
65
|
"cross-env": "7.0.2",
|
|
64
|
-
"eslint": "8.
|
|
66
|
+
"eslint": "8.40.0",
|
|
65
67
|
"eslint-plugin-flowtype": "8.0.3",
|
|
66
68
|
"eslint-plugin-jsdoc": "43.0.7",
|
|
67
69
|
"express": "4.18.2",
|
|
@@ -73,7 +75,7 @@
|
|
|
73
75
|
"gulp-uglify": "3.0.2",
|
|
74
76
|
"gulp-watch": "5.0.1",
|
|
75
77
|
"husky": "8.0.3",
|
|
76
|
-
"jasmine": "
|
|
78
|
+
"jasmine": "5.0.0",
|
|
77
79
|
"jasmine-reporters": "2.5.2",
|
|
78
80
|
"jasmine-spec-reporter": "7.0.0",
|
|
79
81
|
"jest": "29.5.0",
|
|
@@ -81,11 +83,11 @@
|
|
|
81
83
|
"jsdoc": "4.0.2",
|
|
82
84
|
"jsdoc-babel": "0.5.0",
|
|
83
85
|
"lint-staged": "13.2.2",
|
|
84
|
-
"metro-react-native-babel-preset": "0.76.
|
|
85
|
-
"mongodb-runner": "4.
|
|
86
|
+
"metro-react-native-babel-preset": "0.76.4",
|
|
87
|
+
"mongodb-runner": "5.4.3",
|
|
86
88
|
"parse-server": "git+https://github.com/parse-community/parse-server#alpha",
|
|
87
|
-
"prettier": "
|
|
88
|
-
"puppeteer": "
|
|
89
|
+
"prettier": "3.0.2",
|
|
90
|
+
"puppeteer": "20.4.0",
|
|
89
91
|
"regenerator-runtime": "0.13.11",
|
|
90
92
|
"semantic-release": "19.0.5",
|
|
91
93
|
"vinyl-source-stream": "2.0.0"
|
|
@@ -95,11 +97,13 @@
|
|
|
95
97
|
},
|
|
96
98
|
"scripts": {
|
|
97
99
|
"build": "node build_releases.js",
|
|
100
|
+
"build:types": "tsc",
|
|
98
101
|
"release": "node build_releases.js && npm publish",
|
|
99
102
|
"test": "cross-env PARSE_BUILD=node jest",
|
|
100
103
|
"test:mongodb": "npm run test:mongodb:runnerstart && npm run integration",
|
|
101
|
-
"test:mongodb:runnerstart": "mongodb-runner start",
|
|
102
|
-
"
|
|
104
|
+
"test:mongodb:runnerstart": "mongodb-runner start -- --port 27017",
|
|
105
|
+
"test:types": "dtslint --expectOnly types",
|
|
106
|
+
"posttest:mongodb": "mongodb-runner stop --all",
|
|
103
107
|
"lint": "eslint --cache src/ integration/",
|
|
104
108
|
"lint:fix": "eslint --fix --cache src/ integration/",
|
|
105
109
|
"watch": "cross-env PARSE_BUILD=${PARSE_BUILD} gulp watch",
|