@loaders.gl/wkt 3.2.0-alpha.2 → 3.2.0-alpha.3

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,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VERSION = void 0;
7
- var VERSION = typeof "3.2.0-alpha.2" !== 'undefined' ? "3.2.0-alpha.2" : 'latest';
7
+ var VERSION = typeof "3.2.0-alpha.3" !== 'undefined' ? "3.2.0-alpha.3" : 'latest';
8
8
  exports.VERSION = VERSION;
9
9
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const VERSION = typeof "3.2.0-alpha.2" !== 'undefined' ? "3.2.0-alpha.2" : 'latest';
1
+ export const VERSION = typeof "3.2.0-alpha.3" !== 'undefined' ? "3.2.0-alpha.3" : 'latest';
2
2
  //# sourceMappingURL=version.js.map
@@ -118,12 +118,13 @@
118
118
  switch (type) {
119
119
  case "process":
120
120
  try {
121
- const { input, options = {} } = payload;
121
+ const { input, options = {}, context = {} } = payload;
122
122
  const result = await parseData({
123
123
  loader,
124
124
  arrayBuffer: input,
125
125
  options,
126
126
  context: {
127
+ ...context,
127
128
  parse: parseOnMainThread
128
129
  }
129
130
  });
@@ -183,7 +184,7 @@
183
184
  }
184
185
 
185
186
  // src/lib/utils/version.ts
186
- var VERSION = true ? "3.2.0-alpha.2" : "latest";
187
+ var VERSION = true ? "3.2.0-alpha.3" : "latest";
187
188
 
188
189
  // src/lib/parse-wkt.ts
189
190
  var numberRegexp = /[-+]?([0-9]*\.[0-9]+|[0-9]+)([eE][-+]?[0-9]+)?/;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loaders.gl/wkt",
3
3
  "description": "Loader and Writer for the WKT (Well Known Text) Format",
4
- "version": "3.2.0-alpha.2",
4
+ "version": "3.2.0-alpha.3",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -35,8 +35,8 @@
35
35
  "fuzzer": "^0.2.1"
36
36
  },
37
37
  "dependencies": {
38
- "@loaders.gl/loader-utils": "3.2.0-alpha.2",
39
- "@loaders.gl/schema": "3.2.0-alpha.2"
38
+ "@loaders.gl/loader-utils": "3.2.0-alpha.3",
39
+ "@loaders.gl/schema": "3.2.0-alpha.3"
40
40
  },
41
- "gitHead": "52a602739cbfce60fc314f474efc984d199dff78"
41
+ "gitHead": "f0d4b801efeb7094283106352ee759eccfb21f10"
42
42
  }