@loaders.gl/xml 4.0.0-alpha.24 → 4.0.0-alpha.26

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/dist.min.js CHANGED
@@ -3096,7 +3096,7 @@ Actual: ${this.attribValue}`);
3096
3096
  function mergeOptionsRecursively(baseOptions, newOptions) {
3097
3097
  const options = { ...baseOptions };
3098
3098
  for (const [key, newValue] of Object.entries(newOptions)) {
3099
- if (newValue && typeof newValue === "object") {
3099
+ if (newValue && typeof newValue === "object" && !Array.isArray(newValue)) {
3100
3100
  options[key] = mergeOptionsRecursively(options[key] || {}, newOptions[key]);
3101
3101
  } else {
3102
3102
  options[key] = newOptions[key];
@@ -11,7 +11,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
11
11
  var _parseXml = require("./lib/parsers/parse-xml");
12
12
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13
13
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14
- var VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : 'latest';
14
+ var VERSION = typeof "4.0.0-alpha.26" !== 'undefined' ? "4.0.0-alpha.26" : 'latest';
15
15
  var XMLLoader = {
16
16
  name: 'XML',
17
17
  id: 'xml',
@@ -1,5 +1,5 @@
1
1
  import { parseXMLSync } from './lib/parsers/parse-xml';
2
- const VERSION = typeof "4.0.0-alpha.24" !== 'undefined' ? "4.0.0-alpha.24" : 'latest';
2
+ const VERSION = typeof "4.0.0-alpha.26" !== 'undefined' ? "4.0.0-alpha.26" : 'latest';
3
3
  export const XMLLoader = {
4
4
  name: 'XML',
5
5
  id: 'xml',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/xml",
3
- "version": "4.0.0-alpha.24",
3
+ "version": "4.0.0-alpha.26",
4
4
  "description": "Framework-independent loaders for the XML (eXtensible Markup Language) format",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -33,9 +33,9 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7.3.1",
36
- "@loaders.gl/loader-utils": "4.0.0-alpha.24",
37
- "@loaders.gl/schema": "4.0.0-alpha.24",
36
+ "@loaders.gl/loader-utils": "4.0.0-alpha.26",
37
+ "@loaders.gl/schema": "4.0.0-alpha.26",
38
38
  "fast-xml-parser": "^4.2.5"
39
39
  },
40
- "gitHead": "97a8990595c132fb14e3445a8768d9f4cb98ff05"
40
+ "gitHead": "91adce71f74dacc7c8bfc379f0d122f2beae70d9"
41
41
  }