mark-deco-cli 0.15.0 → 0.16.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/cli.cjs CHANGED
@@ -2,12 +2,12 @@
2
2
  "use strict";
3
3
  /*!
4
4
  * name: mark-deco-cli
5
- * version: 0.15.0
5
+ * version: 0.16.0
6
6
  * description: Command-line interface for mark-deco Markdown to HTML conversion processor
7
7
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
8
8
  * license: MIT
9
9
  * repository.url: https://github.com/kekyo/mark-deco.git
10
- * git.commit.hash: e293e83ab3b88ab4bc77b92c51ee38275f33c948
10
+ * git.commit.hash: 2349c97b2136b454168e4ae633590d11307952c5
11
11
  */
12
12
  const commander = require("commander");
13
13
  const promises = require("fs/promises");
@@ -17462,7 +17462,7 @@ function requireExtend() {
17462
17462
  }
17463
17463
  return typeof key2 === "undefined" || hasOwn.call(obj, key2);
17464
17464
  };
17465
- var setProperty = function setProperty2(target, options2) {
17465
+ var setProperty2 = function setProperty3(target, options2) {
17466
17466
  if (defineProperty && options2.name === "__proto__") {
17467
17467
  defineProperty(target, options2.name, {
17468
17468
  enumerable: true,
@@ -17512,9 +17512,9 @@ function requireExtend() {
17512
17512
  } else {
17513
17513
  clone = src2 && isPlainObject2(src2) ? src2 : {};
17514
17514
  }
17515
- setProperty(target, { name, newValue: extend3(deep, clone, copy) });
17515
+ setProperty2(target, { name, newValue: extend3(deep, clone, copy) });
17516
17516
  } else if (typeof copy !== "undefined") {
17517
- setProperty(target, { name, newValue: copy });
17517
+ setProperty2(target, { name, newValue: copy });
17518
17518
  }
17519
17519
  }
17520
17520
  }
@@ -18862,7 +18862,7 @@ function isUint8Array(value) {
18862
18862
  value && typeof value === "object" && "byteLength" in value && "byteOffset" in value
18863
18863
  );
18864
18864
  }
18865
- /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
18865
+ /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
18866
18866
  function isNothing(subject) {
18867
18867
  return typeof subject === "undefined" || subject === null;
18868
18868
  }
@@ -19726,6 +19726,18 @@ function charFromCodepoint(c) {
19726
19726
  (c - 65536 & 1023) + 56320
19727
19727
  );
19728
19728
  }
19729
+ function setProperty(object, key2, value) {
19730
+ if (key2 === "__proto__") {
19731
+ Object.defineProperty(object, key2, {
19732
+ configurable: true,
19733
+ enumerable: true,
19734
+ writable: true,
19735
+ value
19736
+ });
19737
+ } else {
19738
+ object[key2] = value;
19739
+ }
19740
+ }
19729
19741
  var simpleEscapeCheck = new Array(256);
19730
19742
  var simpleEscapeMap = new Array(256);
19731
19743
  for (var i = 0; i < 256; i++) {
@@ -19844,7 +19856,7 @@ function mergeMappings(state, destination, source, overridableKeys) {
19844
19856
  for (index2 = 0, quantity = sourceKeys.length; index2 < quantity; index2 += 1) {
19845
19857
  key2 = sourceKeys[index2];
19846
19858
  if (!_hasOwnProperty$1.call(destination, key2)) {
19847
- destination[key2] = source[key2];
19859
+ setProperty(destination, key2, source[key2]);
19848
19860
  overridableKeys[key2] = true;
19849
19861
  }
19850
19862
  }
@@ -19884,16 +19896,7 @@ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valu
19884
19896
  state.position = startPos || state.position;
19885
19897
  throwError(state, "duplicated mapping key");
19886
19898
  }
19887
- if (keyNode === "__proto__") {
19888
- Object.defineProperty(_result, keyNode, {
19889
- configurable: true,
19890
- enumerable: true,
19891
- writable: true,
19892
- value: valueNode
19893
- });
19894
- } else {
19895
- _result[keyNode] = valueNode;
19896
- }
19899
+ setProperty(_result, keyNode, valueNode);
19897
19900
  delete overridableKeys[keyNode];
19898
19901
  }
19899
19902
  return _result;
@@ -21417,12 +21420,12 @@ var load = loader.load;
21417
21420
  var dump = dumper.dump;
21418
21421
  /*!
21419
21422
  * name: mark-deco
21420
- * version: 0.15.0
21423
+ * version: 0.16.0
21421
21424
  * description: Flexible Markdown to HTML conversion library
21422
21425
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
21423
21426
  * license: MIT
21424
21427
  * repository.url: https://github.com/kekyo/mark-deco.git
21425
- * git.commit.hash: e293e83ab3b88ab4bc77b92c51ee38275f33c948
21428
+ * git.commit.hash: 2349c97b2136b454168e4ae633590d11307952c5
21426
21429
  */
21427
21430
  const qd = (e) => {
21428
21431
  try {
@@ -32563,12 +32566,12 @@ const Ld = (e) => {
32563
32566
  };
32564
32567
  /*!
32565
32568
  * name: mark-deco
32566
- * version: 0.15.0
32569
+ * version: 0.16.0
32567
32570
  * description: Flexible Markdown to HTML conversion library
32568
32571
  * author: Kouji Matsui (@kekyo@mi.kekyo.net)
32569
32572
  * license: MIT
32570
32573
  * repository.url: https://github.com/kekyo/mark-deco.git
32571
- * git.commit.hash: e293e83ab3b88ab4bc77b92c51ee38275f33c948
32574
+ * git.commit.hash: 2349c97b2136b454168e4ae633590d11307952c5
32572
32575
  */
32573
32576
  function X(t) {
32574
32577
  const e = /^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/, n = t.match(e);