NebulaServices / Dynamic

[BETA] The new generation of interception proxies.
https://npmjs.com/@nebula-services/dynamic
GNU Lesser General Public License v3.0
55 stars 129 forks source link

Bump idb from 7.1.1 to 8.0.0 #54

Open dependabot[bot] opened 7 months ago

dependabot[bot] commented 7 months ago

Bumps idb from 7.1.1 to 8.0.0.

Changelog

Sourced from idb's changelog.

Breaking changes in 8.x

  • Finally dropped support for old EdgeHTML engine.
  • Dropped support for browsers that don't support cursor.request.
  • Removed separate async iterators build. It's now one build with async iterator support.

Breaking changes in 7.x

  • No longer committing build to GitHub.
  • Renamed files in dist.
  • Added conditional exports.
  • iife build is now a umd.

Breaking changes in 6.x

Some TypeScript definitions changed so write-methods are missing from 'readonly' transactions. This might be backwards-incompatible with code that performs a lot of type wrangling.

Breaking changes in 5.x

I moved some files around, so I bumped the major version for safety.

Changes in 4.x

Breaking changes

Opening a database

// Old 3.x way
import { openDb } from 'idb';

openDb('db-name', 1, (upgradeDb) => { console.log(upgradeDb.oldVersion); console.log(upgradeDb.transaction); });

// New 4.x way
import { openDB } from 'idb';

openDB('db-name', 1, {
  upgrade(db, oldVersion, newVersion, transaction) {
    console.log(oldVersion);
    console.log(transaction);
  },
});
  • openDb and deleteDb were renamed openDB and deleteDB to be more consistent with DOM naming.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)