@antv/l7-renderer 2.13.0 → 2.13.1

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/lib/index.js CHANGED
@@ -16,7 +16,10 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
20
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
24
 
22
25
  // src/index.ts
@@ -30,7 +30,9 @@ var ReglFramebuffer = class {
30
30
  height
31
31
  };
32
32
  if (Array.isArray(colors)) {
33
- framebufferOptions.colors = colors.map((c) => c.get());
33
+ framebufferOptions.colors = colors.map(
34
+ (c) => c.get()
35
+ );
34
36
  }
35
37
  if (color && typeof color !== "boolean") {
36
38
  framebufferOptions.color = color.get();
@@ -244,7 +244,12 @@ var ReglModel = class {
244
244
  extractUniforms(uniforms) {
245
245
  const extractedUniforms = {};
246
246
  Object.keys(uniforms).forEach((uniformName) => {
247
- this.extractUniformsRecursively(uniformName, uniforms[uniformName], extractedUniforms, "");
247
+ this.extractUniformsRecursively(
248
+ uniformName,
249
+ uniforms[uniformName],
250
+ extractedUniforms,
251
+ ""
252
+ );
248
253
  });
249
254
  return extractedUniforms;
250
255
  }
@@ -255,13 +260,23 @@ var ReglModel = class {
255
260
  }
256
261
  if ((0, import_lodash.isPlainObject)(uniformValue)) {
257
262
  Object.keys(uniformValue).forEach((childName) => {
258
- this.extractUniformsRecursively(childName, uniformValue[childName], uniforms, `${prefix && prefix + "."}${uniformName}`);
263
+ this.extractUniformsRecursively(
264
+ childName,
265
+ uniformValue[childName],
266
+ uniforms,
267
+ `${prefix && prefix + "."}${uniformName}`
268
+ );
259
269
  });
260
270
  }
261
271
  if (Array.isArray(uniformValue)) {
262
272
  uniformValue.forEach((child, idx) => {
263
273
  Object.keys(child).forEach((childName) => {
264
- this.extractUniformsRecursively(childName, child[childName], uniforms, `${prefix && prefix + "."}${uniformName}[${idx}]`);
274
+ this.extractUniformsRecursively(
275
+ childName,
276
+ child[childName],
277
+ uniforms,
278
+ `${prefix && prefix + "."}${uniformName}[${idx}]`
279
+ );
265
280
  });
266
281
  });
267
282
  }
package/lib/regl/index.js CHANGED
@@ -16,7 +16,10 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
20
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
24
  var __decorateClass = (decorators, target, key, kind) => {
22
25
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-renderer",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -25,19 +25,19 @@
25
25
  "author": "xiaoiver",
26
26
  "license": "ISC",
27
27
  "devDependencies": {
28
- "@antv/l7-test-utils": "2.13.0",
28
+ "@antv/l7-test-utils": "2.13.1",
29
29
  "gl": "^5.0.3"
30
30
  },
31
31
  "dependencies": {
32
- "@antv/l7-core": "2.13.0",
33
- "@antv/l7-utils": "2.13.0",
32
+ "@antv/l7-core": "2.13.1",
33
+ "@antv/l7-utils": "2.13.1",
34
34
  "@babel/runtime": "^7.7.7",
35
35
  "inversify": "^5.0.1",
36
36
  "l7regl": "^0.0.20",
37
37
  "lodash": "^4.17.15",
38
38
  "reflect-metadata": "^0.1.13"
39
39
  },
40
- "gitHead": "a87b58ebc6de89f13db8954f94fb603ef4bf72cd",
40
+ "gitHead": "6a7cbf5974ee1b3f38f926b3eaac97a144013ef2",
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  }