@readme/markdown 6.49.0 → 6.52.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.
@@ -6,29 +6,33 @@ const BaseUrlContext = require('../contexts/BaseUrl');
6
6
  // Nabbed from here:
7
7
  // https://github.com/readmeio/api-explorer/blob/0dedafcf71102feedaa4145040d3f57d79d95752/packages/api-explorer/src/lib/markdown/renderer.js#L52
8
8
  function getHref(href, baseUrl) {
9
+ const [path, hash] = href.split('#');
10
+ const hashStr = hash ? `#${hash}` : '';
11
+
9
12
  const base = baseUrl === '/' ? '' : baseUrl;
10
- const doc = href.match(/^doc:([-_a-zA-Z0-9#]*)$/);
13
+ const doc = path.match(/^doc:([-_a-zA-Z0-9#]*)$/);
14
+
11
15
  if (doc) {
12
- return `${base}/docs/${doc[1]}`;
16
+ return `${base}/docs/${doc[1]}${hashStr}`;
13
17
  }
14
18
 
15
- const ref = href.match(/^ref:([-_a-zA-Z0-9#]*)$/);
19
+ const ref = path.match(/^ref:([-_a-zA-Z0-9#]*)$/);
16
20
  if (ref) {
17
- return `${base}/reference-link/${ref[1]}`;
21
+ return `${base}/reference-link/${ref[1]}${hashStr}`;
18
22
  }
19
23
 
20
24
  // we need to perform two matches for changelogs in case
21
25
  // of legacy links that use 'blog' instead of 'changelog'
22
- const blog = href.match(/^blog:([-_a-zA-Z0-9#]*)$/);
23
- const changelog = href.match(/^changelog:([-_a-zA-Z0-9#]*)$/);
26
+ const blog = path.match(/^blog:([-_a-zA-Z0-9#]*)$/);
27
+ const changelog = path.match(/^changelog:([-_a-zA-Z0-9#]*)$/);
24
28
  const changelogMatch = blog || changelog;
25
29
  if (changelogMatch) {
26
- return `${base}/changelog/${changelogMatch[1]}`;
30
+ return `${base}/changelog/${changelogMatch[1]}${hashStr}`;
27
31
  }
28
32
 
29
- const custompage = href.match(/^page:([-_a-zA-Z0-9#]*)$/);
33
+ const custompage = path.match(/^page:([-_a-zA-Z0-9#]*)$/);
30
34
  if (custompage) {
31
- return `${base}/page/${custompage[1]}`;
35
+ return `${base}/page/${custompage[1]}${hashStr}`;
32
36
  }
33
37
 
34
38
  return href;
package/dist/main.js CHANGED
@@ -9094,6 +9094,8 @@ var _extends = __webpack_require__(7154);
9094
9094
 
9095
9095
  var _objectWithoutProperties = __webpack_require__(6479);
9096
9096
 
9097
+ var _slicedToArray = __webpack_require__(3038);
9098
+
9097
9099
  var _excluded = ["baseUrl", "children", "href", "target", "title"];
9098
9100
 
9099
9101
  var React = __webpack_require__(4466);
@@ -9105,33 +9107,39 @@ var BaseUrlContext = __webpack_require__(6785); // Nabbed from here:
9105
9107
 
9106
9108
 
9107
9109
  function getHref(href, baseUrl) {
9110
+ var _href$split = href.split('#'),
9111
+ _href$split2 = _slicedToArray(_href$split, 2),
9112
+ path = _href$split2[0],
9113
+ hash = _href$split2[1];
9114
+
9115
+ var hashStr = hash ? "#".concat(hash) : '';
9108
9116
  var base = baseUrl === '/' ? '' : baseUrl;
9109
- var doc = href.match(/^doc:([-_a-zA-Z0-9#]*)$/);
9117
+ var doc = path.match(/^doc:([-_a-zA-Z0-9#]*)$/);
9110
9118
 
9111
9119
  if (doc) {
9112
- return "".concat(base, "/docs/").concat(doc[1]);
9120
+ return "".concat(base, "/docs/").concat(doc[1]).concat(hashStr);
9113
9121
  }
9114
9122
 
9115
- var ref = href.match(/^ref:([-_a-zA-Z0-9#]*)$/);
9123
+ var ref = path.match(/^ref:([-_a-zA-Z0-9#]*)$/);
9116
9124
 
9117
9125
  if (ref) {
9118
- return "".concat(base, "/reference-link/").concat(ref[1]);
9126
+ return "".concat(base, "/reference-link/").concat(ref[1]).concat(hashStr);
9119
9127
  } // we need to perform two matches for changelogs in case
9120
9128
  // of legacy links that use 'blog' instead of 'changelog'
9121
9129
 
9122
9130
 
9123
- var blog = href.match(/^blog:([-_a-zA-Z0-9#]*)$/);
9124
- var changelog = href.match(/^changelog:([-_a-zA-Z0-9#]*)$/);
9131
+ var blog = path.match(/^blog:([-_a-zA-Z0-9#]*)$/);
9132
+ var changelog = path.match(/^changelog:([-_a-zA-Z0-9#]*)$/);
9125
9133
  var changelogMatch = blog || changelog;
9126
9134
 
9127
9135
  if (changelogMatch) {
9128
- return "".concat(base, "/changelog/").concat(changelogMatch[1]);
9136
+ return "".concat(base, "/changelog/").concat(changelogMatch[1]).concat(hashStr);
9129
9137
  }
9130
9138
 
9131
- var custompage = href.match(/^page:([-_a-zA-Z0-9#]*)$/);
9139
+ var custompage = path.match(/^page:([-_a-zA-Z0-9#]*)$/);
9132
9140
 
9133
9141
  if (custompage) {
9134
- return "".concat(base, "/page/").concat(custompage[1]);
9142
+ return "".concat(base, "/page/").concat(custompage[1]).concat(hashStr);
9135
9143
  }
9136
9144
 
9137
9145
  return href;
@@ -27941,6 +27949,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
27941
27949
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
27942
27950
 
27943
27951
  var options = {
27952
+ alwaysThrow: false,
27944
27953
  compatibilityMode: false,
27945
27954
  copyButtons: true,
27946
27955
  correctnewlines: false,
@@ -27951,8 +27960,7 @@ var options = {
27951
27960
  ruleSpaces: false,
27952
27961
  listItemIndent: '1',
27953
27962
  spacedTable: true,
27954
- paddedTable: true,
27955
- setext: true
27963
+ paddedTable: true
27956
27964
  },
27957
27965
  normalize: true,
27958
27966
  safeMode: false,
@@ -28137,12 +28145,16 @@ var _require = __webpack_require__(7589),
28137
28145
  imgSizeByWidth = _require.imgSizeByWidth;
28138
28146
 
28139
28147
  var compileImage = function compileImage(image) {
28148
+ var _ref = image.data.hProperties || {},
28149
+ className = _ref.className,
28150
+ width = _ref.width;
28151
+
28140
28152
  var img = _objectSpread(_objectSpread({
28141
28153
  image: [image.url, image.title, image.alt]
28142
- }, image.data.hProperties.width && {
28143
- sizing: imgSizeByWidth[image.data.hProperties.width]
28144
- }), image.border && {
28145
- border: image.border
28154
+ }, width && {
28155
+ sizing: imgSizeByWidth[width]
28156
+ }), className === 'border' && {
28157
+ border: true
28146
28158
  });
28147
28159
 
28148
28160
  return img;
@@ -28230,15 +28242,21 @@ module.exports = function ImageCompiler() {
28230
28242
  var originalImageCompiler = visitors.image;
28231
28243
 
28232
28244
  visitors.image = function compile(node) {
28233
- var _node$data, _node$data$hPropertie, _node$data2, _node$data2$hProperti, _visitors$figure;
28245
+ var _node$data, _node$data$hPropertie, _node$data2, _visitors$figure;
28246
+
28247
+ if (((_node$data = node.data) === null || _node$data === void 0 ? void 0 : (_node$data$hPropertie = _node$data.hProperties) === null || _node$data$hPropertie === void 0 ? void 0 : _node$data$hPropertie.className) === 'emoji') return node.title; // Use magic block instead of markdown when there are certain defined properties we can't store in markdown
28234
28248
 
28235
- if (((_node$data = node.data) === null || _node$data === void 0 ? void 0 : (_node$data$hPropertie = _node$data.hProperties) === null || _node$data$hPropertie === void 0 ? void 0 : _node$data$hPropertie.className) === 'emoji') return node.title;
28249
+ var _ref = ((_node$data2 = node.data) === null || _node$data2 === void 0 ? void 0 : _node$data2.hProperties) || {},
28250
+ className = _ref.className,
28251
+ width = _ref.width;
28252
+
28253
+ var useMagicBlock = Boolean(width) || (className === null || className === void 0 ? void 0 : className.length);
28236
28254
 
28237
28255
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
28238
28256
  args[_key - 1] = arguments[_key];
28239
28257
  }
28240
28258
 
28241
- if ((_node$data2 = node.data) !== null && _node$data2 !== void 0 && (_node$data2$hProperti = _node$data2.hProperties) !== null && _node$data2$hProperti !== void 0 && _node$data2$hProperti.width) return (_visitors$figure = visitors.figure).call.apply(_visitors$figure, [this, node].concat(args));
28259
+ if (useMagicBlock) return (_visitors$figure = visitors.figure).call.apply(_visitors$figure, [this, node].concat(args));
28242
28260
  return originalImageCompiler.call.apply(originalImageCompiler, [this, node].concat(args));
28243
28261
  };
28244
28262
  };
@@ -28483,8 +28501,8 @@ var emojiRegex = __webpack_require__(809);
28483
28501
  var rgx = new RegExp("^> ?(".concat(emojiRegex().source, ")(?: +(.+)?)?\n((?:>(?: .*)?\n)*)"));
28484
28502
  var themes = {
28485
28503
  "\uD83D\uDCD8": 'info',
28486
- "\u26A0\uFE0F": 'warn',
28487
28504
  "\uD83D\uDEA7": 'warn',
28505
+ "\u26A0\uFE0F": 'warn',
28488
28506
  "\uD83D\uDC4D": 'okay',
28489
28507
  "\u2705": 'okay',
28490
28508
  "\u2757": 'error',
@@ -28905,6 +28923,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
28905
28923
  var RGXP = /^\[block:(.*)\]([^]+?)\[\/block\]/;
28906
28924
  var compatibilityMode;
28907
28925
  var safeMode;
28926
+ var alwaysThrow;
28908
28927
 
28909
28928
  var WrapPinnedBlocks = function WrapPinnedBlocks(node, json) {
28910
28929
  if (!json.sidebar) return node;
@@ -28953,6 +28972,10 @@ function tokenize(eat, value) {
28953
28972
  json = {}; // eslint-disable-next-line no-console
28954
28973
 
28955
28974
  console.error('Invalid Magic Block JSON:', err);
28975
+
28976
+ if (alwaysThrow) {
28977
+ throw new Error('Invalid Magic Block JSON');
28978
+ }
28956
28979
  }
28957
28980
 
28958
28981
  if (Object.keys(json).length < 1) return eat(match);
@@ -29209,6 +29232,7 @@ function parser() {
29209
29232
  var methods = Parser.prototype.blockMethods;
29210
29233
  if (this.data('compatibilityMode')) compatibilityMode = true;
29211
29234
  if (this.data('safeMode')) safeMode = true;
29235
+ if (this.data('alwaysThrow')) alwaysThrow = true;
29212
29236
  tokenizers.magicBlocks = tokenize;
29213
29237
  methods.splice(methods.indexOf('newline'), 0, 'magicBlocks');
29214
29238
  }
@@ -52263,7 +52287,7 @@ function processor() {
52263
52287
  opts = _setup2[1];
52264
52288
  var _opts = opts,
52265
52289
  sanitize = _opts.sanitize;
52266
- return unified().use(remarkParse, opts.markdownOptions).use(remarkFrontmatter, ['yaml', 'toml']).data('settings', opts.settings).data('compatibilityMode', opts.compatibilityMode).use(!opts.correctnewlines ? remarkBreaks : function () {}).use(CustomParsers.map(function (parser) {
52290
+ return unified().use(remarkParse, opts.markdownOptions).use(remarkFrontmatter, ['yaml', 'toml']).data('settings', opts.settings).data('compatibilityMode', opts.compatibilityMode).data('alwaysThrow', opts.alwaysThrow).use(!opts.correctnewlines ? remarkBreaks : function () {}).use(CustomParsers.map(function (parser) {
52267
52291
  return parser.sanitize(sanitize);
52268
52292
  })).use(remarkSlug).use(remarkDisableTokenizers, opts.disableTokenizers).use(remarkRehype, {
52269
52293
  allowDangerousHtml: true
package/dist/main.node.js CHANGED
@@ -9094,6 +9094,8 @@ var _extends = __webpack_require__(7154);
9094
9094
 
9095
9095
  var _objectWithoutProperties = __webpack_require__(6479);
9096
9096
 
9097
+ var _slicedToArray = __webpack_require__(3038);
9098
+
9097
9099
  var _excluded = ["baseUrl", "children", "href", "target", "title"];
9098
9100
 
9099
9101
  var React = __webpack_require__(4466);
@@ -9105,33 +9107,39 @@ var BaseUrlContext = __webpack_require__(6785); // Nabbed from here:
9105
9107
 
9106
9108
 
9107
9109
  function getHref(href, baseUrl) {
9110
+ var _href$split = href.split('#'),
9111
+ _href$split2 = _slicedToArray(_href$split, 2),
9112
+ path = _href$split2[0],
9113
+ hash = _href$split2[1];
9114
+
9115
+ var hashStr = hash ? "#".concat(hash) : '';
9108
9116
  var base = baseUrl === '/' ? '' : baseUrl;
9109
- var doc = href.match(/^doc:([-_a-zA-Z0-9#]*)$/);
9117
+ var doc = path.match(/^doc:([-_a-zA-Z0-9#]*)$/);
9110
9118
 
9111
9119
  if (doc) {
9112
- return "".concat(base, "/docs/").concat(doc[1]);
9120
+ return "".concat(base, "/docs/").concat(doc[1]).concat(hashStr);
9113
9121
  }
9114
9122
 
9115
- var ref = href.match(/^ref:([-_a-zA-Z0-9#]*)$/);
9123
+ var ref = path.match(/^ref:([-_a-zA-Z0-9#]*)$/);
9116
9124
 
9117
9125
  if (ref) {
9118
- return "".concat(base, "/reference-link/").concat(ref[1]);
9126
+ return "".concat(base, "/reference-link/").concat(ref[1]).concat(hashStr);
9119
9127
  } // we need to perform two matches for changelogs in case
9120
9128
  // of legacy links that use 'blog' instead of 'changelog'
9121
9129
 
9122
9130
 
9123
- var blog = href.match(/^blog:([-_a-zA-Z0-9#]*)$/);
9124
- var changelog = href.match(/^changelog:([-_a-zA-Z0-9#]*)$/);
9131
+ var blog = path.match(/^blog:([-_a-zA-Z0-9#]*)$/);
9132
+ var changelog = path.match(/^changelog:([-_a-zA-Z0-9#]*)$/);
9125
9133
  var changelogMatch = blog || changelog;
9126
9134
 
9127
9135
  if (changelogMatch) {
9128
- return "".concat(base, "/changelog/").concat(changelogMatch[1]);
9136
+ return "".concat(base, "/changelog/").concat(changelogMatch[1]).concat(hashStr);
9129
9137
  }
9130
9138
 
9131
- var custompage = href.match(/^page:([-_a-zA-Z0-9#]*)$/);
9139
+ var custompage = path.match(/^page:([-_a-zA-Z0-9#]*)$/);
9132
9140
 
9133
9141
  if (custompage) {
9134
- return "".concat(base, "/page/").concat(custompage[1]);
9142
+ return "".concat(base, "/page/").concat(custompage[1]).concat(hashStr);
9135
9143
  }
9136
9144
 
9137
9145
  return href;
@@ -10763,6 +10771,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
10763
10771
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10764
10772
 
10765
10773
  var options = {
10774
+ alwaysThrow: false,
10766
10775
  compatibilityMode: false,
10767
10776
  copyButtons: true,
10768
10777
  correctnewlines: false,
@@ -10773,8 +10782,7 @@ var options = {
10773
10782
  ruleSpaces: false,
10774
10783
  listItemIndent: '1',
10775
10784
  spacedTable: true,
10776
- paddedTable: true,
10777
- setext: true
10785
+ paddedTable: true
10778
10786
  },
10779
10787
  normalize: true,
10780
10788
  safeMode: false,
@@ -10959,12 +10967,16 @@ var _require = __webpack_require__(7589),
10959
10967
  imgSizeByWidth = _require.imgSizeByWidth;
10960
10968
 
10961
10969
  var compileImage = function compileImage(image) {
10970
+ var _ref = image.data.hProperties || {},
10971
+ className = _ref.className,
10972
+ width = _ref.width;
10973
+
10962
10974
  var img = _objectSpread(_objectSpread({
10963
10975
  image: [image.url, image.title, image.alt]
10964
- }, image.data.hProperties.width && {
10965
- sizing: imgSizeByWidth[image.data.hProperties.width]
10966
- }), image.border && {
10967
- border: image.border
10976
+ }, width && {
10977
+ sizing: imgSizeByWidth[width]
10978
+ }), className === 'border' && {
10979
+ border: true
10968
10980
  });
10969
10981
 
10970
10982
  return img;
@@ -11052,15 +11064,21 @@ module.exports = function ImageCompiler() {
11052
11064
  var originalImageCompiler = visitors.image;
11053
11065
 
11054
11066
  visitors.image = function compile(node) {
11055
- var _node$data, _node$data$hPropertie, _node$data2, _node$data2$hProperti, _visitors$figure;
11067
+ var _node$data, _node$data$hPropertie, _node$data2, _visitors$figure;
11068
+
11069
+ if (((_node$data = node.data) === null || _node$data === void 0 ? void 0 : (_node$data$hPropertie = _node$data.hProperties) === null || _node$data$hPropertie === void 0 ? void 0 : _node$data$hPropertie.className) === 'emoji') return node.title; // Use magic block instead of markdown when there are certain defined properties we can't store in markdown
11056
11070
 
11057
- if (((_node$data = node.data) === null || _node$data === void 0 ? void 0 : (_node$data$hPropertie = _node$data.hProperties) === null || _node$data$hPropertie === void 0 ? void 0 : _node$data$hPropertie.className) === 'emoji') return node.title;
11071
+ var _ref = ((_node$data2 = node.data) === null || _node$data2 === void 0 ? void 0 : _node$data2.hProperties) || {},
11072
+ className = _ref.className,
11073
+ width = _ref.width;
11074
+
11075
+ var useMagicBlock = Boolean(width) || (className === null || className === void 0 ? void 0 : className.length);
11058
11076
 
11059
11077
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
11060
11078
  args[_key - 1] = arguments[_key];
11061
11079
  }
11062
11080
 
11063
- if ((_node$data2 = node.data) !== null && _node$data2 !== void 0 && (_node$data2$hProperti = _node$data2.hProperties) !== null && _node$data2$hProperti !== void 0 && _node$data2$hProperti.width) return (_visitors$figure = visitors.figure).call.apply(_visitors$figure, [this, node].concat(args));
11081
+ if (useMagicBlock) return (_visitors$figure = visitors.figure).call.apply(_visitors$figure, [this, node].concat(args));
11064
11082
  return originalImageCompiler.call.apply(originalImageCompiler, [this, node].concat(args));
11065
11083
  };
11066
11084
  };
@@ -11305,8 +11323,8 @@ var emojiRegex = __webpack_require__(809);
11305
11323
  var rgx = new RegExp("^> ?(".concat(emojiRegex().source, ")(?: +(.+)?)?\n((?:>(?: .*)?\n)*)"));
11306
11324
  var themes = {
11307
11325
  "\uD83D\uDCD8": 'info',
11308
- "\u26A0\uFE0F": 'warn',
11309
11326
  "\uD83D\uDEA7": 'warn',
11327
+ "\u26A0\uFE0F": 'warn',
11310
11328
  "\uD83D\uDC4D": 'okay',
11311
11329
  "\u2705": 'okay',
11312
11330
  "\u2757": 'error',
@@ -11727,6 +11745,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
11727
11745
  var RGXP = /^\[block:(.*)\]([^]+?)\[\/block\]/;
11728
11746
  var compatibilityMode;
11729
11747
  var safeMode;
11748
+ var alwaysThrow;
11730
11749
 
11731
11750
  var WrapPinnedBlocks = function WrapPinnedBlocks(node, json) {
11732
11751
  if (!json.sidebar) return node;
@@ -11775,6 +11794,10 @@ function tokenize(eat, value) {
11775
11794
  json = {}; // eslint-disable-next-line no-console
11776
11795
 
11777
11796
  console.error('Invalid Magic Block JSON:', err);
11797
+
11798
+ if (alwaysThrow) {
11799
+ throw new Error('Invalid Magic Block JSON');
11800
+ }
11778
11801
  }
11779
11802
 
11780
11803
  if (Object.keys(json).length < 1) return eat(match);
@@ -12031,6 +12054,7 @@ function parser() {
12031
12054
  var methods = Parser.prototype.blockMethods;
12032
12055
  if (this.data('compatibilityMode')) compatibilityMode = true;
12033
12056
  if (this.data('safeMode')) safeMode = true;
12057
+ if (this.data('alwaysThrow')) alwaysThrow = true;
12034
12058
  tokenizers.magicBlocks = tokenize;
12035
12059
  methods.splice(methods.indexOf('newline'), 0, 'magicBlocks');
12036
12060
  }
@@ -34608,7 +34632,7 @@ function processor() {
34608
34632
  opts = _setup2[1];
34609
34633
  var _opts = opts,
34610
34634
  sanitize = _opts.sanitize;
34611
- return unified().use(remarkParse, opts.markdownOptions).use(remarkFrontmatter, ['yaml', 'toml']).data('settings', opts.settings).data('compatibilityMode', opts.compatibilityMode).use(!opts.correctnewlines ? remarkBreaks : function () {}).use(CustomParsers.map(function (parser) {
34635
+ return unified().use(remarkParse, opts.markdownOptions).use(remarkFrontmatter, ['yaml', 'toml']).data('settings', opts.settings).data('compatibilityMode', opts.compatibilityMode).data('alwaysThrow', opts.alwaysThrow).use(!opts.correctnewlines ? remarkBreaks : function () {}).use(CustomParsers.map(function (parser) {
34612
34636
  return parser.sanitize(sanitize);
34613
34637
  })).use(remarkSlug).use(remarkDisableTokenizers, opts.disableTokenizers).use(remarkRehype, {
34614
34638
  allowDangerousHtml: true
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "6.49.0",
5
+ "version": "6.52.0",
6
6
  "main": "dist/main.node.js",
7
7
  "browser": "dist/main.js",
8
8
  "files": [