From 64e6653e9c051287cf5e4a7f44b57d26a4a95814 Mon Sep 17 00:00:00 2001 From: Parse Platform <90459499+parseplatformorg@users.noreply.github.com> Date: Tue, 26 Sep 2023 03:02:22 +0200 Subject: [PATCH 01/22] refactor: Upgrade @babel/runtime-corejs3 from 7.22.11 to 7.22.15 (#2030) --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index f1a722dc8..44610a41c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.3.0-beta.1", "license": "Apache-2.0", "dependencies": { - "@babel/runtime-corejs3": "^7.22.11", + "@babel/runtime-corejs3": "^7.22.15", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.0", @@ -2161,9 +2161,9 @@ } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.11.tgz", - "integrity": "sha512-NhfzUbdWbiE6fCFypbWCPu6AR8xre31EOPF7wwAIJEvGQ2avov04eymayWinCuyXmV1b0+jzoXP/HYzzUYdvwg==", + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.15.tgz", + "integrity": "sha512-SAj8oKi8UogVi6eXQXKNPu8qZ78Yzy7zawrlTr0M+IuW/g8Qe9gVDhGcF9h1S69OyACpYoLxEzpjs1M15sI5wQ==", "dependencies": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" @@ -29289,9 +29289,9 @@ } }, "@babel/runtime-corejs3": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.11.tgz", - "integrity": "sha512-NhfzUbdWbiE6fCFypbWCPu6AR8xre31EOPF7wwAIJEvGQ2avov04eymayWinCuyXmV1b0+jzoXP/HYzzUYdvwg==", + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.15.tgz", + "integrity": "sha512-SAj8oKi8UogVi6eXQXKNPu8qZ78Yzy7zawrlTr0M+IuW/g8Qe9gVDhGcF9h1S69OyACpYoLxEzpjs1M15sI5wQ==", "requires": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" diff --git a/package.json b/package.json index 58ae2838d..f26a999b6 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "react-native": false }, "dependencies": { - "@babel/runtime-corejs3": "7.22.11", + "@babel/runtime-corejs3": "7.22.15", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.0", From e0b713e933772336e7dc61a0fc3fe40fe4ce5319 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 26 Sep 2023 01:05:03 +0000 Subject: [PATCH 02/22] chore(release): 4.3.0-alpha.1 [skip ci] # [4.3.0-alpha.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.2.0...4.3.0-alpha.1) (2023-09-26) ### Bug Fixes * `ParseUser.linkWith` doesn't remove anonymous auth data ([#2007](https://github.com/parse-community/Parse-SDK-JS/issues/2007)) ([7e2585c](https://github.com/parse-community/Parse-SDK-JS/commit/7e2585c5eb84a396900553d55d6a919de4d9a2c0)) * Hard-coding of `react-native` path does not work for workspace builds ([#1930](https://github.com/parse-community/Parse-SDK-JS/issues/1930)) ([8222f3c](https://github.com/parse-community/Parse-SDK-JS/commit/8222f3cc2a4a4ee0cdcaf30dd0f9a17e46de7d88)) ### Features * Add Bytes type to `Parse.Schema` ([#2001](https://github.com/parse-community/Parse-SDK-JS/issues/2001)) ([343d0d7](https://github.com/parse-community/Parse-SDK-JS/commit/343d0d729a57acdd3c9ba5c1dbe5738b3916ea04)) * Add Cloud Code context accessibility to `ParseUser.logIn` ([#2010](https://github.com/parse-community/Parse-SDK-JS/issues/2010)) ([2446007](https://github.com/parse-community/Parse-SDK-JS/commit/2446007ede4cc5af79e34f27dc1fbcc574d5f717)) * Add support for custom EventEmitter ([#1999](https://github.com/parse-community/Parse-SDK-JS/issues/1999)) ([ca568a6](https://github.com/parse-community/Parse-SDK-JS/commit/ca568a61771e15afe67c9001f2a728205059f2ae)) * Add support for excluding keys in `ParseQuery.findAll` ([#2000](https://github.com/parse-community/Parse-SDK-JS/issues/2000)) ([012ba4c](https://github.com/parse-community/Parse-SDK-JS/commit/012ba4cdab1e3f853625f507c713cef2264a40dd)) * Add support to invoke a Cloud Function with a custom `installationId` via `Parse.Cloud.run` ([#1939](https://github.com/parse-community/Parse-SDK-JS/issues/1939)) ([eb70b93](https://github.com/parse-community/Parse-SDK-JS/commit/eb70b934b798cb37722c1ac36796596f5373f67d)) * Allow overriding `Parse.Error` message with custom message via new Core Manager option `PARSE_ERRORS` ([#2014](https://github.com/parse-community/Parse-SDK-JS/issues/2014)) ([be0c8a6](https://github.com/parse-community/Parse-SDK-JS/commit/be0c8a6ff90a7714487ae793e2b68ae04d0c8d0c)) * Login with username, password and additional authentication data via `ParseUser.logInWithAdditionalAuth` ([#1955](https://github.com/parse-community/Parse-SDK-JS/issues/1955)) ([2bad411](https://github.com/parse-community/Parse-SDK-JS/commit/2bad4119c23372d1b38c811c4b4bb3d06b1b62f0)) --- changelogs/CHANGELOG_alpha.md | 18 ++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index c050f9336..f21120487 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,21 @@ +# [4.3.0-alpha.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.2.0...4.3.0-alpha.1) (2023-09-26) + + +### Bug Fixes + +* `ParseUser.linkWith` doesn't remove anonymous auth data ([#2007](https://github.com/parse-community/Parse-SDK-JS/issues/2007)) ([7e2585c](https://github.com/parse-community/Parse-SDK-JS/commit/7e2585c5eb84a396900553d55d6a919de4d9a2c0)) +* Hard-coding of `react-native` path does not work for workspace builds ([#1930](https://github.com/parse-community/Parse-SDK-JS/issues/1930)) ([8222f3c](https://github.com/parse-community/Parse-SDK-JS/commit/8222f3cc2a4a4ee0cdcaf30dd0f9a17e46de7d88)) + +### Features + +* Add Bytes type to `Parse.Schema` ([#2001](https://github.com/parse-community/Parse-SDK-JS/issues/2001)) ([343d0d7](https://github.com/parse-community/Parse-SDK-JS/commit/343d0d729a57acdd3c9ba5c1dbe5738b3916ea04)) +* Add Cloud Code context accessibility to `ParseUser.logIn` ([#2010](https://github.com/parse-community/Parse-SDK-JS/issues/2010)) ([2446007](https://github.com/parse-community/Parse-SDK-JS/commit/2446007ede4cc5af79e34f27dc1fbcc574d5f717)) +* Add support for custom EventEmitter ([#1999](https://github.com/parse-community/Parse-SDK-JS/issues/1999)) ([ca568a6](https://github.com/parse-community/Parse-SDK-JS/commit/ca568a61771e15afe67c9001f2a728205059f2ae)) +* Add support for excluding keys in `ParseQuery.findAll` ([#2000](https://github.com/parse-community/Parse-SDK-JS/issues/2000)) ([012ba4c](https://github.com/parse-community/Parse-SDK-JS/commit/012ba4cdab1e3f853625f507c713cef2264a40dd)) +* Add support to invoke a Cloud Function with a custom `installationId` via `Parse.Cloud.run` ([#1939](https://github.com/parse-community/Parse-SDK-JS/issues/1939)) ([eb70b93](https://github.com/parse-community/Parse-SDK-JS/commit/eb70b934b798cb37722c1ac36796596f5373f67d)) +* Allow overriding `Parse.Error` message with custom message via new Core Manager option `PARSE_ERRORS` ([#2014](https://github.com/parse-community/Parse-SDK-JS/issues/2014)) ([be0c8a6](https://github.com/parse-community/Parse-SDK-JS/commit/be0c8a6ff90a7714487ae793e2b68ae04d0c8d0c)) +* Login with username, password and additional authentication data via `ParseUser.logInWithAdditionalAuth` ([#1955](https://github.com/parse-community/Parse-SDK-JS/issues/1955)) ([2bad411](https://github.com/parse-community/Parse-SDK-JS/commit/2bad4119c23372d1b38c811c4b4bb3d06b1b62f0)) + # [4.2.0-alpha.10](https://github.com/parse-community/Parse-SDK-JS/compare/4.2.0-alpha.9...4.2.0-alpha.10) (2023-09-03) diff --git a/package-lock.json b/package-lock.json index 44610a41c..6292dc4c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.0-beta.1", + "version": "4.3.0-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.0-beta.1", + "version": "4.3.0-alpha.1", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.22.15", diff --git a/package.json b/package.json index f26a999b6..8ac237d1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.0-beta.1", + "version": "4.3.0-alpha.1", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [ From 74ff09168ad27dfefc74a41abfbcbc4e278f7440 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Tue, 3 Oct 2023 12:20:56 -0500 Subject: [PATCH 03/22] refactor: Return headers in RESTController requests (#2033) --- integration/test/ParseCloudTest.js | 1 + integration/test/ParsePushTest.js | 1 + src/Cloud.js | 6 ++++-- src/ParseObject.js | 4 ++++ src/Push.js | 6 ++++-- src/RESTController.js | 20 +++++++++----------- src/__tests__/Cloud-test.js | 4 ++-- src/__tests__/Push-test.js | 10 ++-------- src/__tests__/RESTController-test.js | 28 ++++++++++++++-------------- 9 files changed, 41 insertions(+), 39 deletions(-) diff --git a/integration/test/ParseCloudTest.js b/integration/test/ParseCloudTest.js index ca5a4ae7f..c4704d00c 100644 --- a/integration/test/ParseCloudTest.js +++ b/integration/test/ParseCloudTest.js @@ -96,6 +96,7 @@ describe('Parse Cloud', () => { it('run job', async () => { const params = { startedBy: 'Monty Python' }; const jobStatusId = await Parse.Cloud.startJob('CloudJob1', params); + expect(jobStatusId).toBeDefined(); await waitForJobStatus(jobStatusId, 'succeeded'); const jobStatus = await Parse.Cloud.getJobStatus(jobStatusId); diff --git a/integration/test/ParsePushTest.js b/integration/test/ParsePushTest.js index e34913cad..0fad863ef 100644 --- a/integration/test/ParsePushTest.js +++ b/integration/test/ParsePushTest.js @@ -9,6 +9,7 @@ describe('Parse Push', () => { where: { deviceType: { $eq: 'random' } }, }; const pushStatusId = await Parse.Push.send(payload, { useMasterKey: true }); + expect(pushStatusId).toBeDefined(); const pushStatus = await Parse.Push.getPushStatus(pushStatusId, { useMasterKey: true }); expect(pushStatus.id).toBe(pushStatusId); }); diff --git a/src/Cloud.js b/src/Cloud.js index 4bf748d3a..0d218843c 100644 --- a/src/Cloud.js +++ b/src/Cloud.js @@ -131,12 +131,14 @@ const DefaultController = { return RESTController.request('GET', 'cloud_code/jobs/data', null, options); }, - startJob(name, data, options: RequestOptions) { + async startJob(name, data, options: RequestOptions) { const RESTController = CoreManager.getRESTController(); const payload = encode(data, true); + options.returnStatus = true; - return RESTController.request('POST', 'jobs/' + name, payload, options); + const response = await RESTController.request('POST', 'jobs/' + name, payload, options); + return response._headers?.['X-Parse-Job-Status-Id']; }, }; diff --git a/src/ParseObject.js b/src/ParseObject.js index 94c30b9c1..f324f6c28 100644 --- a/src/ParseObject.js +++ b/src/ParseObject.js @@ -2455,6 +2455,8 @@ const DefaultController = { const objectId = responses[index].success.objectId; const status = responses[index]._status; delete responses[index]._status; + delete responses[index]._headers; + delete responses[index]._xhr; mapIdForPin[objectId] = obj._localId; obj._handleSaveResponse(responses[index].success, status); } else { @@ -2523,6 +2525,8 @@ const DefaultController = { response => { const status = response._status; delete response._status; + delete response._headers; + delete response._xhr; targetCopy._handleSaveResponse(response, status); }, error => { diff --git a/src/Push.js b/src/Push.js index e0d0d9567..a565396be 100644 --- a/src/Push.js +++ b/src/Push.js @@ -99,8 +99,10 @@ export function getPushStatus(pushStatusId: string, options?: FullOptions = {}): } const DefaultController = { - send(data: PushData, options?: FullOptions) { - return CoreManager.getRESTController().request('POST', 'push', data, options); + async send(data: PushData, options?: FullOptions) { + options.returnStatus = true; + const response = await CoreManager.getRESTController().request('POST', 'push', data, options); + return response._headers?.['X-Parse-Push-Status-Id']; }, }; diff --git a/src/RESTController.js b/src/RESTController.js index 5e0c42d0f..75b30a759 100644 --- a/src/RESTController.js +++ b/src/RESTController.js @@ -110,20 +110,18 @@ const RESTController = { let response; try { response = JSON.parse(xhr.responseText); - - if (typeof xhr.getResponseHeader === 'function') { - if ((xhr.getAllResponseHeaders() || '').includes('x-parse-job-status-id: ')) { - response = xhr.getResponseHeader('x-parse-job-status-id'); - } - if ((xhr.getAllResponseHeaders() || '').includes('x-parse-push-status-id: ')) { - response = xhr.getResponseHeader('x-parse-push-status-id'); - } + headers = {}; + if (typeof xhr.getResponseHeader === 'function' && xhr.getResponseHeader('access-control-expose-headers')) { + const responseHeaders = xhr.getResponseHeader('access-control-expose-headers').split(', '); + responseHeaders.forEach(header => { + headers[header] = xhr.getResponseHeader(header.toLowerCase()); + }); } } catch (e) { promise.reject(e.toString()); } if (response) { - promise.resolve({ response, status: xhr.status, xhr }); + promise.resolve({ response, headers, status: xhr.status, xhr }); } } else if (xhr.status >= 500 || xhr.status === 0) { // retry on 5XX or node-xmlhttprequest error @@ -287,9 +285,9 @@ const RESTController = { const payloadString = JSON.stringify(payload); return RESTController.ajax(method, url, payloadString, {}, options).then( - ({ response, status }) => { + ({ response, status, headers, xhr }) => { if (options.returnStatus) { - return { ...response, _status: status }; + return { ...response, _status: status, _headers: headers, _xhr: xhr }; } else { return response; } diff --git a/src/__tests__/Cloud-test.js b/src/__tests__/Cloud-test.js index 48243b635..143f1da9a 100644 --- a/src/__tests__/Cloud-test.js +++ b/src/__tests__/Cloud-test.js @@ -229,7 +229,7 @@ describe('CloudController', () => { value: 12, when: { __type: 'Date', iso: '2015-01-01T00:00:00.000Z' }, }, - { useMasterKey: true }, + { returnStatus: true, useMasterKey: true }, ]); }); @@ -242,7 +242,7 @@ describe('CloudController', () => { { value: 12, }, - { useMasterKey: true }, + { returnStatus: true, useMasterKey: true }, ]); }); diff --git a/src/__tests__/Push-test.js b/src/__tests__/Push-test.js index 6ec1833ca..70affe624 100644 --- a/src/__tests__/Push-test.js +++ b/src/__tests__/Push-test.js @@ -87,13 +87,7 @@ describe('Push', () => { describe('PushController', () => { it('forwards data along', () => { CoreManager.setPushController(defaultController); - const request = jest.fn().mockReturnValue({ - _thenRunCallbacks() { - return { - _thenRunCallbacks() {}, - }; - }, - }); + const request = jest.fn().mockReturnValue({ _headers: {} }); CoreManager.setRESTController({ request: request, ajax: function () {}, @@ -111,7 +105,7 @@ describe('PushController', () => { 'POST', 'push', { push_time: '2015-02-01T00:00:00.000Z' }, - { useMasterKey: true }, + { returnStatus: true, useMasterKey: true }, ]); }); }); diff --git a/src/__tests__/RESTController-test.js b/src/__tests__/RESTController-test.js index 7beb64f3d..02d72e94d 100644 --- a/src/__tests__/RESTController-test.js +++ b/src/__tests__/RESTController-test.js @@ -22,6 +22,12 @@ CoreManager.set('APPLICATION_ID', 'A'); CoreManager.set('JAVASCRIPT_KEY', 'B'); CoreManager.set('VERSION', 'V'); +const headers = { + 'x-parse-job-status-id': '1234', + 'x-parse-push-status-id': '5678', + 'access-control-expose-headers': 'X-Parse-Job-Status-Id, X-Parse-Push-Status-Id', +}; + describe('RESTController', () => { it('throws if there is no XHR implementation', () => { RESTController._setXHR(null); @@ -212,8 +218,8 @@ describe('RESTController', () => { XHR.prototype = { open: function () {}, setRequestHeader: function () {}, - getResponseHeader: function () { - return 1234; + getResponseHeader: function (header) { + return headers[header]; }, send: function () { this.status = 200; @@ -221,13 +227,10 @@ describe('RESTController', () => { this.readyState = 4; this.onreadystatechange(); }, - getAllResponseHeaders: function () { - return 'x-parse-job-status-id: 1234'; - }, }; RESTController._setXHR(XHR); - const response = await RESTController.request('GET', 'classes/MyObject', {}, {}); - expect(response).toBe(1234); + const response = await RESTController.request('GET', 'classes/MyObject', {}, { returnStatus: true }); + expect(response._headers['X-Parse-Job-Status-Id']).toBe('1234'); }); it('handles x-parse-push-status-id header', async () => { @@ -235,8 +238,8 @@ describe('RESTController', () => { XHR.prototype = { open: function () {}, setRequestHeader: function () {}, - getResponseHeader: function () { - return 1234; + getResponseHeader: function (header) { + return headers[header]; }, send: function () { this.status = 200; @@ -244,13 +247,10 @@ describe('RESTController', () => { this.readyState = 4; this.onreadystatechange(); }, - getAllResponseHeaders: function () { - return 'x-parse-push-status-id: 1234'; - }, }; RESTController._setXHR(XHR); - const response = await RESTController.request('POST', 'push', {}, {}); - expect(response).toBe(1234); + const response = await RESTController.request('POST', 'push', {}, { returnStatus: true }); + expect(response._headers['X-Parse-Push-Status-Id']).toBe('5678'); }); it('handles invalid header', async () => { From c6a3966b76ee5a0124c076b5db7ea7d72a119ac9 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Tue, 3 Oct 2023 12:25:27 -0500 Subject: [PATCH 04/22] docs: Generate API documentation for release branch (#2035) --- release_docs.sh | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/release_docs.sh b/release_docs.sh index 093619783..ad0e6cf41 100755 --- a/release_docs.sh +++ b/release_docs.sh @@ -1,10 +1,17 @@ #!/bin/sh -e set -x +# GITHUB_ACTIONS=true SOURCE_TAG=test ./release_docs.sh + if [ "${GITHUB_ACTIONS}" = "" ]; then echo "Cannot release docs without GITHUB_ACTIONS set" exit 0; fi +if [ "${SOURCE_TAG}" = "" ]; +then + echo "Cannot release docs without SOURCE_TAG set" + exit 0; +fi REPO="https://github.com/parse-community/Parse-SDK-JS" rm -rf docs @@ -13,16 +20,16 @@ cd docs git pull origin gh-pages cd .. -DEST="master" +RELEASE="release" +VERSION="${SOURCE_TAG}" -if [ "${SOURCE_TAG}" != "" ]; -then - DEST="${SOURCE_TAG}" - # change the default page to the latest - echo "" > "docs/api/index.html" -fi +# change the default page to the latest +echo "" > "docs/api/index.html" npm run docs -mkdir -p "docs/api/${DEST}" -cp -R out/* "docs/api/${DEST}" +mkdir -p "docs/api/${RELEASE}" +cp -R out/* "docs/api/${RELEASE}" + +mkdir -p "docs/api/${VERSION}" +cp -R out/* "docs/api/${VERSION}" From dc91d0fc4f69639ba762f5af841477e8836c6927 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Tue, 3 Oct 2023 18:35:41 -0500 Subject: [PATCH 05/22] fix: Docs fail with `Cannot find module 'taffydb'` (#2036) --- .github/workflows/ci.yml | 9 +++++++++ package-lock.json | 35 ++++++++++++++++++++++++++--------- package.json | 2 +- 3 files changed, 36 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dacfb9e48..702ab3d8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,15 @@ jobs: - run: npm ci - name: Check types run: npm run test:types + check-docs: + name: Check Docs + timeout-minutes: 5 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: npm ci + - name: Check Docs + run: npm run docs build: runs-on: ubuntu-latest timeout-minutes: 30 diff --git a/package-lock.json b/package-lock.json index 6292dc4c5..fd8bc6fe7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.3.0-alpha.1", "license": "Apache-2.0", "dependencies": { - "@babel/runtime-corejs3": "^7.22.15", + "@babel/runtime-corejs3": "7.22.15", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.0", @@ -27,7 +27,7 @@ "@babel/preset-react": "7.22.5", "@babel/preset-typescript": "7.22.5", "@definitelytyped/dtslint": "0.0.163", - "@parse/minami": "1.0.0", + "@parse/minami": "git+https://github.com/parse-community/minami#main", "@saithodev/semantic-release-backmerge": "2.1.3", "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "9.0.2", @@ -4315,9 +4315,12 @@ }, "node_modules/@parse/minami": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@parse/minami/-/minami-1.0.0.tgz", - "integrity": "sha512-Rw+p0WdOOypFPVJsmhyiI+Q056ZxdP2iAtObnU1DZrsvKZTf5x0B/0SjIt0hUgWp+COjqi/p17VdBU9IAD/NJg==", - "dev": true + "resolved": "git+ssh://git@github.com/parse-community/minami.git#2e8529b1276c3559b0ec919932e7a83d7a440c0a", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "taffydb": "2.7.3" + } }, "node_modules/@parse/node-apn": { "version": "5.1.3", @@ -25947,6 +25950,12 @@ "acorn-node": "^1.2.0" } }, + "node_modules/taffydb": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", + "integrity": "sha512-GQ3gtYFSOAxSMN/apGtDKKkbJf+8izz5YfbGqIsUc7AMiQOapARZ76dhilRY2h39cynYxBFdafQo5HUL5vgkrg==", + "dev": true + }, "node_modules/tar": { "version": "6.1.15", "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", @@ -30923,10 +30932,12 @@ "dev": true }, "@parse/minami": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@parse/minami/-/minami-1.0.0.tgz", - "integrity": "sha512-Rw+p0WdOOypFPVJsmhyiI+Q056ZxdP2iAtObnU1DZrsvKZTf5x0B/0SjIt0hUgWp+COjqi/p17VdBU9IAD/NJg==", - "dev": true + "version": "git+ssh://git@github.com/parse-community/minami.git#2e8529b1276c3559b0ec919932e7a83d7a440c0a", + "dev": true, + "from": "@parse/minami@git+https://github.com/parse-community/minami#main", + "requires": { + "taffydb": "2.7.3" + } }, "@parse/node-apn": { "version": "5.1.3", @@ -47781,6 +47792,12 @@ "acorn-node": "^1.2.0" } }, + "taffydb": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", + "integrity": "sha512-GQ3gtYFSOAxSMN/apGtDKKkbJf+8izz5YfbGqIsUc7AMiQOapARZ76dhilRY2h39cynYxBFdafQo5HUL5vgkrg==", + "dev": true + }, "tar": { "version": "6.1.15", "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", diff --git a/package.json b/package.json index 8ac237d1b..0b8db1f2b 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@babel/preset-react": "7.22.5", "@babel/preset-typescript": "7.22.5", "@definitelytyped/dtslint": "0.0.163", - "@parse/minami": "1.0.0", + "@parse/minami": "git+https://github.com/parse-community/minami#main", "@saithodev/semantic-release-backmerge": "2.1.3", "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "9.0.2", From e36ddafbcb45192f32d8295700ff30e29173316d Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 3 Oct 2023 23:37:43 +0000 Subject: [PATCH 06/22] chore(release): 4.3.0-alpha.2 [skip ci] # [4.3.0-alpha.2](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.1...4.3.0-alpha.2) (2023-10-03) ### Bug Fixes * Docs fail with `Cannot find module 'taffydb'` ([#2036](https://github.com/parse-community/Parse-SDK-JS/issues/2036)) ([dc91d0f](https://github.com/parse-community/Parse-SDK-JS/commit/dc91d0fc4f69639ba762f5af841477e8836c6927)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index f21120487..1fe20bb82 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [4.3.0-alpha.2](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.1...4.3.0-alpha.2) (2023-10-03) + + +### Bug Fixes + +* Docs fail with `Cannot find module 'taffydb'` ([#2036](https://github.com/parse-community/Parse-SDK-JS/issues/2036)) ([dc91d0f](https://github.com/parse-community/Parse-SDK-JS/commit/dc91d0fc4f69639ba762f5af841477e8836c6927)) + # [4.3.0-alpha.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.2.0...4.3.0-alpha.1) (2023-09-26) diff --git a/package-lock.json b/package-lock.json index fd8bc6fe7..87982b7e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.0-alpha.1", + "version": "4.3.0-alpha.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.0-alpha.1", + "version": "4.3.0-alpha.2", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.22.15", diff --git a/package.json b/package.json index 0b8db1f2b..b75470c3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.0-alpha.1", + "version": "4.3.0-alpha.2", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [ From 4da3ebcc28b903a499c07bb194baae738de21d6f Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Tue, 3 Oct 2023 19:01:42 -0500 Subject: [PATCH 07/22] fix: Connection failure in `Parse.Object.saveEventually` and `Parse.Object.destroyEventually` not handled on custom `Parse.Error.CONNECTION_FAILURE` message (#2032) --- src/ParseObject.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ParseObject.js b/src/ParseObject.js index f324f6c28..32701191b 100644 --- a/src/ParseObject.js +++ b/src/ParseObject.js @@ -1219,7 +1219,7 @@ class ParseObject { try { await this.save(null, options); } catch (e) { - if (e.message === 'XMLHttpRequest failed: "Unable to connect to the Parse API"') { + if (e.code === ParseError.CONNECTION_FAILED) { await EventuallyQueue.save(this, options); EventuallyQueue.poll(); } @@ -1363,7 +1363,7 @@ class ParseObject { try { await this.destroy(options); } catch (e) { - if (e.message === 'XMLHttpRequest failed: "Unable to connect to the Parse API"') { + if (e.code === ParseError.CONNECTION_FAILED) { await EventuallyQueue.destroy(this, options); EventuallyQueue.poll(); } From 43f621863224768e2023ca896677fe9c0c2bcb21 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 4 Oct 2023 00:04:32 +0000 Subject: [PATCH 08/22] chore(release): 4.3.0-alpha.3 [skip ci] # [4.3.0-alpha.3](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.2...4.3.0-alpha.3) (2023-10-04) ### Bug Fixes * Connection failure in `Parse.Object.saveEventually` and `Parse.Object.destroyEventually` not handled on custom `Parse.Error.CONNECTION_FAILURE` message ([#2032](https://github.com/parse-community/Parse-SDK-JS/issues/2032)) ([4da3ebc](https://github.com/parse-community/Parse-SDK-JS/commit/4da3ebcc28b903a499c07bb194baae738de21d6f)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index 1fe20bb82..c03394b2f 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [4.3.0-alpha.3](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.2...4.3.0-alpha.3) (2023-10-04) + + +### Bug Fixes + +* Connection failure in `Parse.Object.saveEventually` and `Parse.Object.destroyEventually` not handled on custom `Parse.Error.CONNECTION_FAILURE` message ([#2032](https://github.com/parse-community/Parse-SDK-JS/issues/2032)) ([4da3ebc](https://github.com/parse-community/Parse-SDK-JS/commit/4da3ebcc28b903a499c07bb194baae738de21d6f)) + # [4.3.0-alpha.2](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.1...4.3.0-alpha.2) (2023-10-03) diff --git a/package-lock.json b/package-lock.json index 87982b7e4..3d27e65e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.0-alpha.2", + "version": "4.3.0-alpha.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.0-alpha.2", + "version": "4.3.0-alpha.3", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.22.15", diff --git a/package.json b/package.json index b75470c3b..affe30f1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.0-alpha.2", + "version": "4.3.0-alpha.3", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [ From 3bf55f6ccec2359f53eed9f192781ceff0060107 Mon Sep 17 00:00:00 2001 From: Parse Platform <90459499+parseplatformorg@users.noreply.github.com> Date: Thu, 5 Oct 2023 02:38:55 +0200 Subject: [PATCH 09/22] refactor: Upgrade uuid from 9.0.0 to 9.0.1 (#2037) --- package-lock.json | 33 ++++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3d27e65e6..35e244d10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@babel/runtime-corejs3": "7.22.15", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", - "uuid": "9.0.0", + "uuid": "^9.0.1", "ws": "8.13.0", "xmlhttprequest": "1.8.0" }, @@ -22532,6 +22532,15 @@ "node": ">=10" } }, + "node_modules/parse-server/node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/parse-server/node_modules/ws": { "version": "8.9.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz", @@ -27027,9 +27036,13 @@ } }, "node_modules/uuid": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], "bin": { "uuid": "dist/bin/uuid" } @@ -45118,6 +45131,12 @@ } } }, + "uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true + }, "ws": { "version": "8.9.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz", @@ -48671,9 +48690,9 @@ "dev": true }, "uuid": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==" + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==" }, "v8-to-istanbul": { "version": "9.1.0", diff --git a/package.json b/package.json index affe30f1c..b20a343aa 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@babel/runtime-corejs3": "7.22.15", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", - "uuid": "9.0.0", + "uuid": "9.0.1", "ws": "8.13.0", "xmlhttprequest": "1.8.0" }, From 360981f8a529f3e10243413c8114373271bb6f43 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Fri, 6 Oct 2023 19:18:46 -0500 Subject: [PATCH 10/22] fix: Error in web context when `window.indexedDB` API is available but protected (#2039) --- package-lock.json | 2 +- src/IndexedDBStorageController.js | 45 +++++++++++++++++-------------- src/Parse.ts | 9 ++++--- src/__tests__/Parse-test.js | 1 + src/__tests__/Storage-test.js | 12 +++++++++ 5 files changed, 44 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35e244d10..343677ec3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@babel/runtime-corejs3": "7.22.15", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", - "uuid": "^9.0.1", + "uuid": "9.0.1", "ws": "8.13.0", "xmlhttprequest": "1.8.0" }, diff --git a/src/IndexedDBStorageController.js b/src/IndexedDBStorageController.js index a223000e3..da2d2e973 100644 --- a/src/IndexedDBStorageController.js +++ b/src/IndexedDBStorageController.js @@ -6,28 +6,33 @@ import { createStore, del, set, get, clear, keys } from 'idb-keyval'; if (typeof window !== 'undefined' && window.indexedDB) { - const ParseStore = createStore('parseDB', 'parseStore'); + try { + const ParseStore = createStore('parseDB', 'parseStore'); - const IndexedDBStorageController = { - async: 1, - getItemAsync(path: string) { - return get(path, ParseStore); - }, - setItemAsync(path: string, value: string) { - return set(path, value, ParseStore); - }, - removeItemAsync(path: string) { - return del(path, ParseStore); - }, - getAllKeysAsync() { - return keys(ParseStore); - }, - clear() { - return clear(ParseStore); - }, - }; + const IndexedDBStorageController = { + async: 1, + getItemAsync(path: string) { + return get(path, ParseStore); + }, + setItemAsync(path: string, value: string) { + return set(path, value, ParseStore); + }, + removeItemAsync(path: string) { + return del(path, ParseStore); + }, + getAllKeysAsync() { + return keys(ParseStore); + }, + clear() { + return clear(ParseStore); + }, + }; - module.exports = IndexedDBStorageController; + module.exports = IndexedDBStorageController; + } catch (_) { + // IndexedDB not accessible + module.exports = undefined; + } } else { // IndexedDB not supported module.exports = undefined; diff --git a/src/Parse.ts b/src/Parse.ts index b6876a861..dbf3a0983 100644 --- a/src/Parse.ts +++ b/src/Parse.ts @@ -2,6 +2,7 @@ import decode from './decode'; import encode from './encode'; import CryptoController from './CryptoController'; import EventuallyQueue from './EventuallyQueue'; +import IndexedDBStorageController from './IndexedDBStorageController'; import InstallationController from './InstallationController'; import * as ParseOp from './ParseOp'; import RESTController from './RESTController'; @@ -183,6 +184,10 @@ const Parse: ParseType = { Parse.LiveQuery = new LiveQuery(); CoreManager.setIfNeeded('LiveQuery', Parse.LiveQuery); + + if (process.env.PARSE_BUILD === 'browser') { + Parse.IndexedDB = CoreManager.setIfNeeded('IndexedDBStorageController', IndexedDBStorageController); + } }, /** @@ -428,10 +433,6 @@ const Parse: ParseType = { }, }; -if (process.env.PARSE_BUILD === 'browser') { - Parse.IndexedDB = require('./IndexedDBStorageController'); -} - CoreManager.setCryptoController(CryptoController); CoreManager.setInstallationController(InstallationController); CoreManager.setRESTController(RESTController); diff --git a/src/__tests__/Parse-test.js b/src/__tests__/Parse-test.js index 4bb09217c..560585230 100644 --- a/src/__tests__/Parse-test.js +++ b/src/__tests__/Parse-test.js @@ -237,6 +237,7 @@ describe('Parse module', () => { expect(Parse.IndexedDB).toBeUndefined(); process.env.PARSE_BUILD = 'browser'; const ParseInstance = require('../Parse'); + ParseInstance.initialize('test', 'test'); expect(ParseInstance.IndexedDB).toBeDefined(); CoreManager.setStorageController(ParseInstance.IndexedDB); const currentStorage = CoreManager.getStorageController(); diff --git a/src/__tests__/Storage-test.js b/src/__tests__/Storage-test.js index 2f64884a4..0b89bb9e5 100644 --- a/src/__tests__/Storage-test.js +++ b/src/__tests__/Storage-test.js @@ -12,6 +12,7 @@ global.indexedDB = mockIndexedDB; jest.mock('idb-keyval', () => { return mockIndexedDB; }); +const idbKeyVal = require('idb-keyval'); const BrowserStorageController = require('../StorageController.browser'); @@ -204,6 +205,17 @@ describe('IndexDB StorageController', () => { expect(dbController).toBeUndefined(); global.indexedDB = mockIndexedDB; }); + + it('handle indexedDB is not accessible', async () => { + jest.isolateModules(() => { + global.indexedDB = mockIndexedDB; + jest.spyOn(idbKeyVal, 'createStore') + .mockImplementationOnce(() => { throw new Error('Protected'); }); + const dbController = require('../IndexedDBStorageController'); + expect(dbController).toBeUndefined(); + expect(idbKeyVal.createStore).toHaveBeenCalled(); + }); + }); }); const DefaultStorageController = require('../StorageController.default'); From 4cbe6d1d3f0d2961049e4fa168b0c3a37baec197 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 7 Oct 2023 00:20:57 +0000 Subject: [PATCH 11/22] chore(release): 4.3.0-alpha.4 [skip ci] # [4.3.0-alpha.4](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.3...4.3.0-alpha.4) (2023-10-07) ### Bug Fixes * Error in web context when `window.indexedDB` API is available but protected ([#2039](https://github.com/parse-community/Parse-SDK-JS/issues/2039)) ([360981f](https://github.com/parse-community/Parse-SDK-JS/commit/360981f8a529f3e10243413c8114373271bb6f43)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index c03394b2f..7b74c369c 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [4.3.0-alpha.4](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.3...4.3.0-alpha.4) (2023-10-07) + + +### Bug Fixes + +* Error in web context when `window.indexedDB` API is available but protected ([#2039](https://github.com/parse-community/Parse-SDK-JS/issues/2039)) ([360981f](https://github.com/parse-community/Parse-SDK-JS/commit/360981f8a529f3e10243413c8114373271bb6f43)) + # [4.3.0-alpha.3](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.2...4.3.0-alpha.3) (2023-10-04) diff --git a/package-lock.json b/package-lock.json index 343677ec3..7fb683024 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.0-alpha.3", + "version": "4.3.0-alpha.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.0-alpha.3", + "version": "4.3.0-alpha.4", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.22.15", diff --git a/package.json b/package.json index b20a343aa..152d3d683 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.0-alpha.3", + "version": "4.3.0-alpha.4", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [ From 28fb1152ce91eef1ee616a0a9d7621e799380f15 Mon Sep 17 00:00:00 2001 From: Parse Platform <90459499+parseplatformorg@users.noreply.github.com> Date: Mon, 16 Oct 2023 21:14:06 +0200 Subject: [PATCH 12/22] refactor: Upgrade @babel/runtime-corejs3 from 7.22.15 to 7.23.1 (#2040) --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7fb683024..0f9b0d0fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.3.0-alpha.4", "license": "Apache-2.0", "dependencies": { - "@babel/runtime-corejs3": "7.22.15", + "@babel/runtime-corejs3": "^7.23.1", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", @@ -2161,9 +2161,9 @@ } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.15.tgz", - "integrity": "sha512-SAj8oKi8UogVi6eXQXKNPu8qZ78Yzy7zawrlTr0M+IuW/g8Qe9gVDhGcF9h1S69OyACpYoLxEzpjs1M15sI5wQ==", + "version": "7.23.1", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.23.1.tgz", + "integrity": "sha512-OKKfytwoc0tr7cDHwQm0RLVR3y+hDGFz3EPuvLNU/0fOeXJeKNIHj7ffNVFnncWt3sC58uyUCRSzf8nBQbyF6A==", "dependencies": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" @@ -29311,9 +29311,9 @@ } }, "@babel/runtime-corejs3": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.22.15.tgz", - "integrity": "sha512-SAj8oKi8UogVi6eXQXKNPu8qZ78Yzy7zawrlTr0M+IuW/g8Qe9gVDhGcF9h1S69OyACpYoLxEzpjs1M15sI5wQ==", + "version": "7.23.1", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.23.1.tgz", + "integrity": "sha512-OKKfytwoc0tr7cDHwQm0RLVR3y+hDGFz3EPuvLNU/0fOeXJeKNIHj7ffNVFnncWt3sC58uyUCRSzf8nBQbyF6A==", "requires": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" diff --git a/package.json b/package.json index 152d3d683..91c563c4f 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "react-native": false }, "dependencies": { - "@babel/runtime-corejs3": "7.22.15", + "@babel/runtime-corejs3": "7.23.1", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", From 2ce2158f37b2e2cee6068b0445da6f56f00841a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 21:22:33 +0200 Subject: [PATCH 13/22] refactor: Bump @babel/traverse from 7.22.0 to 7.23.2 (#2041) --- package-lock.json | 212 +++++++++++++++++++++++----------------------- 1 file changed, 107 insertions(+), 105 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0f9b0d0fc..4ec5b9f8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.3.0-alpha.4", "license": "Apache-2.0", "dependencies": { - "@babel/runtime-corejs3": "^7.23.1", + "@babel/runtime-corejs3": "7.23.1", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", @@ -106,12 +106,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", - "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "version": "7.22.13", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", + "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", "dev": true, "dependencies": { - "@babel/highlight": "^7.22.5" + "@babel/highlight": "^7.22.13", + "chalk": "^2.4.2" }, "engines": { "node": ">=6.9.0" @@ -202,12 +203,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.22.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.9.tgz", - "integrity": "sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", + "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", "dev": true, "dependencies": { - "@babel/types": "^7.22.5", + "@babel/types": "^7.23.0", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -424,9 +425,9 @@ } }, "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", - "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", "dev": true, "engines": { "node": ">=6.9.0" @@ -445,25 +446,25 @@ } }, "node_modules/@babel/helper-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", "dev": true, "dependencies": { - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", - "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", "dev": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -614,9 +615,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", - "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "dev": true, "engines": { "node": ">=6.9.0" @@ -661,13 +662,13 @@ } }, "node_modules/@babel/highlight": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", - "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", + "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.22.5", - "chalk": "^2.0.0", + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, "engines": { @@ -675,9 +676,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.22.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.7.tgz", - "integrity": "sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", + "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -2178,33 +2179,33 @@ "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==" }, "node_modules/@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.22.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.0.tgz", - "integrity": "sha512-V5Zp3k0nFGWSIC7zYR8PnfdU6i6VYU4JnifdSSMlXM1GMojPAaelPsKmKPW4tWTmpX9GM+RzKl4Io0UVcHVlpw==", + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", + "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.21.4", - "@babel/generator": "^7.22.0", - "@babel/helper-environment-visitor": "^7.21.5", - "@babel/helper-function-name": "^7.21.0", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.22.0", - "@babel/types": "^7.22.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.0", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.0", + "@babel/types": "^7.23.0", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -2213,13 +2214,13 @@ } }, "node_modules/@babel/types": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", - "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", + "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" }, "engines": { @@ -27893,12 +27894,13 @@ } }, "@babel/code-frame": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", - "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "version": "7.22.13", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", + "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", "dev": true, "requires": { - "@babel/highlight": "^7.22.5" + "@babel/highlight": "^7.22.13", + "chalk": "^2.4.2" } }, "@babel/compat-data": { @@ -27964,12 +27966,12 @@ } }, "@babel/generator": { - "version": "7.22.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.9.tgz", - "integrity": "sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", + "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", "dev": true, "requires": { - "@babel/types": "^7.22.5", + "@babel/types": "^7.23.0", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -28140,9 +28142,9 @@ } }, "@babel/helper-environment-visitor": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", - "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", "dev": true }, "@babel/helper-explode-assignable-expression": { @@ -28155,22 +28157,22 @@ } }, "@babel/helper-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", "dev": true, "requires": { - "@babel/template": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" } }, "@babel/helper-hoist-variables": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", - "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", "dev": true, "requires": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" } }, "@babel/helper-member-expression-to-functions": { @@ -28276,9 +28278,9 @@ "dev": true }, "@babel/helper-validator-identifier": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", - "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", "dev": true }, "@babel/helper-validator-option": { @@ -28311,20 +28313,20 @@ } }, "@babel/highlight": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", - "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", + "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.22.5", - "chalk": "^2.0.0", + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.22.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.7.tgz", - "integrity": "sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", + "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", "dev": true }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { @@ -29327,42 +29329,42 @@ } }, "@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", + "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", "dev": true, "requires": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" + "@babel/code-frame": "^7.22.13", + "@babel/parser": "^7.22.15", + "@babel/types": "^7.22.15" } }, "@babel/traverse": { - "version": "7.22.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.0.tgz", - "integrity": "sha512-V5Zp3k0nFGWSIC7zYR8PnfdU6i6VYU4JnifdSSMlXM1GMojPAaelPsKmKPW4tWTmpX9GM+RzKl4Io0UVcHVlpw==", + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", + "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", "dev": true, "requires": { - "@babel/code-frame": "^7.21.4", - "@babel/generator": "^7.22.0", - "@babel/helper-environment-visitor": "^7.21.5", - "@babel/helper-function-name": "^7.21.0", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.22.0", - "@babel/types": "^7.22.0", + "@babel/code-frame": "^7.22.13", + "@babel/generator": "^7.23.0", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.0", + "@babel/types": "^7.23.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", - "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", + "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", "dev": true, "requires": { "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" } }, From 681fbdfcdd2e6d351e00400eccf41fe732b053ba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 17:27:59 +0200 Subject: [PATCH 14/22] fix: Security upgrade crypto-js from 4.1.1 to 4.2.0 (#2042) --- package-lock.json | 43 ++++++++++++++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ec5b9f8a..d4c1db12d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.23.1", + "crypto-js": "4.2.0", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", @@ -76,7 +77,7 @@ "node": ">=14.21.0 <17 || >=18 <20" }, "optionalDependencies": { - "crypto-js": "4.1.1" + "crypto-js": "4.2.0" } }, "node_modules/@ampproject/remapping": { @@ -4502,6 +4503,13 @@ "node": ">=6.9.0" } }, + "node_modules/@parse/push-adapter/node_modules/crypto-js": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", + "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", + "dev": true, + "optional": true + }, "node_modules/@parse/push-adapter/node_modules/idb-keyval": { "version": "5.0.6", "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-5.0.6.tgz", @@ -8735,9 +8743,9 @@ } }, "node_modules/crypto-js": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", - "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==", "optional": true }, "node_modules/crypto-random-string": { @@ -22588,6 +22596,13 @@ "node": ">=6.9.0" } }, + "node_modules/parse/node_modules/crypto-js": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", + "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", + "dev": true, + "optional": true + }, "node_modules/parse/node_modules/idb-keyval": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.0.3.tgz", @@ -31097,6 +31112,13 @@ "regenerator-runtime": "^0.13.4" } }, + "crypto-js": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", + "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", + "dev": true, + "optional": true + }, "idb-keyval": { "version": "5.0.6", "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-5.0.6.tgz", @@ -34475,9 +34497,9 @@ } }, "crypto-js": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", - "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==", "optional": true }, "crypto-random-string": { @@ -44911,6 +44933,13 @@ "regenerator-runtime": "^0.13.4" } }, + "crypto-js": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", + "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", + "dev": true, + "optional": true + }, "idb-keyval": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.0.3.tgz", diff --git a/package.json b/package.json index 91c563c4f..a0b633e7e 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "vinyl-source-stream": "2.0.0" }, "optionalDependencies": { - "crypto-js": "4.1.1" + "crypto-js": "4.2.0" }, "scripts": { "build": "node build_releases.js", From c0309b8c801c83a799c3378f11c478b7a2abc0e8 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 26 Oct 2023 15:30:14 +0000 Subject: [PATCH 15/22] chore(release): 4.3.0-alpha.5 [skip ci] # [4.3.0-alpha.5](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.4...4.3.0-alpha.5) (2023-10-26) ### Bug Fixes * Security upgrade crypto-js from 4.1.1 to 4.2.0 ([#2042](https://github.com/parse-community/Parse-SDK-JS/issues/2042)) ([681fbdf](https://github.com/parse-community/Parse-SDK-JS/commit/681fbdfcdd2e6d351e00400eccf41fe732b053ba)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index 7b74c369c..d95b717b3 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [4.3.0-alpha.5](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.4...4.3.0-alpha.5) (2023-10-26) + + +### Bug Fixes + +* Security upgrade crypto-js from 4.1.1 to 4.2.0 ([#2042](https://github.com/parse-community/Parse-SDK-JS/issues/2042)) ([681fbdf](https://github.com/parse-community/Parse-SDK-JS/commit/681fbdfcdd2e6d351e00400eccf41fe732b053ba)) + # [4.3.0-alpha.4](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.3...4.3.0-alpha.4) (2023-10-07) diff --git a/package-lock.json b/package-lock.json index d4c1db12d..6fe999a36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.0-alpha.4", + "version": "4.3.0-alpha.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.0-alpha.4", + "version": "4.3.0-alpha.5", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.23.1", diff --git a/package.json b/package.json index a0b633e7e..4169ab263 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.0-alpha.4", + "version": "4.3.0-alpha.5", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [ From fd50b9dbc9feb8b51eedfcdddce37ea1882ac438 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:53:55 +0200 Subject: [PATCH 16/22] fix: Security upgrade browserify-sign from 4.2.1 to 4.2.2 (#2043) --- package-lock.json | 52 ++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6fe999a36..c5a378217 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.23.1", - "crypto-js": "4.2.0", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", @@ -7123,20 +7122,23 @@ } }, "node_modules/browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz", + "integrity": "sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg==", "dev": true, "dependencies": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", + "bn.js": "^5.2.1", + "browserify-rsa": "^4.1.0", "create-hash": "^1.2.0", "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", + "elliptic": "^6.5.4", "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" + "parse-asn1": "^5.1.6", + "readable-stream": "^3.6.2", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 4" } }, "node_modules/browserify-sign/node_modules/safe-buffer": { @@ -23850,9 +23852,9 @@ } }, "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -33266,20 +33268,20 @@ } }, "browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz", + "integrity": "sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg==", "dev": true, "requires": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", + "bn.js": "^5.2.1", + "browserify-rsa": "^4.1.0", "create-hash": "^1.2.0", "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", + "elliptic": "^6.5.4", "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" + "parse-asn1": "^5.1.6", + "readable-stream": "^3.6.2", + "safe-buffer": "^5.2.1" }, "dependencies": { "safe-buffer": { @@ -46102,9 +46104,9 @@ } }, "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "requires": { "inherits": "^2.0.3", From c7aacd20eeea530c7a2253def16be14663172244 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 28 Oct 2023 15:55:48 +0000 Subject: [PATCH 17/22] chore(release): 4.3.0-alpha.6 [skip ci] # [4.3.0-alpha.6](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.5...4.3.0-alpha.6) (2023-10-28) ### Bug Fixes * Security upgrade browserify-sign from 4.2.1 to 4.2.2 ([#2043](https://github.com/parse-community/Parse-SDK-JS/issues/2043)) ([fd50b9d](https://github.com/parse-community/Parse-SDK-JS/commit/fd50b9dbc9feb8b51eedfcdddce37ea1882ac438)) --- changelogs/CHANGELOG_alpha.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index d95b717b3..e0d171583 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,10 @@ +# [4.3.0-alpha.6](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.5...4.3.0-alpha.6) (2023-10-28) + + +### Bug Fixes + +* Security upgrade browserify-sign from 4.2.1 to 4.2.2 ([#2043](https://github.com/parse-community/Parse-SDK-JS/issues/2043)) ([fd50b9d](https://github.com/parse-community/Parse-SDK-JS/commit/fd50b9dbc9feb8b51eedfcdddce37ea1882ac438)) + # [4.3.0-alpha.5](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.4...4.3.0-alpha.5) (2023-10-26) diff --git a/package-lock.json b/package-lock.json index c5a378217..b247facd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.0-alpha.5", + "version": "4.3.0-alpha.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.0-alpha.5", + "version": "4.3.0-alpha.6", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.23.1", diff --git a/package.json b/package.json index 4169ab263..90b0a6de4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.0-alpha.5", + "version": "4.3.0-alpha.6", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [ From 96b676f03c9eb9f51b039fc53dbb3dd7212bdb10 Mon Sep 17 00:00:00 2001 From: Parse Platform <90459499+parseplatformorg@users.noreply.github.com> Date: Thu, 2 Nov 2023 08:15:18 +0100 Subject: [PATCH 18/22] refactor: Upgrade @babel/runtime-corejs3 from 7.23.1 to 7.23.2 (#2046) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ñ --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index b247facd8..9e4808191 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "4.3.0-alpha.6", "license": "Apache-2.0", "dependencies": { - "@babel/runtime-corejs3": "7.23.1", + "@babel/runtime-corejs3": "^7.23.2", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", @@ -2162,9 +2162,9 @@ } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.23.1", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.23.1.tgz", - "integrity": "sha512-OKKfytwoc0tr7cDHwQm0RLVR3y+hDGFz3EPuvLNU/0fOeXJeKNIHj7ffNVFnncWt3sC58uyUCRSzf8nBQbyF6A==", + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.23.2.tgz", + "integrity": "sha512-54cIh74Z1rp4oIjsHjqN+WM4fMyCBYe+LpZ9jWm51CZ1fbH3SkAzQD/3XLoNkjbJ7YEmjobLXyvQrFypRHOrXw==", "dependencies": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" @@ -29330,9 +29330,9 @@ } }, "@babel/runtime-corejs3": { - "version": "7.23.1", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.23.1.tgz", - "integrity": "sha512-OKKfytwoc0tr7cDHwQm0RLVR3y+hDGFz3EPuvLNU/0fOeXJeKNIHj7ffNVFnncWt3sC58uyUCRSzf8nBQbyF6A==", + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.23.2.tgz", + "integrity": "sha512-54cIh74Z1rp4oIjsHjqN+WM4fMyCBYe+LpZ9jWm51CZ1fbH3SkAzQD/3XLoNkjbJ7YEmjobLXyvQrFypRHOrXw==", "requires": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" diff --git a/package.json b/package.json index 90b0a6de4..22a92f152 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "react-native": false }, "dependencies": { - "@babel/runtime-corejs3": "7.23.1", + "@babel/runtime-corejs3": "7.23.2", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", From 660ac6a0cb7814ffe421edce321d7e0838084a45 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:53:12 +0100 Subject: [PATCH 19/22] release From 42adbe92345ee5e24992ce9910192d0124b4d95b Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 16 Nov 2023 15:01:01 +0000 Subject: [PATCH 20/22] chore(release): 4.3.1-beta.1 [skip ci] ## [4.3.1-beta.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0...4.3.1-beta.1) (2023-11-16) ### Bug Fixes * Connection failure in `Parse.Object.saveEventually` and `Parse.Object.destroyEventually` not handled on custom `Parse.Error.CONNECTION_FAILURE` message ([#2032](https://github.com/parse-community/Parse-SDK-JS/issues/2032)) ([4da3ebc](https://github.com/parse-community/Parse-SDK-JS/commit/4da3ebcc28b903a499c07bb194baae738de21d6f)) * Docs fail with `Cannot find module 'taffydb'` ([#2036](https://github.com/parse-community/Parse-SDK-JS/issues/2036)) ([dc91d0f](https://github.com/parse-community/Parse-SDK-JS/commit/dc91d0fc4f69639ba762f5af841477e8836c6927)) * Error in web context when `window.indexedDB` API is available but protected ([#2039](https://github.com/parse-community/Parse-SDK-JS/issues/2039)) ([360981f](https://github.com/parse-community/Parse-SDK-JS/commit/360981f8a529f3e10243413c8114373271bb6f43)) * Security upgrade browserify-sign from 4.2.1 to 4.2.2 ([#2043](https://github.com/parse-community/Parse-SDK-JS/issues/2043)) ([fd50b9d](https://github.com/parse-community/Parse-SDK-JS/commit/fd50b9dbc9feb8b51eedfcdddce37ea1882ac438)) * Security upgrade crypto-js from 4.1.1 to 4.2.0 ([#2042](https://github.com/parse-community/Parse-SDK-JS/issues/2042)) ([681fbdf](https://github.com/parse-community/Parse-SDK-JS/commit/681fbdfcdd2e6d351e00400eccf41fe732b053ba)) --- changelogs/CHANGELOG_beta.md | 11 +++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_beta.md b/changelogs/CHANGELOG_beta.md index 94b4ae202..839bec10f 100644 --- a/changelogs/CHANGELOG_beta.md +++ b/changelogs/CHANGELOG_beta.md @@ -1,3 +1,14 @@ +## [4.3.1-beta.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0...4.3.1-beta.1) (2023-11-16) + + +### Bug Fixes + +* Connection failure in `Parse.Object.saveEventually` and `Parse.Object.destroyEventually` not handled on custom `Parse.Error.CONNECTION_FAILURE` message ([#2032](https://github.com/parse-community/Parse-SDK-JS/issues/2032)) ([4da3ebc](https://github.com/parse-community/Parse-SDK-JS/commit/4da3ebcc28b903a499c07bb194baae738de21d6f)) +* Docs fail with `Cannot find module 'taffydb'` ([#2036](https://github.com/parse-community/Parse-SDK-JS/issues/2036)) ([dc91d0f](https://github.com/parse-community/Parse-SDK-JS/commit/dc91d0fc4f69639ba762f5af841477e8836c6927)) +* Error in web context when `window.indexedDB` API is available but protected ([#2039](https://github.com/parse-community/Parse-SDK-JS/issues/2039)) ([360981f](https://github.com/parse-community/Parse-SDK-JS/commit/360981f8a529f3e10243413c8114373271bb6f43)) +* Security upgrade browserify-sign from 4.2.1 to 4.2.2 ([#2043](https://github.com/parse-community/Parse-SDK-JS/issues/2043)) ([fd50b9d](https://github.com/parse-community/Parse-SDK-JS/commit/fd50b9dbc9feb8b51eedfcdddce37ea1882ac438)) +* Security upgrade crypto-js from 4.1.1 to 4.2.0 ([#2042](https://github.com/parse-community/Parse-SDK-JS/issues/2042)) ([681fbdf](https://github.com/parse-community/Parse-SDK-JS/commit/681fbdfcdd2e6d351e00400eccf41fe732b053ba)) + # [4.3.0-beta.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.2.0...4.3.0-beta.1) (2023-09-16) diff --git a/package-lock.json b/package-lock.json index 9e4808191..aa949136f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.0-alpha.6", + "version": "4.3.1-beta.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.0-alpha.6", + "version": "4.3.1-beta.1", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "^7.23.2", diff --git a/package.json b/package.json index 22a92f152..c127c8f7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.0-alpha.6", + "version": "4.3.1-beta.1", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [ From 39a8c4d3f1b7064bda95df730c4364af03a4a7f5 Mon Sep 17 00:00:00 2001 From: Parse Platform <90459499+parseplatformorg@users.noreply.github.com> Date: Sat, 18 Nov 2023 15:42:42 +0100 Subject: [PATCH 21/22] refactor: Upgrade ws from 8.13.0 to 8.14.2 (#2053) --- package-lock.json | 46 ++++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 39 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index aa949136f..26a367a3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,11 +9,11 @@ "version": "4.3.1-beta.1", "license": "Apache-2.0", "dependencies": { - "@babel/runtime-corejs3": "^7.23.2", + "@babel/runtime-corejs3": "7.23.2", "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", - "ws": "8.13.0", + "ws": "^8.14.2", "xmlhttprequest": "1.8.0" }, "devDependencies": { @@ -23506,6 +23506,27 @@ } } }, + "node_modules/puppeteer-core/node_modules/ws": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/puppeteer/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -27756,9 +27777,9 @@ } }, "node_modules/ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "version": "8.14.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", + "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", "engines": { "node": ">=10.0.0" }, @@ -45866,6 +45887,15 @@ "debug": "4.3.4", "devtools-protocol": "0.0.1120988", "ws": "8.13.0" + }, + "dependencies": { + "ws": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "dev": true, + "requires": {} + } } }, "pure-rand": { @@ -49295,9 +49325,9 @@ } }, "ws": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", - "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "version": "8.14.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", + "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", "requires": {} }, "xml-name-validator": { diff --git a/package.json b/package.json index c127c8f7b..7f77b30d8 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "idb-keyval": "6.2.1", "react-native-crypto-js": "1.0.0", "uuid": "9.0.1", - "ws": "8.13.0", + "ws": "8.14.2", "xmlhttprequest": "1.8.0" }, "devDependencies": { From 1ddccb26cea1e0736771c052b269a11cbfdbb06e Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 18 Nov 2023 14:44:36 +0000 Subject: [PATCH 22/22] chore(release): 4.3.1-alpha.1 [skip ci] ## [4.3.1-alpha.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0...4.3.1-alpha.1) (2023-11-18) ### Bug Fixes * Connection failure in `Parse.Object.saveEventually` and `Parse.Object.destroyEventually` not handled on custom `Parse.Error.CONNECTION_FAILURE` message ([#2032](https://github.com/parse-community/Parse-SDK-JS/issues/2032)) ([4da3ebc](https://github.com/parse-community/Parse-SDK-JS/commit/4da3ebcc28b903a499c07bb194baae738de21d6f)) * Docs fail with `Cannot find module 'taffydb'` ([#2036](https://github.com/parse-community/Parse-SDK-JS/issues/2036)) ([dc91d0f](https://github.com/parse-community/Parse-SDK-JS/commit/dc91d0fc4f69639ba762f5af841477e8836c6927)) * Error in web context when `window.indexedDB` API is available but protected ([#2039](https://github.com/parse-community/Parse-SDK-JS/issues/2039)) ([360981f](https://github.com/parse-community/Parse-SDK-JS/commit/360981f8a529f3e10243413c8114373271bb6f43)) * Security upgrade browserify-sign from 4.2.1 to 4.2.2 ([#2043](https://github.com/parse-community/Parse-SDK-JS/issues/2043)) ([fd50b9d](https://github.com/parse-community/Parse-SDK-JS/commit/fd50b9dbc9feb8b51eedfcdddce37ea1882ac438)) * Security upgrade crypto-js from 4.1.1 to 4.2.0 ([#2042](https://github.com/parse-community/Parse-SDK-JS/issues/2042)) ([681fbdf](https://github.com/parse-community/Parse-SDK-JS/commit/681fbdfcdd2e6d351e00400eccf41fe732b053ba)) --- changelogs/CHANGELOG_alpha.md | 11 +++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG_alpha.md b/changelogs/CHANGELOG_alpha.md index e0d171583..9110b1424 100644 --- a/changelogs/CHANGELOG_alpha.md +++ b/changelogs/CHANGELOG_alpha.md @@ -1,3 +1,14 @@ +## [4.3.1-alpha.1](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0...4.3.1-alpha.1) (2023-11-18) + + +### Bug Fixes + +* Connection failure in `Parse.Object.saveEventually` and `Parse.Object.destroyEventually` not handled on custom `Parse.Error.CONNECTION_FAILURE` message ([#2032](https://github.com/parse-community/Parse-SDK-JS/issues/2032)) ([4da3ebc](https://github.com/parse-community/Parse-SDK-JS/commit/4da3ebcc28b903a499c07bb194baae738de21d6f)) +* Docs fail with `Cannot find module 'taffydb'` ([#2036](https://github.com/parse-community/Parse-SDK-JS/issues/2036)) ([dc91d0f](https://github.com/parse-community/Parse-SDK-JS/commit/dc91d0fc4f69639ba762f5af841477e8836c6927)) +* Error in web context when `window.indexedDB` API is available but protected ([#2039](https://github.com/parse-community/Parse-SDK-JS/issues/2039)) ([360981f](https://github.com/parse-community/Parse-SDK-JS/commit/360981f8a529f3e10243413c8114373271bb6f43)) +* Security upgrade browserify-sign from 4.2.1 to 4.2.2 ([#2043](https://github.com/parse-community/Parse-SDK-JS/issues/2043)) ([fd50b9d](https://github.com/parse-community/Parse-SDK-JS/commit/fd50b9dbc9feb8b51eedfcdddce37ea1882ac438)) +* Security upgrade crypto-js from 4.1.1 to 4.2.0 ([#2042](https://github.com/parse-community/Parse-SDK-JS/issues/2042)) ([681fbdf](https://github.com/parse-community/Parse-SDK-JS/commit/681fbdfcdd2e6d351e00400eccf41fe732b053ba)) + # [4.3.0-alpha.6](https://github.com/parse-community/Parse-SDK-JS/compare/4.3.0-alpha.5...4.3.0-alpha.6) (2023-10-28) diff --git a/package-lock.json b/package-lock.json index 26a367a3e..360094095 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parse", - "version": "4.3.1-beta.1", + "version": "4.3.1-alpha.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "parse", - "version": "4.3.1-beta.1", + "version": "4.3.1-alpha.1", "license": "Apache-2.0", "dependencies": { "@babel/runtime-corejs3": "7.23.2", diff --git a/package.json b/package.json index 7f77b30d8..6906fe1d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parse", - "version": "4.3.1-beta.1", + "version": "4.3.1-alpha.1", "description": "Parse JavaScript SDK", "homepage": "https://parseplatform.org", "keywords": [