@coderline/alphatab 1.7.0-alpha.1577 → 1.7.0-alpha.1584
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.
- package/dist/alphaTab.core.min.mjs +2 -2
- package/dist/alphaTab.core.mjs +42029 -39722
- package/dist/alphaTab.d.ts +944 -16
- package/dist/alphaTab.js +42029 -39722
- package/dist/alphaTab.min.js +2 -2
- package/dist/alphaTab.min.mjs +2 -2
- package/dist/alphaTab.mjs +1 -1
- package/dist/alphaTab.vite.core.js +1 -1
- package/dist/alphaTab.vite.core.mjs +1 -1
- package/dist/alphaTab.webpack.core.js +1 -1
- package/dist/alphaTab.webpack.core.mjs +1 -1
- package/dist/alphaTab.worker.min.mjs +2 -2
- package/dist/alphaTab.worker.mjs +1 -1
- package/dist/alphaTab.worklet.min.mjs +2 -2
- package/dist/alphaTab.worklet.mjs +1 -1
- package/package.json +4 -4
package/dist/alphaTab.min.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* alphaTab v1.7.0-alpha.
|
|
2
|
+
* alphaTab v1.7.0-alpha.1584 (develop, build 1584)
|
|
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.
|
|
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.
|
|
2
|
+
* alphaTab v1.7.0-alpha.1584 (develop, build 1584)
|
|
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.
|
|
51
|
+
import*as a from"./alphaTab.core.mjs";a.Environment.initializeWorker();
|
package/dist/alphaTab.worker.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* alphaTab v1.7.0-alpha.
|
|
2
|
+
* alphaTab v1.7.0-alpha.1584 (develop, build 1584)
|
|
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.
|
|
51
|
+
import*as a from"./alphaTab.core.mjs";a.Environment.initializeAudioWorklet();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coderline/alphatab",
|
|
3
|
-
"version": "1.7.0-alpha.
|
|
3
|
+
"version": "1.7.0-alpha.1584",
|
|
4
4
|
"description": "alphaTab is a music notation and guitar tablature rendering library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"guitar",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"test-accept-reference": "tsx scripts/accept-new-reference-files.ts"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@biomejs/biome": "^2.2.
|
|
61
|
+
"@biomejs/biome": "^2.2.6",
|
|
62
62
|
"@coderline/alphaskia": "^3.4.135",
|
|
63
63
|
"@coderline/alphaskia-linux": "^3.4.135",
|
|
64
64
|
"@coderline/alphaskia-windows": "^3.4.135",
|
|
65
65
|
"@types/chai": "^5.2.2",
|
|
66
66
|
"@types/mocha": "^10.0.10",
|
|
67
|
-
"@types/node": "^24.
|
|
67
|
+
"@types/node": "^24.8.1",
|
|
68
68
|
"assert": "^2.1.0",
|
|
69
69
|
"chai": "^6.2.0",
|
|
70
70
|
"chalk": "^5.6.2",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"tslib": "^2.8.1",
|
|
75
75
|
"tsx": "^4.20.6",
|
|
76
76
|
"typescript": "^5.9.3",
|
|
77
|
-
"vite": "^7.1.
|
|
77
|
+
"vite": "^7.1.11",
|
|
78
78
|
"vite-plugin-static-copy": "^3.1.3"
|
|
79
79
|
},
|
|
80
80
|
"files": [
|