Skip to content

Commit

Permalink
Merge pull request #39 from OWASP/release-ready
Browse files Browse the repository at this point in the history
release 1.3.1
  • Loading branch information
jgadsden committed Oct 26, 2020
2 parents a9f4b64 + 7f691fe commit 4368277
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "owasp-threat-dragon",
"version": "1.3.0",
"version": "1.3.1",
"private": false,
"scripts": {
"build": "npm run-script bundle && npm run-script bundle-minify && npm run-script bundle-css && npm run-script bundle-minify-css && npm run-script copy-fonts",
Expand Down Expand Up @@ -57,7 +57,7 @@
"lodash": "^4.17.19",
"morgan": "1.10.0",
"octonode": "0.9.5",
"owasp-threat-dragon-core": "^1.3.1",
"owasp-threat-dragon-core": "^1.3.2",
"passport": "0.4.1",
"passport-github": "1.1.0",
"pug": "^2.0.4",
Expand Down
40 changes: 20 additions & 20 deletions td/public/app/threatdragon.js
Original file line number Diff line number Diff line change
Expand Up @@ -52722,7 +52722,7 @@ require('./angular');
module.exports = angular;

},{"./angular":9}],11:[function(require,module,exports){
(function (global){
(function (global){(function (){
// Backbone.js 1.3.3

// (c) 2010-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
Expand Down Expand Up @@ -54644,7 +54644,7 @@ module.exports = angular;
return Backbone;
});

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

},{"jquery":94,"underscore":140}],12:[function(require,module,exports){
'use strict'
Expand Down Expand Up @@ -57433,7 +57433,7 @@ function brackets2dots(string) {
}

},{}],27:[function(require,module,exports){
(function (Buffer){
(function (Buffer){(function (){
/*!
* The buffer module from node.js, for the browser.
*
Expand Down Expand Up @@ -59212,7 +59212,7 @@ function numberIsNaN (obj) {
return obj !== obj // eslint-disable-line no-self-compare
}

}).call(this,require("buffer").Buffer)
}).call(this)}).call(this,require("buffer").Buffer)

},{"base64-js":12,"buffer":27,"ieee754":90}],28:[function(require,module,exports){
// Copyright Joyent, Inc. and other Node contributors.
Expand Down Expand Up @@ -59740,7 +59740,7 @@ function functionBindPolyfill(context) {
}

},{}],29:[function(require,module,exports){
(function (Buffer){
(function (Buffer){(function (){
var clone = (function() {
'use strict';

Expand Down Expand Up @@ -59999,7 +59999,7 @@ if (typeof module === 'object' && module.exports) {
module.exports = clone;
}

}).call(this,require("buffer").Buffer)
}).call(this)}).call(this,require("buffer").Buffer)

},{"buffer":27}],30:[function(require,module,exports){
(function (global, factory) {
Expand Down Expand Up @@ -64409,7 +64409,7 @@ arguments[4][41][0].apply(exports,arguments)
module.exports = '2.1.5';

},{}],84:[function(require,module,exports){
(function (Buffer){
(function (Buffer){(function (){
"use strict";

exports.__esModule = true;
Expand Down Expand Up @@ -64491,7 +64491,7 @@ var TYPEDARRAY_TAGS = (_TYPEDARRAY_TAGS = {}, _TYPEDARRAY_TAGS[OBJECT_CLASS_TYPE
exports.TYPEDARRAY_TAGS = TYPEDARRAY_TAGS;
var UNPARSEABLE_TAGS = (_UNPARSEABLE_TAGS = {}, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.GENERATOR] = true, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.PROMISE] = true, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.WEAKMAP] = true, _UNPARSEABLE_TAGS[OBJECT_CLASS_TYPE_MAP.WEAKSET] = true, _UNPARSEABLE_TAGS);
exports.UNPARSEABLE_TAGS = UNPARSEABLE_TAGS;
}).call(this,require("buffer").Buffer)
}).call(this)}).call(this,require("buffer").Buffer)

},{"buffer":27}],85:[function(require,module,exports){
"use strict";
Expand Down Expand Up @@ -64599,7 +64599,7 @@ hash.is.not = (0, _curriable.curry)(function (object, otherObject) {
var _default = hash;
exports.default = _default;
},{"./utils":86,"curriable":30}],86:[function(require,module,exports){
(function (Buffer){
(function (Buffer){(function (){
"use strict";

exports.__esModule = true;
Expand Down Expand Up @@ -65094,7 +65094,7 @@ function stringify(value, cache, keys) {

return JSON.stringify(value, createReplacer(cache, keys));
}
}).call(this,require("buffer").Buffer)
}).call(this)}).call(this,require("buffer").Buffer)

},{"./constants":84,"buffer":27}],87:[function(require,module,exports){
/*!
Expand Down Expand Up @@ -65660,7 +65660,7 @@ module.exports = hotkeys;
/*! hotkeys-js v3.8.1 | MIT (c) 2020 kenny wong <wowohoo@qq.com> | http://jaywcjlove.github.io/hotkeys */
"use strict";var isff="undefined"!=typeof navigator&&0<navigator.userAgent.toLowerCase().indexOf("firefox");function addEvent(e,t,o){e.addEventListener?e.addEventListener(t,o,!1):e.attachEvent&&e.attachEvent("on".concat(t),function(){o(window.event)})}function getMods(e,t){for(var o=t.slice(0,t.length-1),n=0;n<o.length;n++)o[n]=e[o[n].toLowerCase()];return o}function getKeys(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),o=t.lastIndexOf("");0<=o;)t[o-1]+=",",t.splice(o,1),o=t.lastIndexOf("");return t}function compareArray(e,t){for(var o=e.length<t.length?t:e,n=e.length<t.length?e:t,s=!0,r=0;r<o.length;r++)~n.indexOf(o[r])||(s=!1);return s}for(var _keyMap={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":isff?173:189,"=":isff?61:187,";":isff?59:186,"'":222,"[":219,"]":221,"\\":220},_modifier={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},modifierMap={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},_mods={16:!1,18:!1,17:!1,91:!1},_handlers={},k=1;k<20;k++)_keyMap["f".concat(k)]=111+k;var _downKeys=[],_scope="all",elementHasBindEvent=[],code=function(e){return _keyMap[e.toLowerCase()]||_modifier[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function setScope(e){_scope=e||"all"}function getScope(){return _scope||"all"}function getPressedKeyCodes(){return _downKeys.slice(0)}function filter(e){var t=e.target||e.srcElement,o=t.tagName,n=!0;return!t.isContentEditable&&("INPUT"!==o&&"TEXTAREA"!==o&&"SELECT"!==o||t.readOnly)||(n=!1),n}function isPressed(e){return"string"==typeof e&&(e=code(e)),!!~_downKeys.indexOf(e)}function deleteScope(e,t){var o,n;for(var s in e=e||getScope(),_handlers)if(Object.prototype.hasOwnProperty.call(_handlers,s))for(o=_handlers[s],n=0;n<o.length;)o[n].scope===e?o.splice(n,1):n++;getScope()===e&&setScope(t||"all")}function clearModifier(e){var t=e.keyCode||e.which||e.charCode,o=_downKeys.indexOf(t);if(o<0||_downKeys.splice(o,1),e.key&&"meta"==e.key.toLowerCase()&&_downKeys.splice(0,_downKeys.length),93!==t&&224!==t||(t=91),t in _mods)for(var n in _mods[t]=!1,_modifier)_modifier[n]===t&&(hotkeys[n]=!1)}function unbind(e){if(e){if(Array.isArray(e))e.forEach(function(e){e.key&&eachUnbind(e)});else if("object"==typeof e)e.key&&eachUnbind(e);else if("string"==typeof e){for(var t=arguments.length,o=Array(1<t?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];var s=o[0],r=o[1];"function"==typeof s&&(r=s,s=""),eachUnbind({key:e,scope:s,method:r,splitKey:"+"})}}else Object.keys(_handlers).forEach(function(e){return delete _handlers[e]})}var eachUnbind=function(e){var d=e.scope,i=e.method,t=e.splitKey,a=void 0===t?"+":t;getKeys(e.key).forEach(function(e){var t=e.split(a),o=t.length,n=t[o-1],s="*"===n?"*":code(n);if(_handlers[s]){d=d||getScope();var r=1<o?getMods(_modifier,t):[];_handlers[s]=_handlers[s].map(function(e){return i&&e.method!==i||e.scope!==d||!compareArray(e.mods,r)?e:{}})}})};function eventHandler(e,t,o){var n;if(t.scope===o||"all"===t.scope){for(var s in n=0<t.mods.length,_mods)Object.prototype.hasOwnProperty.call(_mods,s)&&(!_mods[s]&&~t.mods.indexOf(+s)||_mods[s]&&!~t.mods.indexOf(+s))&&(n=!1);(0!==t.mods.length||_mods[16]||_mods[18]||_mods[17]||_mods[91])&&!n&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function dispatch(o){var e=_handlers["*"],t=o.keyCode||o.which||o.charCode;if(hotkeys.filter.call(this,o)){if(93!==t&&224!==t||(t=91),~_downKeys.indexOf(t)||229===t||_downKeys.push(t),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(e){var t=modifierMap[e];o[e]&&!~_downKeys.indexOf(t)?_downKeys.push(t):!o[e]&&~_downKeys.indexOf(t)?_downKeys.splice(_downKeys.indexOf(t),1):"metaKey"===e&&o[e]&&3===_downKeys.length&&(o.ctrlKey||o.shiftKey||o.altKey||(_downKeys=_downKeys.slice(_downKeys.indexOf(t))))}),t in _mods){for(var n in _mods[t]=!0,_modifier)_modifier[n]===t&&(hotkeys[n]=!0);if(!e)return}for(var s in _mods)Object.prototype.hasOwnProperty.call(_mods,s)&&(_mods[s]=o[modifierMap[s]]);o.getModifierState&&(!o.altKey||o.ctrlKey)&&o.getModifierState("AltGraph")&&(~_downKeys.indexOf(17)||_downKeys.push(17),~_downKeys.indexOf(18)||_downKeys.push(18),_mods[17]=!0,_mods[18]=!0);var r=getScope();if(e)for(var d=0;d<e.length;d++)e[d].scope===r&&("keydown"===o.type&&e[d].keydown||"keyup"===o.type&&e[d].keyup)&&eventHandler(o,e[d],r);if(t in _handlers)for(var i=0;i<_handlers[t].length;i++)if(("keydown"===o.type&&_handlers[t][i].keydown||"keyup"===o.type&&_handlers[t][i].keyup)&&_handlers[t][i].key){for(var a=_handlers[t][i],c=a.key.split(a.splitKey),l=[],f=0;f<c.length;f++)l.push(code(c[f]));l.sort().join("")===_downKeys.sort().join("")&&eventHandler(o,a,r)}}}function isElementBind(e){return!!~elementHasBindEvent.indexOf(e)}function hotkeys(e,t,o){_downKeys=[];var n=getKeys(e),s=[],r="all",d=document,i=0,a=!1,c=!0,l="+";for(void 0===o&&"function"==typeof t&&(o=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(r=t.scope),t.element&&(d=t.element),t.keyup&&(a=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(l=t.splitKey)),"string"==typeof t&&(r=t);i<n.length;i++)s=[],1<(e=n[i].split(l)).length&&(s=getMods(_modifier,e)),(e="*"===(e=e[e.length-1])?"*":code(e))in _handlers||(_handlers[e]=[]),_handlers[e].push({keyup:a,keydown:c,scope:r,mods:s,shortcut:n[i],method:o,key:n[i],splitKey:l});void 0!==d&&!isElementBind(d)&&window&&(elementHasBindEvent.push(d),addEvent(d,"keydown",function(e){dispatch(e)}),addEvent(window,"focus",function(){_downKeys=[]}),addEvent(d,"keyup",function(e){dispatch(e),clearModifier(e)}))}var _api={setScope:setScope,getScope:getScope,deleteScope:deleteScope,getPressedKeyCodes:getPressedKeyCodes,isPressed:isPressed,filter:filter,unbind:unbind};for(var a in _api)Object.prototype.hasOwnProperty.call(_api,a)&&(hotkeys[a]=_api[a]);if("undefined"!=typeof window){var _hotkeys=window.hotkeys;hotkeys.noConflict=function(e){return e&&window.hotkeys===hotkeys&&(window.hotkeys=_hotkeys),hotkeys},window.hotkeys=hotkeys}module.exports=hotkeys;
},{}],89:[function(require,module,exports){
(function (process){
(function (process){(function (){

if (process.env.NODE_ENV === 'production') {
// eslint-disable-next-line global-require
Expand All @@ -65670,7 +65670,7 @@ if (process.env.NODE_ENV === 'production') {
module.exports = require('./dist/hotkeys.common.js');
}

}).call(this,require('_process'))
}).call(this)}).call(this,require('_process'))

},{"./dist/hotkeys.common.js":87,"./dist/hotkeys.common.min.js":88,"_process":135}],90:[function(require,module,exports){
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
Expand Down Expand Up @@ -76192,7 +76192,7 @@ return jQuery;
} );

},{}],93:[function(require,module,exports){
(function (global){
(function (global){(function (){
/**
* @license
* Lodash <https://lodash.com/>
Expand Down Expand Up @@ -93301,7 +93301,7 @@ return jQuery;
}
}.call(this));

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

},{}],94:[function(require,module,exports){
/*!
Expand Down Expand Up @@ -104540,7 +104540,7 @@ var Condition = function () {

exports.default = Condition;
},{"./debug":97,"lodash.isobjectlike":108}],97:[function(require,module,exports){
(function (process){
(function (process){(function (){
'use strict';

Object.defineProperty(exports, "__esModule", {
Expand All @@ -104552,7 +104552,7 @@ function debug(message) {
console.log(message);
}
}
}).call(this,require('_process'))
}).call(this)}).call(this,require('_process'))

},{"_process":135}],98:[function(require,module,exports){
'use strict';
Expand Down Expand Up @@ -105661,7 +105661,7 @@ function isObjectLike(value) {
module.exports = isObjectLike;

},{}],109:[function(require,module,exports){
(function (global){
(function (global){(function (){
/**
* @license
* Lodash <https://lodash.com/>
Expand Down Expand Up @@ -122824,7 +122824,7 @@ module.exports = isObjectLike;
}
}.call(this));

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

},{}],110:[function(require,module,exports){
/**
Expand Down Expand Up @@ -128435,7 +128435,7 @@ function selectn (path, object) {
}

},{"brackets2dots":26,"curry2":31,"debug":137,"dotsplit.js":62}],137:[function(require,module,exports){
(function (process){
(function (process){(function (){
/**
* This is the web browser implementation of `debug()`.
*
Expand Down Expand Up @@ -128622,7 +128622,7 @@ function localstorage() {
} catch (e) {}
}

}).call(this,require('_process'))
}).call(this)}).call(this,require('_process'))

},{"./debug":138,"_process":135}],138:[function(require,module,exports){

Expand Down
Loading

0 comments on commit 4368277

Please sign in to comment.