chordsheetjs 15.3.0 → 15.4.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/lib/bundle.js CHANGED
@@ -967,7 +967,7 @@ var ChordSheetJS = (() => {
967
967
  return this.useAccidental(accidental);
968
968
  }
969
969
  changeChord(func) {
970
- const chordObj = (0, $177a605b8569b31c$export$2e2bcd8739ae039).parse(this.chords.trim());
970
+ const chordObj = this.chord;
971
971
  if (chordObj) {
972
972
  const changedChord = func(chordObj);
973
973
  return this.set({
@@ -6279,6 +6279,9 @@ ${error.stack}`);
6279
6279
  * @param {boolean} [configuration.useUnicodeModifiers=false] Whether or not to use unicode flat and sharp
6280
6280
  * symbols.
6281
6281
  * @param {boolean} [configuration.normalizeChords=true] Whether or not to automatically normalize chords
6282
+ * @param {boolean} [configuration.normalizeChordSuffix=true] Whether to normalize chord suffixes (e.g.
6283
+ * `sus2` to `2`, `maj7` to `ma7`). Only takes effect when `normalizeChords` is `true`. Defaults to `false`
6284
+ * for {@link ChordProFormatter} so ChordPro round-trips preserve the user's suffix variant.
6282
6285
  */
6283
6286
  constructor(configuration = {}) {
6284
6287
  const defaultConfig = this.getDefaultConfiguration();
@@ -29615,7 +29618,7 @@ ${template}
29615
29618
  }
29616
29619
  };
29617
29620
  var $a5a21ced491ea51f$export$2e2bcd8739ae039 = $a5a21ced491ea51f$var$UltimateGuitarParser;
29618
- var $ae92e002ce14f11a$export$2e2bcd8739ae039 = "15.3.0";
29621
+ var $ae92e002ce14f11a$export$2e2bcd8739ae039 = "15.4.0";
29619
29622
  var $2a7926da41d163b3$export$191a710ad3c9a989 = {
29620
29623
  configure: $181068e44290b873$export$8d21e34596265fa2,
29621
29624
  getDefaultConfig: $fe1d3ba9df1ecad5$export$ed30944e0fe6ae5c,