@canopycanopycanopy/b-ber-grammar-image 2.0.3 → 2.0.7
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/image.js +2 -2
- package/dist/index.js +2 -3
- package/package.json +8 -8
package/dist/image.js
CHANGED
|
@@ -23,8 +23,8 @@ var _figures = _interopRequireDefault(require("@canopycanopycanopy/b-ber-templat
|
|
|
23
23
|
var _utils = require("@canopycanopycanopy/b-ber-lib/utils");
|
|
24
24
|
const _excluded = ["classes"],
|
|
25
25
|
_excluded2 = ["classes"];
|
|
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 _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28
28
|
function createFigure({
|
|
29
29
|
context,
|
|
30
30
|
width,
|
package/dist/index.js
CHANGED
|
@@ -95,7 +95,7 @@ const render = ({
|
|
|
95
95
|
});
|
|
96
96
|
return type === 'figure' ? (0, _image.createFigure)(args) : type === 'figure-inline' ? (0, _image.createFigureInline)(args) : '';
|
|
97
97
|
};
|
|
98
|
-
var _default = {
|
|
98
|
+
var _default = exports.default = {
|
|
99
99
|
plugin: _bBerParserFigure.default,
|
|
100
100
|
name: 'figure',
|
|
101
101
|
renderer: ({
|
|
@@ -115,5 +115,4 @@ var _default = {
|
|
|
115
115
|
context
|
|
116
116
|
})
|
|
117
117
|
})
|
|
118
|
-
};
|
|
119
|
-
exports.default = _default;
|
|
118
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canopycanopycanopy/b-ber-grammar-image",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"rimraf": "^2.7.1"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@canopycanopycanopy/b-ber-grammar-attributes": "2.0.
|
|
29
|
-
"@canopycanopycanopy/b-ber-lib": "2.0.
|
|
30
|
-
"@canopycanopycanopy/b-ber-logger": "2.0.
|
|
31
|
-
"@canopycanopycanopy/b-ber-parser-figure": "2.0.
|
|
32
|
-
"@canopycanopycanopy/b-ber-shapes-directives": "2.0.
|
|
33
|
-
"@canopycanopycanopy/b-ber-templates": "2.0.
|
|
28
|
+
"@canopycanopycanopy/b-ber-grammar-attributes": "2.0.7",
|
|
29
|
+
"@canopycanopycanopy/b-ber-lib": "2.0.7",
|
|
30
|
+
"@canopycanopycanopy/b-ber-logger": "2.0.7",
|
|
31
|
+
"@canopycanopycanopy/b-ber-parser-figure": "2.0.7",
|
|
32
|
+
"@canopycanopycanopy/b-ber-shapes-directives": "2.0.7",
|
|
33
|
+
"@canopycanopycanopy/b-ber-templates": "2.0.7",
|
|
34
34
|
"fs-extra": "^8.1.0",
|
|
35
35
|
"image-size": "^0.8.3",
|
|
36
36
|
"lodash": "^4.17.21",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"url": "https://maxwellsimmer.com"
|
|
56
56
|
}
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "f44b7c22af08b450714aab70df172f8b369fd51f"
|
|
59
59
|
}
|