Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit 41d9b79

Browse files
committed
fix: IE Object.values is not a function
1 parent b7ff733 commit 41d9b79

File tree

8 files changed

+8
-6
lines changed

8 files changed

+8
-6
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [
33
["@babel/preset-env", {
4-
"useBuiltIns": "usage",
4+
"useBuiltIns": "entry",
55
"corejs": 3
66
}]
77
],

docs/main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/worker.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/worker.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@babel/runtime": "^7.10.2",
25+
"core-js": "^3.6.5",
2526
"indexeddb-getall-shim": "^1.3.6",
2627
"sql.js": "^1.3.0"
2728
},
@@ -31,7 +32,6 @@
3132
"@babel/plugin-transform-runtime": "^7.10.1",
3233
"@babel/preset-env": "^7.10.2",
3334
"babel-loader": "^8.1.0",
34-
"core-js": "^3.6.5",
3535
"eslint": "^7.x",
3636
"eslint-config-airbnb": "^18.1.0",
3737
"eslint-plugin-import": "^2.21.2",

src/main/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'core-js';
12
import { createWorker } from './createWorker';
23
import { init as initExecSQL } from './tabs/execSQL';
34
import { init as initOpen } from './tabs/open';

src/worker/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'core-js';
12
import { handleClear } from './handlers/handleClear';
23
import { handleExecSQL } from './handlers/handleExecSQL';
34
import { handleInsert } from './handlers/handleInsert';

0 commit comments

Comments
 (0)