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

tonal-key

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tonal-key - npm Package Compare versions

Comparing version 0.67.0 to 0.68.0

10

build/index.js

@@ -23,3 +23,4 @@ 'use strict';

/**
* Get scale of a key
* Get scale of a key (with optionally a mode)
*
* @param {String|Object} key

@@ -41,7 +42,10 @@ * @return {Array} the key scale

/**
* Get relative of a key. It can be partially applied.
* Get relative of a key. Two keys are relative when the have the same
* key signature (for example C major and A minor)
*
* It can be partially applied.
*
* @param {String} mode - the relative destination
* @param {String} key - the key source
* @example
* var key = require('tonal-keys')
* key.relative('dorian', 'C major') // => ['dorian', 'D']

@@ -48,0 +52,0 @@ * // partially application

/**
* A collection of functions related to music keys. Things like keys signatures,
* scales, modes, etc.
* _Key_ refers to the tonal system based on the major and minor scales. This is
* is the most common tonal system, but tonality can be present in music
* based in other scales or concepts.
*
* This is a collection of functions related to keys.
*
* @example

@@ -9,2 +12,3 @@ * var key = require('tonal-key')

* key.relative('minor', 'C major') // => ['minor', 'A']
*
* @module key

@@ -31,3 +35,4 @@ */

/**
* Get scale of a key
* Get scale of a key (with optionally a mode)
*
* @param {String|Object} key

@@ -49,7 +54,10 @@ * @return {Array} the key scale

/**
* Get relative of a key. It can be partially applied.
* Get relative of a key. Two keys are relative when the have the same
* key signature (for example C major and A minor)
*
* It can be partially applied.
*
* @param {String} mode - the relative destination
* @param {String} key - the key source
* @example
* var key = require('tonal-keys')
* key.relative('dorian', 'C major') // => ['dorian', 'D']

@@ -56,0 +64,0 @@ * // partially application

{
"name": "tonal-key",
"version": "0.67.0",
"version": "0.68.0",
"description": "Conversion between key numbers and note names",

@@ -23,7 +23,7 @@ "repository": "https://github.com/danigb/tonal/packages/key",

"tonal-transpose": "^0.66.0",
"tonal-note": "^0.67.0",
"tonal-array": "^0.66.0",
"tonal-harmonizer": "^0.66.0",
"tonal-range": "^0.67.0"
"tonal-note": "^0.68.0",
"tonal-array": "^0.68.0",
"tonal-harmonizer": "^0.68.0",
"tonal-range": "^0.68.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc