Skip to content

Commit

Permalink
Bump 0.1.1 to resolve CVE-2019-19919
Browse files Browse the repository at this point in the history
This resolves a warning for CVE-2019-19919 for handlebars.
We did not use handlebars ourselves and therefore were safe but bumping
non the less.
  • Loading branch information
discordier committed Mar 24, 2020
1 parent 661301b commit b3d9f69
Show file tree
Hide file tree
Showing 16 changed files with 1,101 additions and 1,179 deletions.
7 changes: 2 additions & 5 deletions dist/guessnum.common.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This is SamJs.js v0.1.0
* This is SamJs.js v0.1.1
*
* A Javascript port of "SAM Software Automatic Mouth".
*
* (c) 2017-2019 Christian Schiffler
* (c) 2017-2020 Christian Schiffler
*
* @link(https://github.com/discordier/sam)
*
Expand Down Expand Up @@ -63,7 +63,6 @@ function PlayBuffer(audiobuffer) {
{
throw new Error('No player available!');
}
throw new Error();
}

return Play(context, audiobuffer);
Expand Down Expand Up @@ -625,7 +624,6 @@ function Parser1(input, addPhoneme, addStress) {
{
throw Error(("Could not parse char " + sign1));
}
throw Error();
}
addStress(match); // Set stress for prior phoneme
}
Expand Down Expand Up @@ -2286,7 +2284,6 @@ function CreateOutputBuffer(buffersize) {
{
throw new Error(("Buffer overflow, want " + (((bufferpos / 50) | 0)) + " but buffersize is only " + (buffer.length) + "!"));
}
throw new Error();
}
oldTimeTableIndex = index;
// write a little bit in advance
Expand Down
4 changes: 2 additions & 2 deletions dist/guessnum.common.min.js

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

7 changes: 2 additions & 5 deletions dist/guessnum.esm.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This is SamJs.js v0.1.0
* This is SamJs.js v0.1.1
*
* A Javascript port of "SAM Software Automatic Mouth".
*
* (c) 2017-2019 Christian Schiffler
* (c) 2017-2020 Christian Schiffler
*
* @link(https://github.com/discordier/sam)
*
Expand Down Expand Up @@ -61,7 +61,6 @@ function PlayBuffer(audiobuffer) {
{
throw new Error('No player available!');
}
throw new Error();
}

return Play(context, audiobuffer);
Expand Down Expand Up @@ -623,7 +622,6 @@ function Parser1(input, addPhoneme, addStress) {
{
throw Error(("Could not parse char " + sign1));
}
throw Error();
}
addStress(match); // Set stress for prior phoneme
}
Expand Down Expand Up @@ -2284,7 +2282,6 @@ function CreateOutputBuffer(buffersize) {
{
throw new Error(("Buffer overflow, want " + (((bufferpos / 50) | 0)) + " but buffersize is only " + (buffer.length) + "!"));
}
throw new Error();
}
oldTimeTableIndex = index;
// write a little bit in advance
Expand Down
4 changes: 2 additions & 2 deletions dist/guessnum.esm.min.js

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

11 changes: 4 additions & 7 deletions dist/guessnum.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This is SamJs.js v0.1.0
* This is SamJs.js v0.1.1
*
* A Javascript port of "SAM Software Automatic Mouth".
*
* (c) 2017-2019 Christian Schiffler
* (c) 2017-2020 Christian Schiffler
*
* @link(https://github.com/discordier/sam)
*
Expand All @@ -13,7 +13,7 @@
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.GuessNum = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';

/**
* Test if a bit is set.
Expand Down Expand Up @@ -67,7 +67,6 @@
{
throw new Error('No player available!');
}
throw new Error();
}

return Play(context, audiobuffer);
Expand Down Expand Up @@ -629,7 +628,6 @@
{
throw Error(("Could not parse char " + sign1));
}
throw Error();
}
addStress(match); // Set stress for prior phoneme
}
Expand Down Expand Up @@ -2290,7 +2288,6 @@
{
throw new Error(("Buffer overflow, want " + (((bufferpos / 50) | 0)) + " but buffersize is only " + (buffer.length) + "!"));
}
throw new Error();
}
oldTimeTableIndex = index;
// write a little bit in advance
Expand Down Expand Up @@ -2827,4 +2824,4 @@

return GuessNum;

}));
})));
4 changes: 2 additions & 2 deletions dist/guessnum.min.js

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

2 changes: 1 addition & 1 deletion dist/guessnum.min.js.map

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions dist/samjs.common.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This is SamJs.js v0.1.0
* This is SamJs.js v0.1.1
*
* A Javascript port of "SAM Software Automatic Mouth".
*
* (c) 2017-2019 Christian Schiffler
* (c) 2017-2020 Christian Schiffler
*
* @link(https://github.com/discordier/sam)
*
Expand Down Expand Up @@ -90,7 +90,6 @@ function PlayBuffer(audiobuffer) {
{
throw new Error('No player available!');
}
throw new Error();
}

return Play(context, audiobuffer);
Expand Down Expand Up @@ -837,7 +836,6 @@ function reciterRule (ruleString) {
{
throw new Error('Is always false but happened? ' + inputChar);
}
return true;
},
// '^' - previous char must be a consonant.
'^': function () { return flagsAt(text, --pos, FLAG_CONSONANT); },
Expand Down Expand Up @@ -900,7 +898,6 @@ function reciterRule (ruleString) {
{
throw new Error('This should not be possible ', inputChar);
}
return true;
},
// '^' - next char must be a consonant.
'^': function () { return flagsAt(text, ++pos, FLAG_CONSONANT); },
Expand Down Expand Up @@ -1632,7 +1629,6 @@ function Parser1(input, addPhoneme, addStress) {
{
throw Error(("Could not parse char " + sign1));
}
throw Error();
}
addStress(match); // Set stress for prior phoneme
}
Expand Down Expand Up @@ -3293,7 +3289,6 @@ function CreateOutputBuffer(buffersize) {
{
throw new Error(("Buffer overflow, want " + (((bufferpos / 50) | 0)) + " but buffersize is only " + (buffer.length) + "!"));
}
throw new Error();
}
oldTimeTableIndex = index;
// write a little bit in advance
Expand Down
4 changes: 2 additions & 2 deletions dist/samjs.common.min.js

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

9 changes: 2 additions & 7 deletions dist/samjs.esm.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This is SamJs.js v0.1.0
* This is SamJs.js v0.1.1
*
* A Javascript port of "SAM Software Automatic Mouth".
*
* (c) 2017-2019 Christian Schiffler
* (c) 2017-2020 Christian Schiffler
*
* @link(https://github.com/discordier/sam)
*
Expand Down Expand Up @@ -88,7 +88,6 @@ function PlayBuffer(audiobuffer) {
{
throw new Error('No player available!');
}
throw new Error();
}

return Play(context, audiobuffer);
Expand Down Expand Up @@ -835,7 +834,6 @@ function reciterRule (ruleString) {
{
throw new Error('Is always false but happened? ' + inputChar);
}
return true;
},
// '^' - previous char must be a consonant.
'^': function () { return flagsAt(text, --pos, FLAG_CONSONANT); },
Expand Down Expand Up @@ -898,7 +896,6 @@ function reciterRule (ruleString) {
{
throw new Error('This should not be possible ', inputChar);
}
return true;
},
// '^' - next char must be a consonant.
'^': function () { return flagsAt(text, ++pos, FLAG_CONSONANT); },
Expand Down Expand Up @@ -1630,7 +1627,6 @@ function Parser1(input, addPhoneme, addStress) {
{
throw Error(("Could not parse char " + sign1));
}
throw Error();
}
addStress(match); // Set stress for prior phoneme
}
Expand Down Expand Up @@ -3291,7 +3287,6 @@ function CreateOutputBuffer(buffersize) {
{
throw new Error(("Buffer overflow, want " + (((bufferpos / 50) | 0)) + " but buffersize is only " + (buffer.length) + "!"));
}
throw new Error();
}
oldTimeTableIndex = index;
// write a little bit in advance
Expand Down
4 changes: 2 additions & 2 deletions dist/samjs.esm.min.js

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

13 changes: 4 additions & 9 deletions dist/samjs.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* This is SamJs.js v0.1.0
* This is SamJs.js v0.1.1
*
* A Javascript port of "SAM Software Automatic Mouth".
*
* (c) 2017-2019 Christian Schiffler
* (c) 2017-2020 Christian Schiffler
*
* @link(https://github.com/discordier/sam)
*
Expand All @@ -13,7 +13,7 @@
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.SamJs = factory());
}(this, function () { 'use strict';
}(this, (function () { 'use strict';

/**
* Test if a bit is set.
Expand Down Expand Up @@ -94,7 +94,6 @@
{
throw new Error('No player available!');
}
throw new Error();
}

return Play(context, audiobuffer);
Expand Down Expand Up @@ -841,7 +840,6 @@
{
throw new Error('Is always false but happened? ' + inputChar);
}
return true;
},
// '^' - previous char must be a consonant.
'^': function () { return flagsAt(text, --pos, FLAG_CONSONANT); },
Expand Down Expand Up @@ -904,7 +902,6 @@
{
throw new Error('This should not be possible ', inputChar);
}
return true;
},
// '^' - next char must be a consonant.
'^': function () { return flagsAt(text, ++pos, FLAG_CONSONANT); },
Expand Down Expand Up @@ -1636,7 +1633,6 @@
{
throw Error(("Could not parse char " + sign1));
}
throw Error();
}
addStress(match); // Set stress for prior phoneme
}
Expand Down Expand Up @@ -3297,7 +3293,6 @@
{
throw new Error(("Buffer overflow, want " + (((bufferpos / 50) | 0)) + " but buffersize is only " + (buffer.length) + "!"));
}
throw new Error();
}
oldTimeTableIndex = index;
// write a little bit in advance
Expand Down Expand Up @@ -3757,4 +3752,4 @@

return SamJs;

}));
})));
4 changes: 2 additions & 2 deletions dist/samjs.min.js

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

2 changes: 1 addition & 1 deletion dist/samjs.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sam-js",
"version": "0.1.0",
"version": "0.1.1",
"description": "SAM - The Software Automatic Mouth",
"author": "Christian Schiffler <[email protected]>",
"private": false,
Expand Down
Loading

0 comments on commit b3d9f69

Please sign in to comment.