Skip to content

Commit

Permalink
bump nyc over security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Dec 24, 2019
1 parent c39ec14 commit 7114815
Show file tree
Hide file tree
Showing 10 changed files with 1,084 additions and 601 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,3 +1,4 @@
* [[`c39ec14c04`](https://github.com/StoneCypher/jssm/commit/c39ec14c04)] - rebuild and bump to .16 prior to publish (John Haugeland)
* [[`5ba3f22440`](https://github.com/StoneCypher/jssm/commit/5ba3f22440)] - right, coverage is outside build in the ci action, so, make one for gh (John Haugeland)
* [[`518be0962d`](https://github.com/StoneCypher/jssm/commit/518be0962d)] - node 13 and 14 may not exist (John Haugeland)
* [[`c9601c843c`](https://github.com/StoneCypher/jssm/commit/c9601c843c)] - fix gh credential. expand gh actions coverage from 8/10/12 to 8-14 (John Haugeland)
Expand Down
90 changes: 45 additions & 45 deletions dist/jssm.es5.cjs.js
Expand Up @@ -1294,8 +1294,8 @@ function peg$parse(input, options) {
peg$c241 = function() { return "\v"; },
peg$c242 = "u",
peg$c243 = peg$literalExpectation("u", false),
peg$c244 = function(digits) {
return String.fromCharCode(parseInt(digits, 16));
peg$c244 = function(digits) {
return String.fromCharCode(parseInt(digits, 16));
},
peg$c245 = function(Sequence) { return Sequence; },
peg$c246 = /^[ -!#-[\]-\u10FFFF]/,
Expand Down Expand Up @@ -1326,8 +1326,8 @@ function peg$parse(input, options) {
peg$c273 = /^[0-9a-zA-Z.+=_\^()*&$#@!?,\x80-\uFFFF]/,
peg$c274 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "+", "=", "_", "^", "(", ")", "*", "&", "$", "#", "@", "!", "?", ",", ["\x80", "\uFFFF"]], false, false),
peg$c275 = peg$otherExpectation("atom"),
peg$c276 = function(firstletter, text) {
return firstletter + ((text || []).join(''));
peg$c276 = function(firstletter, text) {
return firstletter + ((text || []).join(''));
},
peg$c277 = peg$otherExpectation("label"),
peg$c278 = "0",
Expand All @@ -1340,11 +1340,11 @@ function peg$parse(input, options) {
peg$c285 = ".",
peg$c286 = peg$literalExpectation(".", false),
peg$c287 = function() { return parseFloat(text()); },
peg$c288 = function(major, minor, patch) { return {
major: parseInt(major,10),
minor: parseInt(minor,10),
patch: parseInt(patch,10),
full: text()
peg$c288 = function(major, minor, patch) { return {
major: parseInt(major,10),
minor: parseInt(minor,10),
patch: parseInt(patch,10),
full: text()
}; },
peg$c299 = "http://",
peg$c300 = peg$literalExpectation("http://", false),
Expand Down Expand Up @@ -2082,13 +2082,13 @@ function peg$parse(input, options) {
peg$c1032 = function(lab) { return lab; },
peg$c1033 = "#",
peg$c1034 = peg$literalExpectation("#", false),
peg$c1035 = function(r, g, b) {
peg$c1035 = function(r, g, b) {
return `${r}${r}${g}${g}${b}${b}ff`; },
peg$c1036 = function(r1, r2, g1, g2, b1, b2) {
peg$c1036 = function(r1, r2, g1, g2, b1, b2) {
return `${r1}${r2}${g1}${g2}${b1}${b2}ff`; },
peg$c1037 = function(r, g, b, a) {
peg$c1037 = function(r, g, b, a) {
return `${r}${r}${g}${g}${b}${b}${a}${a}`; },
peg$c1038 = function(r1, r2, g1, g2, b1, b2, a1, a2) {
peg$c1038 = function(r1, r2, g1, g2, b1, b2, a1, a2) {
return `${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`; },
peg$c1039 = peg$otherExpectation("color"),
peg$c1040 = "arc_label",
Expand Down Expand Up @@ -2134,25 +2134,25 @@ function peg$parse(input, options) {
peg$c1080 = "+0",
peg$c1081 = peg$literalExpectation("+0", false),
peg$c1082 = function() { return { key: 'cycle', value: 0 }; },
peg$c1083 = function(r_action, r_prob, l_desc, arrow, r_desc, l_prob, l_action, label, tail) {
const base = {kind: arrow, to: label};
if (tail && (tail !== [])) { base.se = tail; }
if (l_desc) { base.l_desc = l_desc; }
if (r_desc) { base.r_desc = r_desc; }
if (l_action) { base.l_action = l_action; }
if (r_action) { base.r_action = r_action; }
if (l_prob) { base.l_probability = l_prob.value; }
if (r_prob) { base.r_probability = r_prob.value; }
return base;
peg$c1083 = function(r_action, r_prob, l_desc, arrow, r_desc, l_prob, l_action, label, tail) {

const base = {kind: arrow, to: label};

if (tail && (tail !== [])) { base.se = tail; }
if (l_desc) { base.l_desc = l_desc; }
if (r_desc) { base.r_desc = r_desc; }
if (l_action) { base.l_action = l_action; }
if (r_action) { base.r_action = r_action; }
if (l_prob) { base.l_probability = l_prob.value; }
if (r_prob) { base.r_probability = r_prob.value; }

return base;

},
peg$c1084 = function(label, se) {
const base = { key: 'transition', from: label };
if (se && (se !== [])) { base.se = se; }
return base;
peg$c1084 = function(label, se) {
const base = { key: 'transition', from: label };
if (se && (se !== [])) { base.se = se; }
return base;
},
peg$c1085 = "whargarbl",
peg$c1086 = peg$literalExpectation("whargarbl", false),
Expand All @@ -2163,8 +2163,8 @@ function peg$parse(input, options) {
peg$c1091 = peg$literalExpectation("validation", false),
peg$c1092 = "};",
peg$c1093 = peg$literalExpectation("};", false),
peg$c1094 = function(validation_items) {
return { config_kind: "validation", config_items: validation_items || [] };
peg$c1094 = function(validation_items) {
return { config_kind: "validation", config_items: validation_items || [] };
},
peg$c1095 = "dot",
peg$c1096 = peg$literalExpectation("dot", false),
Expand All @@ -2182,22 +2182,22 @@ function peg$parse(input, options) {
peg$c1108 = peg$literalExpectation("node_shape", false),
peg$c1109 = "state",
peg$c1110 = peg$literalExpectation("state", false),
peg$c1111 = function(state_items) {
return { config_kind: "state", config_items: state_items || [] };
peg$c1111 = function(state_items) {
return { config_kind: "state", config_items: state_items || [] };
},
peg$c1112 = function(actionkey, value) { return {key:actionkey, value:value}; },
peg$c1113 = "action",
peg$c1114 = peg$literalExpectation("action", false),
peg$c1115 = function(action_items) {
return { config_kind: "action", config_items: action_items || [] };
peg$c1115 = function(action_items) {
return { config_kind: "action", config_items: action_items || [] };
},
peg$c1116 = function(transitionkey, value) { return {key:transitionkey, value:value}; },
peg$c1117 = peg$otherExpectation("graph default edge color"),
peg$c1118 = function(value) { return {key:'graph_default_edge_color', value:value}; },
peg$c1119 = "transition",
peg$c1120 = peg$literalExpectation("transition", false),
peg$c1121 = function(transition_items) {
return { config_kind: "transition", config_items: transition_items || [] };
peg$c1121 = function(transition_items) {
return { config_kind: "transition", config_items: transition_items || [] };
},
peg$c1122 = "graph_layout",
peg$c1123 = peg$literalExpectation("graph_layout", false),
Expand Down Expand Up @@ -2271,8 +2271,8 @@ function peg$parse(input, options) {
peg$c1194 = function(state_name, decl_desc) { return {key:'state_declaration', name: state_name, value:decl_desc}; },
peg$c1195 = "&",
peg$c1196 = peg$literalExpectation("&", false),
peg$c1197 = function(list_name, contents) {
return { key:'named_list', name:list_name, value:contents };
peg$c1197 = function(list_name, contents) {
return { key:'named_list', name:list_name, value:contents };
},

peg$currPos = 0,
Expand Down Expand Up @@ -13362,7 +13362,7 @@ var jssmDot = {
var jssmDot_1 = jssmDot.parse;

// whargarbl lots of these return arrays could/should be sets
var version = '5.16.0'; // replaced from package.js in build // TODO FIXME currently broken
var version = '5.17.0'; // replaced from package.js in build // TODO FIXME currently broken
/* eslint-disable complexity */
function arrow_direction(arrow) {
switch (String(arrow)) {
Expand Down Expand Up @@ -13512,13 +13512,13 @@ function makeTransition(this_se, from, to, isRight, wasList, wasIndex) {
// if ((wasIndex !== undefined) && (wasList === undefined)) { throw new TypeError("Must be in a list if transition has an index"); }
/*
if (typeof edge.to === 'object') {

if (edge.to.key === 'cycle') {
if (wasList === undefined) { throw "Must have a waslist if a to is type cycle"; }
const nextIndex = wrapBy(wasIndex, edge.to.value, wasList.length);
edge.to = wasList[nextIndex];
}

}
*/
var action = isRight ? 'r_action' : 'l_action', probability = isRight ? 'r_probability' : 'l_probability';
Expand Down Expand Up @@ -13777,7 +13777,7 @@ var Machine = /** @class */ (function () {
};
/* whargarbl todo major
when we reimplement this, reintroduce this change to the is_final call

is_changing(): boolean {
return true; // todo whargarbl
}
Expand Down
2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.js.map

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions dist/jssm.es6.js
Expand Up @@ -1290,8 +1290,8 @@ function peg$parse(input, options) {
peg$c241 = function() { return "\v"; },
peg$c242 = "u",
peg$c243 = peg$literalExpectation("u", false),
peg$c244 = function(digits) {
return String.fromCharCode(parseInt(digits, 16));
peg$c244 = function(digits) {
return String.fromCharCode(parseInt(digits, 16));
},
peg$c245 = function(Sequence) { return Sequence; },
peg$c246 = /^[ -!#-[\]-\u10FFFF]/,
Expand Down Expand Up @@ -1322,8 +1322,8 @@ function peg$parse(input, options) {
peg$c273 = /^[0-9a-zA-Z.+=_\^()*&$#@!?,\x80-\uFFFF]/,
peg$c274 = peg$classExpectation([["0", "9"], ["a", "z"], ["A", "Z"], ".", "+", "=", "_", "^", "(", ")", "*", "&", "$", "#", "@", "!", "?", ",", ["\x80", "\uFFFF"]], false, false),
peg$c275 = peg$otherExpectation("atom"),
peg$c276 = function(firstletter, text) {
return firstletter + ((text || []).join(''));
peg$c276 = function(firstletter, text) {
return firstletter + ((text || []).join(''));
},
peg$c277 = peg$otherExpectation("label"),
peg$c278 = "0",
Expand All @@ -1336,11 +1336,11 @@ function peg$parse(input, options) {
peg$c285 = ".",
peg$c286 = peg$literalExpectation(".", false),
peg$c287 = function() { return parseFloat(text()); },
peg$c288 = function(major, minor, patch) { return {
major: parseInt(major,10),
minor: parseInt(minor,10),
patch: parseInt(patch,10),
full: text()
peg$c288 = function(major, minor, patch) { return {
major: parseInt(major,10),
minor: parseInt(minor,10),
patch: parseInt(patch,10),
full: text()
}; },
peg$c299 = "http://",
peg$c300 = peg$literalExpectation("http://", false),
Expand Down Expand Up @@ -2078,13 +2078,13 @@ function peg$parse(input, options) {
peg$c1032 = function(lab) { return lab; },
peg$c1033 = "#",
peg$c1034 = peg$literalExpectation("#", false),
peg$c1035 = function(r, g, b) {
peg$c1035 = function(r, g, b) {
return `${r}${r}${g}${g}${b}${b}ff`; },
peg$c1036 = function(r1, r2, g1, g2, b1, b2) {
peg$c1036 = function(r1, r2, g1, g2, b1, b2) {
return `${r1}${r2}${g1}${g2}${b1}${b2}ff`; },
peg$c1037 = function(r, g, b, a) {
peg$c1037 = function(r, g, b, a) {
return `${r}${r}${g}${g}${b}${b}${a}${a}`; },
peg$c1038 = function(r1, r2, g1, g2, b1, b2, a1, a2) {
peg$c1038 = function(r1, r2, g1, g2, b1, b2, a1, a2) {
return `${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`; },
peg$c1039 = peg$otherExpectation("color"),
peg$c1040 = "arc_label",
Expand Down Expand Up @@ -2130,25 +2130,25 @@ function peg$parse(input, options) {
peg$c1080 = "+0",
peg$c1081 = peg$literalExpectation("+0", false),
peg$c1082 = function() { return { key: 'cycle', value: 0 }; },
peg$c1083 = function(r_action, r_prob, l_desc, arrow, r_desc, l_prob, l_action, label, tail) {
const base = {kind: arrow, to: label};
if (tail && (tail !== [])) { base.se = tail; }
if (l_desc) { base.l_desc = l_desc; }
if (r_desc) { base.r_desc = r_desc; }
if (l_action) { base.l_action = l_action; }
if (r_action) { base.r_action = r_action; }
if (l_prob) { base.l_probability = l_prob.value; }
if (r_prob) { base.r_probability = r_prob.value; }
return base;
peg$c1083 = function(r_action, r_prob, l_desc, arrow, r_desc, l_prob, l_action, label, tail) {

const base = {kind: arrow, to: label};

if (tail && (tail !== [])) { base.se = tail; }
if (l_desc) { base.l_desc = l_desc; }
if (r_desc) { base.r_desc = r_desc; }
if (l_action) { base.l_action = l_action; }
if (r_action) { base.r_action = r_action; }
if (l_prob) { base.l_probability = l_prob.value; }
if (r_prob) { base.r_probability = r_prob.value; }

return base;

},
peg$c1084 = function(label, se) {
const base = { key: 'transition', from: label };
if (se && (se !== [])) { base.se = se; }
return base;
peg$c1084 = function(label, se) {
const base = { key: 'transition', from: label };
if (se && (se !== [])) { base.se = se; }
return base;
},
peg$c1085 = "whargarbl",
peg$c1086 = peg$literalExpectation("whargarbl", false),
Expand All @@ -2159,8 +2159,8 @@ function peg$parse(input, options) {
peg$c1091 = peg$literalExpectation("validation", false),
peg$c1092 = "};",
peg$c1093 = peg$literalExpectation("};", false),
peg$c1094 = function(validation_items) {
return { config_kind: "validation", config_items: validation_items || [] };
peg$c1094 = function(validation_items) {
return { config_kind: "validation", config_items: validation_items || [] };
},
peg$c1095 = "dot",
peg$c1096 = peg$literalExpectation("dot", false),
Expand All @@ -2178,22 +2178,22 @@ function peg$parse(input, options) {
peg$c1108 = peg$literalExpectation("node_shape", false),
peg$c1109 = "state",
peg$c1110 = peg$literalExpectation("state", false),
peg$c1111 = function(state_items) {
return { config_kind: "state", config_items: state_items || [] };
peg$c1111 = function(state_items) {
return { config_kind: "state", config_items: state_items || [] };
},
peg$c1112 = function(actionkey, value) { return {key:actionkey, value:value}; },
peg$c1113 = "action",
peg$c1114 = peg$literalExpectation("action", false),
peg$c1115 = function(action_items) {
return { config_kind: "action", config_items: action_items || [] };
peg$c1115 = function(action_items) {
return { config_kind: "action", config_items: action_items || [] };
},
peg$c1116 = function(transitionkey, value) { return {key:transitionkey, value:value}; },
peg$c1117 = peg$otherExpectation("graph default edge color"),
peg$c1118 = function(value) { return {key:'graph_default_edge_color', value:value}; },
peg$c1119 = "transition",
peg$c1120 = peg$literalExpectation("transition", false),
peg$c1121 = function(transition_items) {
return { config_kind: "transition", config_items: transition_items || [] };
peg$c1121 = function(transition_items) {
return { config_kind: "transition", config_items: transition_items || [] };
},
peg$c1122 = "graph_layout",
peg$c1123 = peg$literalExpectation("graph_layout", false),
Expand Down Expand Up @@ -2267,8 +2267,8 @@ function peg$parse(input, options) {
peg$c1194 = function(state_name, decl_desc) { return {key:'state_declaration', name: state_name, value:decl_desc}; },
peg$c1195 = "&",
peg$c1196 = peg$literalExpectation("&", false),
peg$c1197 = function(list_name, contents) {
return { key:'named_list', name:list_name, value:contents };
peg$c1197 = function(list_name, contents) {
return { key:'named_list', name:list_name, value:contents };
},

peg$currPos = 0,
Expand Down Expand Up @@ -13358,7 +13358,7 @@ var jssmDot = {
var jssmDot_1 = jssmDot.parse;

// whargarbl lots of these return arrays could/should be sets
var version = '5.16.0'; // replaced from package.js in build // TODO FIXME currently broken
var version = '5.17.0'; // replaced from package.js in build // TODO FIXME currently broken
/* eslint-disable complexity */
function arrow_direction(arrow) {
switch (String(arrow)) {
Expand Down Expand Up @@ -13508,13 +13508,13 @@ function makeTransition(this_se, from, to, isRight, wasList, wasIndex) {
// if ((wasIndex !== undefined) && (wasList === undefined)) { throw new TypeError("Must be in a list if transition has an index"); }
/*
if (typeof edge.to === 'object') {

if (edge.to.key === 'cycle') {
if (wasList === undefined) { throw "Must have a waslist if a to is type cycle"; }
const nextIndex = wrapBy(wasIndex, edge.to.value, wasList.length);
edge.to = wasList[nextIndex];
}

}
*/
var action = isRight ? 'r_action' : 'l_action', probability = isRight ? 'r_probability' : 'l_probability';
Expand Down Expand Up @@ -13773,7 +13773,7 @@ var Machine = /** @class */ (function () {
};
/* whargarbl todo major
when we reimplement this, reintroduce this change to the is_final call

is_changing(): boolean {
return true; // todo whargarbl
}
Expand Down
2 changes: 1 addition & 1 deletion dist/jssm.es6.js.map

Large diffs are not rendered by default.

0 comments on commit 7114815

Please sign in to comment.