@malloydata/render 0.0.51 → 0.0.52-dev230706144131

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.
@@ -6,10 +6,8 @@ class RendererFactory {
6
6
  this.tagOptionExtractors = {};
7
7
  }
8
8
  addExtractor(extractor, ...tags) {
9
- for (const tag in tags) {
10
- if (tag) {
11
- this.tagOptionExtractors[tag] = extractor;
12
- }
9
+ for (const index in tags) {
10
+ this.tagOptionExtractors[tags[index]] = extractor;
13
11
  }
14
12
  }
15
13
  activates(_field) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/render",
3
- "version": "0.0.51",
3
+ "version": "0.0.52-dev230706144131",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "prepublishOnly": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "@malloydata/malloy": "^0.0.51",
21
+ "@malloydata/malloy": "^0.0.52-dev230706144131",
22
22
  "@types/luxon": "^2.4.0",
23
23
  "lodash": "^4.17.20",
24
24
  "luxon": "^2.4.0",