@canopycanopycanopy/b-ber-grammar-attributes 3.0.6 → 3.0.7-canary.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ const _isUnsupportedAttribute = (genus, attr) => {
48
48
  // This will be the directive name, e.g., figure, video, etc
49
49
  key = genus;
50
50
  }
51
- return !_bBerShapesDirectives.SUPPORTED_ATTRIBUTES[key] || _bBerShapesDirectives.SUPPORTED_ATTRIBUTES[key][attr] !== true;
51
+ return !_bBerShapesDirectives.SUPPORTED_ATTRIBUTES[key] || !_bBerShapesDirectives.SUPPORTED_ATTRIBUTES[key].has(attr);
52
52
  };
53
53
  const _applyTransforms = (k, v) => {
54
54
  switch (k) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-grammar-attributes",
3
- "version": "3.0.6",
3
+ "version": "3.0.7-canary.9+327cd6d2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,9 +17,9 @@
17
17
  "access": "public"
18
18
  },
19
19
  "dependencies": {
20
- "@canopycanopycanopy/b-ber-lib": "3.0.6",
21
- "@canopycanopycanopy/b-ber-logger": "3.0.6",
22
- "@canopycanopycanopy/b-ber-shapes-directives": "3.0.6",
20
+ "@canopycanopycanopy/b-ber-lib": "3.0.7-canary.9+327cd6d2",
21
+ "@canopycanopycanopy/b-ber-logger": "3.0.7-canary.9+327cd6d2",
22
+ "@canopycanopycanopy/b-ber-shapes-directives": "3.0.7-canary.9+327cd6d2",
23
23
  "lodash": "^4.17.21",
24
24
  "lodash.has": "latest",
25
25
  "tar": "^6.1.11"
@@ -49,5 +49,5 @@
49
49
  "url": "https://maxwellsimmer.com"
50
50
  }
51
51
  ],
52
- "gitHead": "b82c5d0cb8081d4715957b9532fe039b9056358f"
52
+ "gitHead": "327cd6d23093ed174f7cced283d3c670e000c183"
53
53
  }