@canopycanopycanopy/b-ber-grammar-attributes 3.0.7-canary.9 → 3.0.8-canary.0
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/index.js +2 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -23,8 +23,8 @@ var _lodash = _interopRequireDefault(require("lodash.has"));
|
|
|
23
23
|
var _bBerLib = require("@canopycanopycanopy/b-ber-lib");
|
|
24
24
|
var _bBerLogger = _interopRequireDefault(require("@canopycanopycanopy/b-ber-logger"));
|
|
25
25
|
var _bBerShapesDirectives = require("@canopycanopycanopy/b-ber-shapes-directives");
|
|
26
|
-
function ownKeys(
|
|
27
|
-
function _objectSpread(
|
|
26
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
27
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; } /* eslint-disable no-plusplus, no-continue*/
|
|
28
28
|
//
|
|
29
29
|
// Querying hierarchies gets confusing, so we're using biological taxonomic
|
|
30
30
|
// rank as an analogue for classification. which is obvs less confusing...
|
|
@@ -32,7 +32,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
32
32
|
// Class -> Order -> Family -> Genus
|
|
33
33
|
// element -> block -> frontmatter -> preface
|
|
34
34
|
//
|
|
35
|
-
|
|
36
35
|
const _lookUpFamily = genus => _bBerShapesDirectives.FRONTMATTER_DIRECTIVES.has(genus) ? 'frontmatter' : _bBerShapesDirectives.BODYMATTER_DIRECTIVES.has(genus) ? 'bodymatter' : _bBerShapesDirectives.BACKMATTER_DIRECTIVES.has(genus) ? 'backmatter' : '';
|
|
37
36
|
|
|
38
37
|
// Determine the directive's classification and parent's type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canopycanopycanopy/b-ber-grammar-attributes",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8-canary.0+967bd854",
|
|
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.
|
|
21
|
-
"@canopycanopycanopy/b-ber-logger": "3.0.
|
|
22
|
-
"@canopycanopycanopy/b-ber-shapes-directives": "3.0.
|
|
20
|
+
"@canopycanopycanopy/b-ber-lib": "3.0.8-canary.0+967bd854",
|
|
21
|
+
"@canopycanopycanopy/b-ber-logger": "3.0.8-canary.0+967bd854",
|
|
22
|
+
"@canopycanopycanopy/b-ber-shapes-directives": "3.0.8-canary.0+967bd854",
|
|
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": "
|
|
52
|
+
"gitHead": "967bd8540c93b82a811ee2b5abc86a30c90a66af"
|
|
53
53
|
}
|