New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tonaljs/chord

Package Overview
Dependencies
Maintainers
0
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tonaljs/chord - npm Package Compare versions

Comparing version

to
6.1.0

1

dist/index.d.ts

@@ -101,2 +101,3 @@ import { detect } from '@tonaljs/chord-detect';

declare function steps(chordName: ChordNameOrTokens, tonic?: string): (normalized: number) => string;
/** @deprecated */
declare const _default: {

@@ -103,0 +104,0 @@ getChord: typeof getChord;

6

dist/index.js

@@ -120,4 +120,3 @@ "use strict";

const ivl = (0, import_interval.subtract)((0, import_pitch_distance.distance)(tonic.pc, bass.pc), "8P");
if (ivl)
intervals.unshift(ivl);
if (ivl) intervals.unshift(ivl);
}

@@ -169,4 +168,3 @@ const notes2 = tonic.empty ? [] : intervals.map((i) => (0, import_pitch_distance.transpose)(tonic.pc, i));

const note2 = tonic || chord2.tonic;
if (!note2 || chord2.empty)
return [];
if (!note2 || chord2.empty) return [];
return chord2.intervals.map((ivl) => (0, import_pitch_distance.transpose)(note2, ivl));

@@ -173,0 +171,0 @@ }

{
"name": "@tonaljs/chord",
"version": "6.0.0",
"version": "6.1.0",
"description": "Musical chords and its relations",

@@ -19,10 +19,10 @@ "keywords": [

"dependencies": {
"@tonaljs/chord-detect": "4.8.5",
"@tonaljs/chord-type": "5.0.5",
"@tonaljs/collection": "4.8.1",
"@tonaljs/interval": "^5.0.0",
"@tonaljs/pcset": "4.9.2",
"@tonaljs/pitch-distance": "5.0.3",
"@tonaljs/chord-detect": "4.9.0",
"@tonaljs/chord-type": "5.1.0",
"@tonaljs/collection": "4.9.0",
"@tonaljs/interval": "^5.1.0",
"@tonaljs/pcset": "4.10.0",
"@tonaljs/pitch-distance": "5.0.4",
"@tonaljs/pitch-note": "6.0.0",
"@tonaljs/scale-type": "4.8.5"
"@tonaljs/scale-type": "4.9.0"
},

@@ -29,0 +29,0 @@ "author": "danigb@gmail.com",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet