From 59088d9fdfe3d014de9a2f70f06788970b188c53 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 7 Mar 2022 17:20:20 +0000 Subject: [PATCH 1/2] Update actions/checkout action to v3 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d6f322..379fb97 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: name: Compile TS and run tests - Node.js ${{ matrix.node-version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 From 6e85a66ecc2f751b0a7889b796e7e56a2dd1e46d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 7 Mar 2022 17:21:19 +0000 Subject: [PATCH 2/2] Commit from GitHub Actions (Compile TS and run tests) --- lib/repositories/IDBRepository.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/repositories/IDBRepository.js b/lib/repositories/IDBRepository.js index 68051b4..69fd0cc 100644 --- a/lib/repositories/IDBRepository.js +++ b/lib/repositories/IDBRepository.js @@ -24,8 +24,8 @@ export class IDBRepository { return new Promise(((resolve, reject) => { const request = storeTransaction.add(item); request.onsuccess = (e) => { - var _a, _b, _c; - const id = (_a = item.id) !== null && _a !== void 0 ? _a : (_c = (_b = e) === null || _b === void 0 ? void 0 : _b.target) === null || _c === void 0 ? void 0 : _c.result; + var _a, _b; + const id = (_a = item.id) !== null && _a !== void 0 ? _a : (_b = e === null || e === void 0 ? void 0 : e.target) === null || _b === void 0 ? void 0 : _b.result; item.id = id; resolve(item); };