chordsheetjs 14.3.0 → 14.3.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/lib/bundle.js +11 -2
- package/lib/bundle.min.js +75 -75
- package/lib/index.js +10 -2
- package/lib/index.js.map +1 -1
- package/lib/main.d.ts +8 -2
- package/lib/main.d.ts.map +1 -1
- package/lib/module.js +10 -2
- package/lib/module.js.map +1 -1
- package/package.json +1 -1
package/lib/bundle.js
CHANGED
|
@@ -38445,13 +38445,21 @@ ${error.stack}`);
|
|
|
38445
38445
|
return ($7251dad5f4a4c35f$var$DIRECTIVES_WITH_RENDERABLE_LABEL.includes(this.name) || this.isSectionStart()) && this.hasLabel();
|
|
38446
38446
|
}
|
|
38447
38447
|
/**
|
|
38448
|
-
* Checks whether the tag is
|
|
38448
|
+
* Checks whether the tag is a standard meta tag, a custom meta directive (`{x_some_name}`)
|
|
38449
|
+
* or a non-standard meta tag (`{meta: name value}`)
|
|
38449
38450
|
* @returns {boolean}
|
|
38450
38451
|
*/
|
|
38451
38452
|
isMetaTag() {
|
|
38452
38453
|
return this._isMetaTag || $7251dad5f4a4c35f$var$CUSTOM_META_TAG_NAME_REGEX.test(this.name) || $7251dad5f4a4c35f$export$57ecf0dc09effb3.indexOf(this.name) !== -1;
|
|
38453
38454
|
}
|
|
38454
38455
|
/**
|
|
38456
|
+
* Checks whether this tag is a standard meta tag or a custom meta directive (`{x_some_name}`)
|
|
38457
|
+
* @returns {boolean}
|
|
38458
|
+
*/
|
|
38459
|
+
isStandardOrCustomMetaTag() {
|
|
38460
|
+
return $7251dad5f4a4c35f$export$57ecf0dc09effb3.indexOf(this.name) !== -1 || $7251dad5f4a4c35f$var$CUSTOM_META_TAG_NAME_REGEX.test(this.name);
|
|
38461
|
+
}
|
|
38462
|
+
/**
|
|
38455
38463
|
* Returns a clone of the tag.
|
|
38456
38464
|
* @returns {Tag} The cloned tag
|
|
38457
38465
|
*/
|
|
@@ -39224,6 +39232,7 @@ ${error.stack}`);
|
|
|
39224
39232
|
formatMetadataSection(metadataLines) {
|
|
39225
39233
|
return metadataLines.map((line) => {
|
|
39226
39234
|
const tag = line.items[0];
|
|
39235
|
+
if (!tag.isStandardOrCustomMetaTag()) return `{meta: ${tag.originalName} ${tag.value}}`;
|
|
39227
39236
|
return this.formatTag(tag);
|
|
39228
39237
|
});
|
|
39229
39238
|
}
|
|
@@ -69878,7 +69887,7 @@ AjwCRQJ5AAAAAAABAAAAANpTmfAAAAAA0e+yRgAAAADR77JG
|
|
|
69878
69887
|
}
|
|
69879
69888
|
};
|
|
69880
69889
|
var $a5a21ced491ea51f$export$2e2bcd8739ae039 = $a5a21ced491ea51f$var$UltimateGuitarParser;
|
|
69881
|
-
var $ae92e002ce14f11a$export$2e2bcd8739ae039 = "14.3.
|
|
69890
|
+
var $ae92e002ce14f11a$export$2e2bcd8739ae039 = "14.3.1";
|
|
69882
69891
|
var $a3816b486f741c00$exports = {};
|
|
69883
69892
|
var $892913528e7f60f9$export$2e2bcd8739ae039 = {
|
|
69884
69893
|
CHORUS: $dce48cb70c4120bb$export$8db6c706fc9142b2,
|