Skip to content

Commit

Permalink
bump to v1.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Feb 6, 2023
1 parent e40a6e6 commit 940fe48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/1.x/ByteBeat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* [email protected].10, license MIT */
/* [email protected].11, license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -312,7 +312,7 @@
delete keys['Math'];
delete keys['window'];
return `
(0['constructor']['constructor'] = '');
{try { (0['constructor']['constructor'].prototype.constructor = '') } catch (e) {}};
var ${Object.keys(keys).sort().join(',\n')};
${ByteBeatCompiler.addGlobals(Math, 'Math')}
`;
Expand Down
4 changes: 2 additions & 2 deletions dist/1.x/ByteBeat.module.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* [email protected].10, license MIT */
/* [email protected].11, license MIT */
class WrappingStack {
constructor(stackSize = 256) {
let sp = 0;
Expand Down Expand Up @@ -306,7 +306,7 @@ class ByteBeatCompiler {
delete keys['Math'];
delete keys['window'];
return `
(0['constructor']['constructor'] = '');
{try { (0['constructor']['constructor'].prototype.constructor = '') } catch (e) {}};
var ${Object.keys(keys).sort().join(',\n')};
${ByteBeatCompiler.addGlobals(Math, 'Math')}
`;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bytebeat.js",
"version": "1.0.10",
"version": "1.0.11",
"description": "a bytebeat library",
"module": "src/ByteBeatNode.js",
"scripts": {
Expand Down

0 comments on commit 940fe48

Please sign in to comment.