indexeddbshim 17.4.0 → 17.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IDBFactory.d.ts +4 -4
- package/dist/IDBFactory.d.ts.map +1 -1
- package/dist/indexeddbshim-Key.js +1 -1
- package/dist/indexeddbshim-Key.min.js +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs +5 -5
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +3 -3
- package/dist/indexeddbshim-UnicodeIdentifiers.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js.map +1 -1
- package/dist/indexeddbshim-node.cjs +5 -5
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +3 -3
- package/dist/indexeddbshim-noninvasive.js.map +1 -1
- package/dist/indexeddbshim-noninvasive.min.js +1 -1
- package/dist/indexeddbshim-noninvasive.min.js.map +1 -1
- package/dist/indexeddbshim.js +3 -3
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +1 -1
- package/dist/indexeddbshim.min.js.map +1 -1
- package/dist/node-UnicodeIdentifiers.d.ts +3 -3
- package/dist/node-UnicodeIdentifiers.d.ts.map +1 -1
- package/dist/node.d.ts +3 -3
- package/dist/node.d.ts.map +1 -1
- package/package.json +4 -2
- package/src/IDBFactory.js +2 -2
- package/src/node-UnicodeIdentifiers.js +2 -2
- package/src/node.js +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default __setGlobalVars;
|
|
2
2
|
/**
|
|
3
|
-
* @param {import('./setGlobalVars.js').ShimmedObject} idb
|
|
4
|
-
* @param {Partial<import('./CFG.js').ConfigValues>} initialConfig
|
|
3
|
+
* @param {import('./setGlobalVars.js').ShimmedObject} [idb]
|
|
4
|
+
* @param {Partial<import('./CFG.js').ConfigValues>} [initialConfig]
|
|
5
5
|
* @returns {import('./setGlobalVars.js').ShimmedObject|Window}
|
|
6
6
|
*/
|
|
7
|
-
declare function __setGlobalVars(idb
|
|
7
|
+
declare function __setGlobalVars(idb?: import("./setGlobalVars.js").ShimmedObject, initialConfig?: Partial<import("./CFG.js").ConfigValues>): import("./setGlobalVars.js").ShimmedObject | Window;
|
|
8
8
|
//# sourceMappingURL=node-UnicodeIdentifiers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-UnicodeIdentifiers.d.ts","sourceRoot":"","sources":["../src/node-UnicodeIdentifiers.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"node-UnicodeIdentifiers.d.ts","sourceRoot":"","sources":["../src/node-UnicodeIdentifiers.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH,uCAJW,OAAO,oBAAoB,EAAE,aAAa,kBAC1C,OAAO,CAAC,OAAO,UAAU,EAAE,YAAY,CAAC,GACtC,OAAO,oBAAoB,EAAE,aAAa,GAAC,MAAM,CAe7D"}
|
package/dist/node.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default __setGlobalVars;
|
|
2
2
|
/**
|
|
3
|
-
* @param {import('./setGlobalVars.js').ShimmedObject} idb
|
|
4
|
-
* @param {Partial<import('./CFG.js').ConfigValues>} initialConfig
|
|
3
|
+
* @param {import('./setGlobalVars.js').ShimmedObject} [idb]
|
|
4
|
+
* @param {Partial<import('./CFG.js').ConfigValues>} [initialConfig]
|
|
5
5
|
* @returns {import('./setGlobalVars.js').ShimmedObject|Window}
|
|
6
6
|
*/
|
|
7
|
-
declare function __setGlobalVars(idb
|
|
7
|
+
declare function __setGlobalVars(idb?: import("./setGlobalVars.js").ShimmedObject, initialConfig?: Partial<import("./CFG.js").ConfigValues>): import("./setGlobalVars.js").ShimmedObject | Window;
|
|
8
8
|
//# sourceMappingURL=node.d.ts.map
|
package/dist/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.js"],"names":[],"mappings":";AAQA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.js"],"names":[],"mappings":";AAQA;;;;GAIG;AACH,uCAJW,OAAO,oBAAoB,EAAE,aAAa,kBAC1C,OAAO,CAAC,OAAO,UAAU,EAAE,YAAY,CAAC,GACtC,OAAO,oBAAoB,EAAE,aAAa,GAAC,MAAM,CAQ7D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "indexeddbshim",
|
|
3
|
-
"version": "17.4.
|
|
3
|
+
"version": "17.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Parashuram <code@nparashuram.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -29,12 +29,13 @@
|
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
+
"prepublishOnly": "npm run license-badges && npm run build",
|
|
33
|
+
"attw": "attw --pack . --profile node16",
|
|
32
34
|
"tsc": "tsc",
|
|
33
35
|
"tsc-prod": "tsc -p tsconfig-prod.json",
|
|
34
36
|
"tsc:ts7": "npx -y -p typescript@^7 -c \"tsc\"",
|
|
35
37
|
"tsc-prod:ts7": "npx -y typescript@^7 tsc -p tsconfig-prod.json",
|
|
36
38
|
"build": "rm -R dist && npm run tsc-prod && npm run rollup",
|
|
37
|
-
"prepublishOnly": "npm run license-badges && npm run build",
|
|
38
39
|
"license-badge": "license-badger --corrections --uncategorizedLicenseTemplate \"\\${license} (\\${name} (\\${version}))\" --filteredTypes=nonempty --textTemplate \"License types\n(project, deps, and bundled devDeps)\" --packageJson --production badges/licenses-badge.svg",
|
|
39
40
|
"license-badge-dev": "license-badger --corrections --filteredTypes=nonempty --textTemplate \"License types\n(all devDeps)\" --allDevelopment badges/licenses-badge-dev.svg",
|
|
40
41
|
"license-badges": "run-p license-badge license-badge-dev",
|
|
@@ -176,6 +177,7 @@
|
|
|
176
177
|
"websql-configurable": "^3.1.0"
|
|
177
178
|
},
|
|
178
179
|
"devDependencies": {
|
|
180
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
179
181
|
"@babel/core": "^8.0.1",
|
|
180
182
|
"@babel/preset-env": "^8.0.2",
|
|
181
183
|
"@es-joy/json-file-reporter": "^1.5.0",
|
package/src/IDBFactory.js
CHANGED
|
@@ -1220,8 +1220,8 @@ IDBFactory.prototype.cmp = function (key1, key2) {
|
|
|
1220
1220
|
* @see https://github.com/w3c/IndexedDB/pull/240/files
|
|
1221
1221
|
* @this {IDBFactoryFull}
|
|
1222
1222
|
* @returns {Promise<{
|
|
1223
|
-
* name
|
|
1224
|
-
* version
|
|
1223
|
+
* name?: string,
|
|
1224
|
+
* version?: Integer
|
|
1225
1225
|
* }[]>}
|
|
1226
1226
|
*/
|
|
1227
1227
|
IDBFactory.prototype.databases = function () {
|
|
@@ -8,8 +8,8 @@ import * as UnicodeIdentifiers from './UnicodeIdentifiers.js';
|
|
|
8
8
|
CFG.win = {openDatabase: nodeWebSQL};
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @param {import('./setGlobalVars.js').ShimmedObject} idb
|
|
12
|
-
* @param {Partial<import('./CFG.js').ConfigValues>} initialConfig
|
|
11
|
+
* @param {import('./setGlobalVars.js').ShimmedObject} [idb]
|
|
12
|
+
* @param {Partial<import('./CFG.js').ConfigValues>} [initialConfig]
|
|
13
13
|
* @returns {import('./setGlobalVars.js').ShimmedObject|Window}
|
|
14
14
|
*/
|
|
15
15
|
const __setGlobalVars = function (idb, initialConfig = {}) {
|
package/src/node.js
CHANGED
|
@@ -7,8 +7,8 @@ import CFG from './CFG.js';
|
|
|
7
7
|
CFG.win = {openDatabase: nodeWebSQL};
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @param {import('./setGlobalVars.js').ShimmedObject} idb
|
|
11
|
-
* @param {Partial<import('./CFG.js').ConfigValues>} initialConfig
|
|
10
|
+
* @param {import('./setGlobalVars.js').ShimmedObject} [idb]
|
|
11
|
+
* @param {Partial<import('./CFG.js').ConfigValues>} [initialConfig]
|
|
12
12
|
* @returns {import('./setGlobalVars.js').ShimmedObject|Window}
|
|
13
13
|
*/
|
|
14
14
|
const __setGlobalVars = function (idb, initialConfig = {}) {
|