@kobalab/liulian 0.9.0 → 0.9.1

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/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### v0.9.1 / 2022-04-06
2
+
3
+ - paiga モジュールに空文字列を指定した場合に異常終了するバグを修正
4
+
1
5
  ## v0.9.0 / 2022-04-03
2
6
 
3
7
  - import モジュールで外部モジュールをインポートできるようにした
@@ -49,7 +49,7 @@ function markup(paistr, w, h) {
49
49
  let url, v = 0;
50
50
  let html = '<span class="l-mod-paiga" style="white-space:pre;">';
51
51
 
52
- for (let pai of paistr.match(/[mpsz](?:\d+[\-\=]?)+|[ _]|.+/g)) {
52
+ for (let pai of paistr.match(/[mpsz](?:\d+[\-\=]?)+|[ _]|.+/g)||[]) {
53
53
 
54
54
  if (pai == ' ') {
55
55
  html += ' ';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kobalab/liulian",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Node.jsで動作するWebサイト作成ツール",
5
5
  "publishConfig": {
6
6
  "access": "public"