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

tonal-distance

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tonal-distance - npm Package Compare versions

Comparing version 0.50.2 to 0.60.0

build/index.js

3

index.js

@@ -0,1 +1,4 @@

/**
* @module distance
*/
import { isPC, fifths, focts, pitch, height, asPitch, strIvl } from 'tonal-pitch'

@@ -2,0 +5,0 @@

16

package.json
{
"name": "tonal-distance",
"version": "0.50.2",
"version": "0.60.0",
"description": "Find distances between musical notes",

@@ -13,17 +13,13 @@ "keywords": [

"scripts": {
"pretest": "rm -rf build && mkdir build && rollup -f cjs -n distance -o build/tonal-distance.js -- index.js",
"test": "tape 'test/*.js'",
"prepublish": "npm test"
"pretest": "rollup -f cjs -o build/index.js -- index.js",
"test": "tape test/*.js"
},
"main": "build/tonal-distance.js",
"main": "build/index.js",
"jsnext:main": "index",
"author": "danigb",
"license": "MIT",
"devDependencies": {
"rollup": "0.25",
"tape": "4"
},
"devDependencies": {},
"dependencies": {
"tonal-pitch": "^0.50.0"
"tonal-pitch": "^0.60.0"
}
}

@@ -51,3 +51,4 @@ var test = require('tape')

t.equal(dist.distInSemitones('blah', 'C3'), null)
t.equal(dist.distInSemitones('C', 'D'), 2)
t.end()
})
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