Update parse SDK to 2.0.0 (#4925)

* WIP: Integrate JS SDK v2

- Removes backbone style callbacks
- Use Promise instead of Parse.Promise

* Fixes ParseObject and ParseRelation

* Updates Parse.Query with promises

* Alls tests should pass

* Ensure a fresh user is used for each test

* Use REST implementation to avoid side effects for username/email duplicates

* Uses js sdk v2
This commit is contained in:
Florent Vilmart
2018-08-05 13:58:07 -04:00
committed by GitHub
parent a61ef7ee2f
commit ff25ae254d
30 changed files with 3217 additions and 4783 deletions

46
package-lock.json generated
View File

@@ -212,6 +212,28 @@
"apn": "^3.0.0-alpha1",
"npmlog": "^4.0.2",
"parse": "^1.9.2"
},
"dependencies": {
"parse": {
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/parse/-/parse-1.11.1.tgz",
"integrity": "sha1-VY5TnULZ+4khDggiCdbzsD1frtU=",
"requires": {
"babel-runtime": "^6.11.6",
"ws": "^3.3.1",
"xmlhttprequest": "^1.7.0"
}
},
"ws": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz",
"integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==",
"requires": {
"async-limiter": "~1.0.0",
"safe-buffer": "~5.1.0",
"ultron": "~1.1.0"
}
}
}
},
"@parse/s3-files-adapter": {
@@ -9859,25 +9881,13 @@
"integrity": "sha1-zWLmCvjX/qinBexP+ZCHHEaHHyc="
},
"parse": {
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/parse/-/parse-1.11.1.tgz",
"integrity": "sha1-VY5TnULZ+4khDggiCdbzsD1frtU=",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/parse/-/parse-2.0.0.tgz",
"integrity": "sha512-YOpOkMXaJZfpzoSS+Jn3XxvdwS3lHlWk4GNi4Hawt2PoyZHT1/gSG4odKadfkvF05TyBtuY7AMzKruvtK/RfVw==",
"requires": {
"babel-runtime": "^6.11.6",
"ws": "^3.3.1",
"xmlhttprequest": "^1.7.0"
},
"dependencies": {
"ws": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz",
"integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==",
"requires": {
"async-limiter": "~1.0.0",
"safe-buffer": "~5.1.0",
"ultron": "~1.1.0"
}
}
"babel-runtime": "6.26.0",
"ws": "6.0.0",
"xmlhttprequest": "1.8.0"
}
},
"parse-glob": {