Comparing version 3.2.0-beta.1 to 3.2.0-beta.3
@@ -7,3 +7,3 @@ /* | ||
* | ||
* Version 3.2.0-beta.1, Sun Jun 27 2021 | ||
* Version 3.2.0-beta.3, Mon Aug 02 2021 | ||
* | ||
@@ -441,2 +441,5 @@ * http://dexie.org | ||
} | ||
export interface DbCoreTransactionOptions { | ||
durability: ChromeTransactionDurability; | ||
} | ||
export type DBCoreMutateRequest = DBCoreAddRequest | DBCorePutRequest | DBCoreDeleteRequest | DBCoreDeleteRangeRequest; | ||
@@ -571,3 +574,3 @@ export interface DBCoreMutateResponse { | ||
// Transaction and Object Store | ||
transaction(stores: string[], mode: "readonly" | "readwrite"): DBCoreTransaction; | ||
transaction(stores: string[], mode: "readonly" | "readwrite", options?: DbCoreTransactionOptions): DBCoreTransaction; | ||
// Utility methods | ||
@@ -732,2 +735,3 @@ cmp(a: any, b: any): number; | ||
readonly verno: number; | ||
readonly vip: Dexie; | ||
readonly _allTables: { | ||
@@ -943,2 +947,3 @@ [name: string]: Table<any, IndexableType>; | ||
} | ||
export type ChromeTransactionDurability = "default" | "strict" | "relaxed"; | ||
export interface DexieOptions { | ||
@@ -957,2 +962,3 @@ addons?: Array<(db: Dexie) => void>; | ||
modifyChunkSize?: number; | ||
chromeTransactionDurability?: ChromeTransactionDurability; | ||
} | ||
@@ -1015,2 +1021,4 @@ export interface DexieConstructor extends DexieExceptionClasses { | ||
export as namespace Dexie; | ||
export {}; |
{ | ||
"name": "dexie", | ||
"version": "3.2.0-beta.1", | ||
"version": "3.2.0-beta.3", | ||
"description": "A Minimalistic Wrapper for IndexedDB", | ||
@@ -8,2 +8,3 @@ "main": "dist/dexie.js", | ||
"jsnext:main": "dist/dexie.mjs", | ||
"exports": "./dist/modern/dexie.mjs", | ||
"typings": "dist/dexie.d.ts", | ||
@@ -55,7 +56,10 @@ "jspm": { | ||
"tsc [--watch 'Watching for file changes']", | ||
"tsc --target es2018 --outdir ../tools/tmp/modern/src/", | ||
"rollup -c ../tools/build-configs/rollup.config.js", | ||
"rollup -c ../tools/build-configs/rollup.umd.config.js", | ||
"rollup -c ../tools/build-configs/rollup.modern.config.js", | ||
"node ../tools/replaceVersionAndDate.js ../dist/dexie.js", | ||
"node ../tools/replaceVersionAndDate.js ../dist/dexie.mjs", | ||
"dts-bundle-generator --inline-declare-externals -o ../dist/dexie.d.ts public/index.d.ts", | ||
"node ../tools/replaceVersionAndDate.js ../dist/modern/dexie.mjs", | ||
"dts-bundle-generator --inline-declare-externals --umd-module-name Dexie -o ../dist/dexie.d.ts public/index.d.ts", | ||
"node ../tools/prepend.js ../dist/dexie.d.ts ../tools/build-configs/banner.txt", | ||
@@ -70,3 +74,6 @@ "node ../tools/replaceVersionAndDate.js ../dist/dexie.d.ts" | ||
"cd dist", | ||
"uglifyjs dexie.js -m -c negate_iife=0 -o dexie.min.js --source-map" | ||
"uglifyjs dexie.js -m -c negate_iife=0 -o dexie.min.js --source-map", | ||
"# Minify modern bundle", | ||
"cd modern", | ||
"terser --comments false --compress --mangle --module --source-map -o dexie.min.mjs -- dexie.mjs" | ||
], | ||
@@ -109,8 +116,10 @@ "dev": [ | ||
"rxjs": "^6.6.6", | ||
"safari-14-idb-fix": "^1.0.4", | ||
"serve-static": "^1.14.1", | ||
"sorted-json": "^0.2.6", | ||
"terser": "^5.3.1", | ||
"tslib": "^2.1.0", | ||
"typescript": "^4.2.2", | ||
"typescript": "^4.3.4", | ||
"uglify-js": "^3.9.2" | ||
} | ||
} |
@@ -7,5 +7,5 @@ # Security Policy | ||
| ------- | ------------------ | -------- | ||
| 3.0.x | :white_check_mark: | master | ||
| 2.0.x | :white_check_mark: | master-2 | ||
| 1.5.x | :thinking: | master-1 | ||
| 3.x | :white_check_mark: | master | ||
| 2.0.x | :thinking: | master-2 | ||
| 1.5.x | :x: | master-1 | ||
| < 1.5.1 | :x: | | ||
@@ -12,0 +12,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2533338
18
16021
23
7