@coderline/alphatab 1.6.0-alpha.1401 → 1.6.0-alpha.1405

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.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
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
- void 0===Symbol.dispose&&(Symbol.dispose=Symbol("Symbol.dispose"));import*as e from"./alphaTab.core.min.mjs";export*from"./alphaTab.core.min.mjs";e.Environment.isRunningInWorker?e.Environment.initializeWorker():e.Environment.isRunningInAudioWorklet?e.Environment.initializeAudioWorklet():e.Environment.initializeMain((r=>{if(e.Environment.webPlatform===e.WebPlatform.NodeJs)throw new e.AlphaTabError(e.AlphaTabErrorType.General,"Workers not yet supported in Node.js");if(e.Environment.webPlatform===e.WebPlatform.BrowserModule||e.Environment.isWebPackBundled||e.Environment.isViteBundled){e.Logger.debug("AlphaTab","Creating webworker");try{return new e.Environment.alphaTabWorker(new e.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url),{type:"module"})}catch(r){e.Logger.debug("AlphaTab","ESM webworker construction with direct URL failed",r)}let o="";try{o=new e.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url);const r=`import ${JSON.stringify(o)}`,t=new Blob([r],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(r){e.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",o,r)}try{if(!r.core.scriptFile)throw new Error("Could not detect alphaTab script file");o=r.core.scriptFile;const e=`import ${JSON.stringify(r.core.scriptFile)}`,t=new Blob([e],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(o){e.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",r.core.scriptFile,o)}}if(!r.core.scriptFile)throw new e.AlphaTabError(e.AlphaTabErrorType.General,"Could not detect alphaTab script file, cannot initialize renderer");try{e.Logger.debug("AlphaTab","Creating Blob worker");const o=`importScripts('${r.core.scriptFile}')`,t=new Blob([o],{type:"application/javascript"});return new Worker(URL.createObjectURL(t))}catch(o){return e.Logger.warning("Rendering","Could not create inline worker, fallback to normal worker"),new Worker(r.core.scriptFile)}}),((r,o)=>{if(e.Environment.webPlatform===e.WebPlatform.NodeJs)throw new e.AlphaTabError(e.AlphaTabErrorType.General,"Audio Worklets not yet supported in Node.js");if(e.Environment.webPlatform===e.WebPlatform.BrowserModule||e.Environment.isWebPackBundled||e.Environment.isViteBundled){e.Logger.debug("AlphaTab","Creating Module worklet");return r.audioWorklet.addModule(new e.Environment.alphaTabUrl("./alphaTab.worklet.min.mjs",import.meta.url))}return e.Logger.debug("AlphaTab","Creating Script worklet"),r.audioWorklet.addModule(o.core.scriptFile)}));
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 o="";try{o=new r.Environment.alphaTabUrl("./alphaTab.worker.min.mjs",import.meta.url);const e=`import ${JSON.stringify(o)}`,t=new Blob([e],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(e){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",o,e)}try{if(!e.core.scriptFile)throw new Error("Could not detect alphaTab script file");o=e.core.scriptFile;const r=`import ${JSON.stringify(e.core.scriptFile)}`,t=new Blob([r],{type:"application/javascript"});return new Worker(URL.createObjectURL(t),{type:"module"})}catch(o){r.Logger.debug("AlphaTab","ESM webworker construction with blob import failed",e.core.scriptFile,o)}}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 o=`importScripts('${e.core.scriptFile}')`,t=new Blob([o],{type:"application/javascript"});return new Worker(URL.createObjectURL(t))}catch(o){return r.Logger.warning("Rendering","Could not create inline worker, fallback to normal worker"),new Worker(e.core.scriptFile)}}),((e,o)=>{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(o.core.scriptFile)}));
package/dist/alphaTab.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -49,8 +49,6 @@
49
49
  * @license
50
50
  */
51
51
 
52
- if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
-
54
52
  import * as alphaTab from './alphaTab.core.mjs';
55
53
  export * from './alphaTab.core.mjs';
56
54
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -51,8 +51,6 @@
51
51
 
52
52
  'use strict';
53
53
 
54
- if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
55
-
56
54
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
55
 
58
56
  const path = require('node:path');
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -49,8 +49,6 @@
49
49
  * @license
50
50
  */
51
51
 
52
- if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
-
54
52
  import * as path from 'node:path';
55
53
  import path__default from 'node:path';
56
54
  import * as fs from 'node:fs';
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -51,8 +51,6 @@
51
51
 
52
52
  'use strict';
53
53
 
54
- if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
55
-
56
54
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
55
 
58
56
  const fs = require('node:fs');
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -49,8 +49,6 @@
49
49
  * @license
50
50
  */
51
51
 
52
- if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
-
54
52
  import * as fs from 'node:fs';
55
53
  import * as path from 'node:path';
56
54
  import * as url from 'node:url';
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
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
- void 0===Symbol.dispose&&(Symbol.dispose=Symbol("Symbol.dispose"));import*as o from"./alphaTab.core.min.mjs";o.Environment.initializeWorker();
51
+ import*as r from"./alphaTab.core.min.mjs";r.Environment.initializeWorker();
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -49,8 +49,6 @@
49
49
  * @license
50
50
  */
51
51
 
52
- if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
-
54
52
  import * as alphaTab from './alphaTab.core.mjs';
55
53
 
56
54
  /**@target web */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
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
- void 0===Symbol.dispose&&(Symbol.dispose=Symbol("Symbol.dispose"));import*as o from"./alphaTab.core.min.mjs";o.Environment.initializeAudioWorklet();
51
+ import*as i from"./alphaTab.core.min.mjs";i.Environment.initializeAudioWorklet();
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.6.0-alpha.1401 (develop, build 1401)
2
+ * alphaTab v1.6.0-alpha.1405 (develop, build 1405)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -49,8 +49,6 @@
49
49
  * @license
50
50
  */
51
51
 
52
- if(typeof Symbol.dispose==='undefined'){Symbol.dispose = Symbol('Symbol.dispose')}
53
-
54
52
  import * as alphaTab from './alphaTab.core.mjs';
55
53
 
56
54
  /**@target web */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderline/alphatab",
3
- "version": "1.6.0-alpha.1401",
3
+ "version": "1.6.0-alpha.1405",
4
4
  "description": "alphaTab is a music notation and guitar tablature rendering library",
5
5
  "keywords": [
6
6
  "guitar",