abcjs 6.5.0 → 6.5.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.
@@ -9249,7 +9249,7 @@ function transposeChordName(chord, steps, preferFlats, freeGCchord) {
9249
9249
  if (freeGCchord) chord = sharpChordsFree[index];else chord = sharpChords[index];
9250
9250
  }
9251
9251
  var isDim = extra1 && (extra1.indexOf('dim') >= 0 || extra1.indexOf('°') >= 0);
9252
- console.log(isDim, chord, extra1);
9252
+ //console.log(isDim, chord, extra1)
9253
9253
  // We never want A#dim or D#dim
9254
9254
  if (isDim && chord === 'A#') chord = 'Bb';
9255
9255
  if (isDim && chord === 'D#') chord = 'Eb';
@@ -12722,7 +12722,7 @@ var parseCommon = __webpack_require__(/*! ../parse/abc_common */ "./src/parse/ab
12722
12722
  if (Array.isArray(elem.decoration)) {
12723
12723
  volumesPerNotePitch = [];
12724
12724
  elem.decoration.forEach(function (d) {
12725
- volumesPerNotePitch.push(volumes[d].slice(0));
12725
+ if (d in volumes) volumesPerNotePitch.push(volumes[d].slice(0));
12726
12726
  });
12727
12727
  }
12728
12728
  voices[voiceNumber].push({
@@ -26767,7 +26767,7 @@ module.exports = Svg;
26767
26767
  \********************/
26768
26768
  /***/ (function(module) {
26769
26769
 
26770
- var version = '6.5.0';
26770
+ var version = '6.5.1';
26771
26771
  module.exports = version;
26772
26772
 
26773
26773
  /***/ })