Skip to content

Commit 940fe48

Browse files
committed
bump to v1.0.11
1 parent e40a6e6 commit 940fe48

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dist/1.x/ByteBeat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ByteBeat@1.0.10, license MIT */
1+
/* ByteBeat@1.0.11, license MIT */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
@@ -312,7 +312,7 @@
312312
delete keys['Math'];
313313
delete keys['window'];
314314
return `
315-
(0['constructor']['constructor'] = '');
315+
{try { (0['constructor']['constructor'].prototype.constructor = '') } catch (e) {}};
316316
var ${Object.keys(keys).sort().join(',\n')};
317317
${ByteBeatCompiler.addGlobals(Math, 'Math')}
318318
`;

dist/1.x/ByteBeat.module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ByteBeat@1.0.10, license MIT */
1+
/* ByteBeat@1.0.11, license MIT */
22
class WrappingStack {
33
constructor(stackSize = 256) {
44
let sp = 0;
@@ -306,7 +306,7 @@ class ByteBeatCompiler {
306306
delete keys['Math'];
307307
delete keys['window'];
308308
return `
309-
(0['constructor']['constructor'] = '');
309+
{try { (0['constructor']['constructor'].prototype.constructor = '') } catch (e) {}};
310310
var ${Object.keys(keys).sort().join(',\n')};
311311
${ByteBeatCompiler.addGlobals(Math, 'Math')}
312312
`;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bytebeat.js",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "a bytebeat library",
55
"module": "src/ByteBeatNode.js",
66
"scripts": {

0 commit comments

Comments
 (0)