add 3rd party libraries to imports

This commit is contained in:
Thomas Grainger 2016-11-29 03:11:21 +00:00
parent 95daa65d7d
commit 661b420103
No known key found for this signature in database
GPG key ID: 995EA0A029283160
28 changed files with 301 additions and 220 deletions

View file

@ -17,5 +17,8 @@
"env": { "env": {
"browser": true, "browser": true,
"node": true "node": true
},
"globals": {
"COMPILE_TIME": true
} }
} }

View file

@ -61,18 +61,31 @@
"grunt-inline-alt": "~0.3.10", "grunt-inline-alt": "~0.3.10",
"grunt-jsdoc": "^1.1.0", "grunt-jsdoc": "^1.1.0",
"html-webpack-plugin": "^2.24.1", "html-webpack-plugin": "^2.24.1",
"imports-loader": "^0.6.5",
"ink-docstrap": "^1.1.4", "ink-docstrap": "^1.1.4",
"style-loader": "^0.13.1", "style-loader": "^0.13.1",
"webpack": "2.1.0-beta.27", "webpack": "2.1.0-beta.27",
"webpack-dev-server": "2.1.0-beta.12" "webpack-dev-server": "2.1.0-beta.12"
}, },
"dependencies": { "dependencies": {
"bootstrap": "^3.3.7",
"bootstrap-switch": "^3.3.2",
"core-js": "^2.4.1", "core-js": "^2.4.1",
"crypto-js": "^3.1.8",
"escodegen": "^1.8.1",
"esmangle": "^1.0.1",
"esprima": "^3.1.2", "esprima": "^3.1.2",
"estraverse": "^4.2.0", "estraverse": "^4.2.0",
"google-code-prettify": "^1.0.5",
"jquery": "^3.1.1", "jquery": "^3.1.1",
"json-loader": "^0.5.4", "json-loader": "^0.5.4",
"jsrsasign": "^6.2.2",
"moment": "^2.17.0", "moment": "^2.17.0",
"moment-timezone": "^0.5.10" "moment-timezone": "^0.5.10",
"node-bzip": "^0.0.1-2",
"sladex-blowfish": "^0.8.1",
"split.js": "^1.1.1",
"vkbeautify": "^0.99.1",
"zlibjs": "^0.2.0"
} }
} }

View file

@ -30,17 +30,16 @@
<meta name="keywords" content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip, md5, sha1, aes, des, blowfish, xor" /> <meta name="keywords" content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip, md5, sha1, aes, des, blowfish, xor" />
<link rel="icon" type="image/png" href="images/favicon.ico" /> <link rel="icon" type="image/png" href="images/favicon.ico" />
<link href="styles.css" rel="stylesheet" />
</head> </head>
<body> <body>
<span id="edit-favourites" class="btn btn-default btn-sm"><img src="images/favourite-16x16.png" /> Edit</span> <span id="edit-favourites" class="btn btn-default btn-sm"><img src="<%- require('../static/images/favourite-16x16.png') %>" /> Edit</span>
<div id="alert" class="alert alert-danger"> <div id="alert" class="alert alert-danger">
<button type="button" class="close" id="alert-close">&times;</button> <button type="button" class="close" id="alert-close">&times;</button>
<span id="alert-content"></span> <span id="alert-content"></span>
</div> </div>
<div id="content-wrapper"> <div id="content-wrapper">
<div id="banner" class="green"> <div id="banner" class="green">
<a href="cyberchef.htm" style="float: left; margin-left: 10px; margin-right: 80px;" download>Download CyberChef<img src="images/download-24x24.png" /></a> <a href="cyberchef.htm" style="float: left; margin-left: 10px; margin-right: 80px;" download>Download CyberChef<img src="<%- require('../static/images/download-24x24.png') %>" /></a>
<span id="notice"> <span id="notice">
<script type="text/javascript"> <script type="text/javascript">
// Must be text/javascript rather than application/javascript otherwise IE won't recognise it... // Must be text/javascript rather than application/javascript otherwise IE won't recognise it...
@ -51,8 +50,8 @@
</script> </script>
<noscript>JavaScript is not enabled. Good luck.</noscript> <noscript>JavaScript is not enabled. Good luck.</noscript>
</span> </span>
<a href="#" id="support" class="banner-right" data-toggle="modal" data-target="#support-modal">About / Support<img src="images/help-22x22.png" /></a> <a href="#" id="support" class="banner-right" data-toggle="modal" data-target="#support-modal">About / Support<img src="<%- require('../static/images/help-22x22.png') %>" /></a>
<a href="#" id="options" class="banner-right">Options<img src="images/settings-22x22.png" /></a> <a href="#" id="options" class="banner-right">Options<img src="<%- require('../static/images/settings-22x22.png') %>" /></a>
</div> </div>
<div id="wrapper"> <div id="wrapper">
<div id="operations" class="split split-horizontal no-select"> <div id="operations" class="split split-horizontal no-select">
@ -70,7 +69,7 @@
<div id="operational-controls"> <div id="operational-controls">
<div id="bake-group"> <div id="bake-group">
<button type="button" class="btn btn-success btn-lg" id="bake"> <button type="button" class="btn btn-success btn-lg" id="bake">
<img src="images/cook_male-32x32.png" /> <img src="<%- require('../static/images/cook_male-32x32.png') %>" />
Bake! Bake!
</button> </button>
<label class="btn btn-success btn-lg" id="auto-bake-label"> <label class="btn btn-success btn-lg" id="auto-bake-label">
@ -80,15 +79,15 @@
</div> </div>
<div class="btn-group" style="padding-top: 10px;"> <div class="btn-group" style="padding-top: 10px;">
<button type="button" class="btn btn-default" id="step"><img src="images/step-16x16.png" /> Step through</button> <button type="button" class="btn btn-default" id="step"><img src="<%- require('../static/images/step-16x16.png') %>" /> Step through</button>
<button type="button" class="btn btn-default" id="clr-breaks"><img src="images/erase-16x16.png" /> Clear breakpoints</button> <button type="button" class="btn btn-default" id="clr-breaks"><img src="<%- require('../static/images/erase-16x16.png') %>" /> Clear breakpoints</button>
</div> </div>
</div> </div>
<div class="btn-group-vertical" id="extra-controls"> <div class="btn-group-vertical" id="extra-controls">
<button type="button" class="btn btn-default" id="save"><img src="images/save-16x16.png" /> Save recipe</button> <button type="button" class="btn btn-default" id="save"><img src="<%- require('../static/images/save-16x16.png') %>" /> Save recipe</button>
<button type="button" class="btn btn-default" id="load"><img src="images/open_yellow-16x16.png" /> Load recipe</button> <button type="button" class="btn btn-default" id="load"><img src="<%- require('../static/images/open_yellow-16x16.png') %>" /> Load recipe</button>
<button type="button" class="btn btn-default" id="clr-recipe"><img src="images/clean-16x16.png" /> Clear recipe</button> <button type="button" class="btn btn-default" id="clr-recipe"><img src="<%- require('../static/images/clean-16x16.png') %>" /> Clear recipe</button>
</div> </div>
</div> </div>
</div> </div>
@ -98,8 +97,8 @@
<div class="title no-select"> <div class="title no-select">
Input Input
<div class="btn-group io-btn-group"> <div class="btn-group io-btn-group">
<button type="button" class="btn btn-default btn-sm" id="clr-io"><img src="images/recycle-16x16.png" /> Clear I/O</button> <button type="button" class="btn btn-default btn-sm" id="clr-io"><img src="<%- require('../static/images/recycle-16x16.png') %>" /> Clear I/O</button>
<button type="button" class="btn btn-default btn-sm" id="reset-layout"><img src="images/layout-16x16.png" /> Reset layout</button> <button type="button" class="btn btn-default btn-sm" id="reset-layout"><img src="<%- require('../static/images/layout-16x16.png') %>" /> Reset layout</button>
</div> </div>
<div class="io-info" id="input-info"></div> <div class="io-info" id="input-info"></div>
<div class="io-info" id="input-selection-info"></div> <div class="io-info" id="input-selection-info"></div>
@ -114,9 +113,9 @@
<div class="title no-select"> <div class="title no-select">
Output Output
<div class="btn-group io-btn-group"> <div class="btn-group io-btn-group">
<button type="button" class="btn btn-default btn-sm" id="save-to-file"><img src="images/save_as-16x16.png" /> Save to file</button> <button type="button" class="btn btn-default btn-sm" id="save-to-file"><img src="<%- require('../static/images/save_as-16x16.png') %>" /> Save to file</button>
<button type="button" class="btn btn-default btn-sm" id="switch"><img src="images/switch-16x16.png" /> Move output to input</button> <button type="button" class="btn btn-default btn-sm" id="switch"><img src="<%- require('../static/images/switch-16x16.png') %>" /> Move output to input</button>
<button type="button" class="btn btn-default btn-sm" id="undo-switch" disabled="disabled"><img src="images/undo-16x16.png" /> Undo</button> <button type="button" class="btn btn-default btn-sm" id="undo-switch" disabled="disabled"><img src="<%- require('../static/images/undo-16x16.png') %>" /> Undo</button>
</div> </div>
<div class="io-info" id="output-info"></div> <div class="io-info" id="output-info"></div>
<div class="io-info" id="output-selection-info"></div> <div class="io-info" id="output-selection-info"></div>
@ -135,7 +134,7 @@
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<img class="pull-right" src="images/save-22x22.png" /> <img class="pull-right" src="<%- require('../static/images/save-22x22.png') %>" />
<h4 class="modal-title">Save recipe</h4> <h4 class="modal-title">Save recipe</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
@ -170,7 +169,7 @@
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<img class="pull-right" src="images/open_yellow-24x24.png" /> <img class="pull-right" src="<%- require('../static/images/open_yellow-24x24.png') %>" />
<h4 class="modal-title">Load recipe</h4> <h4 class="modal-title">Load recipe</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
@ -195,7 +194,7 @@
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<img class="pull-right" src="images/settings-22x22.png" /> <img class="pull-right" src="<%- require('../static/images/settings-22x22.png') %>" />
<h4 class="modal-title">Options</h4> <h4 class="modal-title">Options</h4>
</div> </div>
<div class="modal-body" id="options-body"> <div class="modal-body" id="options-body">
@ -241,7 +240,7 @@
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<img class="pull-right" src="images/favourite-24x24.png" /> <img class="pull-right" src="<%- require('../static/images/favourite-24x24.png') %>" />
<h4 class="modal-title">Edit Favourites</h4> <h4 class="modal-title">Edit Favourites</h4>
</div> </div>
<div class="modal-body" id="options-body"> <div class="modal-body" id="options-body">
@ -268,11 +267,11 @@
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<img class="pull-right" src="images/help-22x22.png" /> <img class="pull-right" src="<%- require('../static/images/help-22x22.png') %>" />
<h4 class="modal-title">CyberChef - The Cyber Swiss Army Knife</h4> <h4 class="modal-title">CyberChef - The Cyber Swiss Army Knife</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<img class="about-img-left" src="images/cyberchef-128x128.png" /> <img class="about-img-left" src="<%- require('../static/images/cyberchef-128x128.png') %>" />
<p class="subtext">Compile time: <%- htmlWebpackPlugin.options.compileTime %> UTC</p> <p class="subtext">Compile time: <%- htmlWebpackPlugin.options.compileTime %> UTC</p>
<p>&copy Crown Copyright 2016.</p> <p>&copy Crown Copyright 2016.</p>
<p>Licenced under the Apache Licence, Version 2.0.</p> <p>Licenced under the Apache Licence, Version 2.0.</p>
@ -281,11 +280,11 @@
<div> <div>
<ul class='nav nav-tabs' role='tablist'> <ul class='nav nav-tabs' role='tablist'>
<li role='presentation' class='active'><a href='#faqs' aria-controls='profile' role='tab' data-toggle='tab'> <li role='presentation' class='active'><a href='#faqs' aria-controls='profile' role='tab' data-toggle='tab'>
<img src='images/help-16x16.png' /> <img src="<%- require('../static/images/help-16x16.png') %>" />
FAQs FAQs
</a></li> </a></li>
<li role='presentation'><a href='#about' aria-controls='messages' role='tab' data-toggle='tab'> <li role='presentation'><a href='#about' aria-controls='messages' role='tab' data-toggle='tab'>
<img src='images/speech-16x16.png' /> <img src="<%- require('../static/images/speech-16x16.png') %>" />
About About
</a></li> </a></li>
</ul> </ul>
@ -368,11 +367,11 @@
<div class="modal-body" id="confirm-body"></div> <div class="modal-body" id="confirm-body"></div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-success" id="confirm-yes"> <button type="button" class="btn btn-success" id="confirm-yes">
<img src="images/thumb_up-16x16.png" /> <img src="<%- require('../static/images/thumb_up-16x16.png') %>" />
Yes Yes
</button> </button>
<button type="button" class="btn btn-danger" id="confirm-no" data-dismiss="modal"> <button type="button" class="btn btn-danger" id="confirm-no" data-dismiss="modal">
<img src="images/thumb_down-16x16.png" /> <img src="<%- require('../static/images/thumb_down-16x16.png') %>" />
No No
</button> </button>
</div> </div>

View file

@ -11,13 +11,13 @@ import Operation from './Operation';
* @class * @class
* @param {Object} recipe_config * @param {Object} recipe_config
*/ */
const Recipe = function (recipe_config) { export default function Recipe(recipe_config) {
this.op_list = []; this.op_list = [];
if (recipe_config) { if (recipe_config) {
this._parse_config(recipe_config); this._parse_config(recipe_config);
} }
}; }
/** /**

View file

@ -1,6 +1,6 @@
import $ from 'jquery'; import $ from 'jquery';
import CryptoJS from 'crypto-js';
import moment from 'moment';
/** /**
* Utility functions for use in operations, the core framework and the stage. * Utility functions for use in operations, the core framework and the stage.

View file

@ -1,135 +1,8 @@
import './core/Ingredient.js';
import './core/Dish.js';
import './core/FlowControl.js';
import './core/Operation.js';
import './core/Recipe.js';
import './core/Utils.js';
import './core/Chef.js';
import './lib/canvas_components.js';
import './lib/punycode.js';
import './lib/rawinflate.js';
import './lib/unzip.js';
import './lib/zlib_and_gzip.js';
import './lib/split.js';
import './lib/rawdeflate.js';
import 'moment-timezone'; import 'moment-timezone';
import './lib/diff.js';
import './lib/prettify.js';
import './lib/bootstrap-3.3.6.js';
import './lib/Sortable.js';
import './lib/snowfall.jquery.js';
import './lib/zip.js';
import './lib/escodegen.browser.js';
import './lib/bootstrap-switch.js';
import './lib/yahoo.js';
import './lib/vkbeautify.js';
import 'moment'; import 'moment';
import './lib/bootstrap-colorpicker.js'; import 'bootstrap-switch';
import './lib/cryptojs/format-hex.js'; import 'bootstrap/js/collapse';
import './lib/cryptojs/hmac.js'; import 'bootstrap/js/modal';
import './lib/cryptojs/pad-iso10126.js'; import 'bootstrap/js/tooltip';
import './lib/cryptojs/sha384.js'; import 'bootstrap/js/popover';
import './lib/cryptojs/aes.js';
import './lib/cryptojs/pad-nopadding.js';
import './lib/cryptojs/core.js';
import './lib/cryptojs/pad-zeropadding.js';
import './lib/cryptojs/mode-ctr.js';
import './lib/cryptojs/sha1.js';
import './lib/cryptojs/md5.js';
import './lib/cryptojs/evpkdf.js';
import './lib/cryptojs/rabbit.js';
import './lib/cryptojs/rc4.js';
import './lib/cryptojs/lib-typedarrays.js';
import './lib/cryptojs/enc-base64.js';
import './lib/cryptojs/sha3.js';
import './lib/cryptojs/sha224.js';
import './lib/cryptojs/mode-ofb.js';
import './lib/cryptojs/rabbit-legacy.js';
import './lib/cryptojs/ripemd160.js';
import './lib/cryptojs/cipher-core.js';
import './lib/cryptojs/pbkdf2.js';
import './lib/cryptojs/pad-iso97971.js';
import './lib/cryptojs/sha256.js';
import './lib/cryptojs/x64-core.js';
import './lib/cryptojs/mode-ecb.js';
import './lib/cryptojs/sha512.js';
import './lib/cryptojs/mode-ctr-gladman.js';
import './lib/cryptojs/enc-utf16.js';
import './lib/cryptojs/tripledes.js';
import './lib/cryptojs/mode-cfb.js';
import './lib/cryptojs/pad-ansix923.js';
import './lib/bzip2.js';
import './lib/jsbn/rsa.js';
import './lib/jsbn/jsbn2.js';
import './lib/jsbn/ec.js';
import './lib/jsbn/prng4.js';
import './lib/jsbn/jsbn.js';
import './lib/jsbn/rng.js';
import './lib/jsbn/base64.js';
import './lib/jsbn/sec.js';
import './lib/esmangle.min.js';
import './lib/blowfish.dojo.js';
import 'jquery';
import 'esprima';
import './lib/jsrasign/ecdsa-modified-1.0.js';
import './lib/jsrasign/asn1-1.0.js';
import './lib/jsrasign/x509-1.1.js';
import './lib/jsrasign/asn1hex-1.1.js';
import './lib/jsrasign/dsa-modified-1.0.js';
import './lib/jsrasign/crypto-1.1.js';
import './lib/jsrasign/asn1x509-1.0.js';
import './lib/jsrasign/base64x-1.1.js';
import './lib/jsrasign/ecparam-1.0.js';
import './lib/jsrasign/keyutil-1.0.js';
import './lib/uas_parser.js';
import './config/OperationConfig.js';
import './config/Categories.js';
import './views/html/InputWaiter.js';
import './views/html/HTMLCategory.js';
import './views/html/OperationsWaiter.js';
import './views/html/main.js'; import './views/html/main.js';
import './views/html/ControlsWaiter.js';
import './views/html/HTMLOperation.js';
import './views/html/OptionsWaiter.js';
import './views/html/OutputWaiter.js';
import './views/html/SeasonalWaiter.js';
import './views/html/Manager.js';
import './views/html/HighlighterWaiter.js';
import './views/html/WindowWaiter.js';
import './views/html/HTMLApp.js';
import './views/html/HTMLIngredient.js';
import './views/html/RecipeWaiter.js';
import './operations/IP.js';
import './operations/MAC.js';
import './operations/Code.js';
import './operations/Checksum.js';
import './operations/CharEnc.js';
import './operations/Extract.js';
import './operations/URL.js';
import './operations/FileType.js';
import './operations/Cipher.js';
import './operations/PublicKey.js';
import './operations/Punycode.js';
import './operations/OS.js';
import './operations/Convert.js';
import './operations/HTTP.js';
import './operations/SeqUtils.js';
import './operations/Rotate.js';
import './operations/Unicode.js';
import './operations/Endian.js';
import './operations/Tidy.js';
import './operations/StrUtils.js';
import './operations/Numberwang.js';
import './operations/HTML.js';
import './operations/QuotedPrintable.js';
import './operations/DateTime.js';
import './operations/JS.js';
import './operations/Base.js';
import './operations/Hash.js';
import './operations/Entropy.js';
import './operations/Hexdump.js';
import './operations/BitwiseOp.js';
import './operations/ByteRepr.js';
import './operations/UUID.js';
import './operations/Base64.js';
import './operations/Compress.js';

View file

@ -89,11 +89,11 @@ const ByteRepr = {
else if (ordinal < 4294967296) padding = 8; else if (ordinal < 4294967296) padding = 8;
else padding = 2; else padding = 2;
if (padding > 2) app.options.attempt_highlight = false; if (padding > 2) window.app.options.attempt_highlight = false;
output += Utils.hex(ordinal, padding) + delim; output += Utils.hex(ordinal, padding) + delim;
} else { } else {
app.options.attempt_highlight = false; window.app.options.attempt_highlight = false;
output += ordinal.toString(base) + delim; output += ordinal.toString(base) + delim;
} }
} }
@ -120,7 +120,7 @@ const ByteRepr = {
} }
if (base != 16) { if (base != 16) {
app.options.attempt_highlight = false; window.app.options.attempt_highlight = false;
} }
// Split into groups of 2 if the whole string is concatenated and // Split into groups of 2 if the whole string is concatenated and

View file

@ -1,7 +1,6 @@
import CryptoJS from 'crypto-js';
import Utils from '../core/Utils'; import Utils from '../core/Utils';
/** /**
* Character encoding operations. * Character encoding operations.
* *

View file

@ -1,3 +1,5 @@
import CryptoJS from 'crypto-js';
import blowfish from 'sladex-blowfish';
import Utils from '../core/Utils'; import Utils from '../core/Utils';

View file

@ -1,6 +1,6 @@
import Utils from '../core/Utils'; import Utils from '../core/Utils';
import { prettyPrintOne } from 'google-code-prettify/src/prettify';
import vkbeautify from 'vkbeautify';
/** /**
* Code operations. * Code operations.

View file

@ -1,6 +1,22 @@
import Utils from '../core/Utils'; import Utils from '../core/Utils';
import Uint8Array from 'core-js/modules/es6.typed.uint8-array'; import Uint8Array from 'core-js/modules/es6.typed.uint8-array';
import rawdeflate from 'zlibjs/bin/rawdeflate.min';
import rawinflate from 'zlibjs/bin/rawinflate.min';
import zlibAndGzip from 'zlibjs/bin/zlib_and_gzip.min';
import zip from 'zlibjs/bin/zip.min';
import unzip from 'zlibjs/bin/unzip.min';
import bzip2 from '../lib/bzip2';
const Zlib = {
RawDeflate: rawdeflate.Zlib.RawDeflate,
RawInflate: rawinflate.Zlib.RawInflate,
Deflate: zlibAndGzip.Zlib.Deflate,
Inflate: zlibAndGzip.Zlib.Inflate,
Gzip: zlibAndGzip.Zlib.Gzip,
Gunzip: zlibAndGzip.Zlib.Gunzip,
Zip: zip.Zlib.Zip,
Unzip: zip.Zlib.Unzip,
}
/** /**

View file

@ -1,4 +1,4 @@
import moment from 'moment';
/** /**
* Date and time operations. * Date and time operations.

View file

@ -1,4 +1,4 @@
import UAS_parser from '../lib/uas_parser';
/** /**
* HTTP operations. * HTTP operations.

View file

@ -1,5 +1,6 @@
import CryptoJS from 'crypto-js';
import Utils from '../core/Utils'; import Utils from '../core/Utils';
import Checksum from './Checksum';
/** /**

View file

@ -94,7 +94,7 @@ const Hexdump = {
const w = (width - 13) / 4; const w = (width - 13) / 4;
// w should be the specified width of the hexdump and therefore a round number // w should be the specified width of the hexdump and therefore a round number
if (Math.floor(w) != w || input.indexOf('\r') != -1 || output.indexOf(13) != -1) { if (Math.floor(w) != w || input.indexOf('\r') != -1 || output.indexOf(13) != -1) {
app.options.attempt_highlight = false; window.app.options.attempt_highlight = false;
} }
return output; return output;
}, },

View file

@ -1,7 +1,7 @@
import { BigInteger } from 'jsrsasign';
import Utils from '../core/Utils'; import Utils from '../core/Utils';
/** /**
* Internet Protocol address operations. * Internet Protocol address operations.
* *

View file

@ -1,4 +1,6 @@
import esprima from 'esprima';
import escodegen from 'escodegen';
import esmangle from 'esmangle';
/** /**
* JavaScript operations. * JavaScript operations.

View file

@ -1,5 +1,5 @@
import Utils from '../core/Utils'; import Utils from '../core/Utils';
import { X509, KJUR, ASN1HEX, BigInteger, KEYUTIL } from 'jsrsasign';
/** /**

View file

@ -1,4 +1,4 @@
import punycode from '../lib/punycode';
/** /**
* Punycode operations. * Punycode operations.

View file

@ -1,4 +1,5 @@
import Utils from '../core/Utils'; import Utils from '../core/Utils';
import JsDiff from '../lib/diff';

View file

@ -5,8 +5,7 @@ import Chef from '../../core/Chef';
import Manager from './Manager'; import Manager from './Manager';
import HTMLCategory from './HTMLCategory'; import HTMLCategory from './HTMLCategory';
import HTMLOperation from './HTMLOperation'; import HTMLOperation from './HTMLOperation';
import Split from 'split.js';
/** /**

View file

@ -20,7 +20,7 @@ import OptionsWaiter from './OptionsWaiter';
* @constructor * @constructor
* @param {HTMLApp} app - The main view object for CyberChef. * @param {HTMLApp} app - The main view object for CyberChef.
*/ */
const Manager = function (app) { export default function Manager(app) {
this.app = app; this.app = app;
// Define custom events // Define custom events
@ -60,7 +60,7 @@ const Manager = function (app) {
this.dynamic_handlers = {}; this.dynamic_handlers = {};
this.initialise_event_listeners(); this.initialise_event_listeners();
}; }
/** /**

View file

@ -1,5 +1,6 @@
import $ from 'jquery'; import $ from 'jquery';
import HTMLOperation from './HTMLOperation'; import HTMLOperation from './HTMLOperation';
import Sortable from '../../lib/Sortable';

View file

@ -1,5 +1,6 @@
import $ from 'jquery'; import $ from 'jquery';
import HTMLOperation from './HTMLOperation'; import HTMLOperation from './HTMLOperation';
import Sortable from '../../lib/Sortable';
/** /**

View file

@ -1,7 +1,8 @@
import moment from 'moment';
import HTMLApp from './HTMLApp'; import HTMLApp from './HTMLApp';
import Categories from '../../config/Categories'; import Categories from '../../config/Categories';
import OperationConfig from '../../config/OperationConfig'; import OperationConfig from '../../config/OperationConfig';
import Split from '../../lib/split';
/** /**
* @author n1474335 [n1474335@gmail.com] * @author n1474335 [n1474335@gmail.com]
@ -46,7 +47,7 @@ const main = function () {
// Fix issues with browsers that don't support console.log() // Fix issues with browsers that don't support console.log()
window.console = console || { log() {}, error() {} }; window.console = console || { log() {}, error() {} };
window.compile_time = moment.tz('<%= grunt.template.today() %>', 'ddd MMM D YYYY HH:mm:ss', 'UTC').valueOf(); window.compile_time = moment(COMPILE_TIME).valueOf();
window.compile_message = '<%= compile_msg %>'; window.compile_message = '';
document.addEventListener('DOMContentLoaded', main, false); document.addEventListener('DOMContentLoaded', main, false);

View file

@ -1,8 +1,10 @@
import path from 'path'; import path from 'path';
import webpack from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin'; import HtmlWebpackPlugin from 'html-webpack-plugin';
import ExtractTextPlugin from 'extract-text-webpack-plugin'; import ExtractTextPlugin from 'extract-text-webpack-plugin';
const imageLoader = 'file-loader?name=img/[name]-[sha512:hash:base64:7].[ext]';
const fontLoader = 'file-loader?name=fnt/[name]-[sha512:hash:base64:7].[ext]'; const fontLoader = 'file-loader?name=fnt/[name]-[sha512:hash:base64:7].[ext]';
function getCssOptions(target) { function getCssOptions(target) {
@ -105,6 +107,23 @@ export default {
test: /\.svg(\?[^/]*)?$/, test: /\.svg(\?[^/]*)?$/,
loader: fontLoader, loader: fontLoader,
}, },
{
include: require.resolve('bootstrap/js/collapse'),
loader: 'imports-loader?jQuery=jquery',
},
{
include: require.resolve('bootstrap/js/modal'),
loader: 'imports-loader?jQuery=jquery',
},
{
include: require.resolve('bootstrap/js/tooltip'),
loader: 'imports-loader?jQuery=jquery',
},
{
include: require.resolve('bootstrap/js/popover'),
loader: 'imports-loader?jQuery=jquery',
},
{ test: /\.(png|jpg|jpeg|gif|ico)$/, loader: imageLoader },
].concat(cssConfig.loaders), ].concat(cssConfig.loaders),
}, },
plugins: [ plugins: [
@ -114,5 +133,11 @@ export default {
filename: 'index.html', filename: 'index.html',
compileTime: new Date().toISOString(), compileTime: new Date().toISOString(),
}), }),
new webpack.ProvidePlugin({
'window.jQuery': 'jquery',
}),
new webpack.DefinePlugin({
COMPILE_TIME: JSON.stringify(new Date()),
})
], ],
}; };

169
yarn.lock
View file

@ -743,6 +743,16 @@ boom@2.x.x:
dependencies: dependencies:
hoek "2.x.x" hoek "2.x.x"
bootstrap-switch@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/bootstrap-switch/-/bootstrap-switch-3.3.2.tgz#79ddb49fadc308fb731e257f95957af48996eea7"
dependencies:
jquery ">=1.9.0"
bootstrap@^3.3.7:
version "3.3.7"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-3.3.7.tgz#5a389394549f23330875a3b150656574f8a9eb71"
brace-expansion@^1.0.0: brace-expansion@^1.0.0:
version "1.1.6" version "1.1.6"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9"
@ -1237,6 +1247,10 @@ crypto-browserify@^3.11.0:
public-encrypt "^4.0.0" public-encrypt "^4.0.0"
randombytes "^2.0.0" randombytes "^2.0.0"
crypto-js@^3.1.8:
version "3.1.8"
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.8.tgz#715f070bf6014f2ae992a98b3929258b713f08d5"
css-color-names@0.0.4: css-color-names@0.0.4:
version "0.0.4" version "0.0.4"
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0"
@ -1386,7 +1400,7 @@ deep-extend@~0.4.0:
version "0.4.1" version "0.4.1"
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253"
deep-is@~0.1.3: deep-is@~0.1.2, deep-is@~0.1.3:
version "0.1.3" version "0.1.3"
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
@ -1626,6 +1640,27 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5, escape-string-regexp@~
version "1.0.5" version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
escodegen@^1.8.1:
version "1.8.1"
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.8.1.tgz#5a5b53af4693110bebb0867aa3430dd3b70a1018"
dependencies:
esprima "^2.7.1"
estraverse "^1.9.1"
esutils "^2.0.2"
optionator "^0.8.1"
optionalDependencies:
source-map "~0.2.0"
escodegen@~1.3.2:
version "1.3.3"
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.3.3.tgz#f024016f5a88e046fd12005055e939802e6c5f23"
dependencies:
esprima "~1.1.1"
estraverse "~1.5.0"
esutils "~1.0.0"
optionalDependencies:
source-map "~0.1.33"
escope@^3.6.0: escope@^3.6.0:
version "3.6.0" version "3.6.0"
resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3" resolved "https://registry.yarnpkg.com/escope/-/escope-3.6.0.tgz#e01975e812781a163a6dadfdd80398dc64c889c3"
@ -1635,6 +1670,12 @@ escope@^3.6.0:
esrecurse "^4.1.0" esrecurse "^4.1.0"
estraverse "^4.1.1" estraverse "^4.1.1"
escope@~1.0.1:
version "1.0.3"
resolved "https://registry.yarnpkg.com/escope/-/escope-1.0.3.tgz#759dce8496c4248fec2d0caaf4108bcf3f1a7f5d"
dependencies:
estraverse "^2.0.0"
eslint-config-airbnb-base@^10.0.1: eslint-config-airbnb-base@^10.0.1:
version "10.0.1" version "10.0.1"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-10.0.1.tgz#f17d4e52992c1d45d1b7713efbcd5ecd0e7e0506" resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-10.0.1.tgz#f17d4e52992c1d45d1b7713efbcd5ecd0e7e0506"
@ -1712,6 +1753,19 @@ eslint@^3.11.1:
text-table "~0.2.0" text-table "~0.2.0"
user-home "^2.0.0" user-home "^2.0.0"
esmangle@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/esmangle/-/esmangle-1.0.1.tgz#d9bb37b8f8eafbf4e6d4ed6b7aa2956abbd3c4c2"
dependencies:
escodegen "~1.3.2"
escope "~1.0.1"
esprima "~1.1.1"
esshorten "~1.1.0"
estraverse "~1.5.0"
esutils "~ 1.0.0"
optionator "~0.3.0"
source-map "~0.1.33"
espree@^3.3.1: espree@^3.3.1:
version "3.3.2" version "3.3.2"
resolved "https://registry.yarnpkg.com/espree/-/espree-3.3.2.tgz#dbf3fadeb4ecb4d4778303e50103b3d36c88b89c" resolved "https://registry.yarnpkg.com/espree/-/espree-3.3.2.tgz#dbf3fadeb4ecb4d4778303e50103b3d36c88b89c"
@ -1726,7 +1780,7 @@ espree@~3.1.7:
acorn "^3.3.0" acorn "^3.3.0"
acorn-jsx "^3.0.0" acorn-jsx "^3.0.0"
esprima@^2.6.0: esprima@^2.6.0, esprima@^2.7.1:
version "2.7.3" version "2.7.3"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
@ -1738,6 +1792,10 @@ esprima@^3.1.2:
version "1.0.4" version "1.0.4"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-1.0.4.tgz#9f557e08fc3b4d26ece9dd34f8fbf476b62585ad" resolved "https://registry.yarnpkg.com/esprima/-/esprima-1.0.4.tgz#9f557e08fc3b4d26ece9dd34f8fbf476b62585ad"
esprima@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-1.1.1.tgz#5b6f1547f4d102e670e140c509be6771d6aeb549"
esrecurse@^4.1.0: esrecurse@^4.1.0:
version "4.1.0" version "4.1.0"
resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.1.0.tgz#4713b6536adf7f2ac4f327d559e7756bff648220" resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.1.0.tgz#4713b6536adf7f2ac4f327d559e7756bff648220"
@ -1745,18 +1803,42 @@ esrecurse@^4.1.0:
estraverse "~4.1.0" estraverse "~4.1.0"
object-assign "^4.0.1" object-assign "^4.0.1"
esshorten@~1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/esshorten/-/esshorten-1.1.1.tgz#174f96b7cc267e46872d814e7db7c290bdff61a9"
dependencies:
escope "~1.0.1"
estraverse "~4.1.1"
esutils "~2.0.2"
estraverse@^1.9.1:
version "1.9.3"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44"
estraverse@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-2.0.0.tgz#5ae46963243600206674ccb24a09e16674fcdca1"
estraverse@^4.1.1, estraverse@^4.2.0: estraverse@^4.1.1, estraverse@^4.2.0:
version "4.2.0" version "4.2.0"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13"
estraverse@~4.1.0: estraverse@~1.5.0:
version "1.5.1"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.5.1.tgz#867a3e8e58a9f84618afb6c2ddbcd916b7cbaf71"
estraverse@~4.1.0, estraverse@~4.1.1:
version "4.1.1" version "4.1.1"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.1.1.tgz#f6caca728933a850ef90661d0e17982ba47111a2" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.1.1.tgz#f6caca728933a850ef90661d0e17982ba47111a2"
esutils@^2.0.2: esutils@^2.0.2, esutils@~2.0.2:
version "2.0.2" version "2.0.2"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
"esutils@~ 1.0.0", esutils@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-1.0.0.tgz#8151d358e20c8acc7fb745e7472c0025fe496570"
etag@~1.7.0: etag@~1.7.0:
version "1.7.0" version "1.7.0"
resolved "https://registry.yarnpkg.com/etag/-/etag-1.7.0.tgz#03d30b5f67dd6e632d2945d30d6652731a34d5d8" resolved "https://registry.yarnpkg.com/etag/-/etag-1.7.0.tgz#03d30b5f67dd6e632d2945d30d6652731a34d5d8"
@ -1865,6 +1947,10 @@ extsprintf@1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550"
fast-levenshtein@~1.0.0:
version "1.0.7"
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-1.0.7.tgz#0178dcdee023b92905193af0959e8a7639cfdcb9"
fast-levenshtein@~2.0.4: fast-levenshtein@~2.0.4:
version "2.0.5" version "2.0.5"
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.5.tgz#bd33145744519ab1c36c3ee9f31f08e9079b67f2" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.5.tgz#bd33145744519ab1c36c3ee9f31f08e9079b67f2"
@ -2144,6 +2230,10 @@ globule@~0.1.0:
lodash "~1.0.1" lodash "~1.0.1"
minimatch "~0.2.11" minimatch "~0.2.11"
google-code-prettify@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/google-code-prettify/-/google-code-prettify-1.0.5.tgz#9f477f224dbfa62372e5ef803a7e157410400084"
graceful-fs@^4.1.2, graceful-fs@^4.1.9: graceful-fs@^4.1.2, graceful-fs@^4.1.9:
version "4.1.11" version "4.1.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
@ -2527,6 +2617,13 @@ ignore@^3.2.0:
version "3.2.0" version "3.2.0"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.2.0.tgz#8d88f03c3002a0ac52114db25d2c673b0bf1e435" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.2.0.tgz#8d88f03c3002a0ac52114db25d2c673b0bf1e435"
imports-loader@^0.6.5:
version "0.6.5"
resolved "https://registry.yarnpkg.com/imports-loader/-/imports-loader-0.6.5.tgz#ae74653031d59e37b3c2fb2544ac61aeae3530a6"
dependencies:
loader-utils "0.2.x"
source-map "0.1.x"
imurmurhash@^0.1.4: imurmurhash@^0.1.4:
version "0.1.4" version "0.1.4"
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@ -2788,7 +2885,7 @@ jodid25519@^1.0.0:
dependencies: dependencies:
jsbn "~0.1.0" jsbn "~0.1.0"
jquery@^3.1.1: jquery@>=1.9.0, jquery@^3.1.1:
version "3.1.1" version "3.1.1"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.1.1.tgz#347c1c21c7e004115e0a4da32cece041fad3c8a3" resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.1.1.tgz#347c1c21c7e004115e0a4da32cece041fad3c8a3"
@ -2902,6 +2999,10 @@ jsprim@^1.2.2:
json-schema "0.2.3" json-schema "0.2.3"
verror "1.3.6" verror "1.3.6"
jsrsasign@^6.2.2:
version "6.2.2"
resolved "https://registry.yarnpkg.com/jsrsasign/-/jsrsasign-6.2.2.tgz#84a0f85ba4aac7a79c358badb26ed99913172dbc"
kind-of@^3.0.2: kind-of@^3.0.2:
version "3.0.4" version "3.0.4"
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.0.4.tgz#7b8ecf18a4e17f8269d73b501c9f232c96887a74" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.0.4.tgz#7b8ecf18a4e17f8269d73b501c9f232c96887a74"
@ -2931,6 +3032,13 @@ levn@^0.3.0, levn@~0.3.0:
prelude-ls "~1.1.2" prelude-ls "~1.1.2"
type-check "~0.3.2" type-check "~0.3.2"
levn@~0.2.4:
version "0.2.5"
resolved "https://registry.yarnpkg.com/levn/-/levn-0.2.5.tgz#ba8d339d0ca4a610e3a3f145b9caf48807155054"
dependencies:
prelude-ls "~1.1.0"
type-check "~0.3.1"
load-json-file@^1.0.0: load-json-file@^1.0.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0"
@ -2945,7 +3053,7 @@ loader-runner@^2.2.0:
version "2.2.0" version "2.2.0"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.2.0.tgz#824c1b699c4e7a2b6501b85902d5b862bf45b3fa" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.2.0.tgz#824c1b699c4e7a2b6501b85902d5b862bf45b3fa"
loader-utils@^0.2.11, loader-utils@^0.2.16, loader-utils@^0.2.3, loader-utils@^0.2.7, loader-utils@~0.2.2, loader-utils@~0.2.5: loader-utils@0.2.x, loader-utils@^0.2.11, loader-utils@^0.2.16, loader-utils@^0.2.3, loader-utils@^0.2.7, loader-utils@~0.2.2, loader-utils@~0.2.5:
version "0.2.16" version "0.2.16"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.16.tgz#f08632066ed8282835dff88dfb52704765adee6d" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.16.tgz#f08632066ed8282835dff88dfb52704765adee6d"
dependencies: dependencies:
@ -3214,6 +3322,10 @@ no-case@^2.2.0:
dependencies: dependencies:
lower-case "^1.1.1" lower-case "^1.1.1"
node-bzip@^0.0.1-2:
version "0.0.1-2"
resolved "https://registry.yarnpkg.com/node-bzip/-/node-bzip-0.0.1-2.tgz#7d1ff6985448f66d0ad0f51b367befb8cdba51c0"
node-libs-browser@^1.0.0: node-libs-browser@^1.0.0:
version "1.1.1" version "1.1.1"
resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-1.1.1.tgz#2a38243abedd7dffcd07a97c9aca5668975a6fea" resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-1.1.1.tgz#2a38243abedd7dffcd07a97c9aca5668975a6fea"
@ -3387,7 +3499,7 @@ optimist@~0.3.5:
dependencies: dependencies:
wordwrap "~0.0.2" wordwrap "~0.0.2"
optionator@^0.8.2: optionator@^0.8.1, optionator@^0.8.2:
version "0.8.2" version "0.8.2"
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64"
dependencies: dependencies:
@ -3398,6 +3510,17 @@ optionator@^0.8.2:
type-check "~0.3.2" type-check "~0.3.2"
wordwrap "~1.0.0" wordwrap "~1.0.0"
optionator@~0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.3.0.tgz#9715a8b5f5e7586cff06c8249e039cd7364d3f54"
dependencies:
deep-is "~0.1.2"
fast-levenshtein "~1.0.0"
levn "~0.2.4"
prelude-ls "~1.1.0"
type-check "~0.3.1"
wordwrap "~0.0.2"
original@>=0.0.5: original@>=0.0.5:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/original/-/original-1.0.0.tgz#9147f93fa1696d04be61e01bd50baeaca656bd3b" resolved "https://registry.yarnpkg.com/original/-/original-1.0.0.tgz#9147f93fa1696d04be61e01bd50baeaca656bd3b"
@ -3789,7 +3912,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
source-map "^0.5.6" source-map "^0.5.6"
supports-color "^3.1.2" supports-color "^3.1.2"
prelude-ls@~1.1.2: prelude-ls@~1.1.0, prelude-ls@~1.1.2:
version "1.1.2" version "1.1.2"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
@ -4320,6 +4443,10 @@ signal-exit@^3.0.0:
version "3.0.1" version "3.0.1"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.1.tgz#5a4c884992b63a7acd9badb7894c3ee9cfccad81" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.1.tgz#5a4c884992b63a7acd9badb7894c3ee9cfccad81"
sladex-blowfish@^0.8.1:
version "0.8.1"
resolved "https://registry.yarnpkg.com/sladex-blowfish/-/sladex-blowfish-0.8.1.tgz#cb8df50eb6bbb0981c8428c6ce5e81f07e6466b1"
slash@^1.0.0: slash@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
@ -4374,6 +4501,12 @@ source-map-support@^0.4.2:
dependencies: dependencies:
source-map "^0.5.3" source-map "^0.5.3"
source-map@0.1.x, source-map@~0.1.33, source-map@~0.1.7:
version "0.1.43"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346"
dependencies:
amdefine ">=0.0.4"
source-map@0.4.x: source-map@0.4.x:
version "0.4.4" version "0.4.4"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b"
@ -4384,9 +4517,9 @@ source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1, sour
version "0.5.6" version "0.5.6"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
source-map@~0.1.7: source-map@~0.2.0:
version "0.1.43" version "0.2.0"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d"
dependencies: dependencies:
amdefine ">=0.0.4" amdefine ">=0.0.4"
@ -4424,6 +4557,10 @@ spdy@^3.4.1:
select-hose "^2.0.0" select-hose "^2.0.0"
spdy-transport "^2.0.15" spdy-transport "^2.0.15"
split.js@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/split.js/-/split.js-1.1.1.tgz#81a039050cf108d297fbdf6b571a0f087ec6c7a7"
sprintf-js@~1.0.2: sprintf-js@~1.0.2:
version "1.0.3" version "1.0.3"
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
@ -4668,7 +4805,7 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0:
version "0.14.3" version "0.14.3"
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.3.tgz#3da382f670f25ded78d7b3d1792119bca0b7132d" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.3.tgz#3da382f670f25ded78d7b3d1792119bca0b7132d"
type-check@~0.3.2: type-check@~0.3.1, type-check@~0.3.2:
version "0.3.2" version "0.3.2"
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72"
dependencies: dependencies:
@ -4860,6 +4997,10 @@ verror@1.3.6:
dependencies: dependencies:
extsprintf "1.0.2" extsprintf "1.0.2"
vkbeautify@^0.99.1:
version "0.99.1"
resolved "https://registry.yarnpkg.com/vkbeautify/-/vkbeautify-0.99.1.tgz#203f69e07facc04f3cfdafaa0525f865aa7d3fe1"
vm-browserify@0.0.4: vm-browserify@0.0.4:
version "0.0.4" version "0.0.4"
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73"
@ -5049,3 +5190,7 @@ yargs@~3.10.0:
cliui "^2.1.0" cliui "^2.1.0"
decamelize "^1.0.0" decamelize "^1.0.0"
window-size "0.1.0" window-size "0.1.0"
zlibjs@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/zlibjs/-/zlibjs-0.2.0.tgz#ae20f06243293d85c255563189f9b12f5b3ba1a0"