@loaders.gl/excel 4.0.0-alpha.21 → 4.0.0-alpha.22

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.
@@ -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.21" !== 'undefined' ? "4.0.0-alpha.21" : 'latest';
7
+ var VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : 'latest';
8
8
  var DEFAULT_EXCEL_LOADER_OPTIONS = {
9
9
  excel: {
10
10
  shape: 'object-row-table',
@@ -1,4 +1,4 @@
1
- const VERSION = typeof "4.0.0-alpha.21" !== 'undefined' ? "4.0.0-alpha.21" : 'latest';
1
+ const VERSION = typeof "4.0.0-alpha.22" !== 'undefined' ? "4.0.0-alpha.22" : 'latest';
2
2
  const DEFAULT_EXCEL_LOADER_OPTIONS = {
3
3
  excel: {
4
4
  shape: 'object-row-table',
@@ -35895,7 +35895,7 @@
35895
35895
  options,
35896
35896
  context: {
35897
35897
  ...context,
35898
- parse: parseOnMainThread
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({ loader, arrayBuffer, options, context }) {
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.21" : "latest";
35962
+ var VERSION = true ? "4.0.0-alpha.22" : "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.21",
3
+ "version": "4.0.0-alpha.22",
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.21",
39
- "@loaders.gl/schema": "4.0.0-alpha.21",
38
+ "@loaders.gl/loader-utils": "4.0.0-alpha.22",
39
+ "@loaders.gl/schema": "4.0.0-alpha.22",
40
40
  "xlsx": "^0.17.0"
41
41
  },
42
- "gitHead": "df5d670b136192b26941396e944f9c46be788e83"
42
+ "gitHead": "0da838c506d1275383f2fd3d244d9c72b25397d2"
43
43
  }