Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webmscore

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webmscore - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

package.json
{
"name": "webmscore",
"version": "0.4.0",
"version": "0.5.0",
"description": "MuseScore's libmscore in WebAssembly! Read mscz data, and generate MIDI/MusicXML/SVG/PNG/PDF sheets right in browsers",

@@ -5,0 +5,0 @@ "type": "module",

@@ -71,4 +71,6 @@

* Only save this excerpt (linked parts) of the score
* (-1 means the full score)
* @param {number} id
*
* if no excerpts, generate excerpts from existing instrument parts
*
* @param {number} id `-1` means the full score
*/

@@ -84,2 +86,10 @@ async setExcerptId(id) {

/**
* Generate excerpts from Parts (only parts that are visible) if no existing excerpts
* @returns {Promise<void>}
*/
async generateExcerpts() {
return Module.ccall('generateExcerpts', null, ['number'], [this.scoreptr])
}
/**
* Get the score title

@@ -86,0 +96,0 @@ * @returns {Promise<string>}

@@ -93,4 +93,6 @@ // @ts-check

* Only save this excerpt (linked parts) of the score
* (-1 means the full score)
* @param {number} id
*
* if no excerpts, generate excerpts from existing instrument parts
*
* @param {number} id `-1` means the full score
*/

@@ -106,2 +108,10 @@ async setExcerptId(id) {

/**
* Generate excerpts from Parts (only parts that are visible) if no existing excerpts
* @returns {Promise<void>}
*/
generateExcerpts() {
return this.rpc('generateExcerpts')
}
/**
* Get the score title

@@ -108,0 +118,0 @@ * @returns {Promise<string>}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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