From bbb94a3c37bbd8540e642119102dc64827504849 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 1 Jan 2024 23:10:59 -0800 Subject: [PATCH] build v1.0.12 --- dist/1.x/ByteBeat.js | 6 ++++-- dist/1.x/ByteBeat.module.js | 6 ++++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/dist/1.x/ByteBeat.js b/dist/1.x/ByteBeat.js index f21eae8..d774a71 100644 --- a/dist/1.x/ByteBeat.js +++ b/dist/1.x/ByteBeat.js @@ -1,4 +1,4 @@ -/* ByteBeat@1.0.11, license MIT */ +/* ByteBeat@1.0.12, license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : @@ -297,7 +297,9 @@ } static s_fnHeader = (function() { - const keys = {}; + const keys = { + import: true, + }; const windowKeep = new Set([ 'parseInt', 'parseFloat', diff --git a/dist/1.x/ByteBeat.module.js b/dist/1.x/ByteBeat.module.js index 6127aaa..7a2044a 100644 --- a/dist/1.x/ByteBeat.module.js +++ b/dist/1.x/ByteBeat.module.js @@ -1,4 +1,4 @@ -/* ByteBeat@1.0.11, license MIT */ +/* ByteBeat@1.0.12, license MIT */ class WrappingStack { constructor(stackSize = 256) { let sp = 0; @@ -291,7 +291,9 @@ class ByteBeatCompiler { } static s_fnHeader = (function() { - const keys = {}; + const keys = { + import: true, + }; const windowKeep = new Set([ 'parseInt', 'parseFloat', diff --git a/package-lock.json b/package-lock.json index 3892478..26dae8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bytebeat.js", - "version": "1.0.11", + "version": "1.0.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bytebeat.js", - "version": "1.0.11", + "version": "1.0.12", "license": "MIT", "devDependencies": { "eslint": "^8.23.1", diff --git a/package.json b/package.json index b7272c2..5d2a2c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bytebeat.js", - "version": "1.0.11", + "version": "1.0.12", "description": "a bytebeat library", "module": "src/ByteBeatNode.js", "scripts": {