@loaders.gl/excel 4.0.0-alpha.21 → 4.0.0-alpha.23
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/es5/excel-loader.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.ExcelLoader = void 0;
|
|
7
|
-
var VERSION = typeof "4.0.0-alpha.
|
|
7
|
+
var VERSION = typeof "4.0.0-alpha.23" !== 'undefined' ? "4.0.0-alpha.23" : 'latest';
|
|
8
8
|
var DEFAULT_EXCEL_LOADER_OPTIONS = {
|
|
9
9
|
excel: {
|
|
10
10
|
shape: 'object-row-table',
|
package/dist/esm/excel-loader.js
CHANGED
package/dist/excel-worker.js
CHANGED
|
@@ -35895,7 +35895,7 @@
|
|
|
35895
35895
|
options,
|
|
35896
35896
|
context: {
|
|
35897
35897
|
...context,
|
|
35898
|
-
|
|
35898
|
+
_parse: parseOnMainThread
|
|
35899
35899
|
}
|
|
35900
35900
|
});
|
|
35901
35901
|
WorkerBody.postMessage("done", { result });
|
|
@@ -35908,7 +35908,7 @@
|
|
|
35908
35908
|
}
|
|
35909
35909
|
};
|
|
35910
35910
|
}
|
|
35911
|
-
function parseOnMainThread(arrayBuffer, options) {
|
|
35911
|
+
function parseOnMainThread(arrayBuffer, loader, options, context) {
|
|
35912
35912
|
return new Promise((resolve, reject) => {
|
|
35913
35913
|
const id = requestId++;
|
|
35914
35914
|
const onMessage = (type, payload2) => {
|
|
@@ -35932,7 +35932,12 @@
|
|
|
35932
35932
|
WorkerBody.postMessage("process", payload);
|
|
35933
35933
|
});
|
|
35934
35934
|
}
|
|
35935
|
-
async function parseData({
|
|
35935
|
+
async function parseData({
|
|
35936
|
+
loader,
|
|
35937
|
+
arrayBuffer,
|
|
35938
|
+
options,
|
|
35939
|
+
context
|
|
35940
|
+
}) {
|
|
35936
35941
|
let data;
|
|
35937
35942
|
let parser;
|
|
35938
35943
|
if (loader.parseSync || loader.parse) {
|
|
@@ -35954,7 +35959,7 @@
|
|
|
35954
35959
|
}
|
|
35955
35960
|
|
|
35956
35961
|
// src/excel-loader.ts
|
|
35957
|
-
var VERSION = true ? "4.0.0-alpha.
|
|
35962
|
+
var VERSION = true ? "4.0.0-alpha.23" : "latest";
|
|
35958
35963
|
var DEFAULT_EXCEL_LOADER_OPTIONS = {
|
|
35959
35964
|
excel: {
|
|
35960
35965
|
shape: "object-row-table",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/excel",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.23",
|
|
4
4
|
"description": "Framework-independent loader for Excel files",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"build-worker": "esbuild src/workers/excel-worker.ts --bundle --outfile=dist/excel-worker.js --define:__VERSION__=\\\"$npm_package_version\\\""
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@loaders.gl/loader-utils": "4.0.0-alpha.
|
|
39
|
-
"@loaders.gl/schema": "4.0.0-alpha.
|
|
38
|
+
"@loaders.gl/loader-utils": "4.0.0-alpha.23",
|
|
39
|
+
"@loaders.gl/schema": "4.0.0-alpha.23",
|
|
40
40
|
"xlsx": "^0.17.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "e212f2a0c0e342f7cb65ce84fa2ff39f64b7d94b"
|
|
43
43
|
}
|