@coderline/alphatab 1.7.0-alpha.1582 → 1.7.0-alpha.1589

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -48,4 +48,4 @@
48
48
  * @preserve
49
49
  * @license
50
50
  */
51
- import*as r from"./alphaTab.core.min.mjs";export*from"./alphaTab.core.min.mjs";r.Environment.isRunningInWorker?r.Environment.initializeWorker():r.Environment.isRunningInAudioWorklet?r.Environment.initializeAudioWorklet():r.Environment.initializeMain(e=>{if(r.Environment.webPlatform===r.WebPlatform.NodeJs)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Workers not yet supported in Node.js");if(r.Environment.webPlatform===r.WebPlatform.BrowserModule||r.Environment.isWebPackBundled||r.Environment.isViteBundled){r.Logger.debug("AlphaTab","Creating webworker");try{return new r.Environment.alphaTabWorker(new r.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url),{type:"module"})}catch(e){r.Logger.debug("AlphaTab","ESM webworker construction with direct URL failed",e)}let t="";try{t=new r.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url);const e=`import ${JSON.stringify(t)}`,o=new Blob([e],{type:"application/javascript"});return new Worker(URL.createObjectURL(o),{type:"module"})}catch(e){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",t,e)}try{if(!e.core.scriptFile)throw new Error("Could not detect alphaTab script file");t=e.core.scriptFile;const r=`import ${JSON.stringify(e.core.scriptFile)}`,o=new Blob([r],{type:"application/javascript"});return new Worker(URL.createObjectURL(o),{type:"module"})}catch(t){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",e.core.scriptFile,t)}}if(!e.core.scriptFile)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Could not detect alphaTab script file, cannot initialize renderer");try{r.Logger.debug("AlphaTab","Creating Blob worker");const t=`importScripts('${e.core.scriptFile}')`,o=new Blob([t],{type:"application/javascript"});return new Worker(URL.createObjectURL(o))}catch{return r.Logger.warning("Rendering","Could not create inline worker, fallback to normal worker"),new Worker(e.core.scriptFile)}},(e,t)=>{if(r.Environment.webPlatform===r.WebPlatform.NodeJs)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Audio Worklets not yet supported in Node.js");if(r.Environment.webPlatform===r.WebPlatform.BrowserModule||r.Environment.isWebPackBundled||r.Environment.isViteBundled){r.Logger.debug("AlphaTab","Creating Module worklet");return e.audioWorklet.addModule(new r.Environment.alphaTabUrl("./alphaTab.worklet.min.mjs",import.meta.url))}return r.Logger.debug("AlphaTab","Creating Script worklet"),e.audioWorklet.addModule(t.core.scriptFile)});
51
+ import*as r from"./alphaTab.core.mjs";export*from"./alphaTab.core.mjs";r.Environment.isRunningInWorker?r.Environment.initializeWorker():r.Environment.isRunningInAudioWorklet?r.Environment.initializeAudioWorklet():r.Environment.initializeMain(e=>{if(r.Environment.webPlatform===r.WebPlatform.NodeJs)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Workers not yet supported in Node.js");if(r.Environment.webPlatform===r.WebPlatform.BrowserModule||r.Environment.isWebPackBundled||r.Environment.isViteBundled){r.Logger.debug("AlphaTab","Creating webworker");try{return new r.Environment.alphaTabWorker(new r.Environment.alphaTabUrl("./alphaTab.worker.mjs",import.meta.url),{type:"module"})}catch(e){r.Logger.debug("AlphaTab","ESM webworker construction with direct URL failed",e)}let t="";try{t=new r.Environment.alphaTabUrl("./alphaTab.worker.mjs",import.meta.url);const e=`import ${JSON.stringify(t)}`,o=new Blob([e],{type:"application/javascript"});return new Worker(URL.createObjectURL(o),{type:"module"})}catch(e){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",t,e)}try{if(!e.core.scriptFile)throw new Error("Could not detect alphaTab script file");t=e.core.scriptFile;const r=`import ${JSON.stringify(e.core.scriptFile)}`,o=new Blob([r],{type:"application/javascript"});return new Worker(URL.createObjectURL(o),{type:"module"})}catch(t){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",e.core.scriptFile,t)}}if(!e.core.scriptFile)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Could not detect alphaTab script file, cannot initialize renderer");try{r.Logger.debug("AlphaTab","Creating Blob worker");const t=`importScripts('${e.core.scriptFile}')`,o=new Blob([t],{type:"application/javascript"});return new Worker(URL.createObjectURL(o))}catch{return r.Logger.warning("Rendering","Could not create inline worker, fallback to normal worker"),new Worker(e.core.scriptFile)}},(e,t)=>{if(r.Environment.webPlatform===r.WebPlatform.NodeJs)throw new r.AlphaTabError(r.AlphaTabErrorType.General,"Audio Worklets not yet supported in Node.js");if(r.Environment.webPlatform===r.WebPlatform.BrowserModule||r.Environment.isWebPackBundled||r.Environment.isViteBundled){r.Logger.debug("AlphaTab","Creating Module worklet");return e.audioWorklet.addModule(new r.Environment.alphaTabUrl("./alphaTab.worklet.mjs",import.meta.url))}return r.Logger.debug("AlphaTab","Creating Script worklet"),e.audioWorklet.addModule(t.core.scriptFile)});
package/dist/alphaTab.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab Vite Plugin v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab Vite Plugin v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab Vite Plugin v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab Vite Plugin v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab WebPack Plugin v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab WebPack Plugin v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab WebPack Plugin v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab WebPack Plugin v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -48,4 +48,4 @@
48
48
  * @preserve
49
49
  * @license
50
50
  */
51
- import*as a from"./alphaTab.core.min.mjs";a.Environment.initializeWorker();
51
+ import*as a from"./alphaTab.core.mjs";a.Environment.initializeWorker();
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -48,4 +48,4 @@
48
48
  * @preserve
49
49
  * @license
50
50
  */
51
- import*as a from"./alphaTab.core.min.mjs";a.Environment.initializeAudioWorklet();
51
+ import*as a from"./alphaTab.core.mjs";a.Environment.initializeAudioWorklet();
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0-alpha.1582 (develop, build 1582)
2
+ * alphaTab v1.7.0-alpha.1589 (develop, build 1589)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderline/alphatab",
3
- "version": "1.7.0-alpha.1582",
3
+ "version": "1.7.0-alpha.1589",
4
4
  "description": "alphaTab is a music notation and guitar tablature rendering library",
5
5
  "keywords": [
6
6
  "guitar",
@@ -62,7 +62,7 @@
62
62
  "@coderline/alphaskia": "^3.4.135",
63
63
  "@coderline/alphaskia-linux": "^3.4.135",
64
64
  "@coderline/alphaskia-windows": "^3.4.135",
65
- "@types/chai": "^5.2.2",
65
+ "@types/chai": "^5.2.3",
66
66
  "@types/mocha": "^10.0.10",
67
67
  "@types/node": "^24.8.1",
68
68
  "assert": "^2.1.0",
@@ -75,7 +75,7 @@
75
75
  "tsx": "^4.20.6",
76
76
  "typescript": "^5.9.3",
77
77
  "vite": "^7.1.11",
78
- "vite-plugin-static-copy": "^3.1.3"
78
+ "vite-plugin-static-copy": "^3.1.4"
79
79
  },
80
80
  "files": [
81
81
  "/dist/alphaTab*.js",