'
- *
- * // using the "escape" delimiter to escape HTML in data property values
- * _.template('<%- value %>', { 'value': '
-
-
-
-## Documentation
-
-### Collections
-
-* [forEach](#forEach)
-* [map](#map)
-* [filter](#filter)
-* [reject](#reject)
-* [reduce](#reduce)
-* [detect](#detect)
-* [sortBy](#sortBy)
-* [some](#some)
-* [every](#every)
-* [concat](#concat)
-
-### Flow Control
-
-* [series](#series)
-* [parallel](#parallel)
-* [whilst](#whilst)
-* [until](#until)
-* [waterfall](#waterfall)
-* [queue](#queue)
-* [auto](#auto)
-* [iterator](#iterator)
-* [apply](#apply)
-* [nextTick](#nextTick)
-
-### Utils
-
-* [memoize](#memoize)
-* [log](#log)
-* [dir](#dir)
-* [noConflict](#noConflict)
-
-
-## Collections
-
-
-### forEach(arr, iterator, callback)
-
-Applies an iterator function to each item in an array, in parallel.
-The iterator is called with an item from the list and a callback for when it
-has finished. If the iterator passes an error to this callback, the main
-callback for the forEach function is immediately called with the error.
-
-Note, that since this function applies the iterator to each item in parallel
-there is no guarantee that the iterator functions will complete in order.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(err) - A callback which is called after all the iterator functions
- have finished, or an error has occurred.
-
-__Example__
-
- // assuming openFiles is an array of file names and saveFile is a function
- // to save the modified contents of that file:
-
- async.forEach(openFiles, saveFile, function(err){
- // if any of the saves produced an error, err would equal that error
- });
-
----------------------------------------
-
-
-### forEachSeries(arr, iterator, callback)
-
-The same as forEach only the iterator is applied to each item in the array in
-series. The next iterator is only called once the current one has completed
-processing. This means the iterator functions will complete in order.
-
-
----------------------------------------
-
-
-### map(arr, iterator, callback)
-
-Produces a new array of values by mapping each value in the given array through
-the iterator function. The iterator is called with an item from the array and a
-callback for when it has finished processing. The callback takes 2 arguments,
-an error and the transformed item from the array. If the iterator passes an
-error to this callback, the main callback for the map function is immediately
-called with the error.
-
-Note, that since this function applies the iterator to each item in parallel
-there is no guarantee that the iterator functions will complete in order, however
-the results array will be in the same order as the original array.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed
- with an error (which can be null) and a transformed item.
-* callback(err, results) - A callback which is called after all the iterator
- functions have finished, or an error has occurred. Results is an array of the
- transformed items from the original array.
-
-__Example__
-
- async.map(['file1','file2','file3'], fs.stat, function(err, results){
- // results is now an array of stats for each file
- });
-
----------------------------------------
-
-
-### mapSeries(arr, iterator, callback)
-
-The same as map only the iterator is applied to each item in the array in
-series. The next iterator is only called once the current one has completed
-processing. The results array will be in the same order as the original.
-
-
----------------------------------------
-
-
-### filter(arr, iterator, callback)
-
-__Alias:__ select
-
-Returns a new array of all the values which pass an async truth test.
-_The callback for each iterator call only accepts a single argument of true or
-false, it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like path.exists. This operation is
-performed in parallel, but the results array will be in the same order as the
-original.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(results) - A callback which is called after all the iterator
- functions have finished.
-
-__Example__
-
- async.filter(['file1','file2','file3'], path.exists, function(results){
- // results now equals an array of the existing files
- });
-
----------------------------------------
-
-
-### filterSeries(arr, iterator, callback)
-
-__alias:__ selectSeries
-
-The same as filter only the iterator is applied to each item in the array in
-series. The next iterator is only called once the current one has completed
-processing. The results array will be in the same order as the original.
-
----------------------------------------
-
-
-### reject(arr, iterator, callback)
-
-The opposite of filter. Removes values that pass an async truth test.
-
----------------------------------------
-
-
-### rejectSeries(arr, iterator, callback)
-
-The same as filter, only the iterator is applied to each item in the array
-in series.
-
-
----------------------------------------
-
-
-### reduce(arr, memo, iterator, callback)
-
-__aliases:__ inject, foldl
-
-Reduces a list of values into a single value using an async iterator to return
-each successive step. Memo is the initial state of the reduction. This
-function only operates in series. For performance reasons, it may make sense to
-split a call to this function into a parallel map, then use the normal
-Array.prototype.reduce on the results. This function is for situations where
-each step in the reduction needs to be async, if you can get the data before
-reducing it then its probably a good idea to do so.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* memo - The initial state of the reduction.
-* iterator(memo, item, callback) - A function applied to each item in the
- array to produce the next step in the reduction. The iterator is passed a
- callback which accepts an optional error as its first argument, and the state
- of the reduction as the second. If an error is passed to the callback, the
- reduction is stopped and the main callback is immediately called with the
- error.
-* callback(err, result) - A callback which is called after all the iterator
- functions have finished. Result is the reduced value.
-
-__Example__
-
- async.reduce([1,2,3], 0, function(memo, item, callback){
- // pointless async:
- process.nextTick(function(){
- callback(null, memo + item)
- });
- }, function(err, result){
- // result is now equal to the last value of memo, which is 6
- });
-
----------------------------------------
-
-
-### reduceRight(arr, memo, iterator, callback)
-
-__Alias:__ foldr
-
-Same as reduce, only operates on the items in the array in reverse order.
-
-
----------------------------------------
-
-
-### detect(arr, iterator, callback)
-
-Returns the first value in a list that passes an async truth test. The
-iterator is applied in parallel, meaning the first iterator to return true will
-fire the detect callback with that result. That means the result might not be
-the first item in the original array (in terms of order) that passes the test.
-
-If order within the original array is important then look at detectSeries.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(result) - A callback which is called as soon as any iterator returns
- true, or after all the iterator functions have finished. Result will be
- the first item in the array that passes the truth test (iterator) or the
- value undefined if none passed.
-
-__Example__
-
- async.detect(['file1','file2','file3'], path.exists, function(result){
- // result now equals the first file in the list that exists
- });
-
----------------------------------------
-
-
-### detectSeries(arr, iterator, callback)
-
-The same as detect, only the iterator is applied to each item in the array
-in series. This means the result is always the first in the original array (in
-terms of array order) that passes the truth test.
-
-
----------------------------------------
-
-
-### sortBy(arr, iterator, callback)
-
-Sorts a list by the results of running each value through an async iterator.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed
- with an error (which can be null) and a value to use as the sort criteria.
-* callback(err, results) - A callback which is called after all the iterator
- functions have finished, or an error has occurred. Results is the items from
- the original array sorted by the values returned by the iterator calls.
-
-__Example__
-
- async.sortBy(['file1','file2','file3'], function(file, callback){
- fs.stat(file, function(err, stats){
- callback(err, stats.mtime);
- });
- }, function(err, results){
- // results is now the original array of files sorted by
- // modified date
- });
-
-
----------------------------------------
-
-
-### some(arr, iterator, callback)
-
-__Alias:__ any
-
-Returns true if at least one element in the array satisfies an async test.
-_The callback for each iterator call only accepts a single argument of true or
-false, it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like path.exists. Once any iterator
-call returns true, the main callback is immediately called.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(result) - A callback which is called as soon as any iterator returns
- true, or after all the iterator functions have finished. Result will be
- either true or false depending on the values of the async tests.
-
-__Example__
-
- async.some(['file1','file2','file3'], path.exists, function(result){
- // if result is true then at least one of the files exists
- });
-
----------------------------------------
-
-
-### every(arr, iterator, callback)
-
-__Alias:__ all
-
-Returns true if every element in the array satisfies an async test.
-_The callback for each iterator call only accepts a single argument of true or
-false, it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like path.exists.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(result) - A callback which is called after all the iterator
- functions have finished. Result will be either true or false depending on
- the values of the async tests.
-
-__Example__
-
- async.every(['file1','file2','file3'], path.exists, function(result){
- // if result is true then every file exists
- });
-
----------------------------------------
-
-
-### concat(arr, iterator, callback)
-
-Applies an iterator to each item in a list, concatenating the results. Returns the
-concatenated list. The iterators are called in parallel, and the results are
-concatenated as they return. There is no guarantee that the results array will
-be returned in the original order of the arguments passed to the iterator function.
-
-__Arguments__
-
-* arr - An array to iterate over
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed
- with an error (which can be null) and an array of results.
-* callback(err, results) - A callback which is called after all the iterator
- functions have finished, or an error has occurred. Results is an array containing
- the concatenated results of the iterator function.
-
-__Example__
-
- async.concat(['dir1','dir2','dir3'], fs.readdir, function(err, files){
- // files is now a list of filenames that exist in the 3 directories
- });
-
----------------------------------------
-
-
-### concatSeries(arr, iterator, callback)
-
-Same as async.concat, but executes in series instead of parallel.
-
-
-## Flow Control
-
-
-### series(tasks, [callback])
-
-Run an array of functions in series, each one running once the previous
-function has completed. If any functions in the series pass an error to its
-callback, no more functions are run and the callback for the series is
-immediately called with the value of the error. Once the tasks have completed,
-the results are passed to the final callback as an array.
-
-It is also possible to use an object instead of an array. Each property will be
-run as a function and the results will be passed to the final callback as an object
-instead of an array. This can be a more readable way of handling results from
-async.series.
-
-
-__Arguments__
-
-* tasks - An array or object containing functions to run, each function is passed
- a callback it must call on completion.
-* callback(err, results) - An optional callback to run once all the functions
- have completed. This function gets an array of all the arguments passed to
- the callbacks used in the array.
-
-__Example__
-
- async.series([
- function(callback){
- // do some stuff ...
- callback(null, 'one');
- },
- function(callback){
- // do some more stuff ...
- callback(null, 'two');
- },
- ],
- // optional callback
- function(err, results){
- // results is now equal to ['one', 'two']
- });
-
-
- // an example using an object instead of an array
- async.series({
- one: function(callback){
- setTimeout(function(){
- callback(null, 1);
- }, 200);
- },
- two: function(callback){
- setTimeout(function(){
- callback(null, 2);
- }, 100);
- },
- },
- function(err, results) {
- // results is now equals to: {one: 1, two: 2}
- });
-
-
----------------------------------------
-
-
-### parallel(tasks, [callback])
-
-Run an array of functions in parallel, without waiting until the previous
-function has completed. If any of the functions pass an error to its
-callback, the main callback is immediately called with the value of the error.
-Once the tasks have completed, the results are passed to the final callback as an
-array.
-
-It is also possible to use an object instead of an array. Each property will be
-run as a function and the results will be passed to the final callback as an object
-instead of an array. This can be a more readable way of handling results from
-async.parallel.
-
-
-__Arguments__
-
-* tasks - An array or object containing functions to run, each function is passed a
- callback it must call on completion.
-* callback(err, results) - An optional callback to run once all the functions
- have completed. This function gets an array of all the arguments passed to
- the callbacks used in the array.
-
-__Example__
-
- async.parallel([
- function(callback){
- setTimeout(function(){
- callback(null, 'one');
- }, 200);
- },
- function(callback){
- setTimeout(function(){
- callback(null, 'two');
- }, 100);
- },
- ],
- // optional callback
- function(err, results){
- // in this case, the results array will equal ['two','one']
- // because the functions were run in parallel and the second
- // function had a shorter timeout before calling the callback.
- });
-
-
- // an example using an object instead of an array
- async.parallel({
- one: function(callback){
- setTimeout(function(){
- callback(null, 1);
- }, 200);
- },
- two: function(callback){
- setTimeout(function(){
- callback(null, 2);
- }, 100);
- },
- },
- function(err, results) {
- // results is now equals to: {one: 1, two: 2}
- });
-
-
----------------------------------------
-
-
-### whilst(test, fn, callback)
-
-Repeatedly call fn, while test returns true. Calls the callback when stopped,
-or an error occurs.
-
-__Arguments__
-
-* test() - synchronous truth test to perform before each execution of fn.
-* fn(callback) - A function to call each time the test passes. The function is
- passed a callback which must be called once it has completed with an optional
- error as the first argument.
-* callback(err) - A callback which is called after the test fails and repeated
- execution of fn has stopped.
-
-__Example__
-
- var count = 0;
-
- async.whilst(
- function () { return count < 5; },
- function (callback) {
- count++;
- setTimeout(callback, 1000);
- },
- function (err) {
- // 5 seconds have passed
- }
- });
-
-
----------------------------------------
-
-
-### until(test, fn, callback)
-
-Repeatedly call fn, until test returns true. Calls the callback when stopped,
-or an error occurs.
-
-The inverse of async.whilst.
-
-
----------------------------------------
-
-
-### waterfall(tasks, [callback])
-
-Runs an array of functions in series, each passing their results to the next in
-the array. However, if any of the functions pass an error to the callback, the
-next function is not executed and the main callback is immediately called with
-the error.
-
-__Arguments__
-
-* tasks - An array of functions to run, each function is passed a callback it
- must call on completion.
-* callback(err) - An optional callback to run once all the functions have
- completed. This function gets passed any error that may have occurred.
-
-__Example__
-
- async.waterfall([
- function(callback){
- callback(null, 'one', 'two');
- },
- function(arg1, arg2, callback){
- callback(null, 'three');
- },
- function(arg1, callback){
- // arg1 now equals 'three'
- callback(null, 'done');
- }
- ]);
-
-
----------------------------------------
-
-
-### queue(worker, concurrency)
-
-Creates a queue object with the specified concurrency. Tasks added to the
-queue will be processed in parallel (up to the concurrency limit). If all
-workers are in progress, the task is queued until one is available. Once
-a worker has completed a task, the task's callback is called.
-
-__Arguments__
-
-* worker(task, callback) - An asynchronous function for processing a queued
- task.
-* concurrency - An integer for determining how many worker functions should be
- run in parallel.
-
-__Queue objects__
-
-The queue object returned by this function has the following properties and
-methods:
-
-* length() - a function returning the number of items waiting to be processed.
-* concurrency - an integer for determining how many worker functions should be
- run in parallel. This property can be changed after a queue is created to
- alter the concurrency on-the-fly.
-* push(task, [callback]) - add a new task to the queue, the callback is called
- once the worker has finished processing the task.
-* saturated - a callback that is called when the queue length hits the concurrency and further tasks will be queued
-* empty - a callback that is called when the last item from the queue is given to a worker
-* drain - a callback that is called when the last item from the queue has returned from the worker
-
-__Example__
-
- // create a queue object with concurrency 2
-
- var q = async.queue(function (task, callback) {
- console.log('hello ' + task.name).
- callback();
- }, 2);
-
-
- // assign a callback
- q.drain = function() {
- console.log('all items have been processed');
- }
-
- // add some items to the queue
-
- q.push({name: 'foo'}, function (err) {
- console.log('finished processing foo');
- });
- q.push({name: 'bar'}, function (err) {
- console.log('finished processing bar');
- });
-
-
----------------------------------------
-
-
-### auto(tasks, [callback])
-
-Determines the best order for running functions based on their requirements.
-Each function can optionally depend on other functions being completed first,
-and each function is run as soon as its requirements are satisfied. If any of
-the functions pass and error to their callback, that function will not complete
-(so any other functions depending on it will not run) and the main callback
-will be called immediately with the error.
-
-__Arguments__
-
-* tasks - An object literal containing named functions or an array of
- requirements, with the function itself the last item in the array. The key
- used for each function or array is used when specifying requirements. The
- syntax is easier to understand by looking at the example.
-* callback(err) - An optional callback which is called when all the tasks have
- been completed. The callback may receive an error as an argument.
-
-__Example__
-
- async.auto({
- get_data: function(callback){
- // async code to get some data
- },
- make_folder: function(callback){
- // async code to create a directory to store a file in
- // this is run at the same time as getting the data
- },
- write_file: ['get_data', 'make_folder', function(callback){
- // once there is some data and the directory exists,
- // write the data to a file in the directory
- }],
- email_link: ['write_file', function(callback){
- // once the file is written let's email a link to it...
- }]
- });
-
-This is a fairly trivial example, but to do this using the basic parallel and
-series functions would look like this:
-
- async.parallel([
- function(callback){
- // async code to get some data
- },
- function(callback){
- // async code to create a directory to store a file in
- // this is run at the same time as getting the data
- }
- ],
- function(results){
- async.series([
- function(callback){
- // once there is some data and the directory exists,
- // write the data to a file in the directory
- },
- email_link: ['write_file', function(callback){
- // once the file is written let's email a link to it...
- }
- ]);
- });
-
-For a complicated series of async tasks using the auto function makes adding
-new tasks much easier and makes the code more readable.
-
-
----------------------------------------
-
-
-### iterator(tasks)
-
-Creates an iterator function which calls the next function in the array,
-returning a continuation to call the next one after that. Its also possible to
-'peek' the next iterator by doing iterator.next().
-
-This function is used internally by the async module but can be useful when
-you want to manually control the flow of functions in series.
-
-__Arguments__
-
-* tasks - An array of functions to run, each function is passed a callback it
- must call on completion.
-
-__Example__
-
- var iterator = async.iterator([
- function(){ sys.p('one'); },
- function(){ sys.p('two'); },
- function(){ sys.p('three'); }
- ]);
-
- node> var iterator2 = iterator();
- 'one'
- node> var iterator3 = iterator2();
- 'two'
- node> iterator3();
- 'three'
- node> var nextfn = iterator2.next();
- node> nextfn();
- 'three'
-
-
----------------------------------------
-
-
-### apply(function, arguments..)
-
-Creates a continuation function with some arguments already applied, a useful
-shorthand when combined with other flow control functions. Any arguments
-passed to the returned function are added to the arguments originally passed
-to apply.
-
-__Arguments__
-
-* function - The function you want to eventually apply all arguments to.
-* arguments... - Any number of arguments to automatically apply when the
- continuation is called.
-
-__Example__
-
- // using apply
-
- async.parallel([
- async.apply(fs.writeFile, 'testfile1', 'test1'),
- async.apply(fs.writeFile, 'testfile2', 'test2'),
- ]);
-
-
- // the same process without using apply
-
- async.parallel([
- function(callback){
- fs.writeFile('testfile1', 'test1', callback);
- },
- function(callback){
- fs.writeFile('testfile2', 'test2', callback);
- },
- ]);
-
-It's possible to pass any number of additional arguments when calling the
-continuation:
-
- node> var fn = async.apply(sys.puts, 'one');
- node> fn('two', 'three');
- one
- two
- three
-
----------------------------------------
-
-
-### nextTick(callback)
-
-Calls the callback on a later loop around the event loop. In node.js this just
-calls process.nextTick, in the browser it falls back to setTimeout(callback, 0),
-which means other higher priority events may precede the execution of the callback.
-
-This is used internally for browser-compatibility purposes.
-
-__Arguments__
-
-* callback - The function to call on a later loop around the event loop.
-
-__Example__
-
- var call_order = [];
- async.nextTick(function(){
- call_order.push('two');
- // call_order now equals ['one','two]
- });
- call_order.push('one')
-
-
-## Utils
-
-
-### memoize(fn, [hasher])
-
-Caches the results of an async function. When creating a hash to store function
-results against, the callback is omitted from the hash and an optional hash
-function can be used.
-
-__Arguments__
-
-* fn - the function you to proxy and cache results from.
-* hasher - an optional function for generating a custom hash for storing
- results, it has all the arguments applied to it apart from the callback, and
- must be synchronous.
-
-__Example__
-
- var slow_fn = function (name, callback) {
- // do something
- callback(null, result);
- };
- var fn = async.memoize(slow_fn);
-
- // fn can now be used as if it were slow_fn
- fn('some name', function () {
- // callback
- });
-
-
-
-### log(function, arguments)
-
-Logs the result of an async function to the console. Only works in node.js or
-in browsers that support console.log and console.error (such as FF and Chrome).
-If multiple arguments are returned from the async function, console.log is
-called on each argument in order.
-
-__Arguments__
-
-* function - The function you want to eventually apply all arguments to.
-* arguments... - Any number of arguments to apply to the function.
-
-__Example__
-
- var hello = function(name, callback){
- setTimeout(function(){
- callback(null, 'hello ' + name);
- }, 1000);
- };
-
- node> async.log(hello, 'world');
- 'hello world'
-
-
----------------------------------------
-
-
-### dir(function, arguments)
-
-Logs the result of an async function to the console using console.dir to
-display the properties of the resulting object. Only works in node.js or
-in browsers that support console.dir and console.error (such as FF and Chrome).
-If multiple arguments are returned from the async function, console.dir is
-called on each argument in order.
-
-__Arguments__
-
-* function - The function you want to eventually apply all arguments to.
-* arguments... - Any number of arguments to apply to the function.
-
-__Example__
-
- var hello = function(name, callback){
- setTimeout(function(){
- callback(null, {hello: name});
- }, 1000);
- };
-
- node> async.dir(hello, 'world');
- {hello: 'world'}
-
-
----------------------------------------
-
-
-### noConflict()
-
-Changes the value of async back to its original value, returning a reference to the
-async object.
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/async.min.js.gzip b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/async.min.js.gzip
deleted file mode 100644
index e1c3294..0000000
Binary files a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/async.min.js.gzip and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/deps/nodeunit.css b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/deps/nodeunit.css
deleted file mode 100644
index 274434a..0000000
--- a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/deps/nodeunit.css
+++ /dev/null
@@ -1,70 +0,0 @@
-/*!
- * Styles taken from qunit.css
- */
-
-h1#nodeunit-header, h1.nodeunit-header {
- padding: 15px;
- font-size: large;
- background-color: #06b;
- color: white;
- font-family: 'trebuchet ms', verdana, arial;
- margin: 0;
-}
-
-h1#nodeunit-header a {
- color: white;
-}
-
-h2#nodeunit-banner {
- height: 2em;
- border-bottom: 1px solid white;
- background-color: #eee;
- margin: 0;
- font-family: 'trebuchet ms', verdana, arial;
-}
-h2#nodeunit-banner.pass {
- background-color: green;
-}
-h2#nodeunit-banner.fail {
- background-color: red;
-}
-
-h2#nodeunit-userAgent, h2.nodeunit-userAgent {
- padding: 10px;
- background-color: #eee;
- color: black;
- margin: 0;
- font-size: small;
- font-weight: normal;
- font-family: 'trebuchet ms', verdana, arial;
- font-size: 10pt;
-}
-
-div#nodeunit-testrunner-toolbar {
- background: #eee;
- border-top: 1px solid black;
- padding: 10px;
- font-family: 'trebuchet ms', verdana, arial;
- margin: 0;
- font-size: 10pt;
-}
-
-ol#nodeunit-tests {
- font-family: 'trebuchet ms', verdana, arial;
- font-size: 10pt;
-}
-ol#nodeunit-tests li strong {
- cursor:pointer;
-}
-ol#nodeunit-tests .pass {
- color: green;
-}
-ol#nodeunit-tests .fail {
- color: red;
-}
-
-p#nodeunit-testresult {
- margin-left: 1em;
- font-size: 10pt;
- font-family: 'trebuchet ms', verdana, arial;
-}
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/deps/nodeunit.js b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/deps/nodeunit.js
deleted file mode 100644
index 5957184..0000000
--- a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/deps/nodeunit.js
+++ /dev/null
@@ -1,1966 +0,0 @@
-/*!
- * Nodeunit
- * https://github.com/caolan/nodeunit
- * Copyright (c) 2010 Caolan McMahon
- * MIT Licensed
- *
- * json2.js
- * http://www.JSON.org/json2.js
- * Public Domain.
- * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
- */
-nodeunit = (function(){
-/*
- http://www.JSON.org/json2.js
- 2010-11-17
-
- Public Domain.
-
- NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
-
- See http://www.JSON.org/js.html
-
-
- This code should be minified before deployment.
- See http://javascript.crockford.com/jsmin.html
-
- USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
- NOT CONTROL.
-
-
- This file creates a global JSON object containing two methods: stringify
- and parse.
-
- JSON.stringify(value, replacer, space)
- value any JavaScript value, usually an object or array.
-
- replacer an optional parameter that determines how object
- values are stringified for objects. It can be a
- function or an array of strings.
-
- space an optional parameter that specifies the indentation
- of nested structures. If it is omitted, the text will
- be packed without extra whitespace. If it is a number,
- it will specify the number of spaces to indent at each
- level. If it is a string (such as '\t' or ' '),
- it contains the characters used to indent at each level.
-
- This method produces a JSON text from a JavaScript value.
-
- When an object value is found, if the object contains a toJSON
- method, its toJSON method will be called and the result will be
- stringified. A toJSON method does not serialize: it returns the
- value represented by the name/value pair that should be serialized,
- or undefined if nothing should be serialized. The toJSON method
- will be passed the key associated with the value, and this will be
- bound to the value
-
- For example, this would serialize Dates as ISO strings.
-
- Date.prototype.toJSON = function (key) {
- function f(n) {
- // Format integers to have at least two digits.
- return n < 10 ? '0' + n : n;
- }
-
- return this.getUTCFullYear() + '-' +
- f(this.getUTCMonth() + 1) + '-' +
- f(this.getUTCDate()) + 'T' +
- f(this.getUTCHours()) + ':' +
- f(this.getUTCMinutes()) + ':' +
- f(this.getUTCSeconds()) + 'Z';
- };
-
- You can provide an optional replacer method. It will be passed the
- key and value of each member, with this bound to the containing
- object. The value that is returned from your method will be
- serialized. If your method returns undefined, then the member will
- be excluded from the serialization.
-
- If the replacer parameter is an array of strings, then it will be
- used to select the members to be serialized. It filters the results
- such that only members with keys listed in the replacer array are
- stringified.
-
- Values that do not have JSON representations, such as undefined or
- functions, will not be serialized. Such values in objects will be
- dropped; in arrays they will be replaced with null. You can use
- a replacer function to replace those with JSON values.
- JSON.stringify(undefined) returns undefined.
-
- The optional space parameter produces a stringification of the
- value that is filled with line breaks and indentation to make it
- easier to read.
-
- If the space parameter is a non-empty string, then that string will
- be used for indentation. If the space parameter is a number, then
- the indentation will be that many spaces.
-
- Example:
-
- text = JSON.stringify(['e', {pluribus: 'unum'}]);
- // text is '["e",{"pluribus":"unum"}]'
-
-
- text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
- // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
-
- text = JSON.stringify([new Date()], function (key, value) {
- return this[key] instanceof Date ?
- 'Date(' + this[key] + ')' : value;
- });
- // text is '["Date(---current time---)"]'
-
-
- JSON.parse(text, reviver)
- This method parses a JSON text to produce an object or array.
- It can throw a SyntaxError exception.
-
- The optional reviver parameter is a function that can filter and
- transform the results. It receives each of the keys and values,
- and its return value is used instead of the original value.
- If it returns what it received, then the structure is not modified.
- If it returns undefined then the member is deleted.
-
- Example:
-
- // Parse the text. Values that look like ISO date strings will
- // be converted to Date objects.
-
- myData = JSON.parse(text, function (key, value) {
- var a;
- if (typeof value === 'string') {
- a =
-/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
- if (a) {
- return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
- +a[5], +a[6]));
- }
- }
- return value;
- });
-
- myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
- var d;
- if (typeof value === 'string' &&
- value.slice(0, 5) === 'Date(' &&
- value.slice(-1) === ')') {
- d = new Date(value.slice(5, -1));
- if (d) {
- return d;
- }
- }
- return value;
- });
-
-
- This is a reference implementation. You are free to copy, modify, or
- redistribute.
-*/
-
-/*jslint evil: true, strict: false, regexp: false */
-
-/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
- call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
- getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
- lastIndex, length, parse, prototype, push, replace, slice, stringify,
- test, toJSON, toString, valueOf
-*/
-
-
-// Create a JSON object only if one does not already exist. We create the
-// methods in a closure to avoid creating global variables.
-
-if (!this.JSON) {
- this.JSON = {};
-}
-
-(function () {
- "use strict";
-
- function f(n) {
- // Format integers to have at least two digits.
- return n < 10 ? '0' + n : n;
- }
-
- if (typeof Date.prototype.toJSON !== 'function') {
-
- Date.prototype.toJSON = function (key) {
-
- return isFinite(this.valueOf()) ?
- this.getUTCFullYear() + '-' +
- f(this.getUTCMonth() + 1) + '-' +
- f(this.getUTCDate()) + 'T' +
- f(this.getUTCHours()) + ':' +
- f(this.getUTCMinutes()) + ':' +
- f(this.getUTCSeconds()) + 'Z' : null;
- };
-
- String.prototype.toJSON =
- Number.prototype.toJSON =
- Boolean.prototype.toJSON = function (key) {
- return this.valueOf();
- };
- }
-
- var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
- escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
- gap,
- indent,
- meta = { // table of character substitutions
- '\b': '\\b',
- '\t': '\\t',
- '\n': '\\n',
- '\f': '\\f',
- '\r': '\\r',
- '"' : '\\"',
- '\\': '\\\\'
- },
- rep;
-
-
- function quote(string) {
-
-// If the string contains no control characters, no quote characters, and no
-// backslash characters, then we can safely slap some quotes around it.
-// Otherwise we must also replace the offending characters with safe escape
-// sequences.
-
- escapable.lastIndex = 0;
- return escapable.test(string) ?
- '"' + string.replace(escapable, function (a) {
- var c = meta[a];
- return typeof c === 'string' ? c :
- '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
- }) + '"' :
- '"' + string + '"';
- }
-
-
- function str(key, holder) {
-
-// Produce a string from holder[key].
-
- var i, // The loop counter.
- k, // The member key.
- v, // The member value.
- length,
- mind = gap,
- partial,
- value = holder[key];
-
-// If the value has a toJSON method, call it to obtain a replacement value.
-
- if (value && typeof value === 'object' &&
- typeof value.toJSON === 'function') {
- value = value.toJSON(key);
- }
-
-// If we were called with a replacer function, then call the replacer to
-// obtain a replacement value.
-
- if (typeof rep === 'function') {
- value = rep.call(holder, key, value);
- }
-
-// What happens next depends on the value's type.
-
- switch (typeof value) {
- case 'string':
- return quote(value);
-
- case 'number':
-
-// JSON numbers must be finite. Encode non-finite numbers as null.
-
- return isFinite(value) ? String(value) : 'null';
-
- case 'boolean':
- case 'null':
-
-// If the value is a boolean or null, convert it to a string. Note:
-// typeof null does not produce 'null'. The case is included here in
-// the remote chance that this gets fixed someday.
-
- return String(value);
-
-// If the type is 'object', we might be dealing with an object or an array or
-// null.
-
- case 'object':
-
-// Due to a specification blunder in ECMAScript, typeof null is 'object',
-// so watch out for that case.
-
- if (!value) {
- return 'null';
- }
-
-// Make an array to hold the partial results of stringifying this object value.
-
- gap += indent;
- partial = [];
-
-// Is the value an array?
-
- if (Object.prototype.toString.apply(value) === '[object Array]') {
-
-// The value is an array. Stringify every element. Use null as a placeholder
-// for non-JSON values.
-
- length = value.length;
- for (i = 0; i < length; i += 1) {
- partial[i] = str(i, value) || 'null';
- }
-
-// Join all of the elements together, separated with commas, and wrap them in
-// brackets.
-
- v = partial.length === 0 ? '[]' :
- gap ? '[\n' + gap +
- partial.join(',\n' + gap) + '\n' +
- mind + ']' :
- '[' + partial.join(',') + ']';
- gap = mind;
- return v;
- }
-
-// If the replacer is an array, use it to select the members to be stringified.
-
- if (rep && typeof rep === 'object') {
- length = rep.length;
- for (i = 0; i < length; i += 1) {
- k = rep[i];
- if (typeof k === 'string') {
- v = str(k, value);
- if (v) {
- partial.push(quote(k) + (gap ? ': ' : ':') + v);
- }
- }
- }
- } else {
-
-// Otherwise, iterate through all of the keys in the object.
-
- for (k in value) {
- if (Object.hasOwnProperty.call(value, k)) {
- v = str(k, value);
- if (v) {
- partial.push(quote(k) + (gap ? ': ' : ':') + v);
- }
- }
- }
- }
-
-// Join all of the member texts together, separated with commas,
-// and wrap them in braces.
-
- v = partial.length === 0 ? '{}' :
- gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' +
- mind + '}' : '{' + partial.join(',') + '}';
- gap = mind;
- return v;
- }
- }
-
-// If the JSON object does not yet have a stringify method, give it one.
-
- if (typeof JSON.stringify !== 'function') {
- JSON.stringify = function (value, replacer, space) {
-
-// The stringify method takes a value and an optional replacer, and an optional
-// space parameter, and returns a JSON text. The replacer can be a function
-// that can replace values, or an array of strings that will select the keys.
-// A default replacer method can be provided. Use of the space parameter can
-// produce text that is more easily readable.
-
- var i;
- gap = '';
- indent = '';
-
-// If the space parameter is a number, make an indent string containing that
-// many spaces.
-
- if (typeof space === 'number') {
- for (i = 0; i < space; i += 1) {
- indent += ' ';
- }
-
-// If the space parameter is a string, it will be used as the indent string.
-
- } else if (typeof space === 'string') {
- indent = space;
- }
-
-// If there is a replacer, it must be a function or an array.
-// Otherwise, throw an error.
-
- rep = replacer;
- if (replacer && typeof replacer !== 'function' &&
- (typeof replacer !== 'object' ||
- typeof replacer.length !== 'number')) {
- throw new Error('JSON.stringify');
- }
-
-// Make a fake root object containing our value under the key of ''.
-// Return the result of stringifying the value.
-
- return str('', {'': value});
- };
- }
-
-
-// If the JSON object does not yet have a parse method, give it one.
-
- if (typeof JSON.parse !== 'function') {
- JSON.parse = function (text, reviver) {
-
-// The parse method takes a text and an optional reviver function, and returns
-// a JavaScript value if the text is a valid JSON text.
-
- var j;
-
- function walk(holder, key) {
-
-// The walk method is used to recursively walk the resulting structure so
-// that modifications can be made.
-
- var k, v, value = holder[key];
- if (value && typeof value === 'object') {
- for (k in value) {
- if (Object.hasOwnProperty.call(value, k)) {
- v = walk(value, k);
- if (v !== undefined) {
- value[k] = v;
- } else {
- delete value[k];
- }
- }
- }
- }
- return reviver.call(holder, key, value);
- }
-
-
-// Parsing happens in four stages. In the first stage, we replace certain
-// Unicode characters with escape sequences. JavaScript handles many characters
-// incorrectly, either silently deleting them, or treating them as line endings.
-
- text = String(text);
- cx.lastIndex = 0;
- if (cx.test(text)) {
- text = text.replace(cx, function (a) {
- return '\\u' +
- ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
- });
- }
-
-// In the second stage, we run the text against regular expressions that look
-// for non-JSON patterns. We are especially concerned with '()' and 'new'
-// because they can cause invocation, and '=' because it can cause mutation.
-// But just to be safe, we want to reject all unexpected forms.
-
-// We split the second stage into 4 regexp operations in order to work around
-// crippling inefficiencies in IE's and Safari's regexp engines. First we
-// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
-// replace all simple value tokens with ']' characters. Third, we delete all
-// open brackets that follow a colon or comma or that begin the text. Finally,
-// we look to see that the remaining characters are only whitespace or ']' or
-// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
-
- if (/^[\],:{}\s]*$/
-.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
-.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
-.replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
-
-// In the third stage we use the eval function to compile the text into a
-// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
-// in JavaScript: it can begin a block or an object literal. We wrap the text
-// in parens to eliminate the ambiguity.
-
- j = eval('(' + text + ')');
-
-// In the optional fourth stage, we recursively walk the new structure, passing
-// each name/value pair to a reviver function for possible transformation.
-
- return typeof reviver === 'function' ?
- walk({'': j}, '') : j;
- }
-
-// If the text is not JSON parseable, then a SyntaxError is thrown.
-
- throw new SyntaxError('JSON.parse');
- };
- }
-}());
-var assert = this.assert = {};
-var types = {};
-var core = {};
-var nodeunit = {};
-var reporter = {};
-/*global setTimeout: false, console: false */
-(function () {
-
- var async = {};
-
- // global on the server, window in the browser
- var root = this,
- previous_async = root.async;
-
- if (typeof module !== 'undefined' && module.exports) {
- module.exports = async;
- }
- else {
- root.async = async;
- }
-
- async.noConflict = function () {
- root.async = previous_async;
- return async;
- };
-
- //// cross-browser compatiblity functions ////
-
- var _forEach = function (arr, iterator) {
- if (arr.forEach) {
- return arr.forEach(iterator);
- }
- for (var i = 0; i < arr.length; i += 1) {
- iterator(arr[i], i, arr);
- }
- };
-
- var _map = function (arr, iterator) {
- if (arr.map) {
- return arr.map(iterator);
- }
- var results = [];
- _forEach(arr, function (x, i, a) {
- results.push(iterator(x, i, a));
- });
- return results;
- };
-
- var _reduce = function (arr, iterator, memo) {
- if (arr.reduce) {
- return arr.reduce(iterator, memo);
- }
- _forEach(arr, function (x, i, a) {
- memo = iterator(memo, x, i, a);
- });
- return memo;
- };
-
- var _keys = function (obj) {
- if (Object.keys) {
- return Object.keys(obj);
- }
- var keys = [];
- for (var k in obj) {
- if (obj.hasOwnProperty(k)) {
- keys.push(k);
- }
- }
- return keys;
- };
-
- var _indexOf = function (arr, item) {
- if (arr.indexOf) {
- return arr.indexOf(item);
- }
- for (var i = 0; i < arr.length; i += 1) {
- if (arr[i] === item) {
- return i;
- }
- }
- return -1;
- };
-
- //// exported async module functions ////
-
- //// nextTick implementation with browser-compatible fallback ////
- async.nextTick = function (fn) {
- if (typeof process === 'undefined' || !(process.nextTick)) {
- setTimeout(fn, 0);
- }
- else {
- process.nextTick(fn);
- }
- };
-
- async.forEach = function (arr, iterator, callback) {
- if (!arr.length) {
- return callback();
- }
- var completed = 0;
- _forEach(arr, function (x) {
- iterator(x, function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- completed += 1;
- if (completed === arr.length) {
- callback();
- }
- }
- });
- });
- };
-
- async.forEachSeries = function (arr, iterator, callback) {
- if (!arr.length) {
- return callback();
- }
- var completed = 0;
- var iterate = function () {
- iterator(arr[completed], function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- completed += 1;
- if (completed === arr.length) {
- callback();
- }
- else {
- iterate();
- }
- }
- });
- };
- iterate();
- };
-
-
- var doParallel = function (fn) {
- return function () {
- var args = Array.prototype.slice.call(arguments);
- return fn.apply(null, [async.forEach].concat(args));
- };
- };
- var doSeries = function (fn) {
- return function () {
- var args = Array.prototype.slice.call(arguments);
- return fn.apply(null, [async.forEachSeries].concat(args));
- };
- };
-
-
- var _asyncMap = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (err, v) {
- results[x.index] = v;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- };
- async.map = doParallel(_asyncMap);
- async.mapSeries = doSeries(_asyncMap);
-
-
- // reduce only has a series version, as doing reduce in parallel won't
- // work in many situations.
- async.reduce = function (arr, memo, iterator, callback) {
- async.forEachSeries(arr, function (x, callback) {
- iterator(memo, x, function (err, v) {
- memo = v;
- callback(err);
- });
- }, function (err) {
- callback(err, memo);
- });
- };
- // inject alias
- async.inject = async.reduce;
- // foldl alias
- async.foldl = async.reduce;
-
- async.reduceRight = function (arr, memo, iterator, callback) {
- var reversed = _map(arr, function (x) {
- return x;
- }).reverse();
- async.reduce(reversed, memo, iterator, callback);
- };
- // foldr alias
- async.foldr = async.reduceRight;
-
- var _filter = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (v) {
- if (v) {
- results.push(x);
- }
- callback();
- });
- }, function (err) {
- callback(_map(results.sort(function (a, b) {
- return a.index - b.index;
- }), function (x) {
- return x.value;
- }));
- });
- };
- async.filter = doParallel(_filter);
- async.filterSeries = doSeries(_filter);
- // select alias
- async.select = async.filter;
- async.selectSeries = async.filterSeries;
-
- var _reject = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (v) {
- if (!v) {
- results.push(x);
- }
- callback();
- });
- }, function (err) {
- callback(_map(results.sort(function (a, b) {
- return a.index - b.index;
- }), function (x) {
- return x.value;
- }));
- });
- };
- async.reject = doParallel(_reject);
- async.rejectSeries = doSeries(_reject);
-
- var _detect = function (eachfn, arr, iterator, main_callback) {
- eachfn(arr, function (x, callback) {
- iterator(x, function (result) {
- if (result) {
- main_callback(x);
- }
- else {
- callback();
- }
- });
- }, function (err) {
- main_callback();
- });
- };
- async.detect = doParallel(_detect);
- async.detectSeries = doSeries(_detect);
-
- async.some = function (arr, iterator, main_callback) {
- async.forEach(arr, function (x, callback) {
- iterator(x, function (v) {
- if (v) {
- main_callback(true);
- main_callback = function () {};
- }
- callback();
- });
- }, function (err) {
- main_callback(false);
- });
- };
- // any alias
- async.any = async.some;
-
- async.every = function (arr, iterator, main_callback) {
- async.forEach(arr, function (x, callback) {
- iterator(x, function (v) {
- if (!v) {
- main_callback(false);
- main_callback = function () {};
- }
- callback();
- });
- }, function (err) {
- main_callback(true);
- });
- };
- // all alias
- async.all = async.every;
-
- async.sortBy = function (arr, iterator, callback) {
- async.map(arr, function (x, callback) {
- iterator(x, function (err, criteria) {
- if (err) {
- callback(err);
- }
- else {
- callback(null, {value: x, criteria: criteria});
- }
- });
- }, function (err, results) {
- if (err) {
- return callback(err);
- }
- else {
- var fn = function (left, right) {
- var a = left.criteria, b = right.criteria;
- return a < b ? -1 : a > b ? 1 : 0;
- };
- callback(null, _map(results.sort(fn), function (x) {
- return x.value;
- }));
- }
- });
- };
-
- async.auto = function (tasks, callback) {
- callback = callback || function () {};
- var keys = _keys(tasks);
- if (!keys.length) {
- return callback(null);
- }
-
- var completed = [];
-
- var listeners = [];
- var addListener = function (fn) {
- listeners.unshift(fn);
- };
- var removeListener = function (fn) {
- for (var i = 0; i < listeners.length; i += 1) {
- if (listeners[i] === fn) {
- listeners.splice(i, 1);
- return;
- }
- }
- };
- var taskComplete = function () {
- _forEach(listeners, function (fn) {
- fn();
- });
- };
-
- addListener(function () {
- if (completed.length === keys.length) {
- callback(null);
- }
- });
-
- _forEach(keys, function (k) {
- var task = (tasks[k] instanceof Function) ? [tasks[k]]: tasks[k];
- var taskCallback = function (err) {
- if (err) {
- callback(err);
- // stop subsequent errors hitting callback multiple times
- callback = function () {};
- }
- else {
- completed.push(k);
- taskComplete();
- }
- };
- var requires = task.slice(0, Math.abs(task.length - 1)) || [];
- var ready = function () {
- return _reduce(requires, function (a, x) {
- return (a && _indexOf(completed, x) !== -1);
- }, true);
- };
- if (ready()) {
- task[task.length - 1](taskCallback);
- }
- else {
- var listener = function () {
- if (ready()) {
- removeListener(listener);
- task[task.length - 1](taskCallback);
- }
- };
- addListener(listener);
- }
- });
- };
-
- async.waterfall = function (tasks, callback) {
- if (!tasks.length) {
- return callback();
- }
- callback = callback || function () {};
- var wrapIterator = function (iterator) {
- return function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- var args = Array.prototype.slice.call(arguments, 1);
- var next = iterator.next();
- if (next) {
- args.push(wrapIterator(next));
- }
- else {
- args.push(callback);
- }
- async.nextTick(function () {
- iterator.apply(null, args);
- });
- }
- };
- };
- wrapIterator(async.iterator(tasks))();
- };
-
- async.parallel = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.map(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args || null);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEach(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.series = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.mapSeries(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args || null);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEachSeries(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.iterator = function (tasks) {
- var makeCallback = function (index) {
- var fn = function () {
- if (tasks.length) {
- tasks[index].apply(null, arguments);
- }
- return fn.next();
- };
- fn.next = function () {
- return (index < tasks.length - 1) ? makeCallback(index + 1): null;
- };
- return fn;
- };
- return makeCallback(0);
- };
-
- async.apply = function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- return function () {
- return fn.apply(
- null, args.concat(Array.prototype.slice.call(arguments))
- );
- };
- };
-
- var _concat = function (eachfn, arr, fn, callback) {
- var r = [];
- eachfn(arr, function (x, cb) {
- fn(x, function (err, y) {
- r = r.concat(y || []);
- cb(err);
- });
- }, function (err) {
- callback(err, r);
- });
- };
- async.concat = doParallel(_concat);
- async.concatSeries = doSeries(_concat);
-
- async.whilst = function (test, iterator, callback) {
- if (test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.whilst(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.until = function (test, iterator, callback) {
- if (!test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.until(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.queue = function (worker, concurrency) {
- var workers = 0;
- var tasks = [];
- var q = {
- concurrency: concurrency,
- push: function (data, callback) {
- tasks.push({data: data, callback: callback});
- async.nextTick(q.process);
- },
- process: function () {
- if (workers < q.concurrency && tasks.length) {
- var task = tasks.splice(0, 1)[0];
- workers += 1;
- worker(task.data, function () {
- workers -= 1;
- if (task.callback) {
- task.callback.apply(task, arguments);
- }
- q.process();
- });
- }
- },
- length: function () {
- return tasks.length;
- }
- };
- return q;
- };
-
- var _console_fn = function (name) {
- return function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- fn.apply(null, args.concat([function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (typeof console !== 'undefined') {
- if (err) {
- if (console.error) {
- console.error(err);
- }
- }
- else if (console[name]) {
- _forEach(args, function (x) {
- console[name](x);
- });
- }
- }
- }]));
- };
- };
- async.log = _console_fn('log');
- async.dir = _console_fn('dir');
- /*async.info = _console_fn('info');
- async.warn = _console_fn('warn');
- async.error = _console_fn('error');*/
-
-}());
-(function(exports){
-/**
- * This file is based on the node.js assert module, but with some small
- * changes for browser-compatibility
- * THIS FILE SHOULD BE BROWSER-COMPATIBLE JS!
- */
-
-
-/**
- * Added for browser compatibility
- */
-
-var _keys = function(obj){
- if(Object.keys) return Object.keys(obj);
- var keys = [];
- for(var k in obj){
- if(obj.hasOwnProperty(k)) keys.push(k);
- }
- return keys;
-};
-
-
-
-// http://wiki.commonjs.org/wiki/Unit_Testing/1.0
-//
-// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
-//
-// Originally from narwhal.js (http://narwhaljs.org)
-// Copyright (c) 2009 Thomas Robinson <280north.com>
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the 'Software'), to
-// deal in the Software without restriction, including without limitation the
-// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-// sell copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-var pSlice = Array.prototype.slice;
-
-// 1. The assert module provides functions that throw
-// AssertionError's when particular conditions are not met. The
-// assert module must conform to the following interface.
-
-var assert = exports;
-
-// 2. The AssertionError is defined in assert.
-// new assert.AssertionError({message: message, actual: actual, expected: expected})
-
-assert.AssertionError = function AssertionError (options) {
- this.name = "AssertionError";
- this.message = options.message;
- this.actual = options.actual;
- this.expected = options.expected;
- this.operator = options.operator;
- var stackStartFunction = options.stackStartFunction || fail;
-
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, stackStartFunction);
- }
-};
-// code from util.inherits in node
-assert.AssertionError.super_ = Error;
-
-
-// EDITED FOR BROWSER COMPATIBILITY: replaced Object.create call
-// TODO: test what effect this may have
-var ctor = function () { this.constructor = assert.AssertionError; };
-ctor.prototype = Error.prototype;
-assert.AssertionError.prototype = new ctor();
-
-
-assert.AssertionError.prototype.toString = function() {
- if (this.message) {
- return [this.name+":", this.message].join(' ');
- } else {
- return [ this.name+":"
- , JSON.stringify(this.expected )
- , this.operator
- , JSON.stringify(this.actual)
- ].join(" ");
- }
-};
-
-// assert.AssertionError instanceof Error
-
-assert.AssertionError.__proto__ = Error.prototype;
-
-// At present only the three keys mentioned above are used and
-// understood by the spec. Implementations or sub modules can pass
-// other keys to the AssertionError's constructor - they will be
-// ignored.
-
-// 3. All of the following functions must throw an AssertionError
-// when a corresponding condition is not met, with a message that
-// may be undefined if not provided. All assertion methods provide
-// both the actual and expected values to the assertion error for
-// display purposes.
-
-function fail(actual, expected, message, operator, stackStartFunction) {
- throw new assert.AssertionError({
- message: message,
- actual: actual,
- expected: expected,
- operator: operator,
- stackStartFunction: stackStartFunction
- });
-}
-
-// EXTENSION! allows for well behaved errors defined elsewhere.
-assert.fail = fail;
-
-// 4. Pure assertion tests whether a value is truthy, as determined
-// by !!guard.
-// assert.ok(guard, message_opt);
-// This statement is equivalent to assert.equal(true, guard,
-// message_opt);. To test strictly for the value true, use
-// assert.strictEqual(true, guard, message_opt);.
-
-assert.ok = function ok(value, message) {
- if (!!!value) fail(value, true, message, "==", assert.ok);
-};
-
-// 5. The equality assertion tests shallow, coercive equality with
-// ==.
-// assert.equal(actual, expected, message_opt);
-
-assert.equal = function equal(actual, expected, message) {
- if (actual != expected) fail(actual, expected, message, "==", assert.equal);
-};
-
-// 6. The non-equality assertion tests for whether two objects are not equal
-// with != assert.notEqual(actual, expected, message_opt);
-
-assert.notEqual = function notEqual(actual, expected, message) {
- if (actual == expected) {
- fail(actual, expected, message, "!=", assert.notEqual);
- }
-};
-
-// 7. The equivalence assertion tests a deep equality relation.
-// assert.deepEqual(actual, expected, message_opt);
-
-assert.deepEqual = function deepEqual(actual, expected, message) {
- if (!_deepEqual(actual, expected)) {
- fail(actual, expected, message, "deepEqual", assert.deepEqual);
- }
-};
-
-function _deepEqual(actual, expected) {
- // 7.1. All identical values are equivalent, as determined by ===.
- if (actual === expected) {
- return true;
- // 7.2. If the expected value is a Date object, the actual value is
- // equivalent if it is also a Date object that refers to the same time.
- } else if (actual instanceof Date && expected instanceof Date) {
- return actual.getTime() === expected.getTime();
-
- // 7.3. Other pairs that do not both pass typeof value == "object",
- // equivalence is determined by ==.
- } else if (typeof actual != 'object' && typeof expected != 'object') {
- return actual == expected;
-
- // 7.4. For all other Object pairs, including Array objects, equivalence is
- // determined by having the same number of owned properties (as verified
- // with Object.prototype.hasOwnProperty.call), the same set of keys
- // (although not necessarily the same order), equivalent values for every
- // corresponding key, and an identical "prototype" property. Note: this
- // accounts for both named and indexed properties on Arrays.
- } else {
- return objEquiv(actual, expected);
- }
-}
-
-function isUndefinedOrNull (value) {
- return value === null || value === undefined;
-}
-
-function isArguments (object) {
- return Object.prototype.toString.call(object) == '[object Arguments]';
-}
-
-function objEquiv (a, b) {
- if (isUndefinedOrNull(a) || isUndefinedOrNull(b))
- return false;
- // an identical "prototype" property.
- if (a.prototype !== b.prototype) return false;
- //~~~I've managed to break Object.keys through screwy arguments passing.
- // Converting to array solves the problem.
- if (isArguments(a)) {
- if (!isArguments(b)) {
- return false;
- }
- a = pSlice.call(a);
- b = pSlice.call(b);
- return _deepEqual(a, b);
- }
- try{
- var ka = _keys(a),
- kb = _keys(b),
- key, i;
- } catch (e) {//happens when one is a string literal and the other isn't
- return false;
- }
- // having the same number of owned properties (keys incorporates hasOwnProperty)
- if (ka.length != kb.length)
- return false;
- //the same set of keys (although not necessarily the same order),
- ka.sort();
- kb.sort();
- //~~~cheap key test
- for (i = ka.length - 1; i >= 0; i--) {
- if (ka[i] != kb[i])
- return false;
- }
- //equivalent values for every corresponding key, and
- //~~~possibly expensive deep test
- for (i = ka.length - 1; i >= 0; i--) {
- key = ka[i];
- if (!_deepEqual(a[key], b[key] ))
- return false;
- }
- return true;
-}
-
-// 8. The non-equivalence assertion tests for any deep inequality.
-// assert.notDeepEqual(actual, expected, message_opt);
-
-assert.notDeepEqual = function notDeepEqual(actual, expected, message) {
- if (_deepEqual(actual, expected)) {
- fail(actual, expected, message, "notDeepEqual", assert.notDeepEqual);
- }
-};
-
-// 9. The strict equality assertion tests strict equality, as determined by ===.
-// assert.strictEqual(actual, expected, message_opt);
-
-assert.strictEqual = function strictEqual(actual, expected, message) {
- if (actual !== expected) {
- fail(actual, expected, message, "===", assert.strictEqual);
- }
-};
-
-// 10. The strict non-equality assertion tests for strict inequality, as determined by !==.
-// assert.notStrictEqual(actual, expected, message_opt);
-
-assert.notStrictEqual = function notStrictEqual(actual, expected, message) {
- if (actual === expected) {
- fail(actual, expected, message, "!==", assert.notStrictEqual);
- }
-};
-
-function _throws (shouldThrow, block, err, message) {
- var exception = null,
- threw = false,
- typematters = true;
-
- message = message || "";
-
- //handle optional arguments
- if (arguments.length == 3) {
- if (typeof(err) == "string") {
- message = err;
- typematters = false;
- }
- } else if (arguments.length == 2) {
- typematters = false;
- }
-
- try {
- block();
- } catch (e) {
- threw = true;
- exception = e;
- }
-
- if (shouldThrow && !threw) {
- fail( "Missing expected exception"
- + (err && err.name ? " ("+err.name+")." : '.')
- + (message ? " " + message : "")
- );
- }
- if (!shouldThrow && threw && typematters && exception instanceof err) {
- fail( "Got unwanted exception"
- + (err && err.name ? " ("+err.name+")." : '.')
- + (message ? " " + message : "")
- );
- }
- if ((shouldThrow && threw && typematters && !(exception instanceof err)) ||
- (!shouldThrow && threw)) {
- throw exception;
- }
-};
-
-// 11. Expected to throw an error:
-// assert.throws(block, Error_opt, message_opt);
-
-assert.throws = function(block, /*optional*/error, /*optional*/message) {
- _throws.apply(this, [true].concat(pSlice.call(arguments)));
-};
-
-// EXTENSION! This is annoying to write outside this module.
-assert.doesNotThrow = function(block, /*optional*/error, /*optional*/message) {
- _throws.apply(this, [false].concat(pSlice.call(arguments)));
-};
-
-assert.ifError = function (err) { if (err) {throw err;}};
-})(assert);
-(function(exports){
-/*!
- * Nodeunit
- * Copyright (c) 2010 Caolan McMahon
- * MIT Licensed
- *
- * THIS FILE SHOULD BE BROWSER-COMPATIBLE JS!
- * Only code on that line will be removed, its mostly to avoid requiring code
- * that is node specific
- */
-
-/**
- * Module dependencies
- */
-
-
-
-/**
- * Creates assertion objects representing the result of an assert call.
- * Accepts an object or AssertionError as its argument.
- *
- * @param {object} obj
- * @api public
- */
-
-exports.assertion = function (obj) {
- return {
- method: obj.method || '',
- message: obj.message || (obj.error && obj.error.message) || '',
- error: obj.error,
- passed: function () {
- return !this.error;
- },
- failed: function () {
- return Boolean(this.error);
- }
- };
-};
-
-/**
- * Creates an assertion list object representing a group of assertions.
- * Accepts an array of assertion objects.
- *
- * @param {Array} arr
- * @param {Number} duration
- * @api public
- */
-
-exports.assertionList = function (arr, duration) {
- var that = arr || [];
- that.failures = function () {
- var failures = 0;
- for (var i=0; i(' +
- '' + assertions.failures() + ', ' +
- '' + assertions.passes() + ', ' +
- assertions.length +
- ')';
- test.className = assertions.failures() ? 'fail': 'pass';
- test.appendChild(strong);
-
- var aList = document.createElement('ol');
- aList.style.display = 'none';
- test.onclick = function () {
- var d = aList.style.display;
- aList.style.display = (d == 'none') ? 'block': 'none';
- };
- for (var i=0; i' + (a.error.stack || a.error) + '';
- li.className = 'fail';
- }
- else {
- li.innerHTML = a.message || a.method || 'no message';
- li.className = 'pass';
- }
- aList.appendChild(li);
- }
- test.appendChild(aList);
- tests.appendChild(test);
- },
- done: function (assertions) {
- var end = new Date().getTime();
- var duration = end - start;
-
- var failures = assertions.failures();
- banner.className = failures ? 'fail': 'pass';
-
- result.innerHTML = 'Tests completed in ' + duration +
- ' milliseconds. ' +
- assertions.passes() + ' assertions of ' +
- '' + assertions.length + ' passed, ' +
- assertions.failures() + ' failed.';
- }
- });
-};
-})(reporter);
-nodeunit = core;
-nodeunit.assert = assert;
-nodeunit.reporter = reporter;
-nodeunit.run = reporter.run;
-return nodeunit; })();
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/dist/async.min.js b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/dist/async.min.js
deleted file mode 100644
index f89741e..0000000
--- a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/dist/async.min.js
+++ /dev/null
@@ -1 +0,0 @@
-/*global setTimeout: false, console: false */(function(){var a={};var b=this,c=b.async;typeof module!=="undefined"&&module.exports?module.exports=a:b.async=a,a.noConflict=function(){b.async=c;return a};var d=function(a,b){if(a.forEach)return a.forEach(b);for(var c=0;cd?1:0};d(null,e(b.sort(c),function(a){return a.value}))})},a.auto=function(a,b){b=b||function(){};var c=g(a);if(!c.length)return b(null);var e=[];var i=[];var j=function(a){i.unshift(a)};var k=function(a){for(var b=0;b b ? 1 : 0;
- };
- callback(null, _map(results.sort(fn), function (x) {
- return x.value;
- }));
- }
- });
- };
-
- async.auto = function (tasks, callback) {
- callback = callback || function () {};
- var keys = _keys(tasks);
- if (!keys.length) {
- return callback(null);
- }
-
- var completed = [];
-
- var listeners = [];
- var addListener = function (fn) {
- listeners.unshift(fn);
- };
- var removeListener = function (fn) {
- for (var i = 0; i < listeners.length; i += 1) {
- if (listeners[i] === fn) {
- listeners.splice(i, 1);
- return;
- }
- }
- };
- var taskComplete = function () {
- _forEach(listeners, function (fn) {
- fn();
- });
- };
-
- addListener(function () {
- if (completed.length === keys.length) {
- callback(null);
- }
- });
-
- _forEach(keys, function (k) {
- var task = (tasks[k] instanceof Function) ? [tasks[k]]: tasks[k];
- var taskCallback = function (err) {
- if (err) {
- callback(err);
- // stop subsequent errors hitting callback multiple times
- callback = function () {};
- }
- else {
- completed.push(k);
- taskComplete();
- }
- };
- var requires = task.slice(0, Math.abs(task.length - 1)) || [];
- var ready = function () {
- return _reduce(requires, function (a, x) {
- return (a && _indexOf(completed, x) !== -1);
- }, true);
- };
- if (ready()) {
- task[task.length - 1](taskCallback);
- }
- else {
- var listener = function () {
- if (ready()) {
- removeListener(listener);
- task[task.length - 1](taskCallback);
- }
- };
- addListener(listener);
- }
- });
- };
-
- async.waterfall = function (tasks, callback) {
- if (!tasks.length) {
- return callback();
- }
- callback = callback || function () {};
- var wrapIterator = function (iterator) {
- return function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- var args = Array.prototype.slice.call(arguments, 1);
- var next = iterator.next();
- if (next) {
- args.push(wrapIterator(next));
- }
- else {
- args.push(callback);
- }
- async.nextTick(function () {
- iterator.apply(null, args);
- });
- }
- };
- };
- wrapIterator(async.iterator(tasks))();
- };
-
- async.parallel = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.map(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEach(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.series = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.mapSeries(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEachSeries(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.iterator = function (tasks) {
- var makeCallback = function (index) {
- var fn = function () {
- if (tasks.length) {
- tasks[index].apply(null, arguments);
- }
- return fn.next();
- };
- fn.next = function () {
- return (index < tasks.length - 1) ? makeCallback(index + 1): null;
- };
- return fn;
- };
- return makeCallback(0);
- };
-
- async.apply = function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- return function () {
- return fn.apply(
- null, args.concat(Array.prototype.slice.call(arguments))
- );
- };
- };
-
- var _concat = function (eachfn, arr, fn, callback) {
- var r = [];
- eachfn(arr, function (x, cb) {
- fn(x, function (err, y) {
- r = r.concat(y || []);
- cb(err);
- });
- }, function (err) {
- callback(err, r);
- });
- };
- async.concat = doParallel(_concat);
- async.concatSeries = doSeries(_concat);
-
- async.whilst = function (test, iterator, callback) {
- if (test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.whilst(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.until = function (test, iterator, callback) {
- if (!test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.until(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.queue = function (worker, concurrency) {
- var workers = 0;
- var tasks = [];
- var q = {
- concurrency: concurrency,
- saturated: null,
- empty: null,
- drain: null,
- push: function (data, callback) {
- tasks.push({data: data, callback: callback});
- if(q.saturated && tasks.length == concurrency) q.saturated();
- async.nextTick(q.process);
- },
- process: function () {
- if (workers < q.concurrency && tasks.length) {
- var task = tasks.splice(0, 1)[0];
- if(q.empty && tasks.length == 0) q.empty();
- workers += 1;
- worker(task.data, function () {
- workers -= 1;
- if (task.callback) {
- task.callback.apply(task, arguments);
- }
- if(q.drain && tasks.length + workers == 0) q.drain();
- q.process();
- });
- }
- },
- length: function () {
- return tasks.length;
- },
- running: function () {
- return workers;
- }
- };
- return q;
- };
-
- var _console_fn = function (name) {
- return function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- fn.apply(null, args.concat([function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (typeof console !== 'undefined') {
- if (err) {
- if (console.error) {
- console.error(err);
- }
- }
- else if (console[name]) {
- _forEach(args, function (x) {
- console[name](x);
- });
- }
- }
- }]));
- };
- };
- async.log = _console_fn('log');
- async.dir = _console_fn('dir');
- /*async.info = _console_fn('info');
- async.warn = _console_fn('warn');
- async.error = _console_fn('error');*/
-
- async.memoize = function (fn, hasher) {
- var memo = {};
- hasher = hasher || function (x) {
- return x;
- };
- return function () {
- var args = Array.prototype.slice.call(arguments);
- var callback = args.pop();
- var key = hasher.apply(null, args);
- if (key in memo) {
- callback.apply(null, memo[key]);
- }
- else {
- fn.apply(null, args.concat([function () {
- memo[key] = arguments;
- callback.apply(null, arguments);
- }]));
- }
- };
- };
-
-}());
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/nodelint.cfg b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/nodelint.cfg
deleted file mode 100644
index 457a967..0000000
--- a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/nodelint.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-var options = {
- indent: 4,
- onevar: false
-};
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/package.json b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/package.json
deleted file mode 100644
index e5646d7..0000000
--- a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "async",
- "description": "Higher-order functions and common patterns for asynchronous code",
- "main": "./index",
- "author": {
- "name": "Caolan McMahon"
- },
- "version": "0.1.9",
- "repository": {
- "type": "git",
- "url": "git://github.com/caolan/async.git"
- },
- "bugs": {
- "url": "http://github.com/caolan/async/issues"
- },
- "licenses": [
- {
- "type": "MIT",
- "url": "http://github.com/caolan/async/raw/master/LICENSE"
- }
- ],
- "_npmUser": {
- "name": "mikeal",
- "email": "mikeal.rogers@gmail.com"
- },
- "_id": "async@0.1.9",
- "dependencies": {},
- "devDependencies": {},
- "optionalDependencies": {},
- "engines": {
- "node": "*"
- },
- "_engineSupported": true,
- "_npmVersion": "1.1.24",
- "_nodeVersion": "v0.8.1",
- "_defaultsLoaded": true,
- "dist": {
- "shasum": "fd9b6aca66495fd0f7e97f86e71c7706ca9ae754"
- },
- "_from": "async@0.1.9"
-}
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/.swp b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/.swp
deleted file mode 100644
index ece9b6b..0000000
Binary files a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/.swp and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/test-async.js b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/test-async.js
deleted file mode 100644
index 8c2cebd..0000000
--- a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/test-async.js
+++ /dev/null
@@ -1,1367 +0,0 @@
-var async = require('../lib/async');
-
-
-exports['auto'] = function(test){
- var callOrder = [];
- var testdata = [{test: 'test'}];
- async.auto({
- task1: ['task2', function(callback){
- setTimeout(function(){
- callOrder.push('task1');
- callback();
- }, 25);
- }],
- task2: function(callback){
- setTimeout(function(){
- callOrder.push('task2');
- callback();
- }, 50);
- },
- task3: ['task2', function(callback){
- callOrder.push('task3');
- callback();
- }],
- task4: ['task1', 'task2', function(callback){
- callOrder.push('task4');
- callback();
- }]
- },
- function(err){
- test.same(callOrder, ['task2','task3','task1','task4']);
- test.done();
- });
-};
-
-exports['auto empty object'] = function(test){
- async.auto({}, function(err){
- test.done();
- });
-};
-
-exports['auto error'] = function(test){
- test.expect(1);
- async.auto({
- task1: function(callback){
- callback('testerror');
- },
- task2: ['task1', function(callback){
- test.ok(false, 'task2 should not be called');
- callback();
- }],
- task3: function(callback){
- callback('testerror2');
- }
- },
- function(err){
- test.equals(err, 'testerror');
- });
- setTimeout(test.done, 100);
-};
-
-exports['auto no callback'] = function(test){
- async.auto({
- task1: function(callback){callback();},
- task2: ['task1', function(callback){callback(); test.done();}]
- });
-};
-
-exports['waterfall'] = function(test){
- test.expect(6);
- var call_order = [];
- async.waterfall([
- function(callback){
- call_order.push('fn1');
- setTimeout(function(){callback(null, 'one', 'two');}, 0);
- },
- function(arg1, arg2, callback){
- call_order.push('fn2');
- test.equals(arg1, 'one');
- test.equals(arg2, 'two');
- setTimeout(function(){callback(null, arg1, arg2, 'three');}, 25);
- },
- function(arg1, arg2, arg3, callback){
- call_order.push('fn3');
- test.equals(arg1, 'one');
- test.equals(arg2, 'two');
- test.equals(arg3, 'three');
- callback(null, 'four');
- },
- function(arg4, callback){
- call_order.push('fn4');
- test.same(call_order, ['fn1','fn2','fn3','fn4']);
- callback(null, 'test');
- }
- ], function(err){
- test.done();
- });
-};
-
-exports['waterfall empty array'] = function(test){
- async.waterfall([], function(err){
- test.done();
- });
-};
-
-exports['waterfall no callback'] = function(test){
- async.waterfall([
- function(callback){callback();},
- function(callback){callback(); test.done();}
- ]);
-};
-
-exports['waterfall async'] = function(test){
- var call_order = [];
- async.waterfall([
- function(callback){
- call_order.push(1);
- callback();
- call_order.push(2);
- },
- function(callback){
- call_order.push(3);
- callback();
- },
- function(){
- test.same(call_order, [1,2,3]);
- test.done();
- }
- ]);
-};
-
-exports['waterfall error'] = function(test){
- test.expect(1);
- async.waterfall([
- function(callback){
- callback('error');
- },
- function(callback){
- test.ok(false, 'next function should not be called');
- callback();
- }
- ], function(err){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['waterfall multiple callback calls'] = function(test){
- var call_order = [];
- var arr = [
- function(callback){
- call_order.push(1);
- // call the callback twice. this should call function 2 twice
- callback(null, 'one', 'two');
- callback(null, 'one', 'two');
- },
- function(arg1, arg2, callback){
- call_order.push(2);
- callback(null, arg1, arg2, 'three');
- },
- function(arg1, arg2, arg3, callback){
- call_order.push(3);
- callback(null, 'four');
- },
- function(arg4){
- call_order.push(4);
- arr[3] = function(){
- call_order.push(4);
- test.same(call_order, [1,2,2,3,3,4,4]);
- test.done();
- };
- }
- ];
- async.waterfall(arr);
-};
-
-
-exports['parallel'] = function(test){
- var call_order = [];
- async.parallel([
- function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 25);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 50);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 15);
- }
- ],
- function(err, results){
- test.equals(err, null);
- test.same(call_order, [3,1,2]);
- test.same(results, [1,2,[3,3]]);
- test.done();
- });
-};
-
-exports['parallel empty array'] = function(test){
- async.parallel([], function(err, results){
- test.equals(err, null);
- test.same(results, []);
- test.done();
- });
-};
-
-exports['parallel error'] = function(test){
- async.parallel([
- function(callback){
- callback('error', 1);
- },
- function(callback){
- callback('error2', 2);
- }
- ],
- function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 100);
-};
-
-exports['parallel no callback'] = function(test){
- async.parallel([
- function(callback){callback();},
- function(callback){callback(); test.done();},
- ]);
-};
-
-exports['parallel object'] = function(test){
- var call_order = [];
- async.parallel({
- one: function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 25);
- },
- two: function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 50);
- },
- three: function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 15);
- }
- },
- function(err, results){
- test.equals(err, null);
- test.same(call_order, [3,1,2]);
- test.same(results, {
- one: 1,
- two: 2,
- three: [3,3]
- });
- test.done();
- });
-};
-
-exports['series'] = function(test){
- var call_order = [];
- async.series([
- function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 25);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 50);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 15);
- }
- ],
- function(err, results){
- test.equals(err, null);
- test.same(results, [1,2,[3,3]]);
- test.same(call_order, [1,2,3]);
- test.done();
- });
-};
-
-exports['series empty array'] = function(test){
- async.series([], function(err, results){
- test.equals(err, null);
- test.same(results, []);
- test.done();
- });
-};
-
-exports['series error'] = function(test){
- test.expect(1);
- async.series([
- function(callback){
- callback('error', 1);
- },
- function(callback){
- test.ok(false, 'should not be called');
- callback('error2', 2);
- }
- ],
- function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 100);
-};
-
-exports['series no callback'] = function(test){
- async.series([
- function(callback){callback();},
- function(callback){callback(); test.done();},
- ]);
-};
-
-exports['series object'] = function(test){
- var call_order = [];
- async.series({
- one: function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 25);
- },
- two: function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 50);
- },
- three: function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 15);
- }
- },
- function(err, results){
- test.equals(err, null);
- test.same(results, {
- one: 1,
- two: 2,
- three: [3,3]
- });
- test.same(call_order, [1,2,3]);
- test.done();
- });
-};
-
-exports['iterator'] = function(test){
- var call_order = [];
- var iterator = async.iterator([
- function(){call_order.push(1);},
- function(arg1){
- test.equals(arg1, 'arg1');
- call_order.push(2);
- },
- function(arg1, arg2){
- test.equals(arg1, 'arg1');
- test.equals(arg2, 'arg2');
- call_order.push(3);
- }
- ]);
- iterator();
- test.same(call_order, [1]);
- var iterator2 = iterator();
- test.same(call_order, [1,1]);
- var iterator3 = iterator2('arg1');
- test.same(call_order, [1,1,2]);
- var iterator4 = iterator3('arg1', 'arg2');
- test.same(call_order, [1,1,2,3]);
- test.equals(iterator4, undefined);
- test.done();
-};
-
-exports['iterator empty array'] = function(test){
- var iterator = async.iterator([]);
- test.equals(iterator(), undefined);
- test.equals(iterator.next(), undefined);
- test.done();
-};
-
-exports['iterator.next'] = function(test){
- var call_order = [];
- var iterator = async.iterator([
- function(){call_order.push(1);},
- function(arg1){
- test.equals(arg1, 'arg1');
- call_order.push(2);
- },
- function(arg1, arg2){
- test.equals(arg1, 'arg1');
- test.equals(arg2, 'arg2');
- call_order.push(3);
- }
- ]);
- var fn = iterator.next();
- var iterator2 = fn('arg1');
- test.same(call_order, [2]);
- iterator2('arg1','arg2');
- test.same(call_order, [2,3]);
- test.equals(iterator2.next(), undefined);
- test.done();
-};
-
-exports['forEach'] = function(test){
- var args = [];
- async.forEach([1,3,2], function(x, callback){
- setTimeout(function(){
- args.push(x);
- callback();
- }, x*25);
- }, function(err){
- test.same(args, [1,2,3]);
- test.done();
- });
-};
-
-exports['forEach empty array'] = function(test){
- test.expect(1);
- async.forEach([], function(x, callback){
- test.ok(false, 'iterator should not be called');
- callback();
- }, function(err){
- test.ok(true, 'should call callback');
- });
- setTimeout(test.done, 25);
-};
-
-exports['forEach error'] = function(test){
- test.expect(1);
- async.forEach([1,2,3], function(x, callback){
- callback('error');
- }, function(err){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['forEachSeries'] = function(test){
- var args = [];
- async.forEachSeries([1,3,2], function(x, callback){
- setTimeout(function(){
- args.push(x);
- callback();
- }, x*25);
- }, function(err){
- test.same(args, [1,3,2]);
- test.done();
- });
-};
-
-exports['forEachSeries empty array'] = function(test){
- test.expect(1);
- async.forEachSeries([], function(x, callback){
- test.ok(false, 'iterator should not be called');
- callback();
- }, function(err){
- test.ok(true, 'should call callback');
- });
- setTimeout(test.done, 25);
-};
-
-exports['forEachSeries error'] = function(test){
- test.expect(2);
- var call_order = [];
- async.forEachSeries([1,2,3], function(x, callback){
- call_order.push(x);
- callback('error');
- }, function(err){
- test.same(call_order, [1]);
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['map'] = function(test){
- var call_order = [];
- async.map([1,3,2], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(null, x*2);
- }, x*25);
- }, function(err, results){
- test.same(call_order, [1,2,3]);
- test.same(results, [2,6,4]);
- test.done();
- });
-};
-
-exports['map original untouched'] = function(test){
- var a = [1,2,3];
- async.map(a, function(x, callback){
- callback(null, x*2);
- }, function(err, results){
- test.same(results, [2,4,6]);
- test.same(a, [1,2,3]);
- test.done();
- });
-};
-
-exports['map error'] = function(test){
- test.expect(1);
- async.map([1,2,3], function(x, callback){
- callback('error');
- }, function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['mapSeries'] = function(test){
- var call_order = [];
- async.mapSeries([1,3,2], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(null, x*2);
- }, x*25);
- }, function(err, results){
- test.same(call_order, [1,3,2]);
- test.same(results, [2,6,4]);
- test.done();
- });
-};
-
-exports['mapSeries error'] = function(test){
- test.expect(1);
- async.mapSeries([1,2,3], function(x, callback){
- callback('error');
- }, function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['reduce'] = function(test){
- var call_order = [];
- async.reduce([1,2,3], 0, function(a, x, callback){
- call_order.push(x);
- callback(null, a + x);
- }, function(err, result){
- test.equals(result, 6);
- test.same(call_order, [1,2,3]);
- test.done();
- });
-};
-
-exports['reduce async with non-reference memo'] = function(test){
- async.reduce([1,3,2], 0, function(a, x, callback){
- setTimeout(function(){callback(null, a + x)}, Math.random()*100);
- }, function(err, result){
- test.equals(result, 6);
- test.done();
- });
-};
-
-exports['reduce error'] = function(test){
- test.expect(1);
- async.reduce([1,2,3], 0, function(a, x, callback){
- callback('error');
- }, function(err, result){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['inject alias'] = function(test){
- test.equals(async.inject, async.reduce);
- test.done();
-};
-
-exports['foldl alias'] = function(test){
- test.equals(async.foldl, async.reduce);
- test.done();
-};
-
-exports['reduceRight'] = function(test){
- var call_order = [];
- var a = [1,2,3];
- async.reduceRight(a, 0, function(a, x, callback){
- call_order.push(x);
- callback(null, a + x);
- }, function(err, result){
- test.equals(result, 6);
- test.same(call_order, [3,2,1]);
- test.same(a, [1,2,3]);
- test.done();
- });
-};
-
-exports['foldr alias'] = function(test){
- test.equals(async.foldr, async.reduceRight);
- test.done();
-};
-
-exports['filter'] = function(test){
- async.filter([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [3,1]);
- test.done();
- });
-};
-
-exports['filter original untouched'] = function(test){
- var a = [3,1,2];
- async.filter(a, function(x, callback){
- callback(x % 2);
- }, function(results){
- test.same(results, [3,1]);
- test.same(a, [3,1,2]);
- test.done();
- });
-};
-
-exports['filterSeries'] = function(test){
- async.filterSeries([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [3,1]);
- test.done();
- });
-};
-
-exports['select alias'] = function(test){
- test.equals(async.select, async.filter);
- test.done();
-};
-
-exports['selectSeries alias'] = function(test){
- test.equals(async.selectSeries, async.filterSeries);
- test.done();
-};
-
-exports['reject'] = function(test){
- async.reject([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [2]);
- test.done();
- });
-};
-
-exports['reject original untouched'] = function(test){
- var a = [3,1,2];
- async.reject(a, function(x, callback){
- callback(x % 2);
- }, function(results){
- test.same(results, [2]);
- test.same(a, [3,1,2]);
- test.done();
- });
-};
-
-exports['rejectSeries'] = function(test){
- async.rejectSeries([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [2]);
- test.done();
- });
-};
-
-exports['some true'] = function(test){
- async.some([3,1,2], function(x, callback){
- setTimeout(function(){callback(x === 1);}, 0);
- }, function(result){
- test.equals(result, true);
- test.done();
- });
-};
-
-exports['some false'] = function(test){
- async.some([3,1,2], function(x, callback){
- setTimeout(function(){callback(x === 10);}, 0);
- }, function(result){
- test.equals(result, false);
- test.done();
- });
-};
-
-exports['some early return'] = function(test){
- var call_order = [];
- async.some([1,2,3], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x === 1);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- });
- setTimeout(function(){
- test.same(call_order, [1,'callback',2,3]);
- test.done();
- }, 100);
-};
-
-exports['any alias'] = function(test){
- test.equals(async.any, async.some);
- test.done();
-};
-
-exports['every true'] = function(test){
- async.every([1,2,3], function(x, callback){
- setTimeout(function(){callback(true);}, 0);
- }, function(result){
- test.equals(result, true);
- test.done();
- });
-};
-
-exports['every false'] = function(test){
- async.every([1,2,3], function(x, callback){
- setTimeout(function(){callback(x % 2);}, 0);
- }, function(result){
- test.equals(result, false);
- test.done();
- });
-};
-
-exports['every early return'] = function(test){
- var call_order = [];
- async.every([1,2,3], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x === 1);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- });
- setTimeout(function(){
- test.same(call_order, [1,2,'callback',3]);
- test.done();
- }, 100);
-};
-
-exports['all alias'] = function(test){
- test.equals(async.all, async.every);
- test.done();
-};
-
-exports['detect'] = function(test){
- var call_order = [];
- async.detect([3,2,1], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x == 2);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- test.equals(result, 2);
- });
- setTimeout(function(){
- test.same(call_order, [1,2,'callback',3]);
- test.done();
- }, 100);
-};
-
-exports['detectSeries'] = function(test){
- var call_order = [];
- async.detectSeries([3,2,1], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x == 2);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- test.equals(result, 2);
- });
- setTimeout(function(){
- test.same(call_order, [3,2,'callback']);
- test.done();
- }, 200);
-};
-
-exports['sortBy'] = function(test){
- async.sortBy([{a:1},{a:15},{a:6}], function(x, callback){
- setTimeout(function(){callback(null, x.a);}, 0);
- }, function(err, result){
- test.same(result, [{a:1},{a:6},{a:15}]);
- test.done();
- });
-};
-
-exports['apply'] = function(test){
- test.expect(6);
- var fn = function(){
- test.same(Array.prototype.slice.call(arguments), [1,2,3,4])
- };
- async.apply(fn, 1, 2, 3, 4)();
- async.apply(fn, 1, 2, 3)(4);
- async.apply(fn, 1, 2)(3, 4);
- async.apply(fn, 1)(2, 3, 4);
- async.apply(fn)(1, 2, 3, 4);
- test.equals(
- async.apply(function(name){return 'hello ' + name}, 'world')(),
- 'hello world'
- );
- test.done();
-};
-
-
-// generates tests for console functions such as async.log
-var console_fn_tests = function(name){
-
- if (typeof console !== 'undefined') {
- exports[name] = function(test){
- test.expect(5);
- var fn = function(arg1, callback){
- test.equals(arg1, 'one');
- setTimeout(function(){callback(null, 'test');}, 0);
- };
- var fn_err = function(arg1, callback){
- test.equals(arg1, 'one');
- setTimeout(function(){callback('error');}, 0);
- };
- var _console_fn = console[name];
- var _error = console.error;
- console[name] = function(val){
- test.equals(val, 'test');
- test.equals(arguments.length, 1);
- console.error = function(val){
- test.equals(val, 'error');
- console[name] = _console_fn;
- console.error = _error;
- test.done();
- };
- async[name](fn_err, 'one');
- };
- async[name](fn, 'one');
- };
-
- exports[name + ' with multiple result params'] = function(test){
- var fn = function(callback){callback(null,'one','two','three');};
- var _console_fn = console[name];
- var called_with = [];
- console[name] = function(x){
- called_with.push(x);
- };
- async[name](fn);
- test.same(called_with, ['one','two','three']);
- console[name] = _console_fn;
- test.done();
- };
- }
-
- // browser-only test
- exports[name + ' without console.' + name] = function(test){
- if (typeof window !== 'undefined') {
- var _console = window.console;
- window.console = undefined;
- var fn = function(callback){callback(null, 'val');};
- var fn_err = function(callback){callback('error');};
- async[name](fn);
- async[name](fn_err);
- window.console = _console;
- }
- test.done();
- };
-
-};
-
-console_fn_tests('log');
-console_fn_tests('dir');
-/*console_fn_tests('info');
-console_fn_tests('warn');
-console_fn_tests('error');*/
-
-exports['nextTick'] = function(test){
- var call_order = [];
- async.nextTick(function(){call_order.push('two');});
- call_order.push('one');
- setTimeout(function(){
- test.same(call_order, ['one','two']);
- test.done();
- }, 50);
-};
-
-exports['nextTick in the browser'] = function(test){
- if (typeof process !== 'undefined') {
- // skip this test in node
- return test.done();
- }
- test.expect(1);
-
- var call_order = [];
- async.nextTick(function(){call_order.push('two');});
-
- call_order.push('one');
- setTimeout(function(){
- if (typeof process !== 'undefined') {
- process.nextTick = _nextTick;
- }
- test.same(call_order, ['one','two']);
- }, 50);
- setTimeout(test.done, 100);
-};
-
-exports['noConflict - node only'] = function(test){
- if (typeof process !== 'undefined') {
- // node only test
- test.expect(3);
- var fs = require('fs');
- var filename = __dirname + '/../lib/async.js';
- fs.readFile(filename, function(err, content){
- if(err) return test.done();
- var Script = process.binding('evals').Script;
-
- var s = new Script(content, filename);
- var s2 = new Script(
- content + 'this.async2 = this.async.noConflict();',
- filename
- );
-
- var sandbox1 = {async: 'oldvalue'};
- s.runInNewContext(sandbox1);
- test.ok(sandbox1.async);
-
- var sandbox2 = {async: 'oldvalue'};
- s2.runInNewContext(sandbox2);
- test.equals(sandbox2.async, 'oldvalue');
- test.ok(sandbox2.async2);
-
- test.done();
- });
- }
- else test.done();
-};
-
-exports['concat'] = function(test){
- var call_order = [];
- var iterator = function (x, cb) {
- setTimeout(function(){
- call_order.push(x);
- var r = [];
- while (x > 0) {
- r.push(x);
- x--;
- }
- cb(null, r);
- }, x*25);
- };
- async.concat([1,3,2], iterator, function(err, results){
- test.same(results, [1,2,1,3,2,1]);
- test.same(call_order, [1,2,3]);
- test.ok(!err);
- test.done();
- });
-};
-
-exports['concat error'] = function(test){
- var iterator = function (x, cb) {
- cb(new Error('test error'));
- };
- async.concat([1,2,3], iterator, function(err, results){
- test.ok(err);
- test.done();
- });
-};
-
-exports['concatSeries'] = function(test){
- var call_order = [];
- var iterator = function (x, cb) {
- setTimeout(function(){
- call_order.push(x);
- var r = [];
- while (x > 0) {
- r.push(x);
- x--;
- }
- cb(null, r);
- }, x*25);
- };
- async.concatSeries([1,3,2], iterator, function(err, results){
- test.same(results, [1,3,2,1,2,1]);
- test.same(call_order, [1,3,2]);
- test.ok(!err);
- test.done();
- });
-};
-
-exports['until'] = function (test) {
- var call_order = [];
-
- var count = 0;
- async.until(
- function () {
- call_order.push(['test', count]);
- return (count == 5);
- },
- function (cb) {
- call_order.push(['iterator', count]);
- count++;
- cb();
- },
- function (err) {
- test.same(call_order, [
- ['test', 0],
- ['iterator', 0], ['test', 1],
- ['iterator', 1], ['test', 2],
- ['iterator', 2], ['test', 3],
- ['iterator', 3], ['test', 4],
- ['iterator', 4], ['test', 5],
- ]);
- test.equals(count, 5);
- test.done();
- }
- );
-};
-
-exports['whilst'] = function (test) {
- var call_order = [];
-
- var count = 0;
- async.whilst(
- function () {
- call_order.push(['test', count]);
- return (count < 5);
- },
- function (cb) {
- call_order.push(['iterator', count]);
- count++;
- cb();
- },
- function (err) {
- test.same(call_order, [
- ['test', 0],
- ['iterator', 0], ['test', 1],
- ['iterator', 1], ['test', 2],
- ['iterator', 2], ['test', 3],
- ['iterator', 3], ['test', 4],
- ['iterator', 4], ['test', 5],
- ]);
- test.equals(count, 5);
- test.done();
- }
- );
-};
-
-exports['queue'] = function (test) {
- var call_order = [],
- delays = [40,20,60,20];
-
- // worker1: --1-4
- // worker2: -2---3
- // order of completion: 2,1,4,3
-
- var q = async.queue(function (task, callback) {
- setTimeout(function () {
- call_order.push('process ' + task);
- callback('error', 'arg');
- }, delays.splice(0,1)[0]);
- }, 2);
-
- q.push(1, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 1);
- call_order.push('callback ' + 1);
- });
- q.push(2, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 2);
- call_order.push('callback ' + 2);
- });
- q.push(3, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 0);
- call_order.push('callback ' + 3);
- });
- q.push(4, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 0);
- call_order.push('callback ' + 4);
- });
- test.equal(q.length(), 4);
- test.equal(q.concurrency, 2);
-
- setTimeout(function () {
- test.same(call_order, [
- 'process 2', 'callback 2',
- 'process 1', 'callback 1',
- 'process 4', 'callback 4',
- 'process 3', 'callback 3'
- ]);
- test.equal(q.concurrency, 2);
- test.equal(q.length(), 0);
- test.done();
- }, 200);
-};
-
-exports['queue changing concurrency'] = function (test) {
- var call_order = [],
- delays = [40,20,60,20];
-
- // worker1: --1-2---3-4
- // order of completion: 1,2,3,4
-
- var q = async.queue(function (task, callback) {
- setTimeout(function () {
- call_order.push('process ' + task);
- callback('error', 'arg');
- }, delays.splice(0,1)[0]);
- }, 2);
-
- q.push(1, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 3);
- call_order.push('callback ' + 1);
- });
- q.push(2, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 2);
- call_order.push('callback ' + 2);
- });
- q.push(3, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 1);
- call_order.push('callback ' + 3);
- });
- q.push(4, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 0);
- call_order.push('callback ' + 4);
- });
- test.equal(q.length(), 4);
- test.equal(q.concurrency, 2);
- q.concurrency = 1;
-
- setTimeout(function () {
- test.same(call_order, [
- 'process 1', 'callback 1',
- 'process 2', 'callback 2',
- 'process 3', 'callback 3',
- 'process 4', 'callback 4'
- ]);
- test.equal(q.concurrency, 1);
- test.equal(q.length(), 0);
- test.done();
- }, 250);
-};
-
-exports['queue push without callback'] = function (test) {
- var call_order = [],
- delays = [40,20,60,20];
-
- // worker1: --1-4
- // worker2: -2---3
- // order of completion: 2,1,4,3
-
- var q = async.queue(function (task, callback) {
- setTimeout(function () {
- call_order.push('process ' + task);
- callback('error', 'arg');
- }, delays.splice(0,1)[0]);
- }, 2);
-
- q.push(1);
- q.push(2);
- q.push(3);
- q.push(4);
-
- setTimeout(function () {
- test.same(call_order, [
- 'process 2',
- 'process 1',
- 'process 4',
- 'process 3'
- ]);
- test.done();
- }, 200);
-};
-
-exports['memoize'] = function (test) {
- test.expect(4);
- var call_order = [];
-
- var fn = function (arg1, arg2, callback) {
- call_order.push(['fn', arg1, arg2]);
- callback(null, arg1 + arg2);
- };
-
- var fn2 = async.memoize(fn);
- fn2(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn2(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn2(2, 2, function (err, result) {
- test.equal(result, 4);
- });
-
- test.same(call_order, [['fn',1,2], ['fn',2,2]]);
- test.done();
-};
-
-exports['memoize error'] = function (test) {
- test.expect(1);
- var testerr = new Error('test');
- var fn = function (arg1, arg2, callback) {
- callback(testerr, arg1 + arg2);
- };
- async.memoize(fn)(1, 2, function (err, result) {
- test.equal(err, testerr);
- });
- test.done();
-};
-
-exports['memoize custom hash function'] = function (test) {
- test.expect(2);
- var testerr = new Error('test');
-
- var fn = function (arg1, arg2, callback) {
- callback(testerr, arg1 + arg2);
- };
- var fn2 = async.memoize(fn, function () {
- return 'custom hash';
- });
- fn2(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn2(2, 2, function (err, result) {
- test.equal(result, 3);
- });
- test.done();
-};
-
-// Issue 10 on github: https://github.com/caolan/async/issues#issue/10
-exports['falsy return values in series'] = function (test) {
- function taskFalse(callback) {
- async.nextTick(function() {
- callback(null, false);
- });
- };
- function taskUndefined(callback) {
- async.nextTick(function() {
- callback(null, undefined);
- });
- };
- function taskEmpty(callback) {
- async.nextTick(function() {
- callback(null);
- });
- };
- function taskNull(callback) {
- async.nextTick(function() {
- callback(null, null);
- });
- };
- async.series(
- [taskFalse, taskUndefined, taskEmpty, taskNull],
- function(err, results) {
- test.same(results, [false, undefined, undefined, null]);
- test.strictEqual(results[0], false);
- test.strictEqual(results[1], undefined);
- test.strictEqual(results[2], undefined);
- test.strictEqual(results[3], null);
- test.done();
- }
- );
-};
-
-// Issue 10 on github: https://github.com/caolan/async/issues#issue/10
-exports['falsy return values in parallel'] = function (test) {
- function taskFalse(callback) {
- async.nextTick(function() {
- callback(null, false);
- });
- };
- function taskUndefined(callback) {
- async.nextTick(function() {
- callback(null, undefined);
- });
- };
- function taskEmpty(callback) {
- async.nextTick(function() {
- callback(null);
- });
- };
- function taskNull(callback) {
- async.nextTick(function() {
- callback(null, null);
- });
- };
- async.parallel(
- [taskFalse, taskUndefined, taskEmpty, taskNull],
- function(err, results) {
- test.same(results, [false, undefined, undefined, null]);
- test.strictEqual(results[0], false);
- test.strictEqual(results[1], undefined);
- test.strictEqual(results[2], undefined);
- test.strictEqual(results[3], null);
- test.done();
- }
- );
-};
-
-exports['queue events'] = function(test) {
- var calls = [];
- var q = async.queue(function(task, cb) {
- // nop
- calls.push('process ' + task);
- cb();
- }, 3);
-
- q.saturated = function() {
- test.ok(q.length() == 3, 'queue should be saturated now');
- calls.push('saturated');
- };
- q.empty = function() {
- test.ok(q.length() == 0, 'queue should be empty now');
- calls.push('empty');
- };
- q.drain = function() {
- test.ok(
- q.length() == 0 && q.running() == 0,
- 'queue should be empty now and no more workers should be running'
- );
- calls.push('drain');
- test.same(calls, [
- 'saturated',
- 'process foo',
- 'foo cb',
- 'process bar',
- 'bar cb',
- 'process zoo',
- 'zoo cb',
- 'process poo',
- 'poo cb',
- 'empty',
- 'process moo',
- 'moo cb',
- 'drain',
- ]);
- test.done();
- };
- q.push('foo', function () {calls.push('foo cb');});
- q.push('bar', function () {calls.push('bar cb');});
- q.push('zoo', function () {calls.push('zoo cb');});
- q.push('poo', function () {calls.push('poo cb');});
- q.push('moo', function () {calls.push('moo cb');});
-};
diff --git a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/test.html b/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/test.html
deleted file mode 100644
index 2450e2d..0000000
--- a/node_modules/browser-sync/node_modules/localtunnel/node_modules/request/node_modules/form-data/node_modules/async/test/test.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
- Async.js Test Suite
-
-
-
-
-
-
-
-
-
'
- */
- function wrap(value, wrapper) {
- return createWrapper(wrapper, 16, [value]);
- }
-
- /*--------------------------------------------------------------------------*/
-
- /**
- * Creates a function that returns `value`.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {*} value The value to return from the new function.
- * @returns {Function} Returns the new function.
- * @example
- *
- * var object = { 'name': 'fred' };
- * var getter = _.constant(object);
- * getter() === object;
- * // => true
- */
- function constant(value) {
- return function() {
- return value;
- };
- }
-
- /**
- * Produces a callback bound to an optional `thisArg`. If `func` is a property
- * name the created callback will return the property value for a given element.
- * If `func` is an object the created callback will return `true` for elements
- * that contain the equivalent object properties, otherwise it will return `false`.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {*} [func=identity] The value to convert to a callback.
- * @param {*} [thisArg] The `this` binding of the created callback.
- * @param {number} [argCount] The number of arguments the callback accepts.
- * @returns {Function} Returns a callback function.
- * @example
- *
- * var characters = [
- * { 'name': 'barney', 'age': 36 },
- * { 'name': 'fred', 'age': 40 }
- * ];
- *
- * // wrap to create custom callback shorthands
- * _.createCallback = _.wrap(_.createCallback, function(func, callback, thisArg) {
- * var match = /^(.+?)__([gl]t)(.+)$/.exec(callback);
- * return !match ? func(callback, thisArg) : function(object) {
- * return match[2] == 'gt' ? object[match[1]] > match[3] : object[match[1]] < match[3];
- * };
- * });
- *
- * _.filter(characters, 'age__gt38');
- * // => [{ 'name': 'fred', 'age': 40 }]
- */
- function createCallback(func, thisArg, argCount) {
- var type = typeof func;
- if (func == null || type == 'function') {
- return baseCreateCallback(func, thisArg, argCount);
- }
- // handle "_.pluck" style callback shorthands
- if (type != 'object') {
- return property(func);
- }
- var props = keys(func),
- key = props[0],
- a = func[key];
-
- // handle "_.where" style callback shorthands
- if (props.length == 1 && a === a && !isObject(a)) {
- // fast path the common case of providing an object with a single
- // property containing a primitive value
- return function(object) {
- var b = object[key];
- return a === b && (a !== 0 || (1 / a == 1 / b));
- };
- }
- return function(object) {
- var length = props.length,
- result = false;
-
- while (length--) {
- if (!(result = baseIsEqual(object[props[length]], func[props[length]], null, true))) {
- break;
- }
- }
- return result;
- };
- }
-
- /**
- * Converts the characters `&`, `<`, `>`, `"`, and `'` in `string` to their
- * corresponding HTML entities.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {string} string The string to escape.
- * @returns {string} Returns the escaped string.
- * @example
- *
- * _.escape('Fred, Wilma, & Pebbles');
- * // => 'Fred, Wilma, & Pebbles'
- */
- function escape(string) {
- return string == null ? '' : String(string).replace(reUnescapedHtml, escapeHtmlChar);
- }
-
- /**
- * This method returns the first argument provided to it.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {*} value Any value.
- * @returns {*} Returns `value`.
- * @example
- *
- * var object = { 'name': 'fred' };
- * _.identity(object) === object;
- * // => true
- */
- function identity(value) {
- return value;
- }
-
- /**
- * Adds function properties of a source object to the destination object.
- * If `object` is a function methods will be added to its prototype as well.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {Function|Object} [object=lodash] object The destination object.
- * @param {Object} source The object of functions to add.
- * @param {Object} [options] The options object.
- * @param {boolean} [options.chain=true] Specify whether the functions added are chainable.
- * @example
- *
- * function capitalize(string) {
- * return string.charAt(0).toUpperCase() + string.slice(1).toLowerCase();
- * }
- *
- * _.mixin({ 'capitalize': capitalize });
- * _.capitalize('fred');
- * // => 'Fred'
- *
- * _('fred').capitalize().value();
- * // => 'Fred'
- *
- * _.mixin({ 'capitalize': capitalize }, { 'chain': false });
- * _('fred').capitalize();
- * // => 'Fred'
- */
- function mixin(object, source, options) {
- var chain = true,
- methodNames = source && functions(source);
-
- if (!source || (!options && !methodNames.length)) {
- if (options == null) {
- options = source;
- }
- ctor = lodashWrapper;
- source = object;
- object = lodash;
- methodNames = functions(source);
- }
- if (options === false) {
- chain = false;
- } else if (isObject(options) && 'chain' in options) {
- chain = options.chain;
- }
- var ctor = object,
- isFunc = isFunction(ctor);
-
- forEach(methodNames, function(methodName) {
- var func = object[methodName] = source[methodName];
- if (isFunc) {
- ctor.prototype[methodName] = function() {
- var chainAll = this.__chain__,
- value = this.__wrapped__,
- args = [value];
-
- push.apply(args, arguments);
- var result = func.apply(object, args);
- if (chain || chainAll) {
- if (value === result && isObject(result)) {
- return this;
- }
- result = new ctor(result);
- result.__chain__ = chainAll;
- }
- return result;
- };
- }
- });
- }
-
- /**
- * Reverts the '_' variable to its previous value and returns a reference to
- * the `lodash` function.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @returns {Function} Returns the `lodash` function.
- * @example
- *
- * var lodash = _.noConflict();
- */
- function noConflict() {
- context._ = oldDash;
- return this;
- }
-
- /**
- * A no-operation function.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @example
- *
- * var object = { 'name': 'fred' };
- * _.noop(object) === undefined;
- * // => true
- */
- function noop() {
- // no operation performed
- }
-
- /**
- * Gets the number of milliseconds that have elapsed since the Unix epoch
- * (1 January 1970 00:00:00 UTC).
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @example
- *
- * var stamp = _.now();
- * _.defer(function() { console.log(_.now() - stamp); });
- * // => logs the number of milliseconds it took for the deferred function to be called
- */
- var now = isNative(now = Date.now) && now || function() {
- return new Date().getTime();
- };
-
- /**
- * Converts the given value into an integer of the specified radix.
- * If `radix` is `undefined` or `0` a `radix` of `10` is used unless the
- * `value` is a hexadecimal, in which case a `radix` of `16` is used.
- *
- * Note: This method avoids differences in native ES3 and ES5 `parseInt`
- * implementations. See http://es5.github.io/#E.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {string} value The value to parse.
- * @param {number} [radix] The radix used to interpret the value to parse.
- * @returns {number} Returns the new integer value.
- * @example
- *
- * _.parseInt('08');
- * // => 8
- */
- var parseInt = nativeParseInt(whitespace + '08') == 8 ? nativeParseInt : function(value, radix) {
- // Firefox < 21 and Opera < 15 follow the ES3 specified implementation of `parseInt`
- return nativeParseInt(isString(value) ? value.replace(reLeadingSpacesAndZeros, '') : value, radix || 0);
- };
-
- /**
- * Creates a "_.pluck" style function, which returns the `key` value of a
- * given object.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {string} key The name of the property to retrieve.
- * @returns {Function} Returns the new function.
- * @example
- *
- * var characters = [
- * { 'name': 'fred', 'age': 40 },
- * { 'name': 'barney', 'age': 36 }
- * ];
- *
- * var getName = _.property('name');
- *
- * _.map(characters, getName);
- * // => ['barney', 'fred']
- *
- * _.sortBy(characters, getName);
- * // => [{ 'name': 'barney', 'age': 36 }, { 'name': 'fred', 'age': 40 }]
- */
- function property(key) {
- return function(object) {
- return object[key];
- };
- }
-
- /**
- * Produces a random number between `min` and `max` (inclusive). If only one
- * argument is provided a number between `0` and the given number will be
- * returned. If `floating` is truey or either `min` or `max` are floats a
- * floating-point number will be returned instead of an integer.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {number} [min=0] The minimum possible value.
- * @param {number} [max=1] The maximum possible value.
- * @param {boolean} [floating=false] Specify returning a floating-point number.
- * @returns {number} Returns a random number.
- * @example
- *
- * _.random(0, 5);
- * // => an integer between 0 and 5
- *
- * _.random(5);
- * // => also an integer between 0 and 5
- *
- * _.random(5, true);
- * // => a floating-point number between 0 and 5
- *
- * _.random(1.2, 5.2);
- * // => a floating-point number between 1.2 and 5.2
- */
- function random(min, max, floating) {
- var noMin = min == null,
- noMax = max == null;
-
- if (floating == null) {
- if (typeof min == 'boolean' && noMax) {
- floating = min;
- min = 1;
- }
- else if (!noMax && typeof max == 'boolean') {
- floating = max;
- noMax = true;
- }
- }
- if (noMin && noMax) {
- max = 1;
- }
- min = +min || 0;
- if (noMax) {
- max = min;
- min = 0;
- } else {
- max = +max || 0;
- }
- if (floating || min % 1 || max % 1) {
- var rand = nativeRandom();
- return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand +'').length - 1)))), max);
- }
- return baseRandom(min, max);
- }
-
- /**
- * Resolves the value of property `key` on `object`. If `key` is a function
- * it will be invoked with the `this` binding of `object` and its result returned,
- * else the property value is returned. If `object` is falsey then `undefined`
- * is returned.
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {Object} object The object to inspect.
- * @param {string} key The name of the property to resolve.
- * @returns {*} Returns the resolved value.
- * @example
- *
- * var object = {
- * 'cheese': 'crumpets',
- * 'stuff': function() {
- * return 'nonsense';
- * }
- * };
- *
- * _.result(object, 'cheese');
- * // => 'crumpets'
- *
- * _.result(object, 'stuff');
- * // => 'nonsense'
- */
- function result(object, key) {
- if (object) {
- var value = object[key];
- return isFunction(value) ? object[key]() : value;
- }
- }
-
- /**
- * A micro-templating method that handles arbitrary delimiters, preserves
- * whitespace, and correctly escapes quotes within interpolated code.
- *
- * Note: In the development build, `_.template` utilizes sourceURLs for easier
- * debugging. See http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl
- *
- * For more information on precompiling templates see:
- * http://lodash.com/custom-builds
- *
- * For more information on Chrome extension sandboxes see:
- * http://developer.chrome.com/stable/extensions/sandboxingEval.html
- *
- * @static
- * @memberOf _
- * @category Utilities
- * @param {string} text The template text.
- * @param {Object} data The data object used to populate the text.
- * @param {Object} [options] The options object.
- * @param {RegExp} [options.escape] The "escape" delimiter.
- * @param {RegExp} [options.evaluate] The "evaluate" delimiter.
- * @param {Object} [options.imports] An object to import into the template as local variables.
- * @param {RegExp} [options.interpolate] The "interpolate" delimiter.
- * @param {string} [sourceURL] The sourceURL of the template's compiled source.
- * @param {string} [variable] The data object variable name.
- * @returns {Function|string} Returns a compiled function when no `data` object
- * is given, else it returns the interpolated text.
- * @example
- *
- * // using the "interpolate" delimiter to create a compiled template
- * var compiled = _.template('hello <%= name %>');
- * compiled({ 'name': 'fred' });
- * // => 'hello fred'
- *
- * // using the "escape" delimiter to escape HTML in data property values
- * _.template('<%- value %>', { 'value': '
-
-
-
-## Documentation
-
-### Collections
-
-* [forEach](#forEach)
-* [map](#map)
-* [filter](#filter)
-* [reject](#reject)
-* [reduce](#reduce)
-* [detect](#detect)
-* [sortBy](#sortBy)
-* [some](#some)
-* [every](#every)
-* [concat](#concat)
-
-### Control Flow
-
-* [series](#series)
-* [parallel](#parallel)
-* [whilst](#whilst)
-* [until](#until)
-* [waterfall](#waterfall)
-* [queue](#queue)
-* [auto](#auto)
-* [iterator](#iterator)
-* [apply](#apply)
-* [nextTick](#nextTick)
-
-### Utils
-
-* [memoize](#memoize)
-* [unmemoize](#unmemoize)
-* [log](#log)
-* [dir](#dir)
-* [noConflict](#noConflict)
-
-
-## Collections
-
-
-### forEach(arr, iterator, callback)
-
-Applies an iterator function to each item in an array, in parallel.
-The iterator is called with an item from the list and a callback for when it
-has finished. If the iterator passes an error to this callback, the main
-callback for the forEach function is immediately called with the error.
-
-Note, that since this function applies the iterator to each item in parallel
-there is no guarantee that the iterator functions will complete in order.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(err) - A callback which is called after all the iterator functions
- have finished, or an error has occurred.
-
-__Example__
-
- // assuming openFiles is an array of file names and saveFile is a function
- // to save the modified contents of that file:
-
- async.forEach(openFiles, saveFile, function(err){
- // if any of the saves produced an error, err would equal that error
- });
-
----------------------------------------
-
-
-### forEachSeries(arr, iterator, callback)
-
-The same as forEach only the iterator is applied to each item in the array in
-series. The next iterator is only called once the current one has completed
-processing. This means the iterator functions will complete in order.
-
-
----------------------------------------
-
-
-### forEachLimit(arr, limit, iterator, callback)
-
-The same as forEach only the iterator is applied to batches of items in the
-array, in series. The next batch of iterators is only called once the current
-one has completed processing.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* limit - How many items should be in each batch.
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(err) - A callback which is called after all the iterator functions
- have finished, or an error has occurred.
-
-__Example__
-
- // Assume documents is an array of JSON objects and requestApi is a
- // function that interacts with a rate-limited REST api.
-
- async.forEachLimit(documents, 20, requestApi, function(err){
- // if any of the saves produced an error, err would equal that error
- });
----------------------------------------
-
-
-### map(arr, iterator, callback)
-
-Produces a new array of values by mapping each value in the given array through
-the iterator function. The iterator is called with an item from the array and a
-callback for when it has finished processing. The callback takes 2 arguments,
-an error and the transformed item from the array. If the iterator passes an
-error to this callback, the main callback for the map function is immediately
-called with the error.
-
-Note, that since this function applies the iterator to each item in parallel
-there is no guarantee that the iterator functions will complete in order, however
-the results array will be in the same order as the original array.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed
- with an error (which can be null) and a transformed item.
-* callback(err, results) - A callback which is called after all the iterator
- functions have finished, or an error has occurred. Results is an array of the
- transformed items from the original array.
-
-__Example__
-
- async.map(['file1','file2','file3'], fs.stat, function(err, results){
- // results is now an array of stats for each file
- });
-
----------------------------------------
-
-
-### mapSeries(arr, iterator, callback)
-
-The same as map only the iterator is applied to each item in the array in
-series. The next iterator is only called once the current one has completed
-processing. The results array will be in the same order as the original.
-
-
----------------------------------------
-
-
-### filter(arr, iterator, callback)
-
-__Alias:__ select
-
-Returns a new array of all the values which pass an async truth test.
-_The callback for each iterator call only accepts a single argument of true or
-false, it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like path.exists. This operation is
-performed in parallel, but the results array will be in the same order as the
-original.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(results) - A callback which is called after all the iterator
- functions have finished.
-
-__Example__
-
- async.filter(['file1','file2','file3'], path.exists, function(results){
- // results now equals an array of the existing files
- });
-
----------------------------------------
-
-
-### filterSeries(arr, iterator, callback)
-
-__alias:__ selectSeries
-
-The same as filter only the iterator is applied to each item in the array in
-series. The next iterator is only called once the current one has completed
-processing. The results array will be in the same order as the original.
-
----------------------------------------
-
-
-### reject(arr, iterator, callback)
-
-The opposite of filter. Removes values that pass an async truth test.
-
----------------------------------------
-
-
-### rejectSeries(arr, iterator, callback)
-
-The same as filter, only the iterator is applied to each item in the array
-in series.
-
-
----------------------------------------
-
-
-### reduce(arr, memo, iterator, callback)
-
-__aliases:__ inject, foldl
-
-Reduces a list of values into a single value using an async iterator to return
-each successive step. Memo is the initial state of the reduction. This
-function only operates in series. For performance reasons, it may make sense to
-split a call to this function into a parallel map, then use the normal
-Array.prototype.reduce on the results. This function is for situations where
-each step in the reduction needs to be async, if you can get the data before
-reducing it then its probably a good idea to do so.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* memo - The initial state of the reduction.
-* iterator(memo, item, callback) - A function applied to each item in the
- array to produce the next step in the reduction. The iterator is passed a
- callback which accepts an optional error as its first argument, and the state
- of the reduction as the second. If an error is passed to the callback, the
- reduction is stopped and the main callback is immediately called with the
- error.
-* callback(err, result) - A callback which is called after all the iterator
- functions have finished. Result is the reduced value.
-
-__Example__
-
- async.reduce([1,2,3], 0, function(memo, item, callback){
- // pointless async:
- process.nextTick(function(){
- callback(null, memo + item)
- });
- }, function(err, result){
- // result is now equal to the last value of memo, which is 6
- });
-
----------------------------------------
-
-
-### reduceRight(arr, memo, iterator, callback)
-
-__Alias:__ foldr
-
-Same as reduce, only operates on the items in the array in reverse order.
-
-
----------------------------------------
-
-
-### detect(arr, iterator, callback)
-
-Returns the first value in a list that passes an async truth test. The
-iterator is applied in parallel, meaning the first iterator to return true will
-fire the detect callback with that result. That means the result might not be
-the first item in the original array (in terms of order) that passes the test.
-
-If order within the original array is important then look at detectSeries.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(result) - A callback which is called as soon as any iterator returns
- true, or after all the iterator functions have finished. Result will be
- the first item in the array that passes the truth test (iterator) or the
- value undefined if none passed.
-
-__Example__
-
- async.detect(['file1','file2','file3'], path.exists, function(result){
- // result now equals the first file in the list that exists
- });
-
----------------------------------------
-
-
-### detectSeries(arr, iterator, callback)
-
-The same as detect, only the iterator is applied to each item in the array
-in series. This means the result is always the first in the original array (in
-terms of array order) that passes the truth test.
-
-
----------------------------------------
-
-
-### sortBy(arr, iterator, callback)
-
-Sorts a list by the results of running each value through an async iterator.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed
- with an error (which can be null) and a value to use as the sort criteria.
-* callback(err, results) - A callback which is called after all the iterator
- functions have finished, or an error has occurred. Results is the items from
- the original array sorted by the values returned by the iterator calls.
-
-__Example__
-
- async.sortBy(['file1','file2','file3'], function(file, callback){
- fs.stat(file, function(err, stats){
- callback(err, stats.mtime);
- });
- }, function(err, results){
- // results is now the original array of files sorted by
- // modified date
- });
-
-
----------------------------------------
-
-
-### some(arr, iterator, callback)
-
-__Alias:__ any
-
-Returns true if at least one element in the array satisfies an async test.
-_The callback for each iterator call only accepts a single argument of true or
-false, it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like path.exists. Once any iterator
-call returns true, the main callback is immediately called.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(result) - A callback which is called as soon as any iterator returns
- true, or after all the iterator functions have finished. Result will be
- either true or false depending on the values of the async tests.
-
-__Example__
-
- async.some(['file1','file2','file3'], path.exists, function(result){
- // if result is true then at least one of the files exists
- });
-
----------------------------------------
-
-
-### every(arr, iterator, callback)
-
-__Alias:__ all
-
-Returns true if every element in the array satisfies an async test.
-_The callback for each iterator call only accepts a single argument of true or
-false, it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like path.exists.
-
-__Arguments__
-
-* arr - An array to iterate over.
-* iterator(item, callback) - A truth test to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed.
-* callback(result) - A callback which is called after all the iterator
- functions have finished. Result will be either true or false depending on
- the values of the async tests.
-
-__Example__
-
- async.every(['file1','file2','file3'], path.exists, function(result){
- // if result is true then every file exists
- });
-
----------------------------------------
-
-
-### concat(arr, iterator, callback)
-
-Applies an iterator to each item in a list, concatenating the results. Returns the
-concatenated list. The iterators are called in parallel, and the results are
-concatenated as they return. There is no guarantee that the results array will
-be returned in the original order of the arguments passed to the iterator function.
-
-__Arguments__
-
-* arr - An array to iterate over
-* iterator(item, callback) - A function to apply to each item in the array.
- The iterator is passed a callback which must be called once it has completed
- with an error (which can be null) and an array of results.
-* callback(err, results) - A callback which is called after all the iterator
- functions have finished, or an error has occurred. Results is an array containing
- the concatenated results of the iterator function.
-
-__Example__
-
- async.concat(['dir1','dir2','dir3'], fs.readdir, function(err, files){
- // files is now a list of filenames that exist in the 3 directories
- });
-
----------------------------------------
-
-
-### concatSeries(arr, iterator, callback)
-
-Same as async.concat, but executes in series instead of parallel.
-
-
-## Control Flow
-
-
-### series(tasks, [callback])
-
-Run an array of functions in series, each one running once the previous
-function has completed. If any functions in the series pass an error to its
-callback, no more functions are run and the callback for the series is
-immediately called with the value of the error. Once the tasks have completed,
-the results are passed to the final callback as an array.
-
-It is also possible to use an object instead of an array. Each property will be
-run as a function and the results will be passed to the final callback as an object
-instead of an array. This can be a more readable way of handling results from
-async.series.
-
-
-__Arguments__
-
-* tasks - An array or object containing functions to run, each function is passed
- a callback it must call on completion.
-* callback(err, results) - An optional callback to run once all the functions
- have completed. This function gets an array of all the arguments passed to
- the callbacks used in the array.
-
-__Example__
-
- async.series([
- function(callback){
- // do some stuff ...
- callback(null, 'one');
- },
- function(callback){
- // do some more stuff ...
- callback(null, 'two');
- },
- ],
- // optional callback
- function(err, results){
- // results is now equal to ['one', 'two']
- });
-
-
- // an example using an object instead of an array
- async.series({
- one: function(callback){
- setTimeout(function(){
- callback(null, 1);
- }, 200);
- },
- two: function(callback){
- setTimeout(function(){
- callback(null, 2);
- }, 100);
- },
- },
- function(err, results) {
- // results is now equal to: {one: 1, two: 2}
- });
-
-
----------------------------------------
-
-
-### parallel(tasks, [callback])
-
-Run an array of functions in parallel, without waiting until the previous
-function has completed. If any of the functions pass an error to its
-callback, the main callback is immediately called with the value of the error.
-Once the tasks have completed, the results are passed to the final callback as an
-array.
-
-It is also possible to use an object instead of an array. Each property will be
-run as a function and the results will be passed to the final callback as an object
-instead of an array. This can be a more readable way of handling results from
-async.parallel.
-
-
-__Arguments__
-
-* tasks - An array or object containing functions to run, each function is passed a
- callback it must call on completion.
-* callback(err, results) - An optional callback to run once all the functions
- have completed. This function gets an array of all the arguments passed to
- the callbacks used in the array.
-
-__Example__
-
- async.parallel([
- function(callback){
- setTimeout(function(){
- callback(null, 'one');
- }, 200);
- },
- function(callback){
- setTimeout(function(){
- callback(null, 'two');
- }, 100);
- },
- ],
- // optional callback
- function(err, results){
- // in this case, the results array will equal ['two','one']
- // because the functions were run in parallel and the second
- // function had a shorter timeout before calling the callback.
- });
-
-
- // an example using an object instead of an array
- async.parallel({
- one: function(callback){
- setTimeout(function(){
- callback(null, 1);
- }, 200);
- },
- two: function(callback){
- setTimeout(function(){
- callback(null, 2);
- }, 100);
- },
- },
- function(err, results) {
- // results is now equals to: {one: 1, two: 2}
- });
-
-
----------------------------------------
-
-
-### whilst(test, fn, callback)
-
-Repeatedly call fn, while test returns true. Calls the callback when stopped,
-or an error occurs.
-
-__Arguments__
-
-* test() - synchronous truth test to perform before each execution of fn.
-* fn(callback) - A function to call each time the test passes. The function is
- passed a callback which must be called once it has completed with an optional
- error as the first argument.
-* callback(err) - A callback which is called after the test fails and repeated
- execution of fn has stopped.
-
-__Example__
-
- var count = 0;
-
- async.whilst(
- function () { return count < 5; },
- function (callback) {
- count++;
- setTimeout(callback, 1000);
- },
- function (err) {
- // 5 seconds have passed
- }
- });
-
-
----------------------------------------
-
-
-### until(test, fn, callback)
-
-Repeatedly call fn, until test returns true. Calls the callback when stopped,
-or an error occurs.
-
-The inverse of async.whilst.
-
-
----------------------------------------
-
-
-### waterfall(tasks, [callback])
-
-Runs an array of functions in series, each passing their results to the next in
-the array. However, if any of the functions pass an error to the callback, the
-next function is not executed and the main callback is immediately called with
-the error.
-
-__Arguments__
-
-* tasks - An array of functions to run, each function is passed a callback it
- must call on completion.
-* callback(err) - An optional callback to run once all the functions have
- completed. This function gets passed any error that may have occurred.
-
-__Example__
-
- async.waterfall([
- function(callback){
- callback(null, 'one', 'two');
- },
- function(arg1, arg2, callback){
- callback(null, 'three');
- },
- function(arg1, callback){
- // arg1 now equals 'three'
- callback(null, 'done');
- }
- ]);
-
-
----------------------------------------
-
-
-### queue(worker, concurrency)
-
-Creates a queue object with the specified concurrency. Tasks added to the
-queue will be processed in parallel (up to the concurrency limit). If all
-workers are in progress, the task is queued until one is available. Once
-a worker has completed a task, the task's callback is called.
-
-__Arguments__
-
-* worker(task, callback) - An asynchronous function for processing a queued
- task.
-* concurrency - An integer for determining how many worker functions should be
- run in parallel.
-
-__Queue objects__
-
-The queue object returned by this function has the following properties and
-methods:
-
-* length() - a function returning the number of items waiting to be processed.
-* concurrency - an integer for determining how many worker functions should be
- run in parallel. This property can be changed after a queue is created to
- alter the concurrency on-the-fly.
-* push(task, [callback]) - add a new task to the queue, the callback is called
- once the worker has finished processing the task.
-* saturated - a callback that is called when the queue length hits the concurrency and further tasks will be queued
-* empty - a callback that is called when the last item from the queue is given to a worker
-* drain - a callback that is called when the last item from the queue has returned from the worker
-
-__Example__
-
- // create a queue object with concurrency 2
-
- var q = async.queue(function (task, callback) {
- console.log('hello ' + task.name);
- callback();
- }, 2);
-
-
- // assign a callback
- q.drain = function() {
- console.log('all items have been processed');
- }
-
- // add some items to the queue
-
- q.push({name: 'foo'}, function (err) {
- console.log('finished processing foo');
- });
- q.push({name: 'bar'}, function (err) {
- console.log('finished processing bar');
- });
-
-
----------------------------------------
-
-
-### auto(tasks, [callback])
-
-Determines the best order for running functions based on their requirements.
-Each function can optionally depend on other functions being completed first,
-and each function is run as soon as its requirements are satisfied. If any of
-the functions pass an error to their callback, that function will not complete
-(so any other functions depending on it will not run) and the main callback
-will be called immediately with the error. Functions also receive an object
-containing the results of functions on which they depend.
-
-__Arguments__
-
-* tasks - An object literal containing named functions or an array of
- requirements, with the function itself the last item in the array. The key
- used for each function or array is used when specifying requirements. The
- syntax is easier to understand by looking at the example.
-* callback(err) - An optional callback which is called when all the tasks have
- been completed. The callback may receive an error as an argument.
-
-__Example__
-
- async.auto({
- get_data: function(callback){
- // async code to get some data
- },
- make_folder: function(callback){
- // async code to create a directory to store a file in
- // this is run at the same time as getting the data
- },
- write_file: ['get_data', 'make_folder', function(callback){
- // once there is some data and the directory exists,
- // write the data to a file in the directory
- callback(null, filename);
- }],
- email_link: ['write_file', function(callback, results){
- // once the file is written let's email a link to it...
- // results.write_file contains the filename returned by write_file.
- }]
- });
-
-This is a fairly trivial example, but to do this using the basic parallel and
-series functions would look like this:
-
- async.parallel([
- function(callback){
- // async code to get some data
- },
- function(callback){
- // async code to create a directory to store a file in
- // this is run at the same time as getting the data
- }
- ],
- function(results){
- async.series([
- function(callback){
- // once there is some data and the directory exists,
- // write the data to a file in the directory
- },
- email_link: ['write_file', function(callback){
- // once the file is written let's email a link to it...
- }
- ]);
- });
-
-For a complicated series of async tasks using the auto function makes adding
-new tasks much easier and makes the code more readable.
-
-
----------------------------------------
-
-
-### iterator(tasks)
-
-Creates an iterator function which calls the next function in the array,
-returning a continuation to call the next one after that. Its also possible to
-'peek' the next iterator by doing iterator.next().
-
-This function is used internally by the async module but can be useful when
-you want to manually control the flow of functions in series.
-
-__Arguments__
-
-* tasks - An array of functions to run, each function is passed a callback it
- must call on completion.
-
-__Example__
-
- var iterator = async.iterator([
- function(){ sys.p('one'); },
- function(){ sys.p('two'); },
- function(){ sys.p('three'); }
- ]);
-
- node> var iterator2 = iterator();
- 'one'
- node> var iterator3 = iterator2();
- 'two'
- node> iterator3();
- 'three'
- node> var nextfn = iterator2.next();
- node> nextfn();
- 'three'
-
-
----------------------------------------
-
-
-### apply(function, arguments..)
-
-Creates a continuation function with some arguments already applied, a useful
-shorthand when combined with other control flow functions. Any arguments
-passed to the returned function are added to the arguments originally passed
-to apply.
-
-__Arguments__
-
-* function - The function you want to eventually apply all arguments to.
-* arguments... - Any number of arguments to automatically apply when the
- continuation is called.
-
-__Example__
-
- // using apply
-
- async.parallel([
- async.apply(fs.writeFile, 'testfile1', 'test1'),
- async.apply(fs.writeFile, 'testfile2', 'test2'),
- ]);
-
-
- // the same process without using apply
-
- async.parallel([
- function(callback){
- fs.writeFile('testfile1', 'test1', callback);
- },
- function(callback){
- fs.writeFile('testfile2', 'test2', callback);
- },
- ]);
-
-It's possible to pass any number of additional arguments when calling the
-continuation:
-
- node> var fn = async.apply(sys.puts, 'one');
- node> fn('two', 'three');
- one
- two
- three
-
----------------------------------------
-
-
-### nextTick(callback)
-
-Calls the callback on a later loop around the event loop. In node.js this just
-calls process.nextTick, in the browser it falls back to setTimeout(callback, 0),
-which means other higher priority events may precede the execution of the callback.
-
-This is used internally for browser-compatibility purposes.
-
-__Arguments__
-
-* callback - The function to call on a later loop around the event loop.
-
-__Example__
-
- var call_order = [];
- async.nextTick(function(){
- call_order.push('two');
- // call_order now equals ['one','two]
- });
- call_order.push('one')
-
-
-## Utils
-
-
-### memoize(fn, [hasher])
-
-Caches the results of an async function. When creating a hash to store function
-results against, the callback is omitted from the hash and an optional hash
-function can be used.
-
-__Arguments__
-
-* fn - the function you to proxy and cache results from.
-* hasher - an optional function for generating a custom hash for storing
- results, it has all the arguments applied to it apart from the callback, and
- must be synchronous.
-
-__Example__
-
- var slow_fn = function (name, callback) {
- // do something
- callback(null, result);
- };
- var fn = async.memoize(slow_fn);
-
- // fn can now be used as if it were slow_fn
- fn('some name', function () {
- // callback
- });
-
-
-### unmemoize(fn)
-
-Undoes a memoized function, reverting it to the original, unmemoized
-form. Comes handy in tests.
-
-__Arguments__
-
-* fn - the memoized function
-
-
-### log(function, arguments)
-
-Logs the result of an async function to the console. Only works in node.js or
-in browsers that support console.log and console.error (such as FF and Chrome).
-If multiple arguments are returned from the async function, console.log is
-called on each argument in order.
-
-__Arguments__
-
-* function - The function you want to eventually apply all arguments to.
-* arguments... - Any number of arguments to apply to the function.
-
-__Example__
-
- var hello = function(name, callback){
- setTimeout(function(){
- callback(null, 'hello ' + name);
- }, 1000);
- };
-
- node> async.log(hello, 'world');
- 'hello world'
-
-
----------------------------------------
-
-
-### dir(function, arguments)
-
-Logs the result of an async function to the console using console.dir to
-display the properties of the resulting object. Only works in node.js or
-in browsers that support console.dir and console.error (such as FF and Chrome).
-If multiple arguments are returned from the async function, console.dir is
-called on each argument in order.
-
-__Arguments__
-
-* function - The function you want to eventually apply all arguments to.
-* arguments... - Any number of arguments to apply to the function.
-
-__Example__
-
- var hello = function(name, callback){
- setTimeout(function(){
- callback(null, {hello: name});
- }, 1000);
- };
-
- node> async.dir(hello, 'world');
- {hello: 'world'}
-
-
----------------------------------------
-
-
-### noConflict()
-
-Changes the value of async back to its original value, returning a reference to the
-async object.
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/deps/nodeunit.css b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/deps/nodeunit.css
deleted file mode 100644
index 274434a..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/deps/nodeunit.css
+++ /dev/null
@@ -1,70 +0,0 @@
-/*!
- * Styles taken from qunit.css
- */
-
-h1#nodeunit-header, h1.nodeunit-header {
- padding: 15px;
- font-size: large;
- background-color: #06b;
- color: white;
- font-family: 'trebuchet ms', verdana, arial;
- margin: 0;
-}
-
-h1#nodeunit-header a {
- color: white;
-}
-
-h2#nodeunit-banner {
- height: 2em;
- border-bottom: 1px solid white;
- background-color: #eee;
- margin: 0;
- font-family: 'trebuchet ms', verdana, arial;
-}
-h2#nodeunit-banner.pass {
- background-color: green;
-}
-h2#nodeunit-banner.fail {
- background-color: red;
-}
-
-h2#nodeunit-userAgent, h2.nodeunit-userAgent {
- padding: 10px;
- background-color: #eee;
- color: black;
- margin: 0;
- font-size: small;
- font-weight: normal;
- font-family: 'trebuchet ms', verdana, arial;
- font-size: 10pt;
-}
-
-div#nodeunit-testrunner-toolbar {
- background: #eee;
- border-top: 1px solid black;
- padding: 10px;
- font-family: 'trebuchet ms', verdana, arial;
- margin: 0;
- font-size: 10pt;
-}
-
-ol#nodeunit-tests {
- font-family: 'trebuchet ms', verdana, arial;
- font-size: 10pt;
-}
-ol#nodeunit-tests li strong {
- cursor:pointer;
-}
-ol#nodeunit-tests .pass {
- color: green;
-}
-ol#nodeunit-tests .fail {
- color: red;
-}
-
-p#nodeunit-testresult {
- margin-left: 1em;
- font-size: 10pt;
- font-family: 'trebuchet ms', verdana, arial;
-}
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/deps/nodeunit.js b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/deps/nodeunit.js
deleted file mode 100644
index 5957184..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/deps/nodeunit.js
+++ /dev/null
@@ -1,1966 +0,0 @@
-/*!
- * Nodeunit
- * https://github.com/caolan/nodeunit
- * Copyright (c) 2010 Caolan McMahon
- * MIT Licensed
- *
- * json2.js
- * http://www.JSON.org/json2.js
- * Public Domain.
- * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
- */
-nodeunit = (function(){
-/*
- http://www.JSON.org/json2.js
- 2010-11-17
-
- Public Domain.
-
- NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
-
- See http://www.JSON.org/js.html
-
-
- This code should be minified before deployment.
- See http://javascript.crockford.com/jsmin.html
-
- USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
- NOT CONTROL.
-
-
- This file creates a global JSON object containing two methods: stringify
- and parse.
-
- JSON.stringify(value, replacer, space)
- value any JavaScript value, usually an object or array.
-
- replacer an optional parameter that determines how object
- values are stringified for objects. It can be a
- function or an array of strings.
-
- space an optional parameter that specifies the indentation
- of nested structures. If it is omitted, the text will
- be packed without extra whitespace. If it is a number,
- it will specify the number of spaces to indent at each
- level. If it is a string (such as '\t' or ' '),
- it contains the characters used to indent at each level.
-
- This method produces a JSON text from a JavaScript value.
-
- When an object value is found, if the object contains a toJSON
- method, its toJSON method will be called and the result will be
- stringified. A toJSON method does not serialize: it returns the
- value represented by the name/value pair that should be serialized,
- or undefined if nothing should be serialized. The toJSON method
- will be passed the key associated with the value, and this will be
- bound to the value
-
- For example, this would serialize Dates as ISO strings.
-
- Date.prototype.toJSON = function (key) {
- function f(n) {
- // Format integers to have at least two digits.
- return n < 10 ? '0' + n : n;
- }
-
- return this.getUTCFullYear() + '-' +
- f(this.getUTCMonth() + 1) + '-' +
- f(this.getUTCDate()) + 'T' +
- f(this.getUTCHours()) + ':' +
- f(this.getUTCMinutes()) + ':' +
- f(this.getUTCSeconds()) + 'Z';
- };
-
- You can provide an optional replacer method. It will be passed the
- key and value of each member, with this bound to the containing
- object. The value that is returned from your method will be
- serialized. If your method returns undefined, then the member will
- be excluded from the serialization.
-
- If the replacer parameter is an array of strings, then it will be
- used to select the members to be serialized. It filters the results
- such that only members with keys listed in the replacer array are
- stringified.
-
- Values that do not have JSON representations, such as undefined or
- functions, will not be serialized. Such values in objects will be
- dropped; in arrays they will be replaced with null. You can use
- a replacer function to replace those with JSON values.
- JSON.stringify(undefined) returns undefined.
-
- The optional space parameter produces a stringification of the
- value that is filled with line breaks and indentation to make it
- easier to read.
-
- If the space parameter is a non-empty string, then that string will
- be used for indentation. If the space parameter is a number, then
- the indentation will be that many spaces.
-
- Example:
-
- text = JSON.stringify(['e', {pluribus: 'unum'}]);
- // text is '["e",{"pluribus":"unum"}]'
-
-
- text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
- // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
-
- text = JSON.stringify([new Date()], function (key, value) {
- return this[key] instanceof Date ?
- 'Date(' + this[key] + ')' : value;
- });
- // text is '["Date(---current time---)"]'
-
-
- JSON.parse(text, reviver)
- This method parses a JSON text to produce an object or array.
- It can throw a SyntaxError exception.
-
- The optional reviver parameter is a function that can filter and
- transform the results. It receives each of the keys and values,
- and its return value is used instead of the original value.
- If it returns what it received, then the structure is not modified.
- If it returns undefined then the member is deleted.
-
- Example:
-
- // Parse the text. Values that look like ISO date strings will
- // be converted to Date objects.
-
- myData = JSON.parse(text, function (key, value) {
- var a;
- if (typeof value === 'string') {
- a =
-/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
- if (a) {
- return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
- +a[5], +a[6]));
- }
- }
- return value;
- });
-
- myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
- var d;
- if (typeof value === 'string' &&
- value.slice(0, 5) === 'Date(' &&
- value.slice(-1) === ')') {
- d = new Date(value.slice(5, -1));
- if (d) {
- return d;
- }
- }
- return value;
- });
-
-
- This is a reference implementation. You are free to copy, modify, or
- redistribute.
-*/
-
-/*jslint evil: true, strict: false, regexp: false */
-
-/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
- call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
- getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
- lastIndex, length, parse, prototype, push, replace, slice, stringify,
- test, toJSON, toString, valueOf
-*/
-
-
-// Create a JSON object only if one does not already exist. We create the
-// methods in a closure to avoid creating global variables.
-
-if (!this.JSON) {
- this.JSON = {};
-}
-
-(function () {
- "use strict";
-
- function f(n) {
- // Format integers to have at least two digits.
- return n < 10 ? '0' + n : n;
- }
-
- if (typeof Date.prototype.toJSON !== 'function') {
-
- Date.prototype.toJSON = function (key) {
-
- return isFinite(this.valueOf()) ?
- this.getUTCFullYear() + '-' +
- f(this.getUTCMonth() + 1) + '-' +
- f(this.getUTCDate()) + 'T' +
- f(this.getUTCHours()) + ':' +
- f(this.getUTCMinutes()) + ':' +
- f(this.getUTCSeconds()) + 'Z' : null;
- };
-
- String.prototype.toJSON =
- Number.prototype.toJSON =
- Boolean.prototype.toJSON = function (key) {
- return this.valueOf();
- };
- }
-
- var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
- escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
- gap,
- indent,
- meta = { // table of character substitutions
- '\b': '\\b',
- '\t': '\\t',
- '\n': '\\n',
- '\f': '\\f',
- '\r': '\\r',
- '"' : '\\"',
- '\\': '\\\\'
- },
- rep;
-
-
- function quote(string) {
-
-// If the string contains no control characters, no quote characters, and no
-// backslash characters, then we can safely slap some quotes around it.
-// Otherwise we must also replace the offending characters with safe escape
-// sequences.
-
- escapable.lastIndex = 0;
- return escapable.test(string) ?
- '"' + string.replace(escapable, function (a) {
- var c = meta[a];
- return typeof c === 'string' ? c :
- '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
- }) + '"' :
- '"' + string + '"';
- }
-
-
- function str(key, holder) {
-
-// Produce a string from holder[key].
-
- var i, // The loop counter.
- k, // The member key.
- v, // The member value.
- length,
- mind = gap,
- partial,
- value = holder[key];
-
-// If the value has a toJSON method, call it to obtain a replacement value.
-
- if (value && typeof value === 'object' &&
- typeof value.toJSON === 'function') {
- value = value.toJSON(key);
- }
-
-// If we were called with a replacer function, then call the replacer to
-// obtain a replacement value.
-
- if (typeof rep === 'function') {
- value = rep.call(holder, key, value);
- }
-
-// What happens next depends on the value's type.
-
- switch (typeof value) {
- case 'string':
- return quote(value);
-
- case 'number':
-
-// JSON numbers must be finite. Encode non-finite numbers as null.
-
- return isFinite(value) ? String(value) : 'null';
-
- case 'boolean':
- case 'null':
-
-// If the value is a boolean or null, convert it to a string. Note:
-// typeof null does not produce 'null'. The case is included here in
-// the remote chance that this gets fixed someday.
-
- return String(value);
-
-// If the type is 'object', we might be dealing with an object or an array or
-// null.
-
- case 'object':
-
-// Due to a specification blunder in ECMAScript, typeof null is 'object',
-// so watch out for that case.
-
- if (!value) {
- return 'null';
- }
-
-// Make an array to hold the partial results of stringifying this object value.
-
- gap += indent;
- partial = [];
-
-// Is the value an array?
-
- if (Object.prototype.toString.apply(value) === '[object Array]') {
-
-// The value is an array. Stringify every element. Use null as a placeholder
-// for non-JSON values.
-
- length = value.length;
- for (i = 0; i < length; i += 1) {
- partial[i] = str(i, value) || 'null';
- }
-
-// Join all of the elements together, separated with commas, and wrap them in
-// brackets.
-
- v = partial.length === 0 ? '[]' :
- gap ? '[\n' + gap +
- partial.join(',\n' + gap) + '\n' +
- mind + ']' :
- '[' + partial.join(',') + ']';
- gap = mind;
- return v;
- }
-
-// If the replacer is an array, use it to select the members to be stringified.
-
- if (rep && typeof rep === 'object') {
- length = rep.length;
- for (i = 0; i < length; i += 1) {
- k = rep[i];
- if (typeof k === 'string') {
- v = str(k, value);
- if (v) {
- partial.push(quote(k) + (gap ? ': ' : ':') + v);
- }
- }
- }
- } else {
-
-// Otherwise, iterate through all of the keys in the object.
-
- for (k in value) {
- if (Object.hasOwnProperty.call(value, k)) {
- v = str(k, value);
- if (v) {
- partial.push(quote(k) + (gap ? ': ' : ':') + v);
- }
- }
- }
- }
-
-// Join all of the member texts together, separated with commas,
-// and wrap them in braces.
-
- v = partial.length === 0 ? '{}' :
- gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' +
- mind + '}' : '{' + partial.join(',') + '}';
- gap = mind;
- return v;
- }
- }
-
-// If the JSON object does not yet have a stringify method, give it one.
-
- if (typeof JSON.stringify !== 'function') {
- JSON.stringify = function (value, replacer, space) {
-
-// The stringify method takes a value and an optional replacer, and an optional
-// space parameter, and returns a JSON text. The replacer can be a function
-// that can replace values, or an array of strings that will select the keys.
-// A default replacer method can be provided. Use of the space parameter can
-// produce text that is more easily readable.
-
- var i;
- gap = '';
- indent = '';
-
-// If the space parameter is a number, make an indent string containing that
-// many spaces.
-
- if (typeof space === 'number') {
- for (i = 0; i < space; i += 1) {
- indent += ' ';
- }
-
-// If the space parameter is a string, it will be used as the indent string.
-
- } else if (typeof space === 'string') {
- indent = space;
- }
-
-// If there is a replacer, it must be a function or an array.
-// Otherwise, throw an error.
-
- rep = replacer;
- if (replacer && typeof replacer !== 'function' &&
- (typeof replacer !== 'object' ||
- typeof replacer.length !== 'number')) {
- throw new Error('JSON.stringify');
- }
-
-// Make a fake root object containing our value under the key of ''.
-// Return the result of stringifying the value.
-
- return str('', {'': value});
- };
- }
-
-
-// If the JSON object does not yet have a parse method, give it one.
-
- if (typeof JSON.parse !== 'function') {
- JSON.parse = function (text, reviver) {
-
-// The parse method takes a text and an optional reviver function, and returns
-// a JavaScript value if the text is a valid JSON text.
-
- var j;
-
- function walk(holder, key) {
-
-// The walk method is used to recursively walk the resulting structure so
-// that modifications can be made.
-
- var k, v, value = holder[key];
- if (value && typeof value === 'object') {
- for (k in value) {
- if (Object.hasOwnProperty.call(value, k)) {
- v = walk(value, k);
- if (v !== undefined) {
- value[k] = v;
- } else {
- delete value[k];
- }
- }
- }
- }
- return reviver.call(holder, key, value);
- }
-
-
-// Parsing happens in four stages. In the first stage, we replace certain
-// Unicode characters with escape sequences. JavaScript handles many characters
-// incorrectly, either silently deleting them, or treating them as line endings.
-
- text = String(text);
- cx.lastIndex = 0;
- if (cx.test(text)) {
- text = text.replace(cx, function (a) {
- return '\\u' +
- ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
- });
- }
-
-// In the second stage, we run the text against regular expressions that look
-// for non-JSON patterns. We are especially concerned with '()' and 'new'
-// because they can cause invocation, and '=' because it can cause mutation.
-// But just to be safe, we want to reject all unexpected forms.
-
-// We split the second stage into 4 regexp operations in order to work around
-// crippling inefficiencies in IE's and Safari's regexp engines. First we
-// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
-// replace all simple value tokens with ']' characters. Third, we delete all
-// open brackets that follow a colon or comma or that begin the text. Finally,
-// we look to see that the remaining characters are only whitespace or ']' or
-// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
-
- if (/^[\],:{}\s]*$/
-.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
-.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
-.replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
-
-// In the third stage we use the eval function to compile the text into a
-// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
-// in JavaScript: it can begin a block or an object literal. We wrap the text
-// in parens to eliminate the ambiguity.
-
- j = eval('(' + text + ')');
-
-// In the optional fourth stage, we recursively walk the new structure, passing
-// each name/value pair to a reviver function for possible transformation.
-
- return typeof reviver === 'function' ?
- walk({'': j}, '') : j;
- }
-
-// If the text is not JSON parseable, then a SyntaxError is thrown.
-
- throw new SyntaxError('JSON.parse');
- };
- }
-}());
-var assert = this.assert = {};
-var types = {};
-var core = {};
-var nodeunit = {};
-var reporter = {};
-/*global setTimeout: false, console: false */
-(function () {
-
- var async = {};
-
- // global on the server, window in the browser
- var root = this,
- previous_async = root.async;
-
- if (typeof module !== 'undefined' && module.exports) {
- module.exports = async;
- }
- else {
- root.async = async;
- }
-
- async.noConflict = function () {
- root.async = previous_async;
- return async;
- };
-
- //// cross-browser compatiblity functions ////
-
- var _forEach = function (arr, iterator) {
- if (arr.forEach) {
- return arr.forEach(iterator);
- }
- for (var i = 0; i < arr.length; i += 1) {
- iterator(arr[i], i, arr);
- }
- };
-
- var _map = function (arr, iterator) {
- if (arr.map) {
- return arr.map(iterator);
- }
- var results = [];
- _forEach(arr, function (x, i, a) {
- results.push(iterator(x, i, a));
- });
- return results;
- };
-
- var _reduce = function (arr, iterator, memo) {
- if (arr.reduce) {
- return arr.reduce(iterator, memo);
- }
- _forEach(arr, function (x, i, a) {
- memo = iterator(memo, x, i, a);
- });
- return memo;
- };
-
- var _keys = function (obj) {
- if (Object.keys) {
- return Object.keys(obj);
- }
- var keys = [];
- for (var k in obj) {
- if (obj.hasOwnProperty(k)) {
- keys.push(k);
- }
- }
- return keys;
- };
-
- var _indexOf = function (arr, item) {
- if (arr.indexOf) {
- return arr.indexOf(item);
- }
- for (var i = 0; i < arr.length; i += 1) {
- if (arr[i] === item) {
- return i;
- }
- }
- return -1;
- };
-
- //// exported async module functions ////
-
- //// nextTick implementation with browser-compatible fallback ////
- async.nextTick = function (fn) {
- if (typeof process === 'undefined' || !(process.nextTick)) {
- setTimeout(fn, 0);
- }
- else {
- process.nextTick(fn);
- }
- };
-
- async.forEach = function (arr, iterator, callback) {
- if (!arr.length) {
- return callback();
- }
- var completed = 0;
- _forEach(arr, function (x) {
- iterator(x, function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- completed += 1;
- if (completed === arr.length) {
- callback();
- }
- }
- });
- });
- };
-
- async.forEachSeries = function (arr, iterator, callback) {
- if (!arr.length) {
- return callback();
- }
- var completed = 0;
- var iterate = function () {
- iterator(arr[completed], function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- completed += 1;
- if (completed === arr.length) {
- callback();
- }
- else {
- iterate();
- }
- }
- });
- };
- iterate();
- };
-
-
- var doParallel = function (fn) {
- return function () {
- var args = Array.prototype.slice.call(arguments);
- return fn.apply(null, [async.forEach].concat(args));
- };
- };
- var doSeries = function (fn) {
- return function () {
- var args = Array.prototype.slice.call(arguments);
- return fn.apply(null, [async.forEachSeries].concat(args));
- };
- };
-
-
- var _asyncMap = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (err, v) {
- results[x.index] = v;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- };
- async.map = doParallel(_asyncMap);
- async.mapSeries = doSeries(_asyncMap);
-
-
- // reduce only has a series version, as doing reduce in parallel won't
- // work in many situations.
- async.reduce = function (arr, memo, iterator, callback) {
- async.forEachSeries(arr, function (x, callback) {
- iterator(memo, x, function (err, v) {
- memo = v;
- callback(err);
- });
- }, function (err) {
- callback(err, memo);
- });
- };
- // inject alias
- async.inject = async.reduce;
- // foldl alias
- async.foldl = async.reduce;
-
- async.reduceRight = function (arr, memo, iterator, callback) {
- var reversed = _map(arr, function (x) {
- return x;
- }).reverse();
- async.reduce(reversed, memo, iterator, callback);
- };
- // foldr alias
- async.foldr = async.reduceRight;
-
- var _filter = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (v) {
- if (v) {
- results.push(x);
- }
- callback();
- });
- }, function (err) {
- callback(_map(results.sort(function (a, b) {
- return a.index - b.index;
- }), function (x) {
- return x.value;
- }));
- });
- };
- async.filter = doParallel(_filter);
- async.filterSeries = doSeries(_filter);
- // select alias
- async.select = async.filter;
- async.selectSeries = async.filterSeries;
-
- var _reject = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (v) {
- if (!v) {
- results.push(x);
- }
- callback();
- });
- }, function (err) {
- callback(_map(results.sort(function (a, b) {
- return a.index - b.index;
- }), function (x) {
- return x.value;
- }));
- });
- };
- async.reject = doParallel(_reject);
- async.rejectSeries = doSeries(_reject);
-
- var _detect = function (eachfn, arr, iterator, main_callback) {
- eachfn(arr, function (x, callback) {
- iterator(x, function (result) {
- if (result) {
- main_callback(x);
- }
- else {
- callback();
- }
- });
- }, function (err) {
- main_callback();
- });
- };
- async.detect = doParallel(_detect);
- async.detectSeries = doSeries(_detect);
-
- async.some = function (arr, iterator, main_callback) {
- async.forEach(arr, function (x, callback) {
- iterator(x, function (v) {
- if (v) {
- main_callback(true);
- main_callback = function () {};
- }
- callback();
- });
- }, function (err) {
- main_callback(false);
- });
- };
- // any alias
- async.any = async.some;
-
- async.every = function (arr, iterator, main_callback) {
- async.forEach(arr, function (x, callback) {
- iterator(x, function (v) {
- if (!v) {
- main_callback(false);
- main_callback = function () {};
- }
- callback();
- });
- }, function (err) {
- main_callback(true);
- });
- };
- // all alias
- async.all = async.every;
-
- async.sortBy = function (arr, iterator, callback) {
- async.map(arr, function (x, callback) {
- iterator(x, function (err, criteria) {
- if (err) {
- callback(err);
- }
- else {
- callback(null, {value: x, criteria: criteria});
- }
- });
- }, function (err, results) {
- if (err) {
- return callback(err);
- }
- else {
- var fn = function (left, right) {
- var a = left.criteria, b = right.criteria;
- return a < b ? -1 : a > b ? 1 : 0;
- };
- callback(null, _map(results.sort(fn), function (x) {
- return x.value;
- }));
- }
- });
- };
-
- async.auto = function (tasks, callback) {
- callback = callback || function () {};
- var keys = _keys(tasks);
- if (!keys.length) {
- return callback(null);
- }
-
- var completed = [];
-
- var listeners = [];
- var addListener = function (fn) {
- listeners.unshift(fn);
- };
- var removeListener = function (fn) {
- for (var i = 0; i < listeners.length; i += 1) {
- if (listeners[i] === fn) {
- listeners.splice(i, 1);
- return;
- }
- }
- };
- var taskComplete = function () {
- _forEach(listeners, function (fn) {
- fn();
- });
- };
-
- addListener(function () {
- if (completed.length === keys.length) {
- callback(null);
- }
- });
-
- _forEach(keys, function (k) {
- var task = (tasks[k] instanceof Function) ? [tasks[k]]: tasks[k];
- var taskCallback = function (err) {
- if (err) {
- callback(err);
- // stop subsequent errors hitting callback multiple times
- callback = function () {};
- }
- else {
- completed.push(k);
- taskComplete();
- }
- };
- var requires = task.slice(0, Math.abs(task.length - 1)) || [];
- var ready = function () {
- return _reduce(requires, function (a, x) {
- return (a && _indexOf(completed, x) !== -1);
- }, true);
- };
- if (ready()) {
- task[task.length - 1](taskCallback);
- }
- else {
- var listener = function () {
- if (ready()) {
- removeListener(listener);
- task[task.length - 1](taskCallback);
- }
- };
- addListener(listener);
- }
- });
- };
-
- async.waterfall = function (tasks, callback) {
- if (!tasks.length) {
- return callback();
- }
- callback = callback || function () {};
- var wrapIterator = function (iterator) {
- return function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- var args = Array.prototype.slice.call(arguments, 1);
- var next = iterator.next();
- if (next) {
- args.push(wrapIterator(next));
- }
- else {
- args.push(callback);
- }
- async.nextTick(function () {
- iterator.apply(null, args);
- });
- }
- };
- };
- wrapIterator(async.iterator(tasks))();
- };
-
- async.parallel = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.map(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args || null);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEach(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.series = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.mapSeries(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args || null);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEachSeries(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.iterator = function (tasks) {
- var makeCallback = function (index) {
- var fn = function () {
- if (tasks.length) {
- tasks[index].apply(null, arguments);
- }
- return fn.next();
- };
- fn.next = function () {
- return (index < tasks.length - 1) ? makeCallback(index + 1): null;
- };
- return fn;
- };
- return makeCallback(0);
- };
-
- async.apply = function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- return function () {
- return fn.apply(
- null, args.concat(Array.prototype.slice.call(arguments))
- );
- };
- };
-
- var _concat = function (eachfn, arr, fn, callback) {
- var r = [];
- eachfn(arr, function (x, cb) {
- fn(x, function (err, y) {
- r = r.concat(y || []);
- cb(err);
- });
- }, function (err) {
- callback(err, r);
- });
- };
- async.concat = doParallel(_concat);
- async.concatSeries = doSeries(_concat);
-
- async.whilst = function (test, iterator, callback) {
- if (test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.whilst(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.until = function (test, iterator, callback) {
- if (!test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.until(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.queue = function (worker, concurrency) {
- var workers = 0;
- var tasks = [];
- var q = {
- concurrency: concurrency,
- push: function (data, callback) {
- tasks.push({data: data, callback: callback});
- async.nextTick(q.process);
- },
- process: function () {
- if (workers < q.concurrency && tasks.length) {
- var task = tasks.splice(0, 1)[0];
- workers += 1;
- worker(task.data, function () {
- workers -= 1;
- if (task.callback) {
- task.callback.apply(task, arguments);
- }
- q.process();
- });
- }
- },
- length: function () {
- return tasks.length;
- }
- };
- return q;
- };
-
- var _console_fn = function (name) {
- return function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- fn.apply(null, args.concat([function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (typeof console !== 'undefined') {
- if (err) {
- if (console.error) {
- console.error(err);
- }
- }
- else if (console[name]) {
- _forEach(args, function (x) {
- console[name](x);
- });
- }
- }
- }]));
- };
- };
- async.log = _console_fn('log');
- async.dir = _console_fn('dir');
- /*async.info = _console_fn('info');
- async.warn = _console_fn('warn');
- async.error = _console_fn('error');*/
-
-}());
-(function(exports){
-/**
- * This file is based on the node.js assert module, but with some small
- * changes for browser-compatibility
- * THIS FILE SHOULD BE BROWSER-COMPATIBLE JS!
- */
-
-
-/**
- * Added for browser compatibility
- */
-
-var _keys = function(obj){
- if(Object.keys) return Object.keys(obj);
- var keys = [];
- for(var k in obj){
- if(obj.hasOwnProperty(k)) keys.push(k);
- }
- return keys;
-};
-
-
-
-// http://wiki.commonjs.org/wiki/Unit_Testing/1.0
-//
-// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
-//
-// Originally from narwhal.js (http://narwhaljs.org)
-// Copyright (c) 2009 Thomas Robinson <280north.com>
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the 'Software'), to
-// deal in the Software without restriction, including without limitation the
-// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-// sell copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in
-// all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-var pSlice = Array.prototype.slice;
-
-// 1. The assert module provides functions that throw
-// AssertionError's when particular conditions are not met. The
-// assert module must conform to the following interface.
-
-var assert = exports;
-
-// 2. The AssertionError is defined in assert.
-// new assert.AssertionError({message: message, actual: actual, expected: expected})
-
-assert.AssertionError = function AssertionError (options) {
- this.name = "AssertionError";
- this.message = options.message;
- this.actual = options.actual;
- this.expected = options.expected;
- this.operator = options.operator;
- var stackStartFunction = options.stackStartFunction || fail;
-
- if (Error.captureStackTrace) {
- Error.captureStackTrace(this, stackStartFunction);
- }
-};
-// code from util.inherits in node
-assert.AssertionError.super_ = Error;
-
-
-// EDITED FOR BROWSER COMPATIBILITY: replaced Object.create call
-// TODO: test what effect this may have
-var ctor = function () { this.constructor = assert.AssertionError; };
-ctor.prototype = Error.prototype;
-assert.AssertionError.prototype = new ctor();
-
-
-assert.AssertionError.prototype.toString = function() {
- if (this.message) {
- return [this.name+":", this.message].join(' ');
- } else {
- return [ this.name+":"
- , JSON.stringify(this.expected )
- , this.operator
- , JSON.stringify(this.actual)
- ].join(" ");
- }
-};
-
-// assert.AssertionError instanceof Error
-
-assert.AssertionError.__proto__ = Error.prototype;
-
-// At present only the three keys mentioned above are used and
-// understood by the spec. Implementations or sub modules can pass
-// other keys to the AssertionError's constructor - they will be
-// ignored.
-
-// 3. All of the following functions must throw an AssertionError
-// when a corresponding condition is not met, with a message that
-// may be undefined if not provided. All assertion methods provide
-// both the actual and expected values to the assertion error for
-// display purposes.
-
-function fail(actual, expected, message, operator, stackStartFunction) {
- throw new assert.AssertionError({
- message: message,
- actual: actual,
- expected: expected,
- operator: operator,
- stackStartFunction: stackStartFunction
- });
-}
-
-// EXTENSION! allows for well behaved errors defined elsewhere.
-assert.fail = fail;
-
-// 4. Pure assertion tests whether a value is truthy, as determined
-// by !!guard.
-// assert.ok(guard, message_opt);
-// This statement is equivalent to assert.equal(true, guard,
-// message_opt);. To test strictly for the value true, use
-// assert.strictEqual(true, guard, message_opt);.
-
-assert.ok = function ok(value, message) {
- if (!!!value) fail(value, true, message, "==", assert.ok);
-};
-
-// 5. The equality assertion tests shallow, coercive equality with
-// ==.
-// assert.equal(actual, expected, message_opt);
-
-assert.equal = function equal(actual, expected, message) {
- if (actual != expected) fail(actual, expected, message, "==", assert.equal);
-};
-
-// 6. The non-equality assertion tests for whether two objects are not equal
-// with != assert.notEqual(actual, expected, message_opt);
-
-assert.notEqual = function notEqual(actual, expected, message) {
- if (actual == expected) {
- fail(actual, expected, message, "!=", assert.notEqual);
- }
-};
-
-// 7. The equivalence assertion tests a deep equality relation.
-// assert.deepEqual(actual, expected, message_opt);
-
-assert.deepEqual = function deepEqual(actual, expected, message) {
- if (!_deepEqual(actual, expected)) {
- fail(actual, expected, message, "deepEqual", assert.deepEqual);
- }
-};
-
-function _deepEqual(actual, expected) {
- // 7.1. All identical values are equivalent, as determined by ===.
- if (actual === expected) {
- return true;
- // 7.2. If the expected value is a Date object, the actual value is
- // equivalent if it is also a Date object that refers to the same time.
- } else if (actual instanceof Date && expected instanceof Date) {
- return actual.getTime() === expected.getTime();
-
- // 7.3. Other pairs that do not both pass typeof value == "object",
- // equivalence is determined by ==.
- } else if (typeof actual != 'object' && typeof expected != 'object') {
- return actual == expected;
-
- // 7.4. For all other Object pairs, including Array objects, equivalence is
- // determined by having the same number of owned properties (as verified
- // with Object.prototype.hasOwnProperty.call), the same set of keys
- // (although not necessarily the same order), equivalent values for every
- // corresponding key, and an identical "prototype" property. Note: this
- // accounts for both named and indexed properties on Arrays.
- } else {
- return objEquiv(actual, expected);
- }
-}
-
-function isUndefinedOrNull (value) {
- return value === null || value === undefined;
-}
-
-function isArguments (object) {
- return Object.prototype.toString.call(object) == '[object Arguments]';
-}
-
-function objEquiv (a, b) {
- if (isUndefinedOrNull(a) || isUndefinedOrNull(b))
- return false;
- // an identical "prototype" property.
- if (a.prototype !== b.prototype) return false;
- //~~~I've managed to break Object.keys through screwy arguments passing.
- // Converting to array solves the problem.
- if (isArguments(a)) {
- if (!isArguments(b)) {
- return false;
- }
- a = pSlice.call(a);
- b = pSlice.call(b);
- return _deepEqual(a, b);
- }
- try{
- var ka = _keys(a),
- kb = _keys(b),
- key, i;
- } catch (e) {//happens when one is a string literal and the other isn't
- return false;
- }
- // having the same number of owned properties (keys incorporates hasOwnProperty)
- if (ka.length != kb.length)
- return false;
- //the same set of keys (although not necessarily the same order),
- ka.sort();
- kb.sort();
- //~~~cheap key test
- for (i = ka.length - 1; i >= 0; i--) {
- if (ka[i] != kb[i])
- return false;
- }
- //equivalent values for every corresponding key, and
- //~~~possibly expensive deep test
- for (i = ka.length - 1; i >= 0; i--) {
- key = ka[i];
- if (!_deepEqual(a[key], b[key] ))
- return false;
- }
- return true;
-}
-
-// 8. The non-equivalence assertion tests for any deep inequality.
-// assert.notDeepEqual(actual, expected, message_opt);
-
-assert.notDeepEqual = function notDeepEqual(actual, expected, message) {
- if (_deepEqual(actual, expected)) {
- fail(actual, expected, message, "notDeepEqual", assert.notDeepEqual);
- }
-};
-
-// 9. The strict equality assertion tests strict equality, as determined by ===.
-// assert.strictEqual(actual, expected, message_opt);
-
-assert.strictEqual = function strictEqual(actual, expected, message) {
- if (actual !== expected) {
- fail(actual, expected, message, "===", assert.strictEqual);
- }
-};
-
-// 10. The strict non-equality assertion tests for strict inequality, as determined by !==.
-// assert.notStrictEqual(actual, expected, message_opt);
-
-assert.notStrictEqual = function notStrictEqual(actual, expected, message) {
- if (actual === expected) {
- fail(actual, expected, message, "!==", assert.notStrictEqual);
- }
-};
-
-function _throws (shouldThrow, block, err, message) {
- var exception = null,
- threw = false,
- typematters = true;
-
- message = message || "";
-
- //handle optional arguments
- if (arguments.length == 3) {
- if (typeof(err) == "string") {
- message = err;
- typematters = false;
- }
- } else if (arguments.length == 2) {
- typematters = false;
- }
-
- try {
- block();
- } catch (e) {
- threw = true;
- exception = e;
- }
-
- if (shouldThrow && !threw) {
- fail( "Missing expected exception"
- + (err && err.name ? " ("+err.name+")." : '.')
- + (message ? " " + message : "")
- );
- }
- if (!shouldThrow && threw && typematters && exception instanceof err) {
- fail( "Got unwanted exception"
- + (err && err.name ? " ("+err.name+")." : '.')
- + (message ? " " + message : "")
- );
- }
- if ((shouldThrow && threw && typematters && !(exception instanceof err)) ||
- (!shouldThrow && threw)) {
- throw exception;
- }
-};
-
-// 11. Expected to throw an error:
-// assert.throws(block, Error_opt, message_opt);
-
-assert.throws = function(block, /*optional*/error, /*optional*/message) {
- _throws.apply(this, [true].concat(pSlice.call(arguments)));
-};
-
-// EXTENSION! This is annoying to write outside this module.
-assert.doesNotThrow = function(block, /*optional*/error, /*optional*/message) {
- _throws.apply(this, [false].concat(pSlice.call(arguments)));
-};
-
-assert.ifError = function (err) { if (err) {throw err;}};
-})(assert);
-(function(exports){
-/*!
- * Nodeunit
- * Copyright (c) 2010 Caolan McMahon
- * MIT Licensed
- *
- * THIS FILE SHOULD BE BROWSER-COMPATIBLE JS!
- * Only code on that line will be removed, its mostly to avoid requiring code
- * that is node specific
- */
-
-/**
- * Module dependencies
- */
-
-
-
-/**
- * Creates assertion objects representing the result of an assert call.
- * Accepts an object or AssertionError as its argument.
- *
- * @param {object} obj
- * @api public
- */
-
-exports.assertion = function (obj) {
- return {
- method: obj.method || '',
- message: obj.message || (obj.error && obj.error.message) || '',
- error: obj.error,
- passed: function () {
- return !this.error;
- },
- failed: function () {
- return Boolean(this.error);
- }
- };
-};
-
-/**
- * Creates an assertion list object representing a group of assertions.
- * Accepts an array of assertion objects.
- *
- * @param {Array} arr
- * @param {Number} duration
- * @api public
- */
-
-exports.assertionList = function (arr, duration) {
- var that = arr || [];
- that.failures = function () {
- var failures = 0;
- for (var i=0; i(' +
- '' + assertions.failures() + ', ' +
- '' + assertions.passes() + ', ' +
- assertions.length +
- ')';
- test.className = assertions.failures() ? 'fail': 'pass';
- test.appendChild(strong);
-
- var aList = document.createElement('ol');
- aList.style.display = 'none';
- test.onclick = function () {
- var d = aList.style.display;
- aList.style.display = (d == 'none') ? 'block': 'none';
- };
- for (var i=0; i' + (a.error.stack || a.error) + '';
- li.className = 'fail';
- }
- else {
- li.innerHTML = a.message || a.method || 'no message';
- li.className = 'pass';
- }
- aList.appendChild(li);
- }
- test.appendChild(aList);
- tests.appendChild(test);
- },
- done: function (assertions) {
- var end = new Date().getTime();
- var duration = end - start;
-
- var failures = assertions.failures();
- banner.className = failures ? 'fail': 'pass';
-
- result.innerHTML = 'Tests completed in ' + duration +
- ' milliseconds. ' +
- assertions.passes() + ' assertions of ' +
- '' + assertions.length + ' passed, ' +
- assertions.failures() + ' failed.';
- }
- });
-};
-})(reporter);
-nodeunit = core;
-nodeunit.assert = assert;
-nodeunit.reporter = reporter;
-nodeunit.run = reporter.run;
-return nodeunit; })();
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/dist/async.min.js b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/dist/async.min.js
deleted file mode 100644
index e4c898b..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/dist/async.min.js
+++ /dev/null
@@ -1 +0,0 @@
-/*global setTimeout: false, console: false */(function(){var a={},b=this,c=b.async;typeof module!="undefined"&&module.exports?module.exports=a:b.async=a,a.noConflict=function(){return b.async=c,a};var d=function(a,b){if(a.forEach)return a.forEach(b);for(var c=0;cd?1:0};d(null,e(b.sort(c),function(a){return a.value}))})},a.auto=function(a,b){b=b||function(){};var c=g(a);if(!c.length)return b(null);var e={},h=[],i=function(a){h.unshift(a)},j=function(a){for(var b=0;b b ? 1 : 0;
- };
- callback(null, _map(results.sort(fn), function (x) {
- return x.value;
- }));
- }
- });
- };
-
- async.auto = function (tasks, callback) {
- callback = callback || function () {};
- var keys = _keys(tasks);
- if (!keys.length) {
- return callback(null);
- }
-
- var results = {};
-
- var listeners = [];
- var addListener = function (fn) {
- listeners.unshift(fn);
- };
- var removeListener = function (fn) {
- for (var i = 0; i < listeners.length; i += 1) {
- if (listeners[i] === fn) {
- listeners.splice(i, 1);
- return;
- }
- }
- };
- var taskComplete = function () {
- _forEach(listeners, function (fn) {
- fn();
- });
- };
-
- addListener(function () {
- if (_keys(results).length === keys.length) {
- callback(null, results);
- }
- });
-
- _forEach(keys, function (k) {
- var task = (tasks[k] instanceof Function) ? [tasks[k]]: tasks[k];
- var taskCallback = function (err) {
- if (err) {
- callback(err);
- // stop subsequent errors hitting callback multiple times
- callback = function () {};
- }
- else {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- taskComplete();
- }
- };
- var requires = task.slice(0, Math.abs(task.length - 1)) || [];
- var ready = function () {
- return _reduce(requires, function (a, x) {
- return (a && results.hasOwnProperty(x));
- }, true);
- };
- if (ready()) {
- task[task.length - 1](taskCallback, results);
- }
- else {
- var listener = function () {
- if (ready()) {
- removeListener(listener);
- task[task.length - 1](taskCallback, results);
- }
- };
- addListener(listener);
- }
- });
- };
-
- async.waterfall = function (tasks, callback) {
- if (!tasks.length) {
- return callback();
- }
- callback = callback || function () {};
- var wrapIterator = function (iterator) {
- return function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- var args = Array.prototype.slice.call(arguments, 1);
- var next = iterator.next();
- if (next) {
- args.push(wrapIterator(next));
- }
- else {
- args.push(callback);
- }
- async.nextTick(function () {
- iterator.apply(null, args);
- });
- }
- };
- };
- wrapIterator(async.iterator(tasks))();
- };
-
- async.parallel = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.map(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEach(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.series = function (tasks, callback) {
- callback = callback || function () {};
- if (tasks.constructor === Array) {
- async.mapSeries(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.forEachSeries(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.iterator = function (tasks) {
- var makeCallback = function (index) {
- var fn = function () {
- if (tasks.length) {
- tasks[index].apply(null, arguments);
- }
- return fn.next();
- };
- fn.next = function () {
- return (index < tasks.length - 1) ? makeCallback(index + 1): null;
- };
- return fn;
- };
- return makeCallback(0);
- };
-
- async.apply = function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- return function () {
- return fn.apply(
- null, args.concat(Array.prototype.slice.call(arguments))
- );
- };
- };
-
- var _concat = function (eachfn, arr, fn, callback) {
- var r = [];
- eachfn(arr, function (x, cb) {
- fn(x, function (err, y) {
- r = r.concat(y || []);
- cb(err);
- });
- }, function (err) {
- callback(err, r);
- });
- };
- async.concat = doParallel(_concat);
- async.concatSeries = doSeries(_concat);
-
- async.whilst = function (test, iterator, callback) {
- if (test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.whilst(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.until = function (test, iterator, callback) {
- if (!test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.until(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.queue = function (worker, concurrency) {
- var workers = 0;
- var q = {
- tasks: [],
- concurrency: concurrency,
- saturated: null,
- empty: null,
- drain: null,
- push: function (data, callback) {
- q.tasks.push({data: data, callback: callback});
- if(q.saturated && q.tasks.length == concurrency) q.saturated();
- async.nextTick(q.process);
- },
- process: function () {
- if (workers < q.concurrency && q.tasks.length) {
- var task = q.tasks.shift();
- if(q.empty && q.tasks.length == 0) q.empty();
- workers += 1;
- worker(task.data, function () {
- workers -= 1;
- if (task.callback) {
- task.callback.apply(task, arguments);
- }
- if(q.drain && q.tasks.length + workers == 0) q.drain();
- q.process();
- });
- }
- },
- length: function () {
- return q.tasks.length;
- },
- running: function () {
- return workers;
- }
- };
- return q;
- };
-
- var _console_fn = function (name) {
- return function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- fn.apply(null, args.concat([function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (typeof console !== 'undefined') {
- if (err) {
- if (console.error) {
- console.error(err);
- }
- }
- else if (console[name]) {
- _forEach(args, function (x) {
- console[name](x);
- });
- }
- }
- }]));
- };
- };
- async.log = _console_fn('log');
- async.dir = _console_fn('dir');
- /*async.info = _console_fn('info');
- async.warn = _console_fn('warn');
- async.error = _console_fn('error');*/
-
- async.memoize = function (fn, hasher) {
- var memo = {};
- var queues = {};
- hasher = hasher || function (x) {
- return x;
- };
- var memoized = function () {
- var args = Array.prototype.slice.call(arguments);
- var callback = args.pop();
- var key = hasher.apply(null, args);
- if (key in memo) {
- callback.apply(null, memo[key]);
- }
- else if (key in queues) {
- queues[key].push(callback);
- }
- else {
- queues[key] = [callback];
- fn.apply(null, args.concat([function () {
- memo[key] = arguments;
- var q = queues[key];
- delete queues[key];
- for (var i = 0, l = q.length; i < l; i++) {
- q[i].apply(null, arguments);
- }
- }]));
- }
- };
- memoized.unmemoized = fn;
- return memoized;
- };
-
- async.unmemoize = function (fn) {
- return function () {
- return (fn.unmemoized || fn).apply(null, arguments);
- }
- };
-
-}());
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/nodelint.cfg b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/nodelint.cfg
deleted file mode 100644
index 457a967..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/nodelint.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-var options = {
- indent: 4,
- onevar: false
-};
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/package.json b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/package.json
deleted file mode 100644
index 80c41e2..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "async",
- "description": "Higher-order functions and common patterns for asynchronous code",
- "main": "./index",
- "author": {
- "name": "Caolan McMahon"
- },
- "version": "0.1.15",
- "repository": {
- "type": "git",
- "url": "git://github.com/caolan/async.git"
- },
- "bugs": {
- "url": "http://github.com/caolan/async/issues"
- },
- "licenses": [
- {
- "type": "MIT",
- "url": "http://github.com/caolan/async/raw/master/LICENSE"
- }
- ],
- "_npmUser": {
- "name": "caolan",
- "email": "caolan@caolanmcmahon.com"
- },
- "_id": "async@0.1.15",
- "dependencies": {},
- "devDependencies": {},
- "engines": {
- "node": "*"
- },
- "_engineSupported": true,
- "_npmVersion": "1.0.101",
- "_nodeVersion": "v0.4.9",
- "_defaultsLoaded": true,
- "dist": {
- "shasum": "2180eaca2cf2a6ca5280d41c0585bec9b3e49bd3",
- "tarball": "http://registry.npmjs.org/async/-/async-0.1.15.tgz"
- },
- "maintainers": [
- {
- "name": "caolan",
- "email": "caolan@caolanmcmahon.com"
- }
- ],
- "directories": {},
- "_shasum": "2180eaca2cf2a6ca5280d41c0585bec9b3e49bd3",
- "_from": "async@0.1.15",
- "_resolved": "https://registry.npmjs.org/async/-/async-0.1.15.tgz",
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/caolan/async"
-}
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/test/test-async.js b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/test/test-async.js
deleted file mode 100644
index d3eeddc..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/test/test-async.js
+++ /dev/null
@@ -1,1577 +0,0 @@
-var async = require('../lib/async');
-
-
-exports['auto'] = function(test){
- var callOrder = [];
- var testdata = [{test: 'test'}];
- async.auto({
- task1: ['task2', function(callback){
- setTimeout(function(){
- callOrder.push('task1');
- callback();
- }, 25);
- }],
- task2: function(callback){
- setTimeout(function(){
- callOrder.push('task2');
- callback();
- }, 50);
- },
- task3: ['task2', function(callback){
- callOrder.push('task3');
- callback();
- }],
- task4: ['task1', 'task2', function(callback){
- callOrder.push('task4');
- callback();
- }]
- },
- function(err){
- test.same(callOrder, ['task2','task3','task1','task4']);
- test.done();
- });
-};
-
-exports['auto results'] = function(test){
- var callOrder = [];
- async.auto({
- task1: ['task2', function(callback, results){
- test.same(results.task2, 'task2');
- setTimeout(function(){
- callOrder.push('task1');
- callback(null, 'task1a', 'task1b');
- }, 25);
- }],
- task2: function(callback){
- setTimeout(function(){
- callOrder.push('task2');
- callback(null, 'task2');
- }, 50);
- },
- task3: ['task2', function(callback, results){
- test.same(results.task2, 'task2');
- callOrder.push('task3');
- callback(null);
- }],
- task4: ['task1', 'task2', function(callback, results){
- test.same(results.task1, ['task1a','task1b']);
- test.same(results.task2, 'task2');
- callOrder.push('task4');
- callback(null, 'task4');
- }]
- },
- function(err, results){
- test.same(callOrder, ['task2','task3','task1','task4']);
- test.same(results, {task1: ['task1a','task1b'], task2: 'task2', task3: undefined, task4: 'task4'});
- test.done();
- });
-};
-
-
-exports['auto empty object'] = function(test){
- async.auto({}, function(err){
- test.done();
- });
-};
-
-exports['auto error'] = function(test){
- test.expect(1);
- async.auto({
- task1: function(callback){
- callback('testerror');
- },
- task2: ['task1', function(callback){
- test.ok(false, 'task2 should not be called');
- callback();
- }],
- task3: function(callback){
- callback('testerror2');
- }
- },
- function(err){
- test.equals(err, 'testerror');
- });
- setTimeout(test.done, 100);
-};
-
-exports['auto no callback'] = function(test){
- async.auto({
- task1: function(callback){callback();},
- task2: ['task1', function(callback){callback(); test.done();}]
- });
-};
-
-exports['waterfall'] = function(test){
- test.expect(6);
- var call_order = [];
- async.waterfall([
- function(callback){
- call_order.push('fn1');
- setTimeout(function(){callback(null, 'one', 'two');}, 0);
- },
- function(arg1, arg2, callback){
- call_order.push('fn2');
- test.equals(arg1, 'one');
- test.equals(arg2, 'two');
- setTimeout(function(){callback(null, arg1, arg2, 'three');}, 25);
- },
- function(arg1, arg2, arg3, callback){
- call_order.push('fn3');
- test.equals(arg1, 'one');
- test.equals(arg2, 'two');
- test.equals(arg3, 'three');
- callback(null, 'four');
- },
- function(arg4, callback){
- call_order.push('fn4');
- test.same(call_order, ['fn1','fn2','fn3','fn4']);
- callback(null, 'test');
- }
- ], function(err){
- test.done();
- });
-};
-
-exports['waterfall empty array'] = function(test){
- async.waterfall([], function(err){
- test.done();
- });
-};
-
-exports['waterfall no callback'] = function(test){
- async.waterfall([
- function(callback){callback();},
- function(callback){callback(); test.done();}
- ]);
-};
-
-exports['waterfall async'] = function(test){
- var call_order = [];
- async.waterfall([
- function(callback){
- call_order.push(1);
- callback();
- call_order.push(2);
- },
- function(callback){
- call_order.push(3);
- callback();
- },
- function(){
- test.same(call_order, [1,2,3]);
- test.done();
- }
- ]);
-};
-
-exports['waterfall error'] = function(test){
- test.expect(1);
- async.waterfall([
- function(callback){
- callback('error');
- },
- function(callback){
- test.ok(false, 'next function should not be called');
- callback();
- }
- ], function(err){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['waterfall multiple callback calls'] = function(test){
- var call_order = [];
- var arr = [
- function(callback){
- call_order.push(1);
- // call the callback twice. this should call function 2 twice
- callback(null, 'one', 'two');
- callback(null, 'one', 'two');
- },
- function(arg1, arg2, callback){
- call_order.push(2);
- callback(null, arg1, arg2, 'three');
- },
- function(arg1, arg2, arg3, callback){
- call_order.push(3);
- callback(null, 'four');
- },
- function(arg4){
- call_order.push(4);
- arr[3] = function(){
- call_order.push(4);
- test.same(call_order, [1,2,2,3,3,4,4]);
- test.done();
- };
- }
- ];
- async.waterfall(arr);
-};
-
-
-exports['parallel'] = function(test){
- var call_order = [];
- async.parallel([
- function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 50);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 100);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 25);
- }
- ],
- function(err, results){
- test.equals(err, null);
- test.same(call_order, [3,1,2]);
- test.same(results, [1,2,[3,3]]);
- test.done();
- });
-};
-
-exports['parallel empty array'] = function(test){
- async.parallel([], function(err, results){
- test.equals(err, null);
- test.same(results, []);
- test.done();
- });
-};
-
-exports['parallel error'] = function(test){
- async.parallel([
- function(callback){
- callback('error', 1);
- },
- function(callback){
- callback('error2', 2);
- }
- ],
- function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 100);
-};
-
-exports['parallel no callback'] = function(test){
- async.parallel([
- function(callback){callback();},
- function(callback){callback(); test.done();},
- ]);
-};
-
-exports['parallel object'] = function(test){
- var call_order = [];
- async.parallel({
- one: function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 25);
- },
- two: function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 50);
- },
- three: function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 15);
- }
- },
- function(err, results){
- test.equals(err, null);
- test.same(call_order, [3,1,2]);
- test.same(results, {
- one: 1,
- two: 2,
- three: [3,3]
- });
- test.done();
- });
-};
-
-exports['series'] = function(test){
- var call_order = [];
- async.series([
- function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 25);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 50);
- },
- function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 15);
- }
- ],
- function(err, results){
- test.equals(err, null);
- test.same(results, [1,2,[3,3]]);
- test.same(call_order, [1,2,3]);
- test.done();
- });
-};
-
-exports['series empty array'] = function(test){
- async.series([], function(err, results){
- test.equals(err, null);
- test.same(results, []);
- test.done();
- });
-};
-
-exports['series error'] = function(test){
- test.expect(1);
- async.series([
- function(callback){
- callback('error', 1);
- },
- function(callback){
- test.ok(false, 'should not be called');
- callback('error2', 2);
- }
- ],
- function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 100);
-};
-
-exports['series no callback'] = function(test){
- async.series([
- function(callback){callback();},
- function(callback){callback(); test.done();},
- ]);
-};
-
-exports['series object'] = function(test){
- var call_order = [];
- async.series({
- one: function(callback){
- setTimeout(function(){
- call_order.push(1);
- callback(null, 1);
- }, 25);
- },
- two: function(callback){
- setTimeout(function(){
- call_order.push(2);
- callback(null, 2);
- }, 50);
- },
- three: function(callback){
- setTimeout(function(){
- call_order.push(3);
- callback(null, 3,3);
- }, 15);
- }
- },
- function(err, results){
- test.equals(err, null);
- test.same(results, {
- one: 1,
- two: 2,
- three: [3,3]
- });
- test.same(call_order, [1,2,3]);
- test.done();
- });
-};
-
-exports['iterator'] = function(test){
- var call_order = [];
- var iterator = async.iterator([
- function(){call_order.push(1);},
- function(arg1){
- test.equals(arg1, 'arg1');
- call_order.push(2);
- },
- function(arg1, arg2){
- test.equals(arg1, 'arg1');
- test.equals(arg2, 'arg2');
- call_order.push(3);
- }
- ]);
- iterator();
- test.same(call_order, [1]);
- var iterator2 = iterator();
- test.same(call_order, [1,1]);
- var iterator3 = iterator2('arg1');
- test.same(call_order, [1,1,2]);
- var iterator4 = iterator3('arg1', 'arg2');
- test.same(call_order, [1,1,2,3]);
- test.equals(iterator4, undefined);
- test.done();
-};
-
-exports['iterator empty array'] = function(test){
- var iterator = async.iterator([]);
- test.equals(iterator(), undefined);
- test.equals(iterator.next(), undefined);
- test.done();
-};
-
-exports['iterator.next'] = function(test){
- var call_order = [];
- var iterator = async.iterator([
- function(){call_order.push(1);},
- function(arg1){
- test.equals(arg1, 'arg1');
- call_order.push(2);
- },
- function(arg1, arg2){
- test.equals(arg1, 'arg1');
- test.equals(arg2, 'arg2');
- call_order.push(3);
- }
- ]);
- var fn = iterator.next();
- var iterator2 = fn('arg1');
- test.same(call_order, [2]);
- iterator2('arg1','arg2');
- test.same(call_order, [2,3]);
- test.equals(iterator2.next(), undefined);
- test.done();
-};
-
-exports['forEach'] = function(test){
- var args = [];
- async.forEach([1,3,2], function(x, callback){
- setTimeout(function(){
- args.push(x);
- callback();
- }, x*25);
- }, function(err){
- test.same(args, [1,2,3]);
- test.done();
- });
-};
-
-exports['forEach empty array'] = function(test){
- test.expect(1);
- async.forEach([], function(x, callback){
- test.ok(false, 'iterator should not be called');
- callback();
- }, function(err){
- test.ok(true, 'should call callback');
- });
- setTimeout(test.done, 25);
-};
-
-exports['forEach error'] = function(test){
- test.expect(1);
- async.forEach([1,2,3], function(x, callback){
- callback('error');
- }, function(err){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['forEachSeries'] = function(test){
- var args = [];
- async.forEachSeries([1,3,2], function(x, callback){
- setTimeout(function(){
- args.push(x);
- callback();
- }, x*25);
- }, function(err){
- test.same(args, [1,3,2]);
- test.done();
- });
-};
-
-exports['forEachSeries empty array'] = function(test){
- test.expect(1);
- async.forEachSeries([], function(x, callback){
- test.ok(false, 'iterator should not be called');
- callback();
- }, function(err){
- test.ok(true, 'should call callback');
- });
- setTimeout(test.done, 25);
-};
-
-exports['forEachSeries error'] = function(test){
- test.expect(2);
- var call_order = [];
- async.forEachSeries([1,2,3], function(x, callback){
- call_order.push(x);
- callback('error');
- }, function(err){
- test.same(call_order, [1]);
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['forEachLimit'] = function(test){
- var args = [];
- var arr = [0,1,2,3,4,5,6,7,8,9];
- async.forEachLimit(arr, 2, function(x,callback){
- setTimeout(function(){
- args.push(x);
- callback();
- }, x*5);
- }, function(err){
- test.same(args, arr);
- test.done();
- });
-};
-
-exports['forEachLimit empty array'] = function(test){
- test.expect(1);
- async.forEachLimit([], 2, function(x, callback){
- test.ok(false, 'iterator should not be called');
- callback();
- }, function(err){
- test.ok(true, 'should call callback');
- });
- setTimeout(test.done, 25);
-};
-
-exports['forEachLimit limit exceeds size'] = function(test){
- var args = [];
- var arr = [0,1,2,3,4,5,6,7,8,9];
- async.forEachLimit(arr, 20, function(x,callback){
- setTimeout(function(){
- args.push(x);
- callback();
- }, x*5);
- }, function(err){
- test.same(args, arr);
- test.done();
- });
-};
-
-exports['forEachLimit limit equal size'] = function(test){
- var args = [];
- var arr = [0,1,2,3,4,5,6,7,8,9];
- async.forEachLimit(arr, 10, function(x,callback){
- setTimeout(function(){
- args.push(x);
- callback();
- }, x*5);
- }, function(err){
- test.same(args, arr);
- test.done();
- });
-};
-
-exports['forEachLimit zero limit'] = function(test){
- test.expect(1);
- async.forEachLimit([0,1,2,3,4,5], 0, function(x, callback){
- test.ok(false, 'iterator should not be called');
- callback();
- }, function(err){
- test.ok(true, 'should call callback');
- });
- setTimeout(test.done, 25);
-};
-
-exports['forEachLimit error'] = function(test){
- test.expect(2);
- var arr = [0,1,2,3,4,5,6,7,8,9];
- var call_order = [];
-
- async.forEachLimit(arr, 3, function(x, callback){
- call_order.push(x);
- if (x === 2) {
- callback('error');
- }
- }, function(err){
- test.same(call_order, [0,1,2]);
- test.equals(err, 'error');
- });
- setTimeout(test.done, 25);
-};
-
-exports['map'] = function(test){
- var call_order = [];
- async.map([1,3,2], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(null, x*2);
- }, x*25);
- }, function(err, results){
- test.same(call_order, [1,2,3]);
- test.same(results, [2,6,4]);
- test.done();
- });
-};
-
-exports['map original untouched'] = function(test){
- var a = [1,2,3];
- async.map(a, function(x, callback){
- callback(null, x*2);
- }, function(err, results){
- test.same(results, [2,4,6]);
- test.same(a, [1,2,3]);
- test.done();
- });
-};
-
-exports['map error'] = function(test){
- test.expect(1);
- async.map([1,2,3], function(x, callback){
- callback('error');
- }, function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['mapSeries'] = function(test){
- var call_order = [];
- async.mapSeries([1,3,2], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(null, x*2);
- }, x*25);
- }, function(err, results){
- test.same(call_order, [1,3,2]);
- test.same(results, [2,6,4]);
- test.done();
- });
-};
-
-exports['mapSeries error'] = function(test){
- test.expect(1);
- async.mapSeries([1,2,3], function(x, callback){
- callback('error');
- }, function(err, results){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['reduce'] = function(test){
- var call_order = [];
- async.reduce([1,2,3], 0, function(a, x, callback){
- call_order.push(x);
- callback(null, a + x);
- }, function(err, result){
- test.equals(result, 6);
- test.same(call_order, [1,2,3]);
- test.done();
- });
-};
-
-exports['reduce async with non-reference memo'] = function(test){
- async.reduce([1,3,2], 0, function(a, x, callback){
- setTimeout(function(){callback(null, a + x)}, Math.random()*100);
- }, function(err, result){
- test.equals(result, 6);
- test.done();
- });
-};
-
-exports['reduce error'] = function(test){
- test.expect(1);
- async.reduce([1,2,3], 0, function(a, x, callback){
- callback('error');
- }, function(err, result){
- test.equals(err, 'error');
- });
- setTimeout(test.done, 50);
-};
-
-exports['inject alias'] = function(test){
- test.equals(async.inject, async.reduce);
- test.done();
-};
-
-exports['foldl alias'] = function(test){
- test.equals(async.foldl, async.reduce);
- test.done();
-};
-
-exports['reduceRight'] = function(test){
- var call_order = [];
- var a = [1,2,3];
- async.reduceRight(a, 0, function(a, x, callback){
- call_order.push(x);
- callback(null, a + x);
- }, function(err, result){
- test.equals(result, 6);
- test.same(call_order, [3,2,1]);
- test.same(a, [1,2,3]);
- test.done();
- });
-};
-
-exports['foldr alias'] = function(test){
- test.equals(async.foldr, async.reduceRight);
- test.done();
-};
-
-exports['filter'] = function(test){
- async.filter([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [3,1]);
- test.done();
- });
-};
-
-exports['filter original untouched'] = function(test){
- var a = [3,1,2];
- async.filter(a, function(x, callback){
- callback(x % 2);
- }, function(results){
- test.same(results, [3,1]);
- test.same(a, [3,1,2]);
- test.done();
- });
-};
-
-exports['filterSeries'] = function(test){
- async.filterSeries([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [3,1]);
- test.done();
- });
-};
-
-exports['select alias'] = function(test){
- test.equals(async.select, async.filter);
- test.done();
-};
-
-exports['selectSeries alias'] = function(test){
- test.equals(async.selectSeries, async.filterSeries);
- test.done();
-};
-
-exports['reject'] = function(test){
- async.reject([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [2]);
- test.done();
- });
-};
-
-exports['reject original untouched'] = function(test){
- var a = [3,1,2];
- async.reject(a, function(x, callback){
- callback(x % 2);
- }, function(results){
- test.same(results, [2]);
- test.same(a, [3,1,2]);
- test.done();
- });
-};
-
-exports['rejectSeries'] = function(test){
- async.rejectSeries([3,1,2], function(x, callback){
- setTimeout(function(){callback(x % 2);}, x*25);
- }, function(results){
- test.same(results, [2]);
- test.done();
- });
-};
-
-exports['some true'] = function(test){
- async.some([3,1,2], function(x, callback){
- setTimeout(function(){callback(x === 1);}, 0);
- }, function(result){
- test.equals(result, true);
- test.done();
- });
-};
-
-exports['some false'] = function(test){
- async.some([3,1,2], function(x, callback){
- setTimeout(function(){callback(x === 10);}, 0);
- }, function(result){
- test.equals(result, false);
- test.done();
- });
-};
-
-exports['some early return'] = function(test){
- var call_order = [];
- async.some([1,2,3], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x === 1);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- });
- setTimeout(function(){
- test.same(call_order, [1,'callback',2,3]);
- test.done();
- }, 100);
-};
-
-exports['any alias'] = function(test){
- test.equals(async.any, async.some);
- test.done();
-};
-
-exports['every true'] = function(test){
- async.every([1,2,3], function(x, callback){
- setTimeout(function(){callback(true);}, 0);
- }, function(result){
- test.equals(result, true);
- test.done();
- });
-};
-
-exports['every false'] = function(test){
- async.every([1,2,3], function(x, callback){
- setTimeout(function(){callback(x % 2);}, 0);
- }, function(result){
- test.equals(result, false);
- test.done();
- });
-};
-
-exports['every early return'] = function(test){
- var call_order = [];
- async.every([1,2,3], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x === 1);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- });
- setTimeout(function(){
- test.same(call_order, [1,2,'callback',3]);
- test.done();
- }, 100);
-};
-
-exports['all alias'] = function(test){
- test.equals(async.all, async.every);
- test.done();
-};
-
-exports['detect'] = function(test){
- var call_order = [];
- async.detect([3,2,1], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x == 2);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- test.equals(result, 2);
- });
- setTimeout(function(){
- test.same(call_order, [1,2,'callback',3]);
- test.done();
- }, 100);
-};
-
-exports['detect - mulitple matches'] = function(test){
- var call_order = [];
- async.detect([3,2,2,1,2], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x == 2);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- test.equals(result, 2);
- });
- setTimeout(function(){
- test.same(call_order, [1,2,'callback',2,2,3]);
- test.done();
- }, 100);
-};
-
-exports['detectSeries'] = function(test){
- var call_order = [];
- async.detectSeries([3,2,1], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x == 2);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- test.equals(result, 2);
- });
- setTimeout(function(){
- test.same(call_order, [3,2,'callback']);
- test.done();
- }, 200);
-};
-
-exports['detectSeries - multiple matches'] = function(test){
- var call_order = [];
- async.detectSeries([3,2,2,1,2], function(x, callback){
- setTimeout(function(){
- call_order.push(x);
- callback(x == 2);
- }, x*25);
- }, function(result){
- call_order.push('callback');
- test.equals(result, 2);
- });
- setTimeout(function(){
- test.same(call_order, [3,2,'callback']);
- test.done();
- }, 200);
-};
-
-exports['sortBy'] = function(test){
- async.sortBy([{a:1},{a:15},{a:6}], function(x, callback){
- setTimeout(function(){callback(null, x.a);}, 0);
- }, function(err, result){
- test.same(result, [{a:1},{a:6},{a:15}]);
- test.done();
- });
-};
-
-exports['apply'] = function(test){
- test.expect(6);
- var fn = function(){
- test.same(Array.prototype.slice.call(arguments), [1,2,3,4])
- };
- async.apply(fn, 1, 2, 3, 4)();
- async.apply(fn, 1, 2, 3)(4);
- async.apply(fn, 1, 2)(3, 4);
- async.apply(fn, 1)(2, 3, 4);
- async.apply(fn)(1, 2, 3, 4);
- test.equals(
- async.apply(function(name){return 'hello ' + name}, 'world')(),
- 'hello world'
- );
- test.done();
-};
-
-
-// generates tests for console functions such as async.log
-var console_fn_tests = function(name){
-
- if (typeof console !== 'undefined') {
- exports[name] = function(test){
- test.expect(5);
- var fn = function(arg1, callback){
- test.equals(arg1, 'one');
- setTimeout(function(){callback(null, 'test');}, 0);
- };
- var fn_err = function(arg1, callback){
- test.equals(arg1, 'one');
- setTimeout(function(){callback('error');}, 0);
- };
- var _console_fn = console[name];
- var _error = console.error;
- console[name] = function(val){
- test.equals(val, 'test');
- test.equals(arguments.length, 1);
- console.error = function(val){
- test.equals(val, 'error');
- console[name] = _console_fn;
- console.error = _error;
- test.done();
- };
- async[name](fn_err, 'one');
- };
- async[name](fn, 'one');
- };
-
- exports[name + ' with multiple result params'] = function(test){
- var fn = function(callback){callback(null,'one','two','three');};
- var _console_fn = console[name];
- var called_with = [];
- console[name] = function(x){
- called_with.push(x);
- };
- async[name](fn);
- test.same(called_with, ['one','two','three']);
- console[name] = _console_fn;
- test.done();
- };
- }
-
- // browser-only test
- exports[name + ' without console.' + name] = function(test){
- if (typeof window !== 'undefined') {
- var _console = window.console;
- window.console = undefined;
- var fn = function(callback){callback(null, 'val');};
- var fn_err = function(callback){callback('error');};
- async[name](fn);
- async[name](fn_err);
- window.console = _console;
- }
- test.done();
- };
-
-};
-
-console_fn_tests('log');
-console_fn_tests('dir');
-/*console_fn_tests('info');
-console_fn_tests('warn');
-console_fn_tests('error');*/
-
-exports['nextTick'] = function(test){
- var call_order = [];
- async.nextTick(function(){call_order.push('two');});
- call_order.push('one');
- setTimeout(function(){
- test.same(call_order, ['one','two']);
- test.done();
- }, 50);
-};
-
-exports['nextTick in the browser'] = function(test){
- if (typeof process !== 'undefined') {
- // skip this test in node
- return test.done();
- }
- test.expect(1);
-
- var call_order = [];
- async.nextTick(function(){call_order.push('two');});
-
- call_order.push('one');
- setTimeout(function(){
- if (typeof process !== 'undefined') {
- process.nextTick = _nextTick;
- }
- test.same(call_order, ['one','two']);
- }, 50);
- setTimeout(test.done, 100);
-};
-
-exports['noConflict - node only'] = function(test){
- if (typeof process !== 'undefined') {
- // node only test
- test.expect(3);
- var fs = require('fs');
- var filename = __dirname + '/../lib/async.js';
- fs.readFile(filename, function(err, content){
- if(err) return test.done();
- var Script = process.binding('evals').Script;
-
- var s = new Script(content, filename);
- var s2 = new Script(
- content + 'this.async2 = this.async.noConflict();',
- filename
- );
-
- var sandbox1 = {async: 'oldvalue'};
- s.runInNewContext(sandbox1);
- test.ok(sandbox1.async);
-
- var sandbox2 = {async: 'oldvalue'};
- s2.runInNewContext(sandbox2);
- test.equals(sandbox2.async, 'oldvalue');
- test.ok(sandbox2.async2);
-
- test.done();
- });
- }
- else test.done();
-};
-
-exports['concat'] = function(test){
- var call_order = [];
- var iterator = function (x, cb) {
- setTimeout(function(){
- call_order.push(x);
- var r = [];
- while (x > 0) {
- r.push(x);
- x--;
- }
- cb(null, r);
- }, x*25);
- };
- async.concat([1,3,2], iterator, function(err, results){
- test.same(results, [1,2,1,3,2,1]);
- test.same(call_order, [1,2,3]);
- test.ok(!err);
- test.done();
- });
-};
-
-exports['concat error'] = function(test){
- var iterator = function (x, cb) {
- cb(new Error('test error'));
- };
- async.concat([1,2,3], iterator, function(err, results){
- test.ok(err);
- test.done();
- });
-};
-
-exports['concatSeries'] = function(test){
- var call_order = [];
- var iterator = function (x, cb) {
- setTimeout(function(){
- call_order.push(x);
- var r = [];
- while (x > 0) {
- r.push(x);
- x--;
- }
- cb(null, r);
- }, x*25);
- };
- async.concatSeries([1,3,2], iterator, function(err, results){
- test.same(results, [1,3,2,1,2,1]);
- test.same(call_order, [1,3,2]);
- test.ok(!err);
- test.done();
- });
-};
-
-exports['until'] = function (test) {
- var call_order = [];
-
- var count = 0;
- async.until(
- function () {
- call_order.push(['test', count]);
- return (count == 5);
- },
- function (cb) {
- call_order.push(['iterator', count]);
- count++;
- cb();
- },
- function (err) {
- test.same(call_order, [
- ['test', 0],
- ['iterator', 0], ['test', 1],
- ['iterator', 1], ['test', 2],
- ['iterator', 2], ['test', 3],
- ['iterator', 3], ['test', 4],
- ['iterator', 4], ['test', 5],
- ]);
- test.equals(count, 5);
- test.done();
- }
- );
-};
-
-exports['whilst'] = function (test) {
- var call_order = [];
-
- var count = 0;
- async.whilst(
- function () {
- call_order.push(['test', count]);
- return (count < 5);
- },
- function (cb) {
- call_order.push(['iterator', count]);
- count++;
- cb();
- },
- function (err) {
- test.same(call_order, [
- ['test', 0],
- ['iterator', 0], ['test', 1],
- ['iterator', 1], ['test', 2],
- ['iterator', 2], ['test', 3],
- ['iterator', 3], ['test', 4],
- ['iterator', 4], ['test', 5],
- ]);
- test.equals(count, 5);
- test.done();
- }
- );
-};
-
-exports['queue'] = function (test) {
- var call_order = [],
- delays = [40,20,60,20];
-
- // worker1: --1-4
- // worker2: -2---3
- // order of completion: 2,1,4,3
-
- var q = async.queue(function (task, callback) {
- setTimeout(function () {
- call_order.push('process ' + task);
- callback('error', 'arg');
- }, delays.splice(0,1)[0]);
- }, 2);
-
- q.push(1, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 1);
- call_order.push('callback ' + 1);
- });
- q.push(2, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 2);
- call_order.push('callback ' + 2);
- });
- q.push(3, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 0);
- call_order.push('callback ' + 3);
- });
- q.push(4, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 0);
- call_order.push('callback ' + 4);
- });
- test.equal(q.length(), 4);
- test.equal(q.concurrency, 2);
-
- setTimeout(function () {
- test.same(call_order, [
- 'process 2', 'callback 2',
- 'process 1', 'callback 1',
- 'process 4', 'callback 4',
- 'process 3', 'callback 3'
- ]);
- test.equal(q.concurrency, 2);
- test.equal(q.length(), 0);
- test.done();
- }, 200);
-};
-
-exports['queue changing concurrency'] = function (test) {
- var call_order = [],
- delays = [40,20,60,20];
-
- // worker1: --1-2---3-4
- // order of completion: 1,2,3,4
-
- var q = async.queue(function (task, callback) {
- setTimeout(function () {
- call_order.push('process ' + task);
- callback('error', 'arg');
- }, delays.splice(0,1)[0]);
- }, 2);
-
- q.push(1, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 3);
- call_order.push('callback ' + 1);
- });
- q.push(2, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 2);
- call_order.push('callback ' + 2);
- });
- q.push(3, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 1);
- call_order.push('callback ' + 3);
- });
- q.push(4, function (err, arg) {
- test.equal(err, 'error');
- test.equal(arg, 'arg');
- test.equal(q.length(), 0);
- call_order.push('callback ' + 4);
- });
- test.equal(q.length(), 4);
- test.equal(q.concurrency, 2);
- q.concurrency = 1;
-
- setTimeout(function () {
- test.same(call_order, [
- 'process 1', 'callback 1',
- 'process 2', 'callback 2',
- 'process 3', 'callback 3',
- 'process 4', 'callback 4'
- ]);
- test.equal(q.concurrency, 1);
- test.equal(q.length(), 0);
- test.done();
- }, 250);
-};
-
-exports['queue push without callback'] = function (test) {
- var call_order = [],
- delays = [40,20,60,20];
-
- // worker1: --1-4
- // worker2: -2---3
- // order of completion: 2,1,4,3
-
- var q = async.queue(function (task, callback) {
- setTimeout(function () {
- call_order.push('process ' + task);
- callback('error', 'arg');
- }, delays.splice(0,1)[0]);
- }, 2);
-
- q.push(1);
- q.push(2);
- q.push(3);
- q.push(4);
-
- setTimeout(function () {
- test.same(call_order, [
- 'process 2',
- 'process 1',
- 'process 4',
- 'process 3'
- ]);
- test.done();
- }, 200);
-};
-
-exports['memoize'] = function (test) {
- test.expect(4);
- var call_order = [];
-
- var fn = function (arg1, arg2, callback) {
- call_order.push(['fn', arg1, arg2]);
- callback(null, arg1 + arg2);
- };
-
- var fn2 = async.memoize(fn);
- fn2(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn2(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn2(2, 2, function (err, result) {
- test.equal(result, 4);
- });
-
- test.same(call_order, [['fn',1,2], ['fn',2,2]]);
- test.done();
-};
-
-exports['unmemoize'] = function(test) {
- test.expect(4);
- var call_order = [];
-
- var fn = function (arg1, arg2, callback) {
- call_order.push(['fn', arg1, arg2]);
- callback(null, arg1 + arg2);
- };
-
- var fn2 = async.memoize(fn);
- var fn3 = async.unmemoize(fn2);
- fn3(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn3(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn3(2, 2, function (err, result) {
- test.equal(result, 4);
- });
-
- test.same(call_order, [['fn',1,2], ['fn',1,2], ['fn',2,2]]);
-
- test.done();
-}
-
-exports['unmemoize a not memoized function'] = function(test) {
- test.expect(1);
-
- var fn = function (arg1, arg2, callback) {
- callback(null, arg1 + arg2);
- };
-
- var fn2 = async.unmemoize(fn);
- fn2(1, 2, function(err, result) {
- test.equal(result, 3);
- });
-
- test.done();
-}
-
-exports['memoize error'] = function (test) {
- test.expect(1);
- var testerr = new Error('test');
- var fn = function (arg1, arg2, callback) {
- callback(testerr, arg1 + arg2);
- };
- async.memoize(fn)(1, 2, function (err, result) {
- test.equal(err, testerr);
- });
- test.done();
-};
-
-exports['memoize multiple calls'] = function (test) {
- test.expect(3);
- var fn = function (arg1, arg2, callback) {
- test.ok(true);
- setTimeout(function(){
- callback(null, arg1, arg2);
- }, 10);
- };
- var fn2 = async.memoize(fn);
- fn2(1, 2, function(err, result) {
- test.equal(result, 1, 2);
- });
- fn2(1, 2, function(err, result) {
- test.equal(result, 1, 2);
- test.done();
- });
-};
-
-exports['memoize custom hash function'] = function (test) {
- test.expect(2);
- var testerr = new Error('test');
-
- var fn = function (arg1, arg2, callback) {
- callback(testerr, arg1 + arg2);
- };
- var fn2 = async.memoize(fn, function () {
- return 'custom hash';
- });
- fn2(1, 2, function (err, result) {
- test.equal(result, 3);
- });
- fn2(2, 2, function (err, result) {
- test.equal(result, 3);
- });
- test.done();
-};
-
-// Issue 10 on github: https://github.com/caolan/async/issues#issue/10
-exports['falsy return values in series'] = function (test) {
- function taskFalse(callback) {
- async.nextTick(function() {
- callback(null, false);
- });
- };
- function taskUndefined(callback) {
- async.nextTick(function() {
- callback(null, undefined);
- });
- };
- function taskEmpty(callback) {
- async.nextTick(function() {
- callback(null);
- });
- };
- function taskNull(callback) {
- async.nextTick(function() {
- callback(null, null);
- });
- };
- async.series(
- [taskFalse, taskUndefined, taskEmpty, taskNull],
- function(err, results) {
- test.equal(results.length, 4);
- test.strictEqual(results[0], false);
- test.strictEqual(results[1], undefined);
- test.strictEqual(results[2], undefined);
- test.strictEqual(results[3], null);
- test.done();
- }
- );
-};
-
-// Issue 10 on github: https://github.com/caolan/async/issues#issue/10
-exports['falsy return values in parallel'] = function (test) {
- function taskFalse(callback) {
- async.nextTick(function() {
- callback(null, false);
- });
- };
- function taskUndefined(callback) {
- async.nextTick(function() {
- callback(null, undefined);
- });
- };
- function taskEmpty(callback) {
- async.nextTick(function() {
- callback(null);
- });
- };
- function taskNull(callback) {
- async.nextTick(function() {
- callback(null, null);
- });
- };
- async.parallel(
- [taskFalse, taskUndefined, taskEmpty, taskNull],
- function(err, results) {
- test.equal(results.length, 4);
- test.strictEqual(results[0], false);
- test.strictEqual(results[1], undefined);
- test.strictEqual(results[2], undefined);
- test.strictEqual(results[3], null);
- test.done();
- }
- );
-};
-
-exports['queue events'] = function(test) {
- var calls = [];
- var q = async.queue(function(task, cb) {
- // nop
- calls.push('process ' + task);
- cb();
- }, 3);
-
- q.saturated = function() {
- test.ok(q.length() == 3, 'queue should be saturated now');
- calls.push('saturated');
- };
- q.empty = function() {
- test.ok(q.length() == 0, 'queue should be empty now');
- calls.push('empty');
- };
- q.drain = function() {
- test.ok(
- q.length() == 0 && q.running() == 0,
- 'queue should be empty now and no more workers should be running'
- );
- calls.push('drain');
- test.same(calls, [
- 'saturated',
- 'process foo',
- 'foo cb',
- 'process bar',
- 'bar cb',
- 'process zoo',
- 'zoo cb',
- 'process poo',
- 'poo cb',
- 'empty',
- 'process moo',
- 'moo cb',
- 'drain',
- ]);
- test.done();
- };
- q.push('foo', function () {calls.push('foo cb');});
- q.push('bar', function () {calls.push('bar cb');});
- q.push('zoo', function () {calls.push('zoo cb');});
- q.push('poo', function () {calls.push('poo cb');});
- q.push('moo', function () {calls.push('moo cb');});
-};
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/test/test.html b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/test/test.html
deleted file mode 100644
index 2450e2d..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/node_modules/async/test/test.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
- Async.js Test Suite
-
-
-
-
-
-
-
-
-
Async.js Test Suite
-
-
-
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/package.json b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/package.json
deleted file mode 100644
index 6557666..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/portscanner/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "name": "portscanner",
- "description": "Asynchronous port scanner for Node.js",
- "keywords": [
- "portscanner",
- "port",
- "scanner",
- "checker",
- "status"
- ],
- "version": "0.2.3",
- "preferGlobal": false,
- "homepage": "https://github.com/baalexander/node-portscanner",
- "author": "",
- "repository": {
- "type": "git",
- "url": "git://github.com/baalexander/node-portscanner.git"
- },
- "bugs": {
- "url": "https://github.com/baalexander/node-portscanner/issues"
- },
- "directories": {
- "lib": "./lib"
- },
- "main": "./lib/portscanner.js",
- "dependencies": {
- "async": "0.1.15"
- },
- "devDependencies": {},
- "engines": {
- "node": ">=0.4",
- "npm": ">=1.0.0"
- },
- "licenses": [
- {
- "type": "MIT",
- "url": "https://github.com/baalexander/node-portscanner/raw/master/LICENSE"
- }
- ],
- "_id": "portscanner@0.2.3",
- "dist": {
- "shasum": "40d8adc92e01b205ab020aa16f0e386ac5ed1978",
- "tarball": "http://registry.npmjs.org/portscanner/-/portscanner-0.2.3.tgz"
- },
- "_from": "portscanner@~0.2.2",
- "_npmVersion": "1.4.3",
- "_npmUser": {
- "name": "smassa",
- "email": "endangeredmassa@gmail.com"
- },
- "maintainers": [
- {
- "name": "baalexander",
- "email": "baalexander@gmail.com"
- },
- {
- "name": "smassa",
- "email": "endangeredmassa@gmail.com"
- }
- ],
- "_shasum": "40d8adc92e01b205ab020aa16f0e386ac5ed1978",
- "_resolved": "https://registry.npmjs.org/portscanner/-/portscanner-0.2.3.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/CONTRIBUTING.md b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/CONTRIBUTING.md
deleted file mode 100644
index 500ab17..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/CONTRIBUTING.md
+++ /dev/null
@@ -1,40 +0,0 @@
-
-For pull requests:
-
-- Be consistent with prevalent style and design decisions.
-- Add a Jasmine spec to `specs/q-spec.js`.
-- Use `npm test` to avoid regressions.
-- Run tests in `q-spec/run.html` in as many supported browsers as you
- can find the will to deal with.
-- Do not build minified versions; we do this each release.
-- If you would be so kind, add a note to `CHANGES.md` in an
- appropriate section:
-
- - `Next Major Version` if it introduces backward incompatibilities
- to code in the wild using documented features.
- - `Next Minor Version` if it adds a new feature.
- - `Next Patch Version` if it fixes a bug.
-
-For releases:
-
-- Run `npm test`.
-- Run tests in `q-spec/run.html` in a representative sample of every
- browser under the sun.
-- Run `npm run cover` and make sure you're happy with the results.
-- Run `npm run minify` and be sure to commit the resulting `q.min.js`.
-- Note the Gzipped size output by the previous command, and update
- `README.md` if it has changed to 1 significant digit.
-- Stash any local changes.
-- Update `CHANGES.md` to reflect all changes in the differences
- between `HEAD` and the previous tagged version. Give credit where
- credit is due.
-- Update `README.md` to address all new, non-experimental features.
-- Update the API reference on the Wiki to reflect all non-experimental
- features.
-- Use `npm version major|minor|patch` to update `package.json`,
- commit, and tag the new version.
-- Use `npm publish` to send up a new release.
-- Send an email to the q-continuum mailing list announcing the new
- release and the notes from the change log. This helps folks
- maintaining other package ecosystems.
-
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/LICENSE b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/LICENSE
deleted file mode 100644
index 8a706b5..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/LICENSE
+++ /dev/null
@@ -1,18 +0,0 @@
-Copyright 2009–2014 Kristopher Michael Kowal. All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/README.md b/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/README.md
deleted file mode 100644
index bdd4168..0000000
--- a/node_modules/browser-sync/node_modules/portscanner-plus/node_modules/q/README.md
+++ /dev/null
@@ -1,820 +0,0 @@
-[![Build Status](https://secure.travis-ci.org/kriskowal/q.png?branch=master)](http://travis-ci.org/kriskowal/q)
-
-
-
-
-
-*This is Q version 1, from the `v1` branch in Git. This documentation applies to
-the latest of both the version 1 and version 0.9 release trains. These releases
-are stable. There will be no further releases of 0.9 after 0.9.7 which is nearly
-equivalent to version 1.0.0. All further releases of `q@~1.0` will be backward
-compatible. The version 2 release train introduces significant but
-backward-incompatible changes and is experimental at this time.*
-
-If a function cannot return a value or throw an exception without
-blocking, it can return a promise instead. A promise is an object
-that represents the return value or the thrown exception that the
-function may eventually provide. A promise can also be used as a
-proxy for a [remote object][Q-Connection] to overcome latency.
-
-[Q-Connection]: https://github.com/kriskowal/q-connection
-
-On the first pass, promises can mitigate the “[Pyramid of
-Doom][POD]â€: the situation where code marches to the right faster
-than it marches forward.
-
-[POD]: http://calculist.org/blog/2011/12/14/why-coroutines-wont-work-on-the-web/
-
-```javascript
-step1(function (value1) {
- step2(value1, function(value2) {
- step3(value2, function(value3) {
- step4(value3, function(value4) {
- // Do something with value4
- });
- });
- });
-});
-```
-
-With a promise library, you can flatten the pyramid.
-
-```javascript
-Q.fcall(promisedStep1)
-.then(promisedStep2)
-.then(promisedStep3)
-.then(promisedStep4)
-.then(function (value4) {
- // Do something with value4
-})
-.catch(function (error) {
- // Handle any error from all above steps
-})
-.done();
-```
-
-With this approach, you also get implicit error propagation, just like `try`,
-`catch`, and `finally`. An error in `promisedStep1` will flow all the way to
-the `catch` function, where it’s caught and handled. (Here `promisedStepN` is
-a version of `stepN` that returns a promise.)
-
-The callback approach is called an “inversion of controlâ€.
-A function that accepts a callback instead of a return value
-is saying, “Don’t call me, I’ll call you.â€. Promises
-[un-invert][IOC] the inversion, cleanly separating the input
-arguments from control flow arguments. This simplifies the
-use and creation of API’s, particularly variadic,
-rest and spread arguments.
-
-[IOC]: http://www.slideshare.net/domenicdenicola/callbacks-promises-and-coroutines-oh-my-the-evolution-of-asynchronicity-in-javascript
-
-
-## Getting Started
-
-The Q module can be loaded as:
-
-- A ``
-
-
-
-
-
{linked-path}
- {files}
-
-
-
\ No newline at end of file
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/application_xp.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/application_xp.png
deleted file mode 100644
index d22860a..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/application_xp.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/application_xp_terminal.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/application_xp_terminal.png
deleted file mode 100644
index c28dd63..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/application_xp_terminal.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/box.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/box.png
deleted file mode 100644
index 8443c23..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/box.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/cd.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/cd.png
deleted file mode 100644
index ef43223..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/cd.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/controller.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/controller.png
deleted file mode 100644
index 5cf76ed..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/controller.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/drive.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/drive.png
deleted file mode 100644
index 37b7c9b..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/drive.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/film.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/film.png
deleted file mode 100644
index b0ce7bb..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/film.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/folder.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/folder.png
deleted file mode 100644
index 698f3d3..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/folder.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/font.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/font.png
deleted file mode 100644
index b7960db..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/font.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/image.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/image.png
deleted file mode 100644
index fc3c393..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/image.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/map.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/map.png
deleted file mode 100644
index f90ef25..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/map.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page.png
deleted file mode 100644
index 03ddd79..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_add.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_add.png
deleted file mode 100644
index d5bfa07..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_add.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_attach.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_attach.png
deleted file mode 100644
index 89ee2da..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_attach.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_code.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_code.png
deleted file mode 100644
index f7ea904..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_code.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_copy.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_copy.png
deleted file mode 100644
index 195dc6d..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_copy.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_delete.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_delete.png
deleted file mode 100644
index 3141467..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_delete.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_edit.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_edit.png
deleted file mode 100644
index 046811e..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_edit.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_error.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_error.png
deleted file mode 100644
index f07f449..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_error.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_excel.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_excel.png
deleted file mode 100644
index eb6158e..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_excel.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_find.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_find.png
deleted file mode 100644
index 2f19388..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_find.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_gear.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_gear.png
deleted file mode 100644
index 8e83281..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_gear.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_go.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_go.png
deleted file mode 100644
index 80fe1ed..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_go.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_green.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_green.png
deleted file mode 100644
index de8e003..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_green.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_key.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_key.png
deleted file mode 100644
index d6626cb..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_key.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_lightning.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_lightning.png
deleted file mode 100644
index 7e56870..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_lightning.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_link.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_link.png
deleted file mode 100644
index 312eab0..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_link.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_paintbrush.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_paintbrush.png
deleted file mode 100644
index 246a2f0..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_paintbrush.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_paste.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_paste.png
deleted file mode 100644
index 968f073..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_paste.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_red.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_red.png
deleted file mode 100644
index 0b18247..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_red.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_refresh.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_refresh.png
deleted file mode 100644
index cf347c7..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_refresh.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_save.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_save.png
deleted file mode 100644
index caea546..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_save.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white.png
deleted file mode 100644
index 8b8b1ca..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_acrobat.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_acrobat.png
deleted file mode 100644
index 8f8095e..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_acrobat.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_actionscript.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_actionscript.png
deleted file mode 100644
index 159b240..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_actionscript.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_add.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_add.png
deleted file mode 100644
index aa23dde..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_add.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_c.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_c.png
deleted file mode 100644
index 34a05cc..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_c.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_camera.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_camera.png
deleted file mode 100644
index f501a59..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_camera.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cd.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cd.png
deleted file mode 100644
index 848bdaf..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cd.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_code.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_code.png
deleted file mode 100644
index 0c76bd1..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_code.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_code_red.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_code_red.png
deleted file mode 100644
index 87a6914..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_code_red.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_coldfusion.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_coldfusion.png
deleted file mode 100644
index c66011f..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_coldfusion.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_compressed.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_compressed.png
deleted file mode 100644
index 2b6b100..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_compressed.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_copy.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_copy.png
deleted file mode 100644
index a9f31a2..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_copy.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cplusplus.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cplusplus.png
deleted file mode 100644
index a87cf84..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cplusplus.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_csharp.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_csharp.png
deleted file mode 100644
index ffb8fc9..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_csharp.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cup.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cup.png
deleted file mode 100644
index 0a7d6f4..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_cup.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_database.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_database.png
deleted file mode 100644
index bddba1f..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_database.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_delete.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_delete.png
deleted file mode 100644
index af1ecaf..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_delete.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_dvd.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_dvd.png
deleted file mode 100644
index 4cc537a..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_dvd.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_edit.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_edit.png
deleted file mode 100644
index b93e776..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_edit.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_error.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_error.png
deleted file mode 100644
index 9fc5a0a..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_error.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_excel.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_excel.png
deleted file mode 100644
index b977d7e..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_excel.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_find.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_find.png
deleted file mode 100644
index 5818436..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_find.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_flash.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_flash.png
deleted file mode 100644
index 5769120..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_flash.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_freehand.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_freehand.png
deleted file mode 100644
index 8d719df..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_freehand.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_gear.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_gear.png
deleted file mode 100644
index 106f5aa..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_gear.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_get.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_get.png
deleted file mode 100644
index e4a1ecb..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_get.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_go.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_go.png
deleted file mode 100644
index 7e62a92..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_go.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_h.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_h.png
deleted file mode 100644
index e902abb..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_h.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_horizontal.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_horizontal.png
deleted file mode 100644
index 1d2d0a4..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_horizontal.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_key.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_key.png
deleted file mode 100644
index d616484..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_key.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_lightning.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_lightning.png
deleted file mode 100644
index 7215d1e..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_lightning.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_link.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_link.png
deleted file mode 100644
index bf7bd1c..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_link.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_magnify.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_magnify.png
deleted file mode 100644
index f6b74cc..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_magnify.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_medal.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_medal.png
deleted file mode 100644
index d3fffb6..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_medal.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_office.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_office.png
deleted file mode 100644
index a65bcb3..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_office.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paint.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paint.png
deleted file mode 100644
index 23a37b8..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paint.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paintbrush.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paintbrush.png
deleted file mode 100644
index f907e44..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paintbrush.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paste.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paste.png
deleted file mode 100644
index 5b2cbb3..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_paste.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_php.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_php.png
deleted file mode 100644
index 7868a25..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_php.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_picture.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_picture.png
deleted file mode 100644
index 134b669..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_picture.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_powerpoint.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_powerpoint.png
deleted file mode 100644
index c4eff03..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_powerpoint.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_put.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_put.png
deleted file mode 100644
index 884ffd6..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_put.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_ruby.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_ruby.png
deleted file mode 100644
index f59b7c4..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_ruby.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_stack.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_stack.png
deleted file mode 100644
index 44084ad..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_stack.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_star.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_star.png
deleted file mode 100644
index 3a1441c..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_star.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_swoosh.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_swoosh.png
deleted file mode 100644
index e770829..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_swoosh.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_text.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_text.png
deleted file mode 100644
index 813f712..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_text.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_text_width.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_text_width.png
deleted file mode 100644
index d9cf132..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_text_width.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_tux.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_tux.png
deleted file mode 100644
index 52699bf..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_tux.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_vector.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_vector.png
deleted file mode 100644
index 4a05955..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_vector.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_visualstudio.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_visualstudio.png
deleted file mode 100644
index a0a433d..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_visualstudio.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_width.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_width.png
deleted file mode 100644
index 1eb8809..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_width.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_word.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_word.png
deleted file mode 100644
index ae8ecbf..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_word.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_world.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_world.png
deleted file mode 100644
index 6ed2490..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_world.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_wrench.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_wrench.png
deleted file mode 100644
index fecadd0..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_wrench.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_zip.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_zip.png
deleted file mode 100644
index fd4bbcc..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_white_zip.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_word.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_word.png
deleted file mode 100644
index 834cdfa..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_word.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_world.png b/node_modules/browser-sync/node_modules/serve-index/public/icons/page_world.png
deleted file mode 100644
index b8895dd..0000000
Binary files a/node_modules/browser-sync/node_modules/serve-index/public/icons/page_world.png and /dev/null differ
diff --git a/node_modules/browser-sync/node_modules/serve-index/public/style.css b/node_modules/browser-sync/node_modules/serve-index/public/style.css
deleted file mode 100644
index eb99dc9..0000000
--- a/node_modules/browser-sync/node_modules/serve-index/public/style.css
+++ /dev/null
@@ -1,257 +0,0 @@
-* {
- margin: 0;
- padding: 0;
- outline: 0;
-}
-
-body {
- padding: 80px 100px;
- font: 13px "Helvetica Neue", "Lucida Grande", "Arial";
- background: #ECE9E9 -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ECE9E9));
- background: #ECE9E9 -moz-linear-gradient(top, #fff, #ECE9E9);
- background-repeat: no-repeat;
- color: #555;
- -webkit-font-smoothing: antialiased;
-}
-h1, h2, h3 {
- font-size: 22px;
- color: #343434;
-}
-h1 em, h2 em {
- padding: 0 5px;
- font-weight: normal;
-}
-h1 {
- font-size: 60px;
-}
-h2 {
- margin-top: 10px;
-}
-h3 {
- margin: 5px 0 10px 0;
- padding-bottom: 5px;
- border-bottom: 1px solid #eee;
- font-size: 18px;
-}
-ul li {
- list-style: none;
-}
-ul li:hover {
- cursor: pointer;
- color: #2e2e2e;
-}
-ul li .path {
- padding-left: 5px;
- font-weight: bold;
-}
-ul li .line {
- padding-right: 5px;
- font-style: italic;
-}
-ul li:first-child .path {
- padding-left: 0;
-}
-p {
- line-height: 1.5;
-}
-a {
- color: #555;
- text-decoration: none;
-}
-a:hover {
- color: #303030;
-}
-#stacktrace {
- margin-top: 15px;
-}
-.directory h1 {
- margin-bottom: 15px;
- font-size: 18px;
-}
-ul#files {
- width: 100%;
- height: 100%;
- overflow: hidden;
-}
-ul#files li {
- float: left;
- width: 30%;
- line-height: 25px;
- margin: 1px;
-}
-ul#files li a {
- display: block;
- height: 25px;
- border: 1px solid transparent;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- overflow: hidden;
- white-space: nowrap;
-}
-ul#files li a:focus,
-ul#files li a:hover {
- background: rgba(255,255,255,0.65);
- border: 1px solid #ececec;
-}
-ul#files li a.highlight {
- -webkit-transition: background .4s ease-in-out;
- background: #ffff4f;
- border-color: #E9DC51;
-}
-#search {
- display: block;
- position: fixed;
- top: 20px;
- right: 20px;
- width: 90px;
- -webkit-transition: width ease 0.2s, opacity ease 0.4s;
- -moz-transition: width ease 0.2s, opacity ease 0.4s;
- -webkit-border-radius: 32px;
- -moz-border-radius: 32px;
- -webkit-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.25), inset 0px 1px 3px rgba(0, 0, 0, 0.7), 0px 1px 0px rgba(255, 255, 255, 0.03);
- -moz-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.25), inset 0px 1px 3px rgba(0, 0, 0, 0.7), 0px 1px 0px rgba(255, 255, 255, 0.03);
- -webkit-font-smoothing: antialiased;
- text-align: left;
- font: 13px "Helvetica Neue", Arial, sans-serif;
- padding: 4px 10px;
- border: none;
- background: transparent;
- margin-bottom: 0;
- outline: none;
- opacity: 0.7;
- color: #888;
-}
-#search:focus {
- width: 120px;
- opacity: 1.0;
-}
-
-/*views*/
-#files span {
- display: inline-block;
- overflow: hidden;
- text-overflow: ellipsis;
- text-indent: 10px;
-}
-#files .name {
- background-repeat: no-repeat;
-}
-#files .icon .name {
- text-indent: 28px;
-}
-
-/*tiles*/
-.view-tiles .name {
- width: 100%;
- background-position: 8px 5px;
-}
-.view-tiles .size,
-.view-tiles .date {
- display: none;
-}
-
-/*details*/
-ul#files.view-details li {
- float: none;
- display: block;
- width: 90%;
-}
-ul#files.view-details li.header {
- height: 25px;
- background: #000;
- color: #fff;
- font-weight: bold;
-}
-.view-details .header {
- border-radius: 5px;
-}
-.view-details .name {
- width: 60%;
- background-position: 8px 5px;
-}
-.view-details .size {
- width: 10%;
-}
-.view-details .date {
- width: 30%;
-}
-.view-details .size,
-.view-details .date {
- text-align: right;
- direction: rtl;
-}
-
-/*mobile*/
-@media (max-width: 768px) {
- body {
- font-size: 13px;
- line-height: 16px;
- padding: 0;
- }
- #search {
- position: static;
- width: 100%;
- font-size: 2em;
- line-height: 1.8em;
- text-indent: 10px;
- border: 0;
- border-radius: 0;
- padding: 10px 0;
- margin: 0;
- }
- #search:focus {
- width: 100%;
- border: 0;
- opacity: 1;
- }
- .directory h1 {
- font-size: 2em;
- line-height: 1.5em;
- color: #fff;
- background: #000;
- padding: 15px 10px;
- margin: 0;
- }
- ul#files {
- border-top: 1px solid #cacaca;
- }
- ul#files li {
- float: none;
- width: auto !important;
- display: block;
- border-bottom: 1px solid #cacaca;
- font-size: 2em;
- line-height: 1.2em;
- text-indent: 0;
- margin: 0;
- }
- ul#files li:nth-child(odd) {
- background: #e0e0e0;
- }
- ul#files li a {
- height: auto;
- border: 0;
- border-radius: 0;
- padding: 15px 10px;
- }
- ul#files li a:focus,
- ul#files li a:hover {
- border: 0;
- }
- #files .header,
- #files .size,
- #files .date {
- display: none !important;
- }
- #files .name {
- float: none;
- display: inline-block;
- width: 100%;
- text-indent: 0;
- background-position: 0 50%;
- }
- #files .icon .name {
- text-indent: 41px;
- }
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/HISTORY.md b/node_modules/browser-sync/node_modules/serve-static/HISTORY.md
deleted file mode 100644
index 5692c01..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/HISTORY.md
+++ /dev/null
@@ -1,201 +0,0 @@
-1.7.1 / 2014-10-22
-==================
-
- * deps: send@0.10.1
- - deps: on-finished@~2.1.1
-
-1.7.0 / 2014-10-15
-==================
-
- * deps: send@0.10.0
- - deps: debug@~2.1.0
- - deps: depd@~1.0.0
- - deps: etag@~1.5.0
-
-1.6.4 / 2014-10-08
-==================
-
- * Fix redirect loop when index file serving disabled
-
-1.6.3 / 2014-09-24
-==================
-
- * deps: send@0.9.3
- - deps: etag@~1.4.0
-
-1.6.2 / 2014-09-15
-==================
-
- * deps: send@0.9.2
- - deps: depd@0.4.5
- - deps: etag@~1.3.1
- - deps: range-parser@~1.0.2
-
-1.6.1 / 2014-09-07
-==================
-
- * deps: send@0.9.1
- - deps: fresh@0.2.4
-
-1.6.0 / 2014-09-07
-==================
-
- * deps: send@0.9.0
- - Add `lastModified` option
- - Use `etag` to generate `ETag` header
- - deps: debug@~2.0.0
-
-1.5.4 / 2014-09-04
-==================
-
- * deps: send@0.8.5
- - Fix a path traversal issue when using `root`
- - Fix malicious path detection for empty string path
-
-1.5.3 / 2014-08-17
-==================
-
- * deps: send@0.8.3
-
-1.5.2 / 2014-08-14
-==================
-
- * deps: send@0.8.2
- - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
-
-1.5.1 / 2014-08-09
-==================
-
- * Fix parsing of weird `req.originalUrl` values
- * deps: parseurl@~1.3.0
- * deps: utils-merge@1.0.0
-
-1.5.0 / 2014-08-05
-==================
-
- * deps: send@0.8.1
- - Add `extensions` option
-
-1.4.4 / 2014-08-04
-==================
-
- * deps: send@0.7.4
- - Fix serving index files without root dir
-
-1.4.3 / 2014-07-29
-==================
-
- * deps: send@0.7.3
- - Fix incorrect 403 on Windows and Node.js 0.11
-
-1.4.2 / 2014-07-27
-==================
-
- * deps: send@0.7.2
- - deps: depd@0.4.4
-
-1.4.1 / 2014-07-26
-==================
-
- * deps: send@0.7.1
- - deps: depd@0.4.3
-
-1.4.0 / 2014-07-21
-==================
-
- * deps: parseurl@~1.2.0
- - Cache URLs based on original value
- - Remove no-longer-needed URL mis-parse work-around
- - Simplify the "fast-path" `RegExp`
- * deps: send@0.7.0
- - Add `dotfiles` option
- - deps: debug@1.0.4
- - deps: depd@0.4.2
-
-1.3.2 / 2014-07-11
-==================
-
- * deps: send@0.6.0
- - Cap `maxAge` value to 1 year
- - deps: debug@1.0.3
-
-1.3.1 / 2014-07-09
-==================
-
- * deps: parseurl@~1.1.3
- - faster parsing of href-only URLs
-
-1.3.0 / 2014-06-28
-==================
-
- * Add `setHeaders` option
- * Include HTML link in redirect response
- * deps: send@0.5.0
- - Accept string for `maxAge` (converted by `ms`)
-
-1.2.3 / 2014-06-11
-==================
-
- * deps: send@0.4.3
- - Do not throw un-catchable error on file open race condition
- - Use `escape-html` for HTML escaping
- - deps: debug@1.0.2
- - deps: finished@1.2.2
- - deps: fresh@0.2.2
-
-1.2.2 / 2014-06-09
-==================
-
- * deps: send@0.4.2
- - fix "event emitter leak" warnings
- - deps: debug@1.0.1
- - deps: finished@1.2.1
-
-1.2.1 / 2014-06-02
-==================
-
- * use `escape-html` for escaping
- * deps: send@0.4.1
- - Send `max-age` in `Cache-Control` in correct format
-
-1.2.0 / 2014-05-29
-==================
-
- * deps: send@0.4.0
- - Calculate ETag with md5 for reduced collisions
- - Fix wrong behavior when index file matches directory
- - Ignore stream errors after request ends
- - Skip directories in index file search
- - deps: debug@0.8.1
-
-1.1.0 / 2014-04-24
-==================
-
- * Accept options directly to `send` module
- * deps: send@0.3.0
-
-1.0.4 / 2014-04-07
-==================
-
- * Resolve relative paths at middleware setup
- * Use parseurl to parse the URL from request
-
-1.0.3 / 2014-03-20
-==================
-
- * Do not rely on connect-like environments
-
-1.0.2 / 2014-03-06
-==================
-
- * deps: send@0.2.0
-
-1.0.1 / 2014-03-05
-==================
-
- * Add mime export for back-compat
-
-1.0.0 / 2014-03-05
-==================
-
- * Genesis from `connect`
diff --git a/node_modules/browser-sync/node_modules/serve-static/LICENSE b/node_modules/browser-sync/node_modules/serve-static/LICENSE
deleted file mode 100644
index b7bc085..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/LICENSE
+++ /dev/null
@@ -1,25 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2010 Sencha Inc.
-Copyright (c) 2011 LearnBoost
-Copyright (c) 2011 TJ Holowaychuk
-Copyright (c) 2014 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/README.md b/node_modules/browser-sync/node_modules/serve-static/README.md
deleted file mode 100644
index 0be4fb8..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/README.md
+++ /dev/null
@@ -1,159 +0,0 @@
-# serve-static
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-[![Gratipay][gratipay-image]][gratipay-url]
-
-## Install
-
-```sh
-$ npm install serve-static
-```
-
-## API
-
-```js
-var serveStatic = require('serve-static')
-```
-
-### serveStatic(root, options)
-
-Create a new middleware function to serve files from within a given root
-directory. The file to serve will be determined by combining `req.url`
-with the provided root directory. When a file is not found, instead of
-sending a 404 response, this module will instead call `next()` to move on
-to the next middleware, allowing for stacking and fall-backs.
-
-#### Options
-
-##### dotfiles
-
- Set how "dotfiles" are treated when encountered. A dotfile is a file
-or directory that begins with a dot ("."). Note this check is done on
-the path itself without checking if the path actually exists on the
-disk. If `root` is specified, only the dotfiles above the root are
-checked (i.e. the root itself can be within a dotfile when when set
-to "deny").
-
-The default value is `'ignore'`.
-
- - `'allow'` No special treatment for dotfiles.
- - `'deny'` Send a 403 for any request for a dotfile.
- - `'ignore'` Pretend like the dotfile does not exist and call `next()`.
-
-##### etag
-
-Enable or disable etag generation, defaults to true.
-
-##### extensions
-
-Set file extension fallbacks. When set, if a file is not found, the given
-extensions will be added to the file name and search for. The first that
-exists will be served. Example: `['html', 'htm']`.
-
-The default value is `false`.
-
-##### index
-
-By default this module will send "index.html" files in response to a request
-on a directory. To disable this set `false` or to supply a new index pass a
-string or an array in preferred order.
-
-##### lastModified
-
-Enable or disable `Last-Modified` header, defaults to true. Uses the file
-system's last modified value.
-
-##### maxAge
-
-Provide a max-age in milliseconds for http caching, defaults to 0. This
-can also be a string accepted by the [ms](https://www.npmjs.org/package/ms#readme)
-module.
-
-##### redirect
-
-Redirect to trailing "/" when the pathname is a dir. Defaults to `true`.
-
-##### setHeaders
-
-Function to set custom headers on response.
-
-## Examples
-
-### Serve files with vanilla node.js http server
-
-```js
-var finalhandler = require('finalhandler')
-var http = require('http')
-var serveStatic = require('serve-static')
-
-// Serve up public/ftp folder
-var serve = serveStatic('public/ftp', {'index': ['index.html', 'index.htm']})
-
-// Create server
-var server = http.createServer(function(req, res){
- var done = finalhandler(req, res)
- serve(req, res, done)
-})
-
-// Listen
-server.listen(3000)
-```
-
-### Serve all files as downloads
-
-```js
-var contentDisposition = require('content-disposition')
-var finalhandler = require('finalhandler')
-var http = require('http')
-var serveStatic = require('serve-static')
-
-// Serve up public/ftp folder
-var serve = serveStatic('public/ftp', {
- 'index': false,
- 'setHeaders': setHeaders
-})
-
-// Set header to force download
-function setHeaders(res, path) {
- res.setHeader('Content-Disposition', contentDisposition(path))
-}
-
-// Create server
-var server = http.createServer(function(req, res){
- var done = finalhandler(req, res)
- serve(req, res, done)
-})
-
-// Listen
-server.listen(3000)
-```
-
-### Serving using express
-
-```js
-var connect = require('connect')
-var serveStatic = require('serve-static')
-
-var app = connect()
-
-app.use(serveStatic('public/ftp', {'index': ['default.html', 'default.htm']}))
-app.listen(3000)
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/serve-static.svg?style=flat
-[npm-url]: https://npmjs.org/package/serve-static
-[travis-image]: https://img.shields.io/travis/expressjs/serve-static.svg?style=flat
-[travis-url]: https://travis-ci.org/expressjs/serve-static
-[coveralls-image]: https://img.shields.io/coveralls/expressjs/serve-static.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/expressjs/serve-static
-[downloads-image]: https://img.shields.io/npm/dm/serve-static.svg?style=flat
-[downloads-url]: https://npmjs.org/package/serve-static
-[gratipay-image]: https://img.shields.io/gratipay/dougwilson.svg?style=flat
-[gratipay-url]: https://gratipay.com/dougwilson/
diff --git a/node_modules/browser-sync/node_modules/serve-static/index.js b/node_modules/browser-sync/node_modules/serve-static/index.js
deleted file mode 100644
index 12ea659..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/index.js
+++ /dev/null
@@ -1,118 +0,0 @@
-/*!
- * serve-static
- * Copyright(c) 2010 Sencha Inc.
- * Copyright(c) 2011 TJ Holowaychuk
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module dependencies.
- */
-
-var escapeHtml = require('escape-html');
-var merge = require('utils-merge');
-var parseurl = require('parseurl');
-var resolve = require('path').resolve;
-var send = require('send');
-var url = require('url');
-
-/**
- * @param {String} root
- * @param {Object} options
- * @return {Function}
- * @api public
- */
-
-exports = module.exports = function serveStatic(root, options) {
- if (!root) {
- throw new TypeError('root path required')
- }
-
- if (typeof root !== 'string') {
- throw new TypeError('root path must be a string')
- }
-
- // copy options object
- options = merge({}, options)
-
- // resolve root to absolute
- root = resolve(root)
-
- // default redirect
- var redirect = options.redirect !== false
-
- // headers listener
- var setHeaders = options.setHeaders
- delete options.setHeaders
-
- if (setHeaders && typeof setHeaders !== 'function') {
- throw new TypeError('option setHeaders must be function')
- }
-
- // setup options for send
- options.maxage = options.maxage || options.maxAge || 0
- options.root = root
-
- return function serveStatic(req, res, next) {
- if (req.method !== 'GET' && req.method !== 'HEAD') {
- return next()
- }
-
- var opts = merge({}, options)
- var originalUrl = parseurl.original(req)
- var path = parseurl(req).pathname
- var hasTrailingSlash = originalUrl.pathname[originalUrl.pathname.length - 1] === '/'
-
- if (path === '/' && !hasTrailingSlash) {
- // make sure redirect occurs at mount
- path = ''
- }
-
- // create send stream
- var stream = send(req, path, opts)
-
- if (redirect) {
- // redirect relative to originalUrl
- stream.on('directory', function redirect() {
- if (hasTrailingSlash) {
- return next()
- }
-
- originalUrl.pathname += '/'
-
- var target = url.format(originalUrl)
-
- res.statusCode = 303
- res.setHeader('Content-Type', 'text/html; charset=utf-8')
- res.setHeader('Location', target)
- res.end('Redirecting to ' + escapeHtml(target) + '\n')
- })
- } else {
- // forward to next middleware on directory
- stream.on('directory', next)
- }
-
- // add headers listener
- if (setHeaders) {
- stream.on('headers', setHeaders)
- }
-
- // forward non-404 errors
- stream.on('error', function error(err) {
- next(err.status === 404 ? null : err)
- })
-
- // pipe
- stream.pipe(res)
- }
-}
-
-/**
- * Expose mime module.
- *
- * If you wish to extend the mime table use this
- * reference to the "mime" module in the npm registry.
- */
-
-exports.mime = send.mime
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/.npmignore b/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/.npmignore
deleted file mode 100644
index 48a2e24..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-components
-build
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/Makefile b/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/Makefile
deleted file mode 100644
index 3f6119d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-
-build: components index.js
- @component build
-
-components:
- @Component install
-
-clean:
- rm -fr build components template.js
-
-.PHONY: clean
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/Readme.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/Readme.md
deleted file mode 100644
index 2cfcc99..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/Readme.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-# escape-html
-
- Escape HTML entities
-
-## Example
-
-```js
-var escape = require('escape-html');
-escape(str);
-```
-
-## License
-
- MIT
\ No newline at end of file
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/component.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/component.json
deleted file mode 100644
index cb9740f..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/component.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "name": "escape-html",
- "description": "Escape HTML entities",
- "version": "1.0.1",
- "keywords": ["escape", "html", "utility"],
- "dependencies": {},
- "scripts": [
- "index.js"
- ]
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/index.js
deleted file mode 100644
index 2765211..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/index.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Escape special characters in the given string of html.
- *
- * @param {String} html
- * @return {String}
- * @api private
- */
-
-module.exports = function(html) {
- return String(html)
- .replace(/&/g, '&')
- .replace(/"/g, '"')
- .replace(/'/g, ''')
- .replace(//g, '>');
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/package.json
deleted file mode 100644
index ee240f0..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/escape-html/package.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "name": "escape-html",
- "description": "Escape HTML entities",
- "version": "1.0.1",
- "keywords": [
- "escape",
- "html",
- "utility"
- ],
- "dependencies": {},
- "main": "index.js",
- "component": {
- "scripts": {
- "escape-html/index.js": "index.js"
- }
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/component/escape-html.git"
- },
- "readme": "\n# escape-html\n\n Escape HTML entities\n\n## Example\n\n```js\nvar escape = require('escape-html');\nescape(str);\n```\n\n## License\n\n MIT",
- "readmeFilename": "Readme.md",
- "bugs": {
- "url": "https://github.com/component/escape-html/issues"
- },
- "homepage": "https://github.com/component/escape-html",
- "_id": "escape-html@1.0.1",
- "dist": {
- "shasum": "181a286ead397a39a92857cfb1d43052e356bff0",
- "tarball": "http://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz"
- },
- "_from": "escape-html@1.0.1",
- "_npmVersion": "1.3.15",
- "_npmUser": {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- "maintainers": [
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- }
- ],
- "directories": {},
- "_shasum": "181a286ead397a39a92857cfb1d43052e356bff0",
- "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/.npmignore b/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/.npmignore
deleted file mode 100644
index 85c82a5..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/.npmignore
+++ /dev/null
@@ -1,4 +0,0 @@
-benchmark/
-coverage/
-test/
-.travis.yml
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/HISTORY.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/HISTORY.md
deleted file mode 100644
index 65a0860..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/HISTORY.md
+++ /dev/null
@@ -1,42 +0,0 @@
-1.3.0 / 2014-08-09
-==================
-
- * Add `parseurl.original` for parsing `req.originalUrl` with fallback
- * Return `undefined` if `req.url` is `undefined`
-
-1.2.0 / 2014-07-21
-==================
-
- * Cache URLs based on original value
- * Remove no-longer-needed URL mis-parse work-around
- * Simplify the "fast-path" `RegExp`
-
-1.1.3 / 2014-07-08
-==================
-
- * Fix typo
-
-1.1.2 / 2014-07-08
-==================
-
- * Seriously fix Node.js 0.8 compatibility
-
-1.1.1 / 2014-07-08
-==================
-
- * Fix Node.js 0.8 compatibility
-
-1.1.0 / 2014-07-08
-==================
-
- * Incorporate URL href-only parse fast-path
-
-1.0.1 / 2014-03-08
-==================
-
- * Add missing `require`
-
-1.0.0 / 2014-03-08
-==================
-
- * Genesis from `connect`
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/LICENSE
deleted file mode 100644
index ec7dfe7..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong
-Copyright (c) 2014 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/README.md
deleted file mode 100644
index 0db1d02..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/README.md
+++ /dev/null
@@ -1,107 +0,0 @@
-# parseurl
-
-[![NPM version](https://badge.fury.io/js/parseurl.svg)](http://badge.fury.io/js/parseurl)
-[![Build Status](https://travis-ci.org/expressjs/parseurl.svg?branch=master)](https://travis-ci.org/expressjs/parseurl)
-[![Coverage Status](https://img.shields.io/coveralls/expressjs/parseurl.svg?branch=master)](https://coveralls.io/r/expressjs/parseurl)
-
-Parse a URL with memoization.
-
-## Install
-
-```bash
-$ npm install parseurl
-```
-
-## API
-
-```js
-var parseurl = require('parseurl')
-```
-
-### parseurl(req)
-
-Parse the URL of the given request object (looks at the `req.url` property)
-and return the result. The result is the same as `url.parse` in Node.js core.
-Calling this function multiple times on the same `req` where `req.url` does
-not change will return a cached parsed object, rather than parsing again.
-
-### parseurl.original(req)
-
-Parse the original URL of the given request object and return the result.
-This works by trying to parse `req.originalUrl` if it is a string, otherwise
-parses `req.url`. The result is the same as `url.parse` in Node.js core.
-Calling this function multiple times on the same `req` where `req.originalUrl`
-does not change will return a cached parsed object, rather than parsing again.
-
-## Benchmark
-
-```bash
-$ npm run-script bench
-
-> parseurl@1.3.0 bench nodejs-parseurl
-> node benchmark/index.js
-
-> node benchmark/fullurl.js
-
- Parsing URL "http://localhost:8888/foo/bar?user=tj&pet=fluffy"
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
-
- fasturl x 1,290,780 ops/sec ±0.46% (195 runs sampled)
- nativeurl x 56,401 ops/sec ±0.22% (196 runs sampled)
- parseurl x 55,231 ops/sec ±0.22% (194 runs sampled)
-
-> node benchmark/pathquery.js
-
- Parsing URL "/foo/bar?user=tj&pet=fluffy"
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
-
- fasturl x 1,986,668 ops/sec ±0.27% (190 runs sampled)
- nativeurl x 98,740 ops/sec ±0.21% (195 runs sampled)
- parseurl x 2,628,171 ops/sec ±0.36% (195 runs sampled)
-
-> node benchmark/samerequest.js
-
- Parsing URL "/foo/bar?user=tj&pet=fluffy" on same request object
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
-
- fasturl x 2,184,468 ops/sec ±0.40% (194 runs sampled)
- nativeurl x 99,437 ops/sec ±0.71% (194 runs sampled)
- parseurl x 10,498,005 ops/sec ±0.61% (186 runs sampled)
-
-> node benchmark/simplepath.js
-
- Parsing URL "/foo/bar"
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
-
- fasturl x 4,535,825 ops/sec ±0.27% (191 runs sampled)
- nativeurl x 98,769 ops/sec ±0.54% (191 runs sampled)
- parseurl x 4,164,865 ops/sec ±0.34% (192 runs sampled)
-
-> node benchmark/slash.js
-
- Parsing URL "/"
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
-
- fasturl x 4,908,405 ops/sec ±0.42% (191 runs sampled)
- nativeurl x 100,945 ops/sec ±0.59% (188 runs sampled)
- parseurl x 4,333,208 ops/sec ±0.27% (194 runs sampled)
-```
-
-## License
-
- [MIT](LICENSE)
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/index.js
deleted file mode 100644
index 8632347..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/index.js
+++ /dev/null
@@ -1,136 +0,0 @@
-/*!
- * parseurl
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module dependencies.
- */
-
-var url = require('url')
-var parse = url.parse
-var Url = url.Url
-
-/**
- * Pattern for a simple path case.
- * See: https://github.com/joyent/node/pull/7878
- */
-
-var simplePathRegExp = /^(\/\/?(?!\/)[^\?#\s]*)(\?[^#\s]*)?$/
-
-/**
- * Exports.
- */
-
-module.exports = parseurl
-module.exports.original = originalurl
-
-/**
- * Parse the `req` url with memoization.
- *
- * @param {ServerRequest} req
- * @return {Object}
- * @api public
- */
-
-function parseurl(req) {
- var url = req.url
-
- if (url === undefined) {
- // URL is undefined
- return undefined
- }
-
- var parsed = req._parsedUrl
-
- if (fresh(url, parsed)) {
- // Return cached URL parse
- return parsed
- }
-
- // Parse the URL
- parsed = fastparse(url)
- parsed._raw = url
-
- return req._parsedUrl = parsed
-};
-
-/**
- * Parse the `req` original url with fallback and memoization.
- *
- * @param {ServerRequest} req
- * @return {Object}
- * @api public
- */
-
-function originalurl(req) {
- var url = req.originalUrl
-
- if (typeof url !== 'string') {
- // Fallback
- return parseurl(req)
- }
-
- var parsed = req._parsedOriginalUrl
-
- if (fresh(url, parsed)) {
- // Return cached URL parse
- return parsed
- }
-
- // Parse the URL
- parsed = fastparse(url)
- parsed._raw = url
-
- return req._parsedOriginalUrl = parsed
-};
-
-/**
- * Parse the `str` url with fast-path short-cut.
- *
- * @param {string} str
- * @return {Object}
- * @api private
- */
-
-function fastparse(str) {
- // Try fast path regexp
- // See: https://github.com/joyent/node/pull/7878
- var simplePath = typeof str === 'string' && simplePathRegExp.exec(str)
-
- // Construct simple URL
- if (simplePath) {
- var pathname = simplePath[1]
- var search = simplePath[2] || null
- var url = Url !== undefined
- ? new Url()
- : {}
- url.path = str
- url.href = str
- url.pathname = pathname
- url.search = search
- url.query = search && search.substr(1)
-
- return url
- }
-
- return parse(str)
-}
-
-/**
- * Determine if parsed is still fresh for url.
- *
- * @param {string} url
- * @param {object} parsedUrl
- * @return {boolean}
- * @api private
- */
-
-function fresh(url, parsedUrl) {
- return typeof parsedUrl === 'object'
- && parsedUrl !== null
- && (Url === undefined || parsedUrl instanceof Url)
- && parsedUrl._raw === url
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/package.json
deleted file mode 100644
index 6fbd23e..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/parseurl/package.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "name": "parseurl",
- "description": "parse a url with memoization",
- "version": "1.3.0",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/expressjs/parseurl"
- },
- "license": "MIT",
- "devDependencies": {
- "benchmark": "1.0.0",
- "beautify-benchmark": "0.2.4",
- "fast-url-parser": "~1.0.0",
- "istanbul": "0.3.0",
- "mocha": "~1.21.4"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "test": "mocha --check-leaks --bail --reporter spec test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
- },
- "gitHead": "03b7ccca240e2bef5df6c25797e99175d28fb2cb",
- "bugs": {
- "url": "https://github.com/expressjs/parseurl/issues"
- },
- "homepage": "https://github.com/expressjs/parseurl",
- "_id": "parseurl@1.3.0",
- "_shasum": "b58046db4223e145afa76009e61bac87cc2281b3",
- "_from": "parseurl@~1.3.0",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- },
- {
- "name": "shtylman",
- "email": "shtylman@gmail.com"
- },
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- {
- "name": "mscdex",
- "email": "mscdex@mscdex.net"
- },
- {
- "name": "fishrock123",
- "email": "fishrock123@rocketmail.com"
- }
- ],
- "dist": {
- "shasum": "b58046db4223e145afa76009e61bac87cc2281b3",
- "tarball": "http://registry.npmjs.org/parseurl/-/parseurl-1.3.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/History.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/History.md
deleted file mode 100644
index ad5efc5..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/History.md
+++ /dev/null
@@ -1,221 +0,0 @@
-0.10.1 / 2014-10-22
-===================
-
- * deps: on-finished@~2.1.1
- - Fix handling of pipelined requests
-
-0.10.0 / 2014-10-15
-===================
-
- * deps: debug@~2.1.0
- - Implement `DEBUG_FD` env variable support
- * deps: depd@~1.0.0
- * deps: etag@~1.5.0
- - Improve string performance
- - Slightly improve speed for weak ETags over 1KB
-
-0.9.3 / 2014-09-24
-==================
-
- * deps: etag@~1.4.0
- - Support "fake" stats objects
-
-0.9.2 / 2014-09-15
-==================
-
- * deps: depd@0.4.5
- * deps: etag@~1.3.1
- * deps: range-parser@~1.0.2
-
-0.9.1 / 2014-09-07
-==================
-
- * deps: fresh@0.2.4
-
-0.9.0 / 2014-09-07
-==================
-
- * Add `lastModified` option
- * Use `etag` to generate `ETag` header
- * deps: debug@~2.0.0
-
-0.8.5 / 2014-09-04
-==================
-
- * Fix malicious path detection for empty string path
-
-0.8.4 / 2014-09-04
-==================
-
- * Fix a path traversal issue when using `root`
-
-0.8.3 / 2014-08-16
-==================
-
- * deps: destroy@1.0.3
- - renamed from dethroy
- * deps: on-finished@2.1.0
-
-0.8.2 / 2014-08-14
-==================
-
- * Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
- * deps: dethroy@1.0.2
-
-0.8.1 / 2014-08-05
-==================
-
- * Fix `extensions` behavior when file already has extension
-
-0.8.0 / 2014-08-05
-==================
-
- * Add `extensions` option
-
-0.7.4 / 2014-08-04
-==================
-
- * Fix serving index files without root dir
-
-0.7.3 / 2014-07-29
-==================
-
- * Fix incorrect 403 on Windows and Node.js 0.11
-
-0.7.2 / 2014-07-27
-==================
-
- * deps: depd@0.4.4
- - Work-around v8 generating empty stack traces
-
-0.7.1 / 2014-07-26
-==================
-
- * deps: depd@0.4.3
- - Fix exception when global `Error.stackTraceLimit` is too low
-
-0.7.0 / 2014-07-20
-==================
-
- * Deprecate `hidden` option; use `dotfiles` option
- * Add `dotfiles` option
- * deps: debug@1.0.4
- * deps: depd@0.4.2
- - Add `TRACE_DEPRECATION` environment variable
- - Remove non-standard grey color from color output
- - Support `--no-deprecation` argument
- - Support `--trace-deprecation` argument
-
-0.6.0 / 2014-07-11
-==================
-
- * Deprecate `from` option; use `root` option
- * Deprecate `send.etag()` -- use `etag` in `options`
- * Deprecate `send.hidden()` -- use `hidden` in `options`
- * Deprecate `send.index()` -- use `index` in `options`
- * Deprecate `send.maxage()` -- use `maxAge` in `options`
- * Deprecate `send.root()` -- use `root` in `options`
- * Cap `maxAge` value to 1 year
- * deps: debug@1.0.3
- - Add support for multiple wildcards in namespaces
-
-0.5.0 / 2014-06-28
-==================
-
- * Accept string for `maxAge` (converted by `ms`)
- * Add `headers` event
- * Include link in default redirect response
- * Use `EventEmitter.listenerCount` to count listeners
-
-0.4.3 / 2014-06-11
-==================
-
- * Do not throw un-catchable error on file open race condition
- * Use `escape-html` for HTML escaping
- * deps: debug@1.0.2
- - fix some debugging output colors on node.js 0.8
- * deps: finished@1.2.2
- * deps: fresh@0.2.2
-
-0.4.2 / 2014-06-09
-==================
-
- * fix "event emitter leak" warnings
- * deps: debug@1.0.1
- * deps: finished@1.2.1
-
-0.4.1 / 2014-06-02
-==================
-
- * Send `max-age` in `Cache-Control` in correct format
-
-0.4.0 / 2014-05-27
-==================
-
- * Calculate ETag with md5 for reduced collisions
- * Fix wrong behavior when index file matches directory
- * Ignore stream errors after request ends
- - Goodbye `EBADF, read`
- * Skip directories in index file search
- * deps: debug@0.8.1
-
-0.3.0 / 2014-04-24
-==================
-
- * Fix sending files with dots without root set
- * Coerce option types
- * Accept API options in options object
- * Set etags to "weak"
- * Include file path in etag
- * Make "Can't set headers after they are sent." catchable
- * Send full entity-body for multi range requests
- * Default directory access to 403 when index disabled
- * Support multiple index paths
- * Support "If-Range" header
- * Control whether to generate etags
- * deps: mime@1.2.11
-
-0.2.0 / 2014-01-29
-==================
-
- * update range-parser and fresh
-
-0.1.4 / 2013-08-11
-==================
-
- * update fresh
-
-0.1.3 / 2013-07-08
-==================
-
- * Revert "Fix fd leak"
-
-0.1.2 / 2013-07-03
-==================
-
- * Fix fd leak
-
-0.1.0 / 2012-08-25
-==================
-
- * add options parameter to send() that is passed to fs.createReadStream() [kanongil]
-
-0.0.4 / 2012-08-16
-==================
-
- * allow custom "Accept-Ranges" definition
-
-0.0.3 / 2012-07-16
-==================
-
- * fix normalization of the root directory. Closes #3
-
-0.0.2 / 2012-07-09
-==================
-
- * add passing of req explicitly for now (YUCK)
-
-0.0.1 / 2010-01-03
-==================
-
- * Initial release
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/LICENSE
deleted file mode 100644
index 3b87e2d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012 TJ Holowaychuk
-Copyright (c) 2014 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/Readme.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/Readme.md
deleted file mode 100644
index 78bd40d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/Readme.md
+++ /dev/null
@@ -1,182 +0,0 @@
-# send
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-[![Gittip][gittip-image]][gittip-url]
-
- Send is Connect's `static()` extracted for generalized use, a streaming static file
- server supporting partial responses (Ranges), conditional-GET negotiation, high test coverage, and granular events which may be leveraged to take appropriate actions in your application or framework.
-
-## Installation
-
-```bash
-$ npm install send
-```
-
-## API
-
-```js
-var send = require('send')
-```
-
-### send(req, path, [options])
-
-Create a new `SendStream` for the given path to send to a `res`. The `req` is
-the Node.js HTTP request and the `path` is a urlencoded path to send (urlencoded,
-not the actual file-system path).
-
-#### Options
-
-##### dotfiles
-
- Set how "dotfiles" are treated when encountered. A dotfile is a file
- or directory that begins with a dot ("."). Note this check is done on
- the path itself without checking if the path actually exists on the
- disk. If `root` is specified, only the dotfiles above the root are
- checked (i.e. the root itself can be within a dotfile when when set
- to "deny").
-
- The default value is `'ignore'`.
-
- - `'allow'` No special treatment for dotfiles.
- - `'deny'` Send a 403 for any request for a dotfile.
- - `'ignore'` Pretend like the dotfile does not exist and 404.
-
-##### etag
-
- Enable or disable etag generation, defaults to true.
-
-##### extensions
-
- If a given file doesn't exist, try appending one of the given extensions,
- in the given order. By default, this is disabled (set to `false`). An
- example value that will serve extension-less HTML files: `['html', 'htm']`.
- This is skipped if the requested file already has an extension.
-
-##### index
-
- By default send supports "index.html" files, to disable this
- set `false` or to supply a new index pass a string or an array
- in preferred order.
-
-##### lastModified
-
- Enable or disable `Last-Modified` header, defaults to true. Uses the file
- system's last modified value.
-
-##### maxAge
-
- Provide a max-age in milliseconds for http caching, defaults to 0.
- This can also be a string accepted by the
- [ms](https://www.npmjs.org/package/ms#readme) module.
-
-##### root
-
- Serve files relative to `path`.
-
-### Events
-
-The `SendStream` is an event emitter and will emit the following events:
-
- - `error` an error occurred `(err)`
- - `directory` a directory was requested
- - `file` a file was requested `(path, stat)`
- - `headers` the headers are about to be set on a file `(res, path, stat)`
- - `stream` file streaming has started `(stream)`
- - `end` streaming has completed
-
-### .pipe
-
-The `pipe` method is used to pipe the response into the Node.js HTTP response
-object, typically `send(req, path, options).pipe(res)`.
-
-## Error-handling
-
- By default when no `error` listeners are present an automatic response will be made, otherwise you have full control over the response, aka you may show a 5xx page etc.
-
-## Caching
-
- It does _not_ perform internal caching, you should use a reverse proxy cache such
- as Varnish for this, or those fancy things called CDNs. If your application is small enough that it would benefit from single-node memory caching, it's small enough that it does not need caching at all ;).
-
-## Debugging
-
- To enable `debug()` instrumentation output export __DEBUG__:
-
-```
-$ DEBUG=send node app
-```
-
-## Running tests
-
-```
-$ npm install
-$ npm test
-```
-
-## Examples
-
- Small:
-
-```js
-var http = require('http');
-var send = require('send');
-
-var app = http.createServer(function(req, res){
- send(req, req.url).pipe(res);
-}).listen(3000);
-```
-
- Serving from a root directory with custom error-handling:
-
-```js
-var http = require('http');
-var send = require('send');
-var url = require('url');
-
-var app = http.createServer(function(req, res){
- // your custom error-handling logic:
- function error(err) {
- res.statusCode = err.status || 500;
- res.end(err.message);
- }
-
- // your custom headers
- function headers(res, path, stat) {
- // serve all files for download
- res.setHeader('Content-Disposition', 'attachment');
- }
-
- // your custom directory handling logic:
- function redirect() {
- res.statusCode = 301;
- res.setHeader('Location', req.url + '/');
- res.end('Redirecting to ' + req.url + '/');
- }
-
- // transfer arbitrary files from within
- // /www/example.com/public/*
- send(req, url.parse(req.url).pathname, {root: '/www/example.com/public'})
- .on('error', error)
- .on('directory', redirect)
- .on('headers', headers)
- .pipe(res);
-}).listen(3000);
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/send.svg?style=flat
-[npm-url]: https://npmjs.org/package/send
-[travis-image]: https://img.shields.io/travis/tj/send.svg?style=flat
-[travis-url]: https://travis-ci.org/tj/send
-[coveralls-image]: https://img.shields.io/coveralls/tj/send.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/tj/send?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/send.svg?style=flat
-[downloads-url]: https://npmjs.org/package/send
-[gittip-image]: https://img.shields.io/gittip/dougwilson.svg?style=flat
-[gittip-url]: https://www.gittip.com/dougwilson/
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/index.js
deleted file mode 100644
index 64b6d64..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/index.js
+++ /dev/null
@@ -1,773 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var debug = require('debug')('send')
-var deprecate = require('depd')('send')
-var destroy = require('destroy')
-var escapeHtml = require('escape-html')
- , parseRange = require('range-parser')
- , Stream = require('stream')
- , mime = require('mime')
- , fresh = require('fresh')
- , path = require('path')
- , http = require('http')
- , fs = require('fs')
- , normalize = path.normalize
- , join = path.join
-var etag = require('etag')
-var EventEmitter = require('events').EventEmitter;
-var ms = require('ms');
-var onFinished = require('on-finished')
-
-/**
- * Variables.
- */
-var extname = path.extname
-var maxMaxAge = 60 * 60 * 24 * 365 * 1000; // 1 year
-var resolve = path.resolve
-var sep = path.sep
-var toString = Object.prototype.toString
-var upPathRegexp = /(?:^|[\\\/])\.\.(?:[\\\/]|$)/
-
-/**
- * Expose `send`.
- */
-
-exports = module.exports = send;
-
-/**
- * Expose mime module.
- */
-
-exports.mime = mime;
-
-/**
- * Shim EventEmitter.listenerCount for node.js < 0.10
- */
-
-/* istanbul ignore next */
-var listenerCount = EventEmitter.listenerCount
- || function(emitter, type){ return emitter.listeners(type).length; };
-
-/**
- * Return a `SendStream` for `req` and `path`.
- *
- * @param {Request} req
- * @param {String} path
- * @param {Object} options
- * @return {SendStream}
- * @api public
- */
-
-function send(req, path, options) {
- return new SendStream(req, path, options);
-}
-
-/**
- * Initialize a `SendStream` with the given `path`.
- *
- * @param {Request} req
- * @param {String} path
- * @param {Object} options
- * @api private
- */
-
-function SendStream(req, path, options) {
- var self = this;
- options = options || {};
- this.req = req;
- this.path = path;
- this.options = options;
-
- this._etag = options.etag !== undefined
- ? Boolean(options.etag)
- : true
-
- this._dotfiles = options.dotfiles !== undefined
- ? options.dotfiles
- : 'ignore'
-
- if (['allow', 'deny', 'ignore'].indexOf(this._dotfiles) === -1) {
- throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"')
- }
-
- this._hidden = Boolean(options.hidden)
-
- if ('hidden' in options) {
- deprecate('hidden: use dotfiles: \'' + (this._hidden ? 'allow' : 'ignore') + '\' instead')
- }
-
- // legacy support
- if (!('dotfiles' in options)) {
- this._dotfiles = undefined
- }
-
- this._extensions = options.extensions !== undefined
- ? normalizeList(options.extensions)
- : []
-
- this._index = options.index !== undefined
- ? normalizeList(options.index)
- : ['index.html']
-
- this._lastModified = options.lastModified !== undefined
- ? Boolean(options.lastModified)
- : true
-
- this._maxage = options.maxAge || options.maxage
- this._maxage = typeof this._maxage === 'string'
- ? ms(this._maxage)
- : Number(this._maxage)
- this._maxage = !isNaN(this._maxage)
- ? Math.min(Math.max(0, this._maxage), maxMaxAge)
- : 0
-
- this._root = options.root
- ? resolve(options.root)
- : null
-
- if (!this._root && options.from) {
- this.from(options.from);
- }
-}
-
-/**
- * Inherits from `Stream.prototype`.
- */
-
-SendStream.prototype.__proto__ = Stream.prototype;
-
-/**
- * Enable or disable etag generation.
- *
- * @param {Boolean} val
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.etag = deprecate.function(function etag(val) {
- val = Boolean(val);
- debug('etag %s', val);
- this._etag = val;
- return this;
-}, 'send.etag: pass etag as option');
-
-/**
- * Enable or disable "hidden" (dot) files.
- *
- * @param {Boolean} path
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.hidden = deprecate.function(function hidden(val) {
- val = Boolean(val);
- debug('hidden %s', val);
- this._hidden = val;
- this._dotfiles = undefined
- return this;
-}, 'send.hidden: use dotfiles option');
-
-/**
- * Set index `paths`, set to a falsy
- * value to disable index support.
- *
- * @param {String|Boolean|Array} paths
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.index = deprecate.function(function index(paths) {
- var index = !paths ? [] : normalizeList(paths);
- debug('index %o', paths);
- this._index = index;
- return this;
-}, 'send.index: pass index as option');
-
-/**
- * Set root `path`.
- *
- * @param {String} path
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.root = function(path){
- path = String(path);
- this._root = resolve(path)
- return this;
-};
-
-SendStream.prototype.from = deprecate.function(SendStream.prototype.root,
- 'send.from: pass root as option');
-
-SendStream.prototype.root = deprecate.function(SendStream.prototype.root,
- 'send.root: pass root as option');
-
-/**
- * Set max-age to `maxAge`.
- *
- * @param {Number} maxAge
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.maxage = deprecate.function(function maxage(maxAge) {
- maxAge = typeof maxAge === 'string'
- ? ms(maxAge)
- : Number(maxAge);
- if (isNaN(maxAge)) maxAge = 0;
- if (Infinity == maxAge) maxAge = 60 * 60 * 24 * 365 * 1000;
- debug('max-age %d', maxAge);
- this._maxage = maxAge;
- return this;
-}, 'send.maxage: pass maxAge as option');
-
-/**
- * Emit error with `status`.
- *
- * @param {Number} status
- * @api private
- */
-
-SendStream.prototype.error = function(status, err){
- var res = this.res;
- var msg = http.STATUS_CODES[status];
-
- err = err || new Error(msg);
- err.status = status;
-
- // emit if listeners instead of responding
- if (listenerCount(this, 'error') !== 0) {
- return this.emit('error', err);
- }
-
- // wipe all existing headers
- res._headers = undefined;
-
- res.statusCode = err.status;
- res.end(msg);
-};
-
-/**
- * Check if the pathname ends with "/".
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.hasTrailingSlash = function(){
- return '/' == this.path[this.path.length - 1];
-};
-
-/**
- * Check if this is a conditional GET request.
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isConditionalGET = function(){
- return this.req.headers['if-none-match']
- || this.req.headers['if-modified-since'];
-};
-
-/**
- * Strip content-* header fields.
- *
- * @api private
- */
-
-SendStream.prototype.removeContentHeaderFields = function(){
- var res = this.res;
- Object.keys(res._headers).forEach(function(field){
- if (0 == field.indexOf('content')) {
- res.removeHeader(field);
- }
- });
-};
-
-/**
- * Respond with 304 not modified.
- *
- * @api private
- */
-
-SendStream.prototype.notModified = function(){
- var res = this.res;
- debug('not modified');
- this.removeContentHeaderFields();
- res.statusCode = 304;
- res.end();
-};
-
-/**
- * Raise error that headers already sent.
- *
- * @api private
- */
-
-SendStream.prototype.headersAlreadySent = function headersAlreadySent(){
- var err = new Error('Can\'t set headers after they are sent.');
- debug('headers already sent');
- this.error(500, err);
-};
-
-/**
- * Check if the request is cacheable, aka
- * responded with 2xx or 304 (see RFC 2616 section 14.2{5,6}).
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isCachable = function(){
- var res = this.res;
- return (res.statusCode >= 200 && res.statusCode < 300) || 304 == res.statusCode;
-};
-
-/**
- * Handle stat() error.
- *
- * @param {Error} err
- * @api private
- */
-
-SendStream.prototype.onStatError = function(err){
- var notfound = ['ENOENT', 'ENAMETOOLONG', 'ENOTDIR'];
- if (~notfound.indexOf(err.code)) return this.error(404, err);
- this.error(500, err);
-};
-
-/**
- * Check if the cache is fresh.
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isFresh = function(){
- return fresh(this.req.headers, this.res._headers);
-};
-
-/**
- * Check if the range is fresh.
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isRangeFresh = function isRangeFresh(){
- var ifRange = this.req.headers['if-range'];
-
- if (!ifRange) return true;
-
- return ~ifRange.indexOf('"')
- ? ~ifRange.indexOf(this.res._headers['etag'])
- : Date.parse(this.res._headers['last-modified']) <= Date.parse(ifRange);
-};
-
-/**
- * Redirect to `path`.
- *
- * @param {String} path
- * @api private
- */
-
-SendStream.prototype.redirect = function(path){
- if (listenerCount(this, 'directory') !== 0) {
- return this.emit('directory');
- }
-
- if (this.hasTrailingSlash()) return this.error(403);
- var res = this.res;
- path += '/';
- res.statusCode = 301;
- res.setHeader('Content-Type', 'text/html; charset=utf-8');
- res.setHeader('Location', path);
- res.end('Redirecting to ' + escapeHtml(path) + '\n');
-};
-
-/**
- * Pipe to `res.
- *
- * @param {Stream} res
- * @return {Stream} res
- * @api public
- */
-
-SendStream.prototype.pipe = function(res){
- var self = this
- , args = arguments
- , root = this._root;
-
- // references
- this.res = res;
-
- // decode the path
- var path = decode(this.path)
- if (path === -1) return this.error(400)
-
- // null byte(s)
- if (~path.indexOf('\0')) return this.error(400);
-
- var parts
- if (root !== null) {
- // join / normalize from optional root dir
- path = normalize(join(root, path))
- root = normalize(root + sep)
-
- // malicious path
- if ((path + sep).substr(0, root.length) !== root) {
- debug('malicious path "%s"', path)
- return this.error(403)
- }
-
- // explode path parts
- parts = path.substr(root.length).split(sep)
- } else {
- // ".." is malicious without "root"
- if (upPathRegexp.test(path)) {
- debug('malicious path "%s"', path)
- return this.error(403)
- }
-
- // explode path parts
- parts = normalize(path).split(sep)
-
- // resolve the path
- path = resolve(path)
- }
-
- // dotfile handling
- if (containsDotFile(parts)) {
- var access = this._dotfiles
-
- // legacy support
- if (access === undefined) {
- access = parts[parts.length - 1][0] === '.'
- ? (this._hidden ? 'allow' : 'ignore')
- : 'allow'
- }
-
- debug('%s dotfile "%s"', access, path)
- switch (access) {
- case 'allow':
- break
- case 'deny':
- return this.error(403)
- case 'ignore':
- default:
- return this.error(404)
- }
- }
-
- // index file support
- if (this._index.length && this.path[this.path.length - 1] === '/') {
- this.sendIndex(path);
- return res;
- }
-
- this.sendFile(path);
- return res;
-};
-
-/**
- * Transfer `path`.
- *
- * @param {String} path
- * @api public
- */
-
-SendStream.prototype.send = function(path, stat){
- var options = this.options;
- var len = stat.size;
- var res = this.res;
- var req = this.req;
- var ranges = req.headers.range;
- var offset = options.start || 0;
-
- if (res._header) {
- // impossible to send now
- return this.headersAlreadySent();
- }
-
- debug('pipe "%s"', path)
-
- // set header fields
- this.setHeader(path, stat);
-
- // set content-type
- this.type(path);
-
- // conditional GET support
- if (this.isConditionalGET()
- && this.isCachable()
- && this.isFresh()) {
- return this.notModified();
- }
-
- // adjust len to start/end options
- len = Math.max(0, len - offset);
- if (options.end !== undefined) {
- var bytes = options.end - offset + 1;
- if (len > bytes) len = bytes;
- }
-
- // Range support
- if (ranges) {
- ranges = parseRange(len, ranges);
-
- // If-Range support
- if (!this.isRangeFresh()) {
- debug('range stale');
- ranges = -2;
- }
-
- // unsatisfiable
- if (-1 == ranges) {
- debug('range unsatisfiable');
- res.setHeader('Content-Range', 'bytes */' + stat.size);
- return this.error(416);
- }
-
- // valid (syntactically invalid/multiple ranges are treated as a regular response)
- if (-2 != ranges && ranges.length === 1) {
- debug('range %j', ranges);
-
- options.start = offset + ranges[0].start;
- options.end = offset + ranges[0].end;
-
- // Content-Range
- res.statusCode = 206;
- res.setHeader('Content-Range', 'bytes '
- + ranges[0].start
- + '-'
- + ranges[0].end
- + '/'
- + len);
- len = options.end - options.start + 1;
- }
- }
-
- // content-length
- res.setHeader('Content-Length', len);
-
- // HEAD support
- if ('HEAD' == req.method) return res.end();
-
- this.stream(path, options);
-};
-
-/**
- * Transfer file for `path`.
- *
- * @param {String} path
- * @api private
- */
-SendStream.prototype.sendFile = function sendFile(path) {
- var i = 0
- var self = this
-
- debug('stat "%s"', path);
- fs.stat(path, function onstat(err, stat) {
- if (err && err.code === 'ENOENT'
- && !extname(path)
- && path[path.length - 1] !== sep) {
- // not found, check extensions
- return next(err)
- }
- if (err) return self.onStatError(err)
- if (stat.isDirectory()) return self.redirect(self.path)
- self.emit('file', path, stat)
- self.send(path, stat)
- })
-
- function next(err) {
- if (self._extensions.length <= i) {
- return err
- ? self.onStatError(err)
- : self.error(404)
- }
-
- var p = path + '.' + self._extensions[i++]
-
- debug('stat "%s"', p)
- fs.stat(p, function (err, stat) {
- if (err) return next(err)
- if (stat.isDirectory()) return next()
- self.emit('file', p, stat)
- self.send(p, stat)
- })
- }
-}
-
-/**
- * Transfer index for `path`.
- *
- * @param {String} path
- * @api private
- */
-SendStream.prototype.sendIndex = function sendIndex(path){
- var i = -1;
- var self = this;
-
- function next(err){
- if (++i >= self._index.length) {
- if (err) return self.onStatError(err);
- return self.error(404);
- }
-
- var p = join(path, self._index[i]);
-
- debug('stat "%s"', p);
- fs.stat(p, function(err, stat){
- if (err) return next(err);
- if (stat.isDirectory()) return next();
- self.emit('file', p, stat);
- self.send(p, stat);
- });
- }
-
- next();
-};
-
-/**
- * Stream `path` to the response.
- *
- * @param {String} path
- * @param {Object} options
- * @api private
- */
-
-SendStream.prototype.stream = function(path, options){
- // TODO: this is all lame, refactor meeee
- var finished = false;
- var self = this;
- var res = this.res;
- var req = this.req;
-
- // pipe
- var stream = fs.createReadStream(path, options);
- this.emit('stream', stream);
- stream.pipe(res);
-
- // response finished, done with the fd
- onFinished(res, function onfinished(){
- finished = true;
- destroy(stream);
- });
-
- // error handling code-smell
- stream.on('error', function onerror(err){
- // request already finished
- if (finished) return;
-
- // clean up stream
- finished = true;
- destroy(stream);
-
- // error
- self.onStatError(err);
- });
-
- // end
- stream.on('end', function onend(){
- self.emit('end');
- });
-};
-
-/**
- * Set content-type based on `path`
- * if it hasn't been explicitly set.
- *
- * @param {String} path
- * @api private
- */
-
-SendStream.prototype.type = function(path){
- var res = this.res;
- if (res.getHeader('Content-Type')) return;
- var type = mime.lookup(path);
- var charset = mime.charsets.lookup(type);
- debug('content-type %s', type);
- res.setHeader('Content-Type', type + (charset ? '; charset=' + charset : ''));
-};
-
-/**
- * Set response header fields, most
- * fields may be pre-defined.
- *
- * @param {String} path
- * @param {Object} stat
- * @api private
- */
-
-SendStream.prototype.setHeader = function setHeader(path, stat){
- var res = this.res;
-
- this.emit('headers', res, path, stat);
-
- if (!res.getHeader('Accept-Ranges')) res.setHeader('Accept-Ranges', 'bytes');
- if (!res.getHeader('Date')) res.setHeader('Date', new Date().toUTCString());
- if (!res.getHeader('Cache-Control')) res.setHeader('Cache-Control', 'public, max-age=' + Math.floor(this._maxage / 1000));
-
- if (this._lastModified && !res.getHeader('Last-Modified')) {
- var modified = stat.mtime.toUTCString()
- debug('modified %s', modified)
- res.setHeader('Last-Modified', modified)
- }
-
- if (this._etag && !res.getHeader('ETag')) {
- var val = etag(stat)
- debug('etag %s', val)
- res.setHeader('ETag', val)
- }
-};
-
-/**
- * Determine if path parts contain a dotfile.
- *
- * @api private
- */
-
-function containsDotFile(parts) {
- for (var i = 0; i < parts.length; i++) {
- if (parts[i][0] === '.') {
- return true
- }
- }
-
- return false
-}
-
-/**
- * decodeURIComponent.
- *
- * Allows V8 to only deoptimize this fn instead of all
- * of send().
- *
- * @param {String} path
- * @api private
- */
-
-function decode(path) {
- try {
- return decodeURIComponent(path)
- } catch (err) {
- return -1
- }
-}
-
-/**
- * Normalize the index option into an array.
- *
- * @param {boolean|string|array} val
- * @api private
- */
-
-function normalizeList(val){
- return [].concat(val || [])
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/.jshintrc b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/.jshintrc
deleted file mode 100644
index 299877f..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/.jshintrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "laxbreak": true
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/.npmignore b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/.npmignore
deleted file mode 100644
index 7e6163d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/.npmignore
+++ /dev/null
@@ -1,6 +0,0 @@
-support
-test
-examples
-example
-*.sock
-dist
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/History.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/History.md
deleted file mode 100644
index bcbc3bd..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/History.md
+++ /dev/null
@@ -1,157 +0,0 @@
-
-2.1.0 / 2014-10-15
-==================
-
- * node: implement `DEBUG_FD` env variable support
- * package: update "browserify" to v6.1.0
- * package: add "license" field to package.json (#135, @panuhorsmalahti)
-
-2.0.0 / 2014-09-01
-==================
-
- * package: update "browserify" to v5.11.0
- * node: use stderr rather than stdout for logging (#29, @stephenmathieson)
-
-1.0.4 / 2014-07-15
-==================
-
- * dist: recompile
- * example: remove `console.info()` log usage
- * example: add "Content-Type" UTF-8 header to browser example
- * browser: place %c marker after the space character
- * browser: reset the "content" color via `color: inherit`
- * browser: add colors support for Firefox >= v31
- * debug: prefer an instance `log()` function over the global one (#119)
- * Readme: update documentation about styled console logs for FF v31 (#116, @wryk)
-
-1.0.3 / 2014-07-09
-==================
-
- * Add support for multiple wildcards in namespaces (#122, @seegno)
- * browser: fix lint
-
-1.0.2 / 2014-06-10
-==================
-
- * browser: update color palette (#113, @gscottolson)
- * common: make console logging function configurable (#108, @timoxley)
- * node: fix %o colors on old node <= 0.8.x
- * Makefile: find node path using shell/which (#109, @timoxley)
-
-1.0.1 / 2014-06-06
-==================
-
- * browser: use `removeItem()` to clear localStorage
- * browser, node: don't set DEBUG if namespaces is undefined (#107, @leedm777)
- * package: add "contributors" section
- * node: fix comment typo
- * README: list authors
-
-1.0.0 / 2014-06-04
-==================
-
- * make ms diff be global, not be scope
- * debug: ignore empty strings in enable()
- * node: make DEBUG_COLORS able to disable coloring
- * *: export the `colors` array
- * npmignore: don't publish the `dist` dir
- * Makefile: refactor to use browserify
- * package: add "browserify" as a dev dependency
- * Readme: add Web Inspector Colors section
- * node: reset terminal color for the debug content
- * node: map "%o" to `util.inspect()`
- * browser: map "%j" to `JSON.stringify()`
- * debug: add custom "formatters"
- * debug: use "ms" module for humanizing the diff
- * Readme: add "bash" syntax highlighting
- * browser: add Firebug color support
- * browser: add colors for WebKit browsers
- * node: apply log to `console`
- * rewrite: abstract common logic for Node & browsers
- * add .jshintrc file
-
-0.8.1 / 2014-04-14
-==================
-
- * package: re-add the "component" section
-
-0.8.0 / 2014-03-30
-==================
-
- * add `enable()` method for nodejs. Closes #27
- * change from stderr to stdout
- * remove unnecessary index.js file
-
-0.7.4 / 2013-11-13
-==================
-
- * remove "browserify" key from package.json (fixes something in browserify)
-
-0.7.3 / 2013-10-30
-==================
-
- * fix: catch localStorage security error when cookies are blocked (Chrome)
- * add debug(err) support. Closes #46
- * add .browser prop to package.json. Closes #42
-
-0.7.2 / 2013-02-06
-==================
-
- * fix package.json
- * fix: Mobile Safari (private mode) is broken with debug
- * fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript
-
-0.7.1 / 2013-02-05
-==================
-
- * add repository URL to package.json
- * add DEBUG_COLORED to force colored output
- * add browserify support
- * fix component. Closes #24
-
-0.7.0 / 2012-05-04
-==================
-
- * Added .component to package.json
- * Added debug.component.js build
-
-0.6.0 / 2012-03-16
-==================
-
- * Added support for "-" prefix in DEBUG [Vinay Pulim]
- * Added `.enabled` flag to the node version [TooTallNate]
-
-0.5.0 / 2012-02-02
-==================
-
- * Added: humanize diffs. Closes #8
- * Added `debug.disable()` to the CS variant
- * Removed padding. Closes #10
- * Fixed: persist client-side variant again. Closes #9
-
-0.4.0 / 2012-02-01
-==================
-
- * Added browser variant support for older browsers [TooTallNate]
- * Added `debug.enable('project:*')` to browser variant [TooTallNate]
- * Added padding to diff (moved it to the right)
-
-0.3.0 / 2012-01-26
-==================
-
- * Added millisecond diff when isatty, otherwise UTC string
-
-0.2.0 / 2012-01-22
-==================
-
- * Added wildcard support
-
-0.1.0 / 2011-12-02
-==================
-
- * Added: remove colors unless stderr isatty [TooTallNate]
-
-0.0.1 / 2010-01-03
-==================
-
- * Initial release
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/Makefile b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/Makefile
deleted file mode 100644
index b0bde6e..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-
-# get Makefile directory name: http://stackoverflow.com/a/5982798/376773
-THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
-THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
-
-# BIN directory
-BIN := $(THIS_DIR)/node_modules/.bin
-
-# applications
-NODE ?= $(shell which node)
-NPM ?= $(NODE) $(shell which npm)
-BROWSERIFY ?= $(NODE) $(BIN)/browserify
-
-all: dist/debug.js
-
-install: node_modules
-
-clean:
- @rm -rf node_modules dist
-
-dist:
- @mkdir -p $@
-
-dist/debug.js: node_modules browser.js debug.js dist
- @$(BROWSERIFY) \
- --standalone debug \
- . > $@
-
-node_modules: package.json
- @NODE_ENV= $(NPM) install
- @touch node_modules
-
-.PHONY: all install clean
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/Readme.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/Readme.md
deleted file mode 100644
index e59b9ad..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/Readme.md
+++ /dev/null
@@ -1,156 +0,0 @@
-# debug
-
- tiny node.js debugging utility modelled after node core's debugging technique.
-
-## Installation
-
-```bash
-$ npm install debug
-```
-
-## Usage
-
- With `debug` you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated `console.error`, so all of the `console` format string goodies you're used to work fine. A unique color is selected per-function for visibility.
-
-Example _app.js_:
-
-```js
-var debug = require('debug')('http')
- , http = require('http')
- , name = 'My App';
-
-// fake app
-
-debug('booting %s', name);
-
-http.createServer(function(req, res){
- debug(req.method + ' ' + req.url);
- res.end('hello\n');
-}).listen(3000, function(){
- debug('listening');
-});
-
-// fake worker of some kind
-
-require('./worker');
-```
-
-Example _worker.js_:
-
-```js
-var debug = require('debug')('worker');
-
-setInterval(function(){
- debug('doing some work');
-}, 1000);
-```
-
- The __DEBUG__ environment variable is then used to enable these based on space or comma-delimited names. Here are some examples:
-
- ![debug http and worker](http://f.cl.ly/items/18471z1H402O24072r1J/Screenshot.png)
-
- ![debug worker](http://f.cl.ly/items/1X413v1a3M0d3C2c1E0i/Screenshot.png)
-
-## Millisecond diff
-
- When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls.
-
- ![](http://f.cl.ly/items/2i3h1d3t121M2Z1A3Q0N/Screenshot.png)
-
- When stdout is not a TTY, `Date#toUTCString()` is used, making it more useful for logging the debug information as shown below:
-
- ![](http://f.cl.ly/items/112H3i0e0o0P0a2Q2r11/Screenshot.png)
-
-## Conventions
-
- If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser".
-
-## Wildcards
-
- The `*` character may be used as a wildcard. Suppose for example your library has debuggers named "connect:bodyParser", "connect:compress", "connect:session", instead of listing all three with `DEBUG=connect:bodyParser,connect.compress,connect:session`, you may simply do `DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`.
-
- You can also exclude specific debuggers by prefixing them with a "-" character. For example, `DEBUG=*,-connect:*` would include all debuggers except those starting with "connect:".
-
-## Browser support
-
- Debug works in the browser as well, currently persisted by `localStorage`. For example if you have `worker:a` and `worker:b` as shown below, and wish to debug both type `debug.enable('worker:*')` in the console and refresh the page, this will remain until you disable with `debug.disable()`.
-
-```js
-a = debug('worker:a');
-b = debug('worker:b');
-
-setInterval(function(){
- a('doing some work');
-}, 1000);
-
-setInterval(function(){
- b('doing some work');
-}, 1200);
-```
-
-#### Web Inspector Colors
-
- Colors are also enabled on "Web Inspectors" that understand the `%c` formatting
- option. These are WebKit web inspectors, Firefox ([since version
- 31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/))
- and the Firebug plugin for Firefox (any version).
-
- Colored output looks something like:
-
- ![](https://cloud.githubusercontent.com/assets/71256/3139768/b98c5fd8-e8ef-11e3-862a-f7253b6f47c6.png)
-
-### stderr vs stdout
-
-You can set an alternative logging method per-namespace by overriding the `log` method on a per-namespace or globally:
-
-Example _stderr.js_:
-
-```js
-var debug = require('../');
-var log = debug('app:log');
-
-// by default console.log is used
-log('goes to stdout!');
-
-var error = debug('app:error');
-// set this namespace to log via console.error
-error.log = console.error.bind(console); // don't forget to bind to console!
-error('goes to stderr');
-log('still goes to stdout!');
-
-// set all output to go via console.warn
-// overrides all per-namespace log settings
-debug.log = console.warn.bind(console);
-log('now goes to stderr via console.warn');
-error('still goes to stderr, but via console.warn now');
-```
-
-## Authors
-
- - TJ Holowaychuk
- - Nathan Rajlich
-
-## License
-
-(The MIT License)
-
-Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/browser.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/browser.js
deleted file mode 100644
index ce6369f..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/browser.js
+++ /dev/null
@@ -1,147 +0,0 @@
-
-/**
- * This is the web browser implementation of `debug()`.
- *
- * Expose `debug()` as the module.
- */
-
-exports = module.exports = require('./debug');
-exports.log = log;
-exports.formatArgs = formatArgs;
-exports.save = save;
-exports.load = load;
-exports.useColors = useColors;
-
-/**
- * Colors.
- */
-
-exports.colors = [
- 'lightseagreen',
- 'forestgreen',
- 'goldenrod',
- 'dodgerblue',
- 'darkorchid',
- 'crimson'
-];
-
-/**
- * Currently only WebKit-based Web Inspectors, Firefox >= v31,
- * and the Firebug extension (any Firefox version) are known
- * to support "%c" CSS customizations.
- *
- * TODO: add a `localStorage` variable to explicitly enable/disable colors
- */
-
-function useColors() {
- // is webkit? http://stackoverflow.com/a/16459606/376773
- return ('WebkitAppearance' in document.documentElement.style) ||
- // is firebug? http://stackoverflow.com/a/398120/376773
- (window.console && (console.firebug || (console.exception && console.table))) ||
- // is firefox >= v31?
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
- (navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31);
-}
-
-/**
- * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
- */
-
-exports.formatters.j = function(v) {
- return JSON.stringify(v);
-};
-
-
-/**
- * Colorize log arguments if enabled.
- *
- * @api public
- */
-
-function formatArgs() {
- var args = arguments;
- var useColors = this.useColors;
-
- args[0] = (useColors ? '%c' : '')
- + this.namespace
- + (useColors ? ' %c' : ' ')
- + args[0]
- + (useColors ? '%c ' : ' ')
- + '+' + exports.humanize(this.diff);
-
- if (!useColors) return args;
-
- var c = 'color: ' + this.color;
- args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));
-
- // the final "%c" is somewhat tricky, because there could be other
- // arguments passed either before or after the %c, so we need to
- // figure out the correct index to insert the CSS into
- var index = 0;
- var lastC = 0;
- args[0].replace(/%[a-z%]/g, function(match) {
- if ('%%' === match) return;
- index++;
- if ('%c' === match) {
- // we only are interested in the *last* %c
- // (the user may have provided their own)
- lastC = index;
- }
- });
-
- args.splice(lastC, 0, c);
- return args;
-}
-
-/**
- * Invokes `console.log()` when available.
- * No-op when `console.log` is not a "function".
- *
- * @api public
- */
-
-function log() {
- // This hackery is required for IE8,
- // where the `console.log` function doesn't have 'apply'
- return 'object' == typeof console
- && 'function' == typeof console.log
- && Function.prototype.apply.call(console.log, console, arguments);
-}
-
-/**
- * Save `namespaces`.
- *
- * @param {String} namespaces
- * @api private
- */
-
-function save(namespaces) {
- try {
- if (null == namespaces) {
- localStorage.removeItem('debug');
- } else {
- localStorage.debug = namespaces;
- }
- } catch(e) {}
-}
-
-/**
- * Load `namespaces`.
- *
- * @return {String} returns the previously persisted debug modes
- * @api private
- */
-
-function load() {
- var r;
- try {
- r = localStorage.debug;
- } catch(e) {}
- return r;
-}
-
-/**
- * Enable namespaces listed in `localStorage.debug` initially.
- */
-
-exports.enable(load());
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/component.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/component.json
deleted file mode 100644
index 7ee3d13..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/component.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "debug",
- "repo": "visionmedia/debug",
- "description": "small debugging utility",
- "version": "2.1.0",
- "keywords": [
- "debug",
- "log",
- "debugger"
- ],
- "main": "browser.js",
- "scripts": [
- "browser.js",
- "debug.js"
- ],
- "dependencies": {
- "guille/ms.js": "0.6.1"
- }
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/debug.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/debug.js
deleted file mode 100644
index 7571a86..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/debug.js
+++ /dev/null
@@ -1,197 +0,0 @@
-
-/**
- * This is the common logic for both the Node.js and web browser
- * implementations of `debug()`.
- *
- * Expose `debug()` as the module.
- */
-
-exports = module.exports = debug;
-exports.coerce = coerce;
-exports.disable = disable;
-exports.enable = enable;
-exports.enabled = enabled;
-exports.humanize = require('ms');
-
-/**
- * The currently active debug mode names, and names to skip.
- */
-
-exports.names = [];
-exports.skips = [];
-
-/**
- * Map of special "%n" handling functions, for the debug "format" argument.
- *
- * Valid key names are a single, lowercased letter, i.e. "n".
- */
-
-exports.formatters = {};
-
-/**
- * Previously assigned color.
- */
-
-var prevColor = 0;
-
-/**
- * Previous log timestamp.
- */
-
-var prevTime;
-
-/**
- * Select a color.
- *
- * @return {Number}
- * @api private
- */
-
-function selectColor() {
- return exports.colors[prevColor++ % exports.colors.length];
-}
-
-/**
- * Create a debugger with the given `namespace`.
- *
- * @param {String} namespace
- * @return {Function}
- * @api public
- */
-
-function debug(namespace) {
-
- // define the `disabled` version
- function disabled() {
- }
- disabled.enabled = false;
-
- // define the `enabled` version
- function enabled() {
-
- var self = enabled;
-
- // set `diff` timestamp
- var curr = +new Date();
- var ms = curr - (prevTime || curr);
- self.diff = ms;
- self.prev = prevTime;
- self.curr = curr;
- prevTime = curr;
-
- // add the `color` if not set
- if (null == self.useColors) self.useColors = exports.useColors();
- if (null == self.color && self.useColors) self.color = selectColor();
-
- var args = Array.prototype.slice.call(arguments);
-
- args[0] = exports.coerce(args[0]);
-
- if ('string' !== typeof args[0]) {
- // anything else let's inspect with %o
- args = ['%o'].concat(args);
- }
-
- // apply any `formatters` transformations
- var index = 0;
- args[0] = args[0].replace(/%([a-z%])/g, function(match, format) {
- // if we encounter an escaped % then don't increase the array index
- if (match === '%%') return match;
- index++;
- var formatter = exports.formatters[format];
- if ('function' === typeof formatter) {
- var val = args[index];
- match = formatter.call(self, val);
-
- // now we need to remove `args[index]` since it's inlined in the `format`
- args.splice(index, 1);
- index--;
- }
- return match;
- });
-
- if ('function' === typeof exports.formatArgs) {
- args = exports.formatArgs.apply(self, args);
- }
- var logFn = enabled.log || exports.log || console.log.bind(console);
- logFn.apply(self, args);
- }
- enabled.enabled = true;
-
- var fn = exports.enabled(namespace) ? enabled : disabled;
-
- fn.namespace = namespace;
-
- return fn;
-}
-
-/**
- * Enables a debug mode by namespaces. This can include modes
- * separated by a colon and wildcards.
- *
- * @param {String} namespaces
- * @api public
- */
-
-function enable(namespaces) {
- exports.save(namespaces);
-
- var split = (namespaces || '').split(/[\s,]+/);
- var len = split.length;
-
- for (var i = 0; i < len; i++) {
- if (!split[i]) continue; // ignore empty strings
- namespaces = split[i].replace(/\*/g, '.*?');
- if (namespaces[0] === '-') {
- exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
- } else {
- exports.names.push(new RegExp('^' + namespaces + '$'));
- }
- }
-}
-
-/**
- * Disable debug output.
- *
- * @api public
- */
-
-function disable() {
- exports.enable('');
-}
-
-/**
- * Returns true if the given mode name is enabled, false otherwise.
- *
- * @param {String} name
- * @return {Boolean}
- * @api public
- */
-
-function enabled(name) {
- var i, len;
- for (i = 0, len = exports.skips.length; i < len; i++) {
- if (exports.skips[i].test(name)) {
- return false;
- }
- }
- for (i = 0, len = exports.names.length; i < len; i++) {
- if (exports.names[i].test(name)) {
- return true;
- }
- }
- return false;
-}
-
-/**
- * Coerce `val`.
- *
- * @param {Mixed} val
- * @return {Mixed}
- * @api private
- */
-
-function coerce(val) {
- if (val instanceof Error) return val.stack || val.message;
- return val;
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/node.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/node.js
deleted file mode 100644
index 5dc999f..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/node.js
+++ /dev/null
@@ -1,209 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var tty = require('tty');
-var util = require('util');
-
-/**
- * This is the Node.js implementation of `debug()`.
- *
- * Expose `debug()` as the module.
- */
-
-exports = module.exports = require('./debug');
-exports.log = log;
-exports.formatArgs = formatArgs;
-exports.save = save;
-exports.load = load;
-exports.useColors = useColors;
-
-/**
- * Colors.
- */
-
-exports.colors = [6, 2, 3, 4, 5, 1];
-
-/**
- * The file descriptor to write the `debug()` calls to.
- * Set the `DEBUG_FD` env variable to override with another value. i.e.:
- *
- * $ DEBUG_FD=3 node script.js 3>debug.log
- */
-
-var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
-var stream = 1 === fd ? process.stdout :
- 2 === fd ? process.stderr :
- createWritableStdioStream(fd);
-
-/**
- * Is stdout a TTY? Colored output is enabled when `true`.
- */
-
-function useColors() {
- var debugColors = (process.env.DEBUG_COLORS || '').trim().toLowerCase();
- if (0 === debugColors.length) {
- return tty.isatty(fd);
- } else {
- return '0' !== debugColors
- && 'no' !== debugColors
- && 'false' !== debugColors
- && 'disabled' !== debugColors;
- }
-}
-
-/**
- * Map %o to `util.inspect()`, since Node doesn't do that out of the box.
- */
-
-var inspect = (4 === util.inspect.length ?
- // node <= 0.8.x
- function (v, colors) {
- return util.inspect(v, void 0, void 0, colors);
- } :
- // node > 0.8.x
- function (v, colors) {
- return util.inspect(v, { colors: colors });
- }
-);
-
-exports.formatters.o = function(v) {
- return inspect(v, this.useColors)
- .replace(/\s*\n\s*/g, ' ');
-};
-
-/**
- * Adds ANSI color escape codes if enabled.
- *
- * @api public
- */
-
-function formatArgs() {
- var args = arguments;
- var useColors = this.useColors;
- var name = this.namespace;
-
- if (useColors) {
- var c = this.color;
-
- args[0] = ' \u001b[9' + c + 'm' + name + ' '
- + '\u001b[0m'
- + args[0] + '\u001b[3' + c + 'm'
- + ' +' + exports.humanize(this.diff) + '\u001b[0m';
- } else {
- args[0] = new Date().toUTCString()
- + ' ' + name + ' ' + args[0];
- }
- return args;
-}
-
-/**
- * Invokes `console.error()` with the specified arguments.
- */
-
-function log() {
- return stream.write(util.format.apply(this, arguments) + '\n');
-}
-
-/**
- * Save `namespaces`.
- *
- * @param {String} namespaces
- * @api private
- */
-
-function save(namespaces) {
- if (null == namespaces) {
- // If you set a process.env field to null or undefined, it gets cast to the
- // string 'null' or 'undefined'. Just delete instead.
- delete process.env.DEBUG;
- } else {
- process.env.DEBUG = namespaces;
- }
-}
-
-/**
- * Load `namespaces`.
- *
- * @return {String} returns the previously persisted debug modes
- * @api private
- */
-
-function load() {
- return process.env.DEBUG;
-}
-
-/**
- * Copied from `node/src/node.js`.
- *
- * XXX: It's lame that node doesn't expose this API out-of-the-box. It also
- * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.
- */
-
-function createWritableStdioStream (fd) {
- var stream;
- var tty_wrap = process.binding('tty_wrap');
-
- // Note stream._type is used for test-module-load-list.js
-
- switch (tty_wrap.guessHandleType(fd)) {
- case 'TTY':
- stream = new tty.WriteStream(fd);
- stream._type = 'tty';
-
- // Hack to have stream not keep the event loop alive.
- // See https://github.com/joyent/node/issues/1726
- if (stream._handle && stream._handle.unref) {
- stream._handle.unref();
- }
- break;
-
- case 'FILE':
- var fs = require('fs');
- stream = new fs.SyncWriteStream(fd, { autoClose: false });
- stream._type = 'fs';
- break;
-
- case 'PIPE':
- case 'TCP':
- var net = require('net');
- stream = new net.Socket({
- fd: fd,
- readable: false,
- writable: true
- });
-
- // FIXME Should probably have an option in net.Socket to create a
- // stream from an existing fd which is writable only. But for now
- // we'll just add this hack and set the `readable` member to false.
- // Test: ./node test/fixtures/echo.js < /etc/passwd
- stream.readable = false;
- stream.read = null;
- stream._type = 'pipe';
-
- // FIXME Hack to have stream not keep the event loop alive.
- // See https://github.com/joyent/node/issues/1726
- if (stream._handle && stream._handle.unref) {
- stream._handle.unref();
- }
- break;
-
- default:
- // Probably an error on in uv_guess_handle()
- throw new Error('Implement me. Unknown stream file type!');
- }
-
- // For supporting legacy API we put the FD here.
- stream.fd = fd;
-
- stream._isStdio = true;
-
- return stream;
-}
-
-/**
- * Enable namespaces listed in `process.env.DEBUG` initially.
- */
-
-exports.enable(load());
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/package.json
deleted file mode 100644
index 3e41f8f..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/debug/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "name": "debug",
- "version": "2.1.0",
- "repository": {
- "type": "git",
- "url": "git://github.com/visionmedia/debug.git"
- },
- "description": "small debugging utility",
- "keywords": [
- "debug",
- "log",
- "debugger"
- ],
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca"
- },
- "contributors": [
- {
- "name": "Nathan Rajlich",
- "email": "nathan@tootallnate.net",
- "url": "http://n8.io"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "ms": "0.6.2"
- },
- "devDependencies": {
- "browserify": "6.1.0",
- "mocha": "*"
- },
- "main": "./node.js",
- "browser": "./browser.js",
- "component": {
- "scripts": {
- "debug/index.js": "browser.js",
- "debug/debug.js": "debug.js"
- }
- },
- "gitHead": "953162b4fa8849268d147f4bac91c737baee55bb",
- "bugs": {
- "url": "https://github.com/visionmedia/debug/issues"
- },
- "homepage": "https://github.com/visionmedia/debug",
- "_id": "debug@2.1.0",
- "scripts": {},
- "_shasum": "33ab915659d8c2cc8a41443d94d6ebd37697ed21",
- "_from": "debug@~2.1.0",
- "_npmVersion": "2.1.3",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "tootallnate",
- "email": "nathan@tootallnate.net"
- },
- "maintainers": [
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- {
- "name": "tootallnate",
- "email": "nathan@tootallnate.net"
- }
- ],
- "dist": {
- "shasum": "33ab915659d8c2cc8a41443d94d6ebd37697ed21",
- "tarball": "http://registry.npmjs.org/debug/-/debug-2.1.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/debug/-/debug-2.1.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/History.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/History.md
deleted file mode 100644
index bdbcf58..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/History.md
+++ /dev/null
@@ -1,67 +0,0 @@
-1.0.0 / 2014-09-17
-==================
-
- * No changes
-
-0.4.5 / 2014-09-09
-==================
-
- * Improve call speed to functions using the function wrapper
- * Support Node.js 0.6
-
-0.4.4 / 2014-07-27
-==================
-
- * Work-around v8 generating empty stack traces
-
-0.4.3 / 2014-07-26
-==================
-
- * Fix exception when global `Error.stackTraceLimit` is too low
-
-0.4.2 / 2014-07-19
-==================
-
- * Correct call site for wrapped functions and properties
-
-0.4.1 / 2014-07-19
-==================
-
- * Improve automatic message generation for function properties
-
-0.4.0 / 2014-07-19
-==================
-
- * Add `TRACE_DEPRECATION` environment variable
- * Remove non-standard grey color from color output
- * Support `--no-deprecation` argument
- * Support `--trace-deprecation` argument
- * Support `deprecate.property(fn, prop, message)`
-
-0.3.0 / 2014-06-16
-==================
-
- * Add `NO_DEPRECATION` environment variable
-
-0.2.0 / 2014-06-15
-==================
-
- * Add `deprecate.property(obj, prop, message)`
- * Remove `supports-color` dependency for node.js 0.8
-
-0.1.0 / 2014-06-15
-==================
-
- * Add `deprecate.function(fn, message)`
- * Add `process.on('deprecation', fn)` emitter
- * Automatically generate message when omitted from `deprecate()`
-
-0.0.1 / 2014-06-15
-==================
-
- * Fix warning for dynamic calls at singe call site
-
-0.0.0 / 2014-06-15
-==================
-
- * Initial implementation
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/LICENSE
deleted file mode 100644
index b7dce6c..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/Readme.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/Readme.md
deleted file mode 100644
index 9fb2737..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/Readme.md
+++ /dev/null
@@ -1,271 +0,0 @@
-# depd
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Coverage Status][coveralls-image]][coveralls-url]
-[![Gratipay][gratipay-image]][gratipay-url]
-
-Deprecate all the things
-
-> With great modules comes great responsibility; mark things deprecated!
-
-## Install
-
-```sh
-$ npm install depd
-```
-
-## API
-
-```js
-var deprecate = require('depd')('my-module')
-```
-
-This library allows you to display deprecation messages to your users.
-This library goes above and beyond with deprecation warnings by
-introspection of the call stack (but only the bits that it is interested
-in).
-
-Instead of just warning on the first invocation of a deprecated
-function and never again, this module will warn on the first invocation
-of a deprecated function per unique call site, making it ideal to alert
-users of all deprecated uses across the code base, rather than just
-whatever happens to execute first.
-
-The deprecation warnings from this module also include the file and line
-information for the call into the module that the deprecated function was
-in.
-
-**NOTE** this library has a similar interface to the `debug` module, and
-this module uses the calling file to get the boundary for the call stacks,
-so you should always create a new `deprecate` object in each file and not
-within some central file.
-
-### depd(namespace)
-
-Create a new deprecate function that uses the given namespace name in the
-messages and will display the call site prior to the stack entering the
-file this function was called from. It is highly suggested you use the
-name of your module as the namespace.
-
-### deprecate(message)
-
-Call this function from deprecated code to display a deprecation message.
-This message will appear once per unique caller site. Caller site is the
-first call site in the stack in a different file from the caller of this
-function.
-
-If the message is omitted, a message is generated for you based on the site
-of the `deprecate()` call and will display the name of the function called,
-similar to the name displayed in a stack trace.
-
-### deprecate.function(fn, message)
-
-Call this function to wrap a given function in a deprecation message on any
-call to the function. An optional message can be supplied to provide a custom
-message.
-
-### deprecate.property(obj, prop, message)
-
-Call this function to wrap a given property on object in a deprecation message
-on any accessing or setting of the property. An optional message can be supplied
-to provide a custom message.
-
-The method must be called on the object where the property belongs (not
-inherited from the prototype).
-
-If the property is a data descriptor, it will be converted to an accessor
-descriptor in order to display the deprecation message.
-
-### process.on('deprecation', fn)
-
-This module will allow easy capturing of deprecation errors by emitting the
-errors as the type "deprecation" on the global `process`. If there are no
-listeners for this type, the errors are written to STDERR as normal, but if
-there are any listeners, nothing will be written to STDERR and instead only
-emitted. From there, you can write the errors in a different format or to a
-logging source.
-
-The error represents the deprecation and is emitted only once with the same
-rules as writing to STDERR. The error has the following properties:
-
- - `message` - This is the message given by the library
- - `name` - This is always `'DeprecationError'`
- - `namespace` - This is the namespace the deprecation came from
- - `stack` - This is the stack of the call to the deprecated thing
-
-Example `error.stack` output:
-
-```
-DeprecationError: my-cool-module deprecated oldfunction
- at Object. ([eval]-wrapper:6:22)
- at Module._compile (module.js:456:26)
- at evalScript (node.js:532:25)
- at startup (node.js:80:7)
- at node.js:902:3
-```
-
-### process.env.NO_DEPRECATION
-
-As a user of modules that are deprecated, the environment variable `NO_DEPRECATION`
-is provided as a quick solution to silencing deprecation warnings from being
-output. The format of this is similar to that of `DEBUG`:
-
-```sh
-$ NO_DEPRECATION=my-module,othermod node app.js
-```
-
-This will suppress deprecations from being output for "my-module" and "othermod".
-The value is a list of comma-separated namespaces. To suppress every warning
-across all namespaces, use the value `*` for a namespace.
-
-Providing the argument `--no-deprecation` to the `node` executable will suppress
-all deprecations (only available in Node.js 0.8 or higher).
-
-**NOTE** This will not suppress the deperecations given to any "deprecation"
-event listeners, just the output to STDERR.
-
-### process.env.TRACE_DEPRECATION
-
-As a user of modules that are deprecated, the environment variable `TRACE_DEPRECATION`
-is provided as a solution to getting more detailed location information in deprecation
-warnings by including the entire stack trace. The format of this is the same as
-`NO_DEPRECATION`:
-
-```sh
-$ TRACE_DEPRECATION=my-module,othermod node app.js
-```
-
-This will include stack traces for deprecations being output for "my-module" and
-"othermod". The value is a list of comma-separated namespaces. To trace every
-warning across all namespaces, use the value `*` for a namespace.
-
-Providing the argument `--trace-deprecation` to the `node` executable will trace
-all deprecations (only available in Node.js 0.8 or higher).
-
-**NOTE** This will not trace the deperecations silenced by `NO_DEPRECATION`.
-
-## Display
-
-![message](files/message.png)
-
-When a user calls a function in your library that you mark deprecated, they
-will see the following written to STDERR (in the given colors, similar colors
-and layout to the `debug` module):
-
-```
-bright cyan bright yellow
-| | reset cyan
-| | | |
-â–¼ â–¼ â–¼ â–¼
-my-cool-module deprecated oldfunction [eval]-wrapper:6:22
-â–² â–² â–² â–²
-| | | |
-namespace | | location of mycoolmod.oldfunction() call
- | deprecation message
- the word "deprecated"
-```
-
-If the user redirects their STDERR to a file or somewhere that does not support
-colors, they see (similar layout to the `debug` module):
-
-```
-Sun, 15 Jun 2014 05:21:37 GMT my-cool-module deprecated oldfunction at [eval]-wrapper:6:22
-â–² â–² â–² â–² â–²
-| | | | |
-timestamp of message namespace | | location of mycoolmod.oldfunction() call
- | deprecation message
- the word "deprecated"
-```
-
-## Examples
-
-### Deprecating all calls to a function
-
-This will display a deprecated message about "oldfunction" being deprecated
-from "my-module" on STDERR.
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-// message automatically derived from function name
-// Object.oldfunction
-exports.oldfunction = deprecate.function(function oldfunction() {
- // all calls to function are deprecated
-})
-
-// specific message
-exports.oldfunction = deprecate.function(function () {
- // all calls to function are deprecated
-}, 'oldfunction')
-```
-
-### Conditionally deprecating a function call
-
-This will display a deprecated message about "weirdfunction" being deprecated
-from "my-module" on STDERR when called with less than 2 arguments.
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-exports.weirdfunction = function () {
- if (arguments.length < 2) {
- // calls with 0 or 1 args are deprecated
- deprecate('weirdfunction args < 2')
- }
-}
-```
-
-When calling `deprecate` as a function, the warning is counted per call site
-within your own module, so you can display different deprecations depending
-on different situations and the users will still get all the warnings:
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-exports.weirdfunction = function () {
- if (arguments.length < 2) {
- // calls with 0 or 1 args are deprecated
- deprecate('weirdfunction args < 2')
- } else if (typeof arguments[0] !== 'string') {
- // calls with non-string first argument are deprecated
- deprecate('weirdfunction non-string first arg')
- }
-}
-```
-
-### Deprecating property access
-
-This will display a deprecated message about "oldprop" being deprecated
-from "my-module" on STDERR when accessed. A deprecation will be displayed
-when setting the value and when getting the value.
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-exports.oldprop = 'something'
-
-// message automatically derives from property name
-deprecate.property(exports, 'oldprop')
-
-// explicit message
-deprecate.property(exports, 'oldprop', 'oldprop >= 0.10')
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-version-image]: https://img.shields.io/npm/v/depd.svg?style=flat
-[npm-downloads-image]: https://img.shields.io/npm/dm/depd.svg?style=flat
-[npm-url]: https://npmjs.org/package/depd
-[travis-image]: https://img.shields.io/travis/dougwilson/nodejs-depd.svg?style=flat
-[travis-url]: https://travis-ci.org/dougwilson/nodejs-depd
-[coveralls-image]: https://img.shields.io/coveralls/dougwilson/nodejs-depd.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/dougwilson/nodejs-depd?branch=master
-[node-image]: https://img.shields.io/node/v/depd.svg?style=flat
-[node-url]: http://nodejs.org/download/
-[gratipay-image]: https://img.shields.io/gratipay/dougwilson.svg?style=flat
-[gratipay-url]: https://www.gratipay.com/dougwilson/
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/index.js
deleted file mode 100644
index 4fee4d9..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/index.js
+++ /dev/null
@@ -1,522 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module dependencies.
- */
-
-var callSiteToString = require('./lib/compat').callSiteToString
-var EventEmitter = require('events').EventEmitter
-var relative = require('path').relative
-
-/**
- * Module exports.
- */
-
-module.exports = depd
-
-/**
- * Get the path to base files on.
- */
-
-var basePath = process.cwd()
-
-/**
- * Get listener count on event emitter.
- */
-
-/*istanbul ignore next*/
-var eventListenerCount = EventEmitter.listenerCount
- || function (emitter, type) { return emitter.listeners(type).length }
-
-/**
- * Determine if namespace is contained in the string.
- */
-
-function containsNamespace(str, namespace) {
- var val = str.split(/[ ,]+/)
-
- namespace = String(namespace).toLowerCase()
-
- for (var i = 0 ; i < val.length; i++) {
- if (!(str = val[i])) continue;
-
- // namespace contained
- if (str === '*' || str.toLowerCase() === namespace) {
- return true
- }
- }
-
- return false
-}
-
-/**
- * Convert a data descriptor to accessor descriptor.
- */
-
-function convertDataDescriptorToAccessor(obj, prop, message) {
- var descriptor = Object.getOwnPropertyDescriptor(obj, prop)
- var value = descriptor.value
-
- descriptor.get = function getter() { return value }
-
- if (descriptor.writable) {
- descriptor.set = function setter(val) { return value = val }
- }
-
- delete descriptor.value
- delete descriptor.writable
-
- Object.defineProperty(obj, prop, descriptor)
-
- return descriptor
-}
-
-/**
- * Create arguments string to keep arity.
- */
-
-function createArgumentsString(arity) {
- var str = ''
-
- for (var i = 0; i < arity; i++) {
- str += ', arg' + i
- }
-
- return str.substr(2)
-}
-
-/**
- * Create stack string from stack.
- */
-
-function createStackString(stack) {
- var str = this.name + ': ' + this.namespace
-
- if (this.message) {
- str += ' deprecated ' + this.message
- }
-
- for (var i = 0; i < stack.length; i++) {
- str += '\n at ' + callSiteToString(stack[i])
- }
-
- return str
-}
-
-/**
- * Create deprecate for namespace in caller.
- */
-
-function depd(namespace) {
- if (!namespace) {
- throw new TypeError('argument namespace is required')
- }
-
- var stack = getStack()
- var site = callSiteLocation(stack[1])
- var file = site[0]
-
- function deprecate(message) {
- // call to self as log
- log.call(deprecate, message)
- }
-
- deprecate._file = file
- deprecate._ignored = isignored(namespace)
- deprecate._namespace = namespace
- deprecate._traced = istraced(namespace)
- deprecate._warned = Object.create(null)
-
- deprecate.function = wrapfunction
- deprecate.property = wrapproperty
-
- return deprecate
-}
-
-/**
- * Determine if namespace is ignored.
- */
-
-function isignored(namespace) {
- /* istanbul ignore next: tested in a child processs */
- if (process.noDeprecation) {
- // --no-deprecation support
- return true
- }
-
- var str = process.env.NO_DEPRECATION || ''
-
- // namespace ignored
- return containsNamespace(str, namespace)
-}
-
-/**
- * Determine if namespace is traced.
- */
-
-function istraced(namespace) {
- /* istanbul ignore next: tested in a child processs */
- if (process.traceDeprecation) {
- // --trace-deprecation support
- return true
- }
-
- var str = process.env.TRACE_DEPRECATION || ''
-
- // namespace traced
- return containsNamespace(str, namespace)
-}
-
-/**
- * Display deprecation message.
- */
-
-function log(message, site) {
- var haslisteners = eventListenerCount(process, 'deprecation') !== 0
-
- // abort early if no destination
- if (!haslisteners && this._ignored) {
- return
- }
-
- var caller
- var callFile
- var callSite
- var i = 0
- var seen = false
- var stack = getStack()
- var file = this._file
-
- if (site) {
- // provided site
- callSite = callSiteLocation(stack[1])
- callSite.name = site.name
- file = callSite[0]
- } else {
- // get call site
- i = 2
- site = callSiteLocation(stack[i])
- callSite = site
- }
-
- // get caller of deprecated thing in relation to file
- for (; i < stack.length; i++) {
- caller = callSiteLocation(stack[i])
- callFile = caller[0]
-
- if (callFile === file) {
- seen = true
- } else if (callFile === this._file) {
- file = this._file
- } else if (seen) {
- break
- }
- }
-
- var key = caller
- ? site.join(':') + '__' + caller.join(':')
- : undefined
-
- if (key !== undefined && key in this._warned) {
- // already warned
- return
- }
-
- this._warned[key] = true
-
- // generate automatic message from call site
- if (!message) {
- message = callSite === site || !callSite.name
- ? defaultMessage(site)
- : defaultMessage(callSite)
- }
-
- // emit deprecation if listeners exist
- if (haslisteners) {
- var err = DeprecationError(this._namespace, message, stack.slice(i))
- process.emit('deprecation', err)
- return
- }
-
- // format and write message
- var format = process.stderr.isTTY
- ? formatColor
- : formatPlain
- var msg = format.call(this, message, caller, stack.slice(i))
- process.stderr.write(msg + '\n', 'utf8')
-
- return
-}
-
-/**
- * Get call site location as array.
- */
-
-function callSiteLocation(callSite) {
- var file = callSite.getFileName() || ''
- var line = callSite.getLineNumber()
- var colm = callSite.getColumnNumber()
-
- if (callSite.isEval()) {
- file = callSite.getEvalOrigin() + ', ' + file
- }
-
- var site = [file, line, colm]
-
- site.callSite = callSite
- site.name = callSite.getFunctionName()
-
- return site
-}
-
-/**
- * Generate a default message from the site.
- */
-
-function defaultMessage(site) {
- var callSite = site.callSite
- var funcName = site.name
- var typeName = callSite.getTypeName()
-
- // make useful anonymous name
- if (!funcName) {
- funcName = ''
- }
-
- // make useful type name
- if (typeName === 'Function') {
- typeName = callSite.getThis().name || typeName
- }
-
- return callSite.getMethodName()
- ? typeName + '.' + funcName
- : funcName
-}
-
-/**
- * Format deprecation message without color.
- */
-
-function formatPlain(msg, caller, stack) {
- var timestamp = new Date().toUTCString()
-
- var formatted = timestamp
- + ' ' + this._namespace
- + ' deprecated ' + msg
-
- // add stack trace
- if (this._traced) {
- for (var i = 0; i < stack.length; i++) {
- formatted += '\n at ' + callSiteToString(stack[i])
- }
-
- return formatted
- }
-
- if (caller) {
- formatted += ' at ' + formatLocation(caller)
- }
-
- return formatted
-}
-
-/**
- * Format deprecation message with color.
- */
-
-function formatColor(msg, caller, stack) {
- var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' // bold cyan
- + ' \x1b[33;1mdeprecated\x1b[22;39m' // bold yellow
- + ' \x1b[0m' + msg + '\x1b[39m' // reset
-
- // add stack trace
- if (this._traced) {
- for (var i = 0; i < stack.length; i++) {
- formatted += '\n \x1b[36mat ' + callSiteToString(stack[i]) + '\x1b[39m' // cyan
- }
-
- return formatted
- }
-
- if (caller) {
- formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan
- }
-
- return formatted
-}
-
-/**
- * Format call site location.
- */
-
-function formatLocation(callSite) {
- return relative(basePath, callSite[0])
- + ':' + callSite[1]
- + ':' + callSite[2]
-}
-
-/**
- * Get the stack as array of call sites.
- */
-
-function getStack() {
- var limit = Error.stackTraceLimit
- var obj = {}
- var prep = Error.prepareStackTrace
-
- Error.prepareStackTrace = prepareObjectStackTrace
- Error.stackTraceLimit = Math.max(10, limit)
-
- // capture the stack
- Error.captureStackTrace(obj)
-
- // slice this function off the top
- var stack = obj.stack.slice(1)
-
- Error.prepareStackTrace = prep
- Error.stackTraceLimit = limit
-
- return stack
-}
-
-/**
- * Capture call site stack from v8.
- */
-
-function prepareObjectStackTrace(obj, stack) {
- return stack
-}
-
-/**
- * Return a wrapped function in a deprecation message.
- */
-
-function wrapfunction(fn, message) {
- if (typeof fn !== 'function') {
- throw new TypeError('argument fn must be a function')
- }
-
- var args = createArgumentsString(fn.length)
- var deprecate = this
- var stack = getStack()
- var site = callSiteLocation(stack[1])
-
- site.name = fn.name
-
- var deprecatedfn = eval('(function (' + args + ') {\n'
- + '"use strict"\n'
- + 'log.call(deprecate, message, site)\n'
- + 'return fn.apply(this, arguments)\n'
- + '})')
-
- return deprecatedfn
-}
-
-/**
- * Wrap property in a deprecation message.
- */
-
-function wrapproperty(obj, prop, message) {
- if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
- throw new TypeError('argument obj must be object')
- }
-
- var descriptor = Object.getOwnPropertyDescriptor(obj, prop)
-
- if (!descriptor) {
- throw new TypeError('must call property on owner object')
- }
-
- if (!descriptor.configurable) {
- throw new TypeError('property must be configurable')
- }
-
- var deprecate = this
- var stack = getStack()
- var site = callSiteLocation(stack[1])
-
- // set site name
- site.name = prop
-
- // convert data descriptor
- if ('value' in descriptor) {
- descriptor = convertDataDescriptorToAccessor(obj, prop, message)
- }
-
- var get = descriptor.get
- var set = descriptor.set
-
- // wrap getter
- if (typeof get === 'function') {
- descriptor.get = function getter() {
- log.call(deprecate, message, site)
- return get.apply(this, arguments)
- }
- }
-
- // wrap setter
- if (typeof set === 'function') {
- descriptor.set = function setter() {
- log.call(deprecate, message, site)
- return set.apply(this, arguments)
- }
- }
-
- Object.defineProperty(obj, prop, descriptor)
-}
-
-/**
- * Create DeprecationError for deprecation
- */
-
-function DeprecationError(namespace, message, stack) {
- var error = new Error()
- var stackString
-
- Object.defineProperty(error, 'constructor', {
- value: DeprecationError
- })
-
- Object.defineProperty(error, 'message', {
- configurable: true,
- enumerable: false,
- value: message,
- writable: true
- })
-
- Object.defineProperty(error, 'name', {
- enumerable: false,
- configurable: true,
- value: 'DeprecationError',
- writable: true
- })
-
- Object.defineProperty(error, 'namespace', {
- configurable: true,
- enumerable: false,
- value: namespace,
- writable: true
- })
-
- Object.defineProperty(error, 'stack', {
- configurable: true,
- enumerable: false,
- get: function () {
- if (stackString !== undefined) {
- return stackString
- }
-
- // prepare stack trace
- return stackString = createStackString.call(this, stack)
- },
- set: function setter(val) {
- stackString = val
- }
- })
-
- return error
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/buffer-concat.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/buffer-concat.js
deleted file mode 100644
index 09d9721..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/buffer-concat.js
+++ /dev/null
@@ -1,33 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module exports.
- */
-
-module.exports = bufferConcat
-
-/**
- * Concatenate an array of Buffers.
- */
-
-function bufferConcat(bufs) {
- var length = 0
-
- for (var i = 0, len = bufs.length; i < len; i++) {
- length += bufs[i].length
- }
-
- var buf = new Buffer(length)
- var pos = 0
-
- for (var i = 0, len = bufs.length; i < len; i++) {
- bufs[i].copy(buf, pos)
- pos += bufs[i].length
- }
-
- return buf
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/callsite-tostring.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/callsite-tostring.js
deleted file mode 100644
index 17cf7ed..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/callsite-tostring.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module exports.
- */
-
-module.exports = callSiteToString
-
-/**
- * Format a CallSite file location to a string.
- */
-
-function callSiteFileLocation(callSite) {
- var fileName
- var fileLocation = ''
-
- if (callSite.isNative()) {
- fileLocation = 'native'
- } else if (callSite.isEval()) {
- fileName = callSite.getScriptNameOrSourceURL()
- if (!fileName) {
- fileLocation = callSite.getEvalOrigin()
- }
- } else {
- fileName = callSite.getFileName()
- }
-
- if (fileName) {
- fileLocation += fileName
-
- var lineNumber = callSite.getLineNumber()
- if (lineNumber != null) {
- fileLocation += ':' + lineNumber
-
- var columnNumber = callSite.getColumnNumber()
- if (columnNumber) {
- fileLocation += ':' + columnNumber
- }
- }
- }
-
- return fileLocation || 'unknown source'
-}
-
-/**
- * Format a CallSite to a string.
- */
-
-function callSiteToString(callSite) {
- var addSuffix = true
- var fileLocation = callSiteFileLocation(callSite)
- var functionName = callSite.getFunctionName()
- var isConstructor = callSite.isConstructor()
- var isMethodCall = !(callSite.isToplevel() || isConstructor)
- var line = ''
-
- if (isMethodCall) {
- var methodName = callSite.getMethodName()
- var typeName = getConstructorName(callSite)
-
- if (functionName) {
- if (typeName && functionName.indexOf(typeName) !== 0) {
- line += typeName + '.'
- }
-
- line += functionName
-
- if (methodName && functionName.lastIndexOf('.' + methodName) !== functionName.length - methodName.length - 1) {
- line += ' [as ' + methodName + ']'
- }
- } else {
- line += typeName + '.' + (methodName || '')
- }
- } else if (isConstructor) {
- line += 'new ' + (functionName || '')
- } else if (functionName) {
- line += functionName
- } else {
- addSuffix = false
- line += fileLocation
- }
-
- if (addSuffix) {
- line += ' (' + fileLocation + ')'
- }
-
- return line
-}
-
-/**
- * Get constructor name of reviver.
- */
-
-function getConstructorName(obj) {
- var receiver = obj.receiver
- return (receiver.constructor && receiver.constructor.name) || null
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/index.js
deleted file mode 100644
index 7fee026..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/lib/compat/index.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module exports.
- */
-
-lazyProperty(module.exports, 'bufferConcat', function bufferConcat() {
- return Buffer.concat || require('./buffer-concat')
-})
-
-lazyProperty(module.exports, 'callSiteToString', function callSiteToString() {
- var limit = Error.stackTraceLimit
- var obj = {}
- var prep = Error.prepareStackTrace
-
- function prepareObjectStackTrace(obj, stack) {
- return stack
- }
-
- Error.prepareStackTrace = prepareObjectStackTrace
- Error.stackTraceLimit = 2
-
- // capture the stack
- Error.captureStackTrace(obj)
-
- // slice the stack
- var stack = obj.stack.slice()
-
- Error.prepareStackTrace = prep
- Error.stackTraceLimit = limit
-
- return stack[0].toString ? toString : require('./callsite-tostring')
-})
-
-/**
- * Define a lazy property.
- */
-
-function lazyProperty(obj, prop, getter) {
- function get() {
- var val = getter()
-
- Object.defineProperty(obj, prop, {
- configurable: true,
- enumerable: true,
- value: val
- })
-
- return val
- }
-
- Object.defineProperty(obj, prop, {
- configurable: true,
- enumerable: true,
- get: get
- })
-}
-
-/**
- * Call toString() on the obj
- */
-
-function toString(obj) {
- return obj.toString()
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/package.json
deleted file mode 100644
index b72bf60..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/depd/package.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "name": "depd",
- "description": "Deprecate all the things",
- "version": "1.0.0",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "license": "MIT",
- "keywords": [
- "deprecate",
- "deprecated"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/dougwilson/nodejs-depd"
- },
- "devDependencies": {
- "benchmark": "1.0.0",
- "beautify-benchmark": "0.2.4",
- "istanbul": "0.3.2",
- "mocha": "~1.21.4",
- "should": "~4.0.4"
- },
- "files": [
- "lib/",
- "History.md",
- "LICENSE",
- "index.js",
- "Readme.md"
- ],
- "engines": {
- "node": ">= 0.6"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "test": "mocha --reporter spec --bail --require should test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should test/"
- },
- "gitHead": "08b5a2182c8c1fdf7420e4ff8532bfd7e266a7b2",
- "bugs": {
- "url": "https://github.com/dougwilson/nodejs-depd/issues"
- },
- "homepage": "https://github.com/dougwilson/nodejs-depd",
- "_id": "depd@1.0.0",
- "_shasum": "2fda0d00e98aae2845d4991ab1bf1f2a199073d5",
- "_from": "depd@~1.0.0",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "dist": {
- "shasum": "2fda0d00e98aae2845d4991ab1bf1f2a199073d5",
- "tarball": "http://registry.npmjs.org/depd/-/depd-1.0.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/depd/-/depd-1.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/README.md
deleted file mode 100644
index 665acb7..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# Destroy
-
-[![NPM version][npm-image]][npm-url]
-[![Build status][travis-image]][travis-url]
-[![Test coverage][coveralls-image]][coveralls-url]
-[![Dependency Status][david-image]][david-url]
-[![License][license-image]][license-url]
-[![Downloads][downloads-image]][downloads-url]
-[![Gittip][gittip-image]][gittip-url]
-
-Destroy a stream.
-
-## API
-
-```js
-var destroy = require('destroy')
-
-var fs = require('fs')
-var stream = fs.createReadStream('package.json')
-destroy(stream)
-```
-
-[npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square
-[npm-url]: https://npmjs.org/package/destroy
-[github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square
-[github-url]: https://github.com/stream-utils/destroy/tags
-[travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square
-[travis-url]: https://travis-ci.org/stream-utils/destroy
-[coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square
-[coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master
-[david-image]: http://img.shields.io/david/stream-utils/destroy.svg?style=flat-square
-[david-url]: https://david-dm.org/stream-utils/destroy
-[license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square
-[license-url]: LICENSE.md
-[downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square
-[downloads-url]: https://npmjs.org/package/destroy
-[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
-[gittip-url]: https://www.gittip.com/jonathanong/
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/index.js
deleted file mode 100644
index b455217..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/index.js
+++ /dev/null
@@ -1,36 +0,0 @@
-var ReadStream = require('fs').ReadStream
-var Stream = require('stream')
-
-module.exports = function destroy(stream) {
- if (stream instanceof ReadStream) {
- return destroyReadStream(stream)
- }
-
- if (!(stream instanceof Stream)) {
- return stream
- }
-
- if (typeof stream.destroy === 'function') {
- stream.destroy()
- }
-
- return stream
-}
-
-function destroyReadStream(stream) {
- stream.destroy()
-
- if (typeof stream.close === 'function') {
- // node.js core bug work-around
- stream.on('open', onopenClose)
- }
-
- return stream
-}
-
-function onopenClose() {
- if (typeof this.fd === 'number') {
- // actually close down the fd
- this.close()
- }
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/package.json
deleted file mode 100644
index c88380a..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/destroy/package.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "name": "destroy",
- "description": "destroy a stream if possible",
- "version": "1.0.3",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/stream-utils/destroy"
- },
- "devDependencies": {
- "istanbul": "0",
- "mocha": "1"
- },
- "scripts": {
- "test": "mocha --reporter spec",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "stream",
- "streams",
- "destroy",
- "cleanup",
- "leak",
- "fd"
- ],
- "gitHead": "50af95ece4a70202f9301bc3edc8f9fdbbad0f26",
- "bugs": {
- "url": "https://github.com/stream-utils/destroy/issues"
- },
- "homepage": "https://github.com/stream-utils/destroy",
- "_id": "destroy@1.0.3",
- "_shasum": "b433b4724e71fd8551d9885174851c5fc377e2c9",
- "_from": "destroy@1.0.3",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- },
- "maintainers": [
- {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- }
- ],
- "dist": {
- "shasum": "b433b4724e71fd8551d9885174851c5fc377e2c9",
- "tarball": "http://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/HISTORY.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/HISTORY.md
deleted file mode 100644
index 10cf504..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/HISTORY.md
+++ /dev/null
@@ -1,55 +0,0 @@
-1.5.1 / 2014-11-19
-==================
-
- * deps: crc@3.2.1
- - Minor fixes
-
-1.5.0 / 2014-10-14
-==================
-
- * Improve string performance
- * Slightly improve speed for weak ETags over 1KB
-
-1.4.0 / 2014-09-21
-==================
-
- * Support "fake" stats objects
- * Support Node.js 0.6
-
-1.3.1 / 2014-09-14
-==================
-
- * Use the (new and improved) `crc` for crc32
-
-1.3.0 / 2014-08-29
-==================
-
- * Default strings to strong ETags
- * Improve speed for weak ETags over 1KB
-
-1.2.1 / 2014-08-29
-==================
-
- * Use the (much faster) `buffer-crc32` for crc32
-
-1.2.0 / 2014-08-24
-==================
-
- * Add support for file stat objects
-
-1.1.0 / 2014-08-24
-==================
-
- * Add fast-path for empty entity
- * Add weak ETag generation
- * Shrink size of generated ETags
-
-1.0.1 / 2014-08-24
-==================
-
- * Fix behavior of string containing Unicode
-
-1.0.0 / 2014-05-18
-==================
-
- * Initial release
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/LICENSE
deleted file mode 100644
index b7dce6c..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/README.md
deleted file mode 100644
index 68c16d5..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/README.md
+++ /dev/null
@@ -1,141 +0,0 @@
-# etag
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Create simple ETags
-
-## Installation
-
-```sh
-$ npm install etag
-```
-
-## API
-
-```js
-var etag = require('etag')
-```
-
-### etag(entity, [options])
-
-Generate a strong ETag for the given entity. This should be the complete
-body of the entity. Strings, `Buffer`s, and `fs.Stats` are accepted. By
-default, a strong ETag is generated except for `fs.Stats`, which will
-generate a weak ETag (this can be overwritten by `options.weak`).
-
-```js
-res.setHeader('ETag', etag(body))
-```
-
-#### Options
-
-`etag` accepts these properties in the options object.
-
-##### weak
-
-Specifies if a "strong" or a "weak" ETag will be generated. The ETag can only
-really be a strong as the given input.
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## Benchmark
-
-```bash
-$ npm run-script bench
-
-> etag@1.5.1 bench nodejs-etag
-> node benchmark/index.js
-
-> node benchmark/body0-100b.js
-
- 100B body
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
- 4 tests completed.
-
- buffer - strong x 425,007 ops/sec ±1.47% (184 runs sampled)
-* buffer - weak x 1,009,859 ops/sec ±0.18% (197 runs sampled)
- string - strong x 442,096 ops/sec ±1.20% (181 runs sampled)
- string - weak x 325,063 ops/sec ±0.31% (192 runs sampled)
-
-> node benchmark/body1-1kb.js
-
- 1KB body
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
- 4 tests completed.
-
- buffer - strong x 263,069 ops/sec ±1.60% (190 runs sampled)
-* buffer - weak x 295,732 ops/sec ±0.43% (199 runs sampled)
- string - strong x 274,822 ops/sec ±1.15% (191 runs sampled)
- string - weak x 169,473 ops/sec ±1.59% (194 runs sampled)
-
-> node benchmark/body2-5kb.js
-
- 5KB body
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
- 4 tests completed.
-
- buffer - strong x 104,299 ops/sec ±0.60% (193 runs sampled)
-* buffer - weak x 108,126 ops/sec ±0.65% (196 runs sampled)
- string - strong x 101,736 ops/sec ±0.78% (194 runs sampled)
- string - weak x 101,266 ops/sec ±0.85% (192 runs sampled)
-
-> node benchmark/body3-10kb.js
-
- 10KB body
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
- 4 tests completed.
-
- buffer - strong x 59,007 ops/sec ±0.29% (198 runs sampled)
-* buffer - weak x 60,968 ops/sec ±0.48% (197 runs sampled)
- string - strong x 51,873 ops/sec ±1.78% (178 runs sampled)
- string - weak x 52,307 ops/sec ±2.63% (193 runs sampled)
-
-> node benchmark/body4-100kb.js
-
- 100KB body
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
- 4 tests completed.
-
- buffer - strong x 6,712 ops/sec ±0.11% (198 runs sampled)
-* buffer - weak x 6,716 ops/sec ±0.50% (196 runs sampled)
- string - strong x 6,397 ops/sec ±0.36% (196 runs sampled)
- string - weak x 6,635 ops/sec ±0.15% (198 runs sampled)
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/etag.svg?style=flat
-[npm-url]: https://npmjs.org/package/etag
-[node-version-image]: https://img.shields.io/node/v/etag.svg?style=flat
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/etag.svg?style=flat
-[travis-url]: https://travis-ci.org/jshttp/etag
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/etag.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/jshttp/etag?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/etag.svg?style=flat
-[downloads-url]: https://npmjs.org/package/etag
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/index.js
deleted file mode 100644
index bb05eb7..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/index.js
+++ /dev/null
@@ -1,171 +0,0 @@
-/*!
- * etag
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module exports.
- */
-
-module.exports = etag
-
-/**
- * Module dependencies.
- */
-
-var crc = require('crc').crc32
-var crypto = require('crypto')
-var Stats = require('fs').Stats
-
-/**
- * Module variables.
- */
-
-var crc32threshold = 1000 // 1KB
-var NULL = new Buffer([0])
-var toString = Object.prototype.toString
-
-/**
- * Create a simple ETag.
- *
- * @param {string|Buffer|Stats} entity
- * @param {object} [options]
- * @param {boolean} [options.weak]
- * @return {String}
- * @api public
- */
-
-function etag(entity, options) {
- if (entity == null) {
- throw new TypeError('argument entity is required')
- }
-
- var isStats = isstats(entity)
- var weak = options && typeof options.weak === 'boolean'
- ? options.weak
- : isStats
-
- // support fs.Stats object
- if (isStats) {
- return stattag(entity, weak)
- }
-
- if (typeof entity !== 'string' && !Buffer.isBuffer(entity)) {
- throw new TypeError('argument entity must be string, Buffer, or fs.Stats')
- }
-
- var hash = weak
- ? weakhash(entity)
- : stronghash(entity)
-
- return weak
- ? 'W/"' + hash + '"'
- : '"' + hash + '"'
-}
-
-/**
- * Determine if object is a Stats object.
- *
- * @param {object} obj
- * @return {boolean}
- * @api private
- */
-
-function isstats(obj) {
- // not even an object
- if (obj === null || typeof obj !== 'object') {
- return false
- }
-
- // genuine fs.Stats
- if (obj instanceof Stats) {
- return true
- }
-
- // quack quack
- return 'atime' in obj && toString.call(obj.atime) === '[object Date]'
- && 'ctime' in obj && toString.call(obj.ctime) === '[object Date]'
- && 'mtime' in obj && toString.call(obj.mtime) === '[object Date]'
- && 'ino' in obj && typeof obj.ino === 'number'
- && 'size' in obj && typeof obj.size === 'number'
-}
-
-/**
- * Generate a tag for a stat.
- *
- * @param {Buffer} entity
- * @return {String}
- * @api private
- */
-
-function stattag(stat, weak) {
- var mtime = stat.mtime.toISOString()
- var size = stat.size.toString(16)
-
- if (weak) {
- return 'W/"' + size + '-' + crc(mtime) + '"'
- }
-
- var hash = crypto
- .createHash('md5')
- .update('file', 'utf8')
- .update(NULL)
- .update(size, 'utf8')
- .update(NULL)
- .update(mtime, 'utf8')
- .digest('base64')
-
- return '"' + hash + '"'
-}
-
-/**
- * Generate a strong hash.
- *
- * @param {Buffer} entity
- * @return {String}
- * @api private
- */
-
-function stronghash(entity) {
- if (entity.length === 0) {
- // fast-path empty
- return '1B2M2Y8AsgTpgAmY7PhCfg=='
- }
-
- return crypto
- .createHash('md5')
- .update(entity, 'utf8')
- .digest('base64')
-}
-
-/**
- * Generate a weak hash.
- *
- * @param {Buffer} entity
- * @return {String}
- * @api private
- */
-
-function weakhash(entity) {
- if (entity.length === 0) {
- // fast-path empty
- return '0-0'
- }
-
- var len = typeof entity === 'string'
- ? Buffer.byteLength(entity, 'utf8')
- : entity.length
-
- if (len <= crc32threshold) {
- // crc32 plus length when it's fast
- // crc(str) only accepts utf-8 encoding
- return len.toString(16) + '-' + crc(entity).toString(16)
- }
-
- // use md4 for long strings
- return crypto
- .createHash('md4')
- .update(entity, 'utf8')
- .digest('base64')
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/.npmignore b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/.npmignore
deleted file mode 100644
index 57d4cb8..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-benchmark
-src
-test
-.travis.yml
-bitcoin.png
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/LICENSE
deleted file mode 100644
index c49097c..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright 2014 Alex Gorbatchev
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/README.md
deleted file mode 100644
index 6473cbd..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/README.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# crc
-
-[![GitTip](http://img.shields.io/gittip/alexgorbatchev.svg?style=flat)](https://www.gittip.com/alexgorbatchev/)
-[![Dependency status](http://img.shields.io/david/alexgorbatchev/node-crc.svg?style=flat)](https://david-dm.org/alexgorbatchev/node-crc)
-[![devDependency Status](http://img.shields.io/david/dev/alexgorbatchev/node-crc.svg?style=flat)](https://david-dm.org/alexgorbatchev/node-crc#info=devDependencies)
-[![Build Status](http://img.shields.io/travis/alexgorbatchev/node-crc.svg?style=flat&branch=master)](https://travis-ci.org/alexgorbatchev/node-crc)
-
-[![NPM](https://nodei.co/npm/crc.svg?style=flat)](https://npmjs.org/package/node-crc)
-
-Module for calculating Cyclic Redundancy Check (CRC).
-
-## Features
-
-* Full test suite comparing values against reference `pycrc` implementation.
-* Version 3.x is 3x to 4x faster than version 2.x.
-* Pure JavaScript implementation, no dependencies.
-* Provides CRC Tables for optimized calculations.
-* Provides support for the following CRC algorithms:
- * CRC1 `crc.crc1(…)`
- * CRC8 `crc.crc8(…)`
- * CRC8 1-Wire `crc.crc81wire(…)`
- * CRC16 `crc.crc16(…)`
- * CRC16 CCITT `crc.crc16ccitt(…)`
- * CRC16 Modbus `crc.crc16modbus(…)`
- * CRC24 `crc.crc24(…)`
- * CRC32 `crc.crc32(…)`
-
-## IMPORTANT
-
-If you've used `crc` module prior to version 2.x, you might have some inconsistentcies with the current implementation because it relied on very old code and wasn't checked against reference implementation. If you upgrading from 1.x, please take special care.
-
-## Support
-
- Please support me on [GitTip](https://www.gittip.com/alexgorbatchev/). I've spend days developing and grooming this module and hope to spend more time. If you have bitcoin, please use the QR code or this wallet address [`1CZyBREeHTmy8C5zVGHZHPwqBuWFmEuUCQ`](https://blockchain.info/address/1CZyBREeHTmy8C5zVGHZHPwqBuWFmEuUCQ):
-
-## Installation
-
- npm install crc
-
-## Running tests
-
- $ npm install
- $ npm test
-
-## Usage Example
-
-Calculate a CRC32:
-
- var crc = require('crc');
-
- crc.crc32('hello').toString(16);
- # => "3610a686"
-
-Calculate a CRC32 of a file:
-
- crc.crc32(fs.readFileSync('README.md', 'utf8')).toString(16);
- # => "127ad531"
-
-Or using a `Buffer`:
-
- crc.crc32(fs.readFileSync('README.md')).toString(16);
- # => "127ad531"
-
-Incrementally calculate a CRC32:
-
- value = crc32('one');
- value = crc32('two', value);
- value = crc32('three', value);
- value.toString(16);
- # => "09e1c092"
-
-## Thanks!
-
-[pycrc](http://www.tty1.net/pycrc/) library is which the source of all of the CRC tables.
-
-# License
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Alex Gorbatchev
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc.js
deleted file mode 100644
index 1c342b7..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc.js
+++ /dev/null
@@ -1,71 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var CRC, hex;
-
-hex = require('./hex');
-
-module.exports = CRC = (function() {
- CRC.prototype.INIT_CRC = 0x00;
-
- CRC.prototype.XOR_MASK = 0x00;
-
- CRC.prototype.WIDTH = 0;
-
- CRC.prototype.pack = function(crc) {
- return '';
- };
-
- CRC.prototype.each_byte = function(buf, cb) {
- var i, _i, _ref, _results;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- _results = [];
- for (i = _i = 0, _ref = buf.length - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
- _results.push(cb(buf[i]));
- }
- return _results;
- };
-
- function CRC() {
- this.crc = this.INIT_CRC;
- }
-
- CRC.prototype.digest_length = function() {
- return Math.ceil(this.WIDTH / 8.0);
- };
-
- CRC.prototype.update = function(data) {};
-
- CRC.prototype.reset = function() {
- return this.crc = this.INIT_CRC;
- };
-
- CRC.prototype.checksum = function(signed) {
- var sum;
- if (signed == null) {
- signed = true;
- }
- sum = this.crc ^ this.XOR_MASK;
- if (signed) {
- sum = sum >>> 0;
- }
- return sum;
- };
-
- CRC.prototype.finish = function() {
- return this.pack(this.checksum());
- };
-
- CRC.prototype.hexdigest = function(value) {
- var result;
- if (value != null) {
- this.update(value);
- }
- result = this.finish();
- this.reset();
- return result;
- };
-
- return CRC;
-
-})();
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc1.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc1.js
deleted file mode 100644
index f094567..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc1.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-module.exports = create('crc1', function(buf, previous) {
- var accum, byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = ~~previous;
- accum = 0;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- accum += byte;
- }
- crc += accum % 256;
- return crc % 256;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16.js
deleted file mode 100644
index a09cd1e..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, TABLE, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-TABLE = [0x0000, 0xc0c1, 0xc181, 0x0140, 0xc301, 0x03c0, 0x0280, 0xc241, 0xc601, 0x06c0, 0x0780, 0xc741, 0x0500, 0xc5c1, 0xc481, 0x0440, 0xcc01, 0x0cc0, 0x0d80, 0xcd41, 0x0f00, 0xcfc1, 0xce81, 0x0e40, 0x0a00, 0xcac1, 0xcb81, 0x0b40, 0xc901, 0x09c0, 0x0880, 0xc841, 0xd801, 0x18c0, 0x1980, 0xd941, 0x1b00, 0xdbc1, 0xda81, 0x1a40, 0x1e00, 0xdec1, 0xdf81, 0x1f40, 0xdd01, 0x1dc0, 0x1c80, 0xdc41, 0x1400, 0xd4c1, 0xd581, 0x1540, 0xd701, 0x17c0, 0x1680, 0xd641, 0xd201, 0x12c0, 0x1380, 0xd341, 0x1100, 0xd1c1, 0xd081, 0x1040, 0xf001, 0x30c0, 0x3180, 0xf141, 0x3300, 0xf3c1, 0xf281, 0x3240, 0x3600, 0xf6c1, 0xf781, 0x3740, 0xf501, 0x35c0, 0x3480, 0xf441, 0x3c00, 0xfcc1, 0xfd81, 0x3d40, 0xff01, 0x3fc0, 0x3e80, 0xfe41, 0xfa01, 0x3ac0, 0x3b80, 0xfb41, 0x3900, 0xf9c1, 0xf881, 0x3840, 0x2800, 0xe8c1, 0xe981, 0x2940, 0xeb01, 0x2bc0, 0x2a80, 0xea41, 0xee01, 0x2ec0, 0x2f80, 0xef41, 0x2d00, 0xedc1, 0xec81, 0x2c40, 0xe401, 0x24c0, 0x2580, 0xe541, 0x2700, 0xe7c1, 0xe681, 0x2640, 0x2200, 0xe2c1, 0xe381, 0x2340, 0xe101, 0x21c0, 0x2080, 0xe041, 0xa001, 0x60c0, 0x6180, 0xa141, 0x6300, 0xa3c1, 0xa281, 0x6240, 0x6600, 0xa6c1, 0xa781, 0x6740, 0xa501, 0x65c0, 0x6480, 0xa441, 0x6c00, 0xacc1, 0xad81, 0x6d40, 0xaf01, 0x6fc0, 0x6e80, 0xae41, 0xaa01, 0x6ac0, 0x6b80, 0xab41, 0x6900, 0xa9c1, 0xa881, 0x6840, 0x7800, 0xb8c1, 0xb981, 0x7940, 0xbb01, 0x7bc0, 0x7a80, 0xba41, 0xbe01, 0x7ec0, 0x7f80, 0xbf41, 0x7d00, 0xbdc1, 0xbc81, 0x7c40, 0xb401, 0x74c0, 0x7580, 0xb541, 0x7700, 0xb7c1, 0xb681, 0x7640, 0x7200, 0xb2c1, 0xb381, 0x7340, 0xb101, 0x71c0, 0x7080, 0xb041, 0x5000, 0x90c1, 0x9181, 0x5140, 0x9301, 0x53c0, 0x5280, 0x9241, 0x9601, 0x56c0, 0x5780, 0x9741, 0x5500, 0x95c1, 0x9481, 0x5440, 0x9c01, 0x5cc0, 0x5d80, 0x9d41, 0x5f00, 0x9fc1, 0x9e81, 0x5e40, 0x5a00, 0x9ac1, 0x9b81, 0x5b40, 0x9901, 0x59c0, 0x5880, 0x9841, 0x8801, 0x48c0, 0x4980, 0x8941, 0x4b00, 0x8bc1, 0x8a81, 0x4a40, 0x4e00, 0x8ec1, 0x8f81, 0x4f40, 0x8d01, 0x4dc0, 0x4c80, 0x8c41, 0x4400, 0x84c1, 0x8581, 0x4540, 0x8701, 0x47c0, 0x4680, 0x8641, 0x8201, 0x42c0, 0x4380, 0x8341, 0x4100, 0x81c1, 0x8081, 0x4040];
-
-if (typeof Int32Array !== 'undefined') {
- TABLE = new Int32Array(TABLE);
-}
-
-module.exports = create('crc-16', function(buf, previous) {
- var byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = ~~previous;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- crc = (TABLE[(crc ^ byte) & 0xff] ^ (crc >> 8)) & 0xffff;
- }
- return crc;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_ccitt.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_ccitt.js
deleted file mode 100644
index 0bdb0bf..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_ccitt.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, TABLE, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-TABLE = [0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7, 0x8108, 0x9129, 0xa14a, 0xb16b, 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef, 0x1231, 0x0210, 0x3273, 0x2252, 0x52b5, 0x4294, 0x72f7, 0x62d6, 0x9339, 0x8318, 0xb37b, 0xa35a, 0xd3bd, 0xc39c, 0xf3ff, 0xe3de, 0x2462, 0x3443, 0x0420, 0x1401, 0x64e6, 0x74c7, 0x44a4, 0x5485, 0xa56a, 0xb54b, 0x8528, 0x9509, 0xe5ee, 0xf5cf, 0xc5ac, 0xd58d, 0x3653, 0x2672, 0x1611, 0x0630, 0x76d7, 0x66f6, 0x5695, 0x46b4, 0xb75b, 0xa77a, 0x9719, 0x8738, 0xf7df, 0xe7fe, 0xd79d, 0xc7bc, 0x48c4, 0x58e5, 0x6886, 0x78a7, 0x0840, 0x1861, 0x2802, 0x3823, 0xc9cc, 0xd9ed, 0xe98e, 0xf9af, 0x8948, 0x9969, 0xa90a, 0xb92b, 0x5af5, 0x4ad4, 0x7ab7, 0x6a96, 0x1a71, 0x0a50, 0x3a33, 0x2a12, 0xdbfd, 0xcbdc, 0xfbbf, 0xeb9e, 0x9b79, 0x8b58, 0xbb3b, 0xab1a, 0x6ca6, 0x7c87, 0x4ce4, 0x5cc5, 0x2c22, 0x3c03, 0x0c60, 0x1c41, 0xedae, 0xfd8f, 0xcdec, 0xddcd, 0xad2a, 0xbd0b, 0x8d68, 0x9d49, 0x7e97, 0x6eb6, 0x5ed5, 0x4ef4, 0x3e13, 0x2e32, 0x1e51, 0x0e70, 0xff9f, 0xefbe, 0xdfdd, 0xcffc, 0xbf1b, 0xaf3a, 0x9f59, 0x8f78, 0x9188, 0x81a9, 0xb1ca, 0xa1eb, 0xd10c, 0xc12d, 0xf14e, 0xe16f, 0x1080, 0x00a1, 0x30c2, 0x20e3, 0x5004, 0x4025, 0x7046, 0x6067, 0x83b9, 0x9398, 0xa3fb, 0xb3da, 0xc33d, 0xd31c, 0xe37f, 0xf35e, 0x02b1, 0x1290, 0x22f3, 0x32d2, 0x4235, 0x5214, 0x6277, 0x7256, 0xb5ea, 0xa5cb, 0x95a8, 0x8589, 0xf56e, 0xe54f, 0xd52c, 0xc50d, 0x34e2, 0x24c3, 0x14a0, 0x0481, 0x7466, 0x6447, 0x5424, 0x4405, 0xa7db, 0xb7fa, 0x8799, 0x97b8, 0xe75f, 0xf77e, 0xc71d, 0xd73c, 0x26d3, 0x36f2, 0x0691, 0x16b0, 0x6657, 0x7676, 0x4615, 0x5634, 0xd94c, 0xc96d, 0xf90e, 0xe92f, 0x99c8, 0x89e9, 0xb98a, 0xa9ab, 0x5844, 0x4865, 0x7806, 0x6827, 0x18c0, 0x08e1, 0x3882, 0x28a3, 0xcb7d, 0xdb5c, 0xeb3f, 0xfb1e, 0x8bf9, 0x9bd8, 0xabbb, 0xbb9a, 0x4a75, 0x5a54, 0x6a37, 0x7a16, 0x0af1, 0x1ad0, 0x2ab3, 0x3a92, 0xfd2e, 0xed0f, 0xdd6c, 0xcd4d, 0xbdaa, 0xad8b, 0x9de8, 0x8dc9, 0x7c26, 0x6c07, 0x5c64, 0x4c45, 0x3ca2, 0x2c83, 0x1ce0, 0x0cc1, 0xef1f, 0xff3e, 0xcf5d, 0xdf7c, 0xaf9b, 0xbfba, 0x8fd9, 0x9ff8, 0x6e17, 0x7e36, 0x4e55, 0x5e74, 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0];
-
-if (typeof Int32Array !== 'undefined') {
- TABLE = new Int32Array(TABLE);
-}
-
-module.exports = create('ccitt', function(buf, previous) {
- var byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = previous != null ? ~~previous : 0xffff;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- crc = (TABLE[((crc >> 8) ^ byte) & 0xff] ^ (crc << 8)) & 0xffff;
- }
- return crc;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_modbus.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_modbus.js
deleted file mode 100644
index 52a536a..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc16_modbus.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, TABLE, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-TABLE = [0x0000, 0xc0c1, 0xc181, 0x0140, 0xc301, 0x03c0, 0x0280, 0xc241, 0xc601, 0x06c0, 0x0780, 0xc741, 0x0500, 0xc5c1, 0xc481, 0x0440, 0xcc01, 0x0cc0, 0x0d80, 0xcd41, 0x0f00, 0xcfc1, 0xce81, 0x0e40, 0x0a00, 0xcac1, 0xcb81, 0x0b40, 0xc901, 0x09c0, 0x0880, 0xc841, 0xd801, 0x18c0, 0x1980, 0xd941, 0x1b00, 0xdbc1, 0xda81, 0x1a40, 0x1e00, 0xdec1, 0xdf81, 0x1f40, 0xdd01, 0x1dc0, 0x1c80, 0xdc41, 0x1400, 0xd4c1, 0xd581, 0x1540, 0xd701, 0x17c0, 0x1680, 0xd641, 0xd201, 0x12c0, 0x1380, 0xd341, 0x1100, 0xd1c1, 0xd081, 0x1040, 0xf001, 0x30c0, 0x3180, 0xf141, 0x3300, 0xf3c1, 0xf281, 0x3240, 0x3600, 0xf6c1, 0xf781, 0x3740, 0xf501, 0x35c0, 0x3480, 0xf441, 0x3c00, 0xfcc1, 0xfd81, 0x3d40, 0xff01, 0x3fc0, 0x3e80, 0xfe41, 0xfa01, 0x3ac0, 0x3b80, 0xfb41, 0x3900, 0xf9c1, 0xf881, 0x3840, 0x2800, 0xe8c1, 0xe981, 0x2940, 0xeb01, 0x2bc0, 0x2a80, 0xea41, 0xee01, 0x2ec0, 0x2f80, 0xef41, 0x2d00, 0xedc1, 0xec81, 0x2c40, 0xe401, 0x24c0, 0x2580, 0xe541, 0x2700, 0xe7c1, 0xe681, 0x2640, 0x2200, 0xe2c1, 0xe381, 0x2340, 0xe101, 0x21c0, 0x2080, 0xe041, 0xa001, 0x60c0, 0x6180, 0xa141, 0x6300, 0xa3c1, 0xa281, 0x6240, 0x6600, 0xa6c1, 0xa781, 0x6740, 0xa501, 0x65c0, 0x6480, 0xa441, 0x6c00, 0xacc1, 0xad81, 0x6d40, 0xaf01, 0x6fc0, 0x6e80, 0xae41, 0xaa01, 0x6ac0, 0x6b80, 0xab41, 0x6900, 0xa9c1, 0xa881, 0x6840, 0x7800, 0xb8c1, 0xb981, 0x7940, 0xbb01, 0x7bc0, 0x7a80, 0xba41, 0xbe01, 0x7ec0, 0x7f80, 0xbf41, 0x7d00, 0xbdc1, 0xbc81, 0x7c40, 0xb401, 0x74c0, 0x7580, 0xb541, 0x7700, 0xb7c1, 0xb681, 0x7640, 0x7200, 0xb2c1, 0xb381, 0x7340, 0xb101, 0x71c0, 0x7080, 0xb041, 0x5000, 0x90c1, 0x9181, 0x5140, 0x9301, 0x53c0, 0x5280, 0x9241, 0x9601, 0x56c0, 0x5780, 0x9741, 0x5500, 0x95c1, 0x9481, 0x5440, 0x9c01, 0x5cc0, 0x5d80, 0x9d41, 0x5f00, 0x9fc1, 0x9e81, 0x5e40, 0x5a00, 0x9ac1, 0x9b81, 0x5b40, 0x9901, 0x59c0, 0x5880, 0x9841, 0x8801, 0x48c0, 0x4980, 0x8941, 0x4b00, 0x8bc1, 0x8a81, 0x4a40, 0x4e00, 0x8ec1, 0x8f81, 0x4f40, 0x8d01, 0x4dc0, 0x4c80, 0x8c41, 0x4400, 0x84c1, 0x8581, 0x4540, 0x8701, 0x47c0, 0x4680, 0x8641, 0x8201, 0x42c0, 0x4380, 0x8341, 0x4100, 0x81c1, 0x8081, 0x4040];
-
-if (typeof Int32Array !== 'undefined') {
- TABLE = new Int32Array(TABLE);
-}
-
-module.exports = create('crc-16-modbus', function(buf, previous) {
- var byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = previous != null ? ~~previous : 0xffff;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- crc = (TABLE[(crc ^ byte) & 0xff] ^ (crc >> 8)) & 0xffff;
- }
- return crc;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc24.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc24.js
deleted file mode 100644
index ff67bc1..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc24.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, TABLE, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-TABLE = [0x000000, 0x864cfb, 0x8ad50d, 0x0c99f6, 0x93e6e1, 0x15aa1a, 0x1933ec, 0x9f7f17, 0xa18139, 0x27cdc2, 0x2b5434, 0xad18cf, 0x3267d8, 0xb42b23, 0xb8b2d5, 0x3efe2e, 0xc54e89, 0x430272, 0x4f9b84, 0xc9d77f, 0x56a868, 0xd0e493, 0xdc7d65, 0x5a319e, 0x64cfb0, 0xe2834b, 0xee1abd, 0x685646, 0xf72951, 0x7165aa, 0x7dfc5c, 0xfbb0a7, 0x0cd1e9, 0x8a9d12, 0x8604e4, 0x00481f, 0x9f3708, 0x197bf3, 0x15e205, 0x93aefe, 0xad50d0, 0x2b1c2b, 0x2785dd, 0xa1c926, 0x3eb631, 0xb8faca, 0xb4633c, 0x322fc7, 0xc99f60, 0x4fd39b, 0x434a6d, 0xc50696, 0x5a7981, 0xdc357a, 0xd0ac8c, 0x56e077, 0x681e59, 0xee52a2, 0xe2cb54, 0x6487af, 0xfbf8b8, 0x7db443, 0x712db5, 0xf7614e, 0x19a3d2, 0x9fef29, 0x9376df, 0x153a24, 0x8a4533, 0x0c09c8, 0x00903e, 0x86dcc5, 0xb822eb, 0x3e6e10, 0x32f7e6, 0xb4bb1d, 0x2bc40a, 0xad88f1, 0xa11107, 0x275dfc, 0xdced5b, 0x5aa1a0, 0x563856, 0xd074ad, 0x4f0bba, 0xc94741, 0xc5deb7, 0x43924c, 0x7d6c62, 0xfb2099, 0xf7b96f, 0x71f594, 0xee8a83, 0x68c678, 0x645f8e, 0xe21375, 0x15723b, 0x933ec0, 0x9fa736, 0x19ebcd, 0x8694da, 0x00d821, 0x0c41d7, 0x8a0d2c, 0xb4f302, 0x32bff9, 0x3e260f, 0xb86af4, 0x2715e3, 0xa15918, 0xadc0ee, 0x2b8c15, 0xd03cb2, 0x567049, 0x5ae9bf, 0xdca544, 0x43da53, 0xc596a8, 0xc90f5e, 0x4f43a5, 0x71bd8b, 0xf7f170, 0xfb6886, 0x7d247d, 0xe25b6a, 0x641791, 0x688e67, 0xeec29c, 0x3347a4, 0xb50b5f, 0xb992a9, 0x3fde52, 0xa0a145, 0x26edbe, 0x2a7448, 0xac38b3, 0x92c69d, 0x148a66, 0x181390, 0x9e5f6b, 0x01207c, 0x876c87, 0x8bf571, 0x0db98a, 0xf6092d, 0x7045d6, 0x7cdc20, 0xfa90db, 0x65efcc, 0xe3a337, 0xef3ac1, 0x69763a, 0x578814, 0xd1c4ef, 0xdd5d19, 0x5b11e2, 0xc46ef5, 0x42220e, 0x4ebbf8, 0xc8f703, 0x3f964d, 0xb9dab6, 0xb54340, 0x330fbb, 0xac70ac, 0x2a3c57, 0x26a5a1, 0xa0e95a, 0x9e1774, 0x185b8f, 0x14c279, 0x928e82, 0x0df195, 0x8bbd6e, 0x872498, 0x016863, 0xfad8c4, 0x7c943f, 0x700dc9, 0xf64132, 0x693e25, 0xef72de, 0xe3eb28, 0x65a7d3, 0x5b59fd, 0xdd1506, 0xd18cf0, 0x57c00b, 0xc8bf1c, 0x4ef3e7, 0x426a11, 0xc426ea, 0x2ae476, 0xaca88d, 0xa0317b, 0x267d80, 0xb90297, 0x3f4e6c, 0x33d79a, 0xb59b61, 0x8b654f, 0x0d29b4, 0x01b042, 0x87fcb9, 0x1883ae, 0x9ecf55, 0x9256a3, 0x141a58, 0xefaaff, 0x69e604, 0x657ff2, 0xe33309, 0x7c4c1e, 0xfa00e5, 0xf69913, 0x70d5e8, 0x4e2bc6, 0xc8673d, 0xc4fecb, 0x42b230, 0xddcd27, 0x5b81dc, 0x57182a, 0xd154d1, 0x26359f, 0xa07964, 0xace092, 0x2aac69, 0xb5d37e, 0x339f85, 0x3f0673, 0xb94a88, 0x87b4a6, 0x01f85d, 0x0d61ab, 0x8b2d50, 0x145247, 0x921ebc, 0x9e874a, 0x18cbb1, 0xe37b16, 0x6537ed, 0x69ae1b, 0xefe2e0, 0x709df7, 0xf6d10c, 0xfa48fa, 0x7c0401, 0x42fa2f, 0xc4b6d4, 0xc82f22, 0x4e63d9, 0xd11cce, 0x575035, 0x5bc9c3, 0xdd8538];
-
-if (typeof Int32Array !== 'undefined') {
- TABLE = new Int32Array(TABLE);
-}
-
-module.exports = create('crc-24', function(buf, previous) {
- var byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = previous != null ? ~~previous : 0xb704ce;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- crc = (TABLE[((crc >> 16) ^ byte) & 0xff] ^ (crc << 8)) & 0xffffff;
- }
- return crc;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc32.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc32.js
deleted file mode 100644
index 20bc024..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc32.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, TABLE, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-TABLE = [0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de, 0x1adad47d, 0x6ddde4eb, 0xf4d4b551, 0x83d385c7, 0x136c9856, 0x646ba8c0, 0xfd62f97a, 0x8a65c9ec, 0x14015c4f, 0x63066cd9, 0xfa0f3d63, 0x8d080df5, 0x3b6e20c8, 0x4c69105e, 0xd56041e4, 0xa2677172, 0x3c03e4d1, 0x4b04d447, 0xd20d85fd, 0xa50ab56b, 0x35b5a8fa, 0x42b2986c, 0xdbbbc9d6, 0xacbcf940, 0x32d86ce3, 0x45df5c75, 0xdcd60dcf, 0xabd13d59, 0x26d930ac, 0x51de003a, 0xc8d75180, 0xbfd06116, 0x21b4f4b5, 0x56b3c423, 0xcfba9599, 0xb8bda50f, 0x2802b89e, 0x5f058808, 0xc60cd9b2, 0xb10be924, 0x2f6f7c87, 0x58684c11, 0xc1611dab, 0xb6662d3d, 0x76dc4190, 0x01db7106, 0x98d220bc, 0xefd5102a, 0x71b18589, 0x06b6b51f, 0x9fbfe4a5, 0xe8b8d433, 0x7807c9a2, 0x0f00f934, 0x9609a88e, 0xe10e9818, 0x7f6a0dbb, 0x086d3d2d, 0x91646c97, 0xe6635c01, 0x6b6b51f4, 0x1c6c6162, 0x856530d8, 0xf262004e, 0x6c0695ed, 0x1b01a57b, 0x8208f4c1, 0xf50fc457, 0x65b0d9c6, 0x12b7e950, 0x8bbeb8ea, 0xfcb9887c, 0x62dd1ddf, 0x15da2d49, 0x8cd37cf3, 0xfbd44c65, 0x4db26158, 0x3ab551ce, 0xa3bc0074, 0xd4bb30e2, 0x4adfa541, 0x3dd895d7, 0xa4d1c46d, 0xd3d6f4fb, 0x4369e96a, 0x346ed9fc, 0xad678846, 0xda60b8d0, 0x44042d73, 0x33031de5, 0xaa0a4c5f, 0xdd0d7cc9, 0x5005713c, 0x270241aa, 0xbe0b1010, 0xc90c2086, 0x5768b525, 0x206f85b3, 0xb966d409, 0xce61e49f, 0x5edef90e, 0x29d9c998, 0xb0d09822, 0xc7d7a8b4, 0x59b33d17, 0x2eb40d81, 0xb7bd5c3b, 0xc0ba6cad, 0xedb88320, 0x9abfb3b6, 0x03b6e20c, 0x74b1d29a, 0xead54739, 0x9dd277af, 0x04db2615, 0x73dc1683, 0xe3630b12, 0x94643b84, 0x0d6d6a3e, 0x7a6a5aa8, 0xe40ecf0b, 0x9309ff9d, 0x0a00ae27, 0x7d079eb1, 0xf00f9344, 0x8708a3d2, 0x1e01f268, 0x6906c2fe, 0xf762575d, 0x806567cb, 0x196c3671, 0x6e6b06e7, 0xfed41b76, 0x89d32be0, 0x10da7a5a, 0x67dd4acc, 0xf9b9df6f, 0x8ebeeff9, 0x17b7be43, 0x60b08ed5, 0xd6d6a3e8, 0xa1d1937e, 0x38d8c2c4, 0x4fdff252, 0xd1bb67f1, 0xa6bc5767, 0x3fb506dd, 0x48b2364b, 0xd80d2bda, 0xaf0a1b4c, 0x36034af6, 0x41047a60, 0xdf60efc3, 0xa867df55, 0x316e8eef, 0x4669be79, 0xcb61b38c, 0xbc66831a, 0x256fd2a0, 0x5268e236, 0xcc0c7795, 0xbb0b4703, 0x220216b9, 0x5505262f, 0xc5ba3bbe, 0xb2bd0b28, 0x2bb45a92, 0x5cb36a04, 0xc2d7ffa7, 0xb5d0cf31, 0x2cd99e8b, 0x5bdeae1d, 0x9b64c2b0, 0xec63f226, 0x756aa39c, 0x026d930a, 0x9c0906a9, 0xeb0e363f, 0x72076785, 0x05005713, 0x95bf4a82, 0xe2b87a14, 0x7bb12bae, 0x0cb61b38, 0x92d28e9b, 0xe5d5be0d, 0x7cdcefb7, 0x0bdbdf21, 0x86d3d2d4, 0xf1d4e242, 0x68ddb3f8, 0x1fda836e, 0x81be16cd, 0xf6b9265b, 0x6fb077e1, 0x18b74777, 0x88085ae6, 0xff0f6a70, 0x66063bca, 0x11010b5c, 0x8f659eff, 0xf862ae69, 0x616bffd3, 0x166ccf45, 0xa00ae278, 0xd70dd2ee, 0x4e048354, 0x3903b3c2, 0xa7672661, 0xd06016f7, 0x4969474d, 0x3e6e77db, 0xaed16a4a, 0xd9d65adc, 0x40df0b66, 0x37d83bf0, 0xa9bcae53, 0xdebb9ec5, 0x47b2cf7f, 0x30b5ffe9, 0xbdbdf21c, 0xcabac28a, 0x53b39330, 0x24b4a3a6, 0xbad03605, 0xcdd70693, 0x54de5729, 0x23d967bf, 0xb3667a2e, 0xc4614ab8, 0x5d681b02, 0x2a6f2b94, 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d];
-
-if (typeof Int32Array !== 'undefined') {
- TABLE = new Int32Array(TABLE);
-}
-
-module.exports = create('crc-32', function(buf, previous) {
- var byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = previous === 0 ? 0 : ~~previous ^ -1;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- crc = TABLE[(crc ^ byte) & 0xff] ^ (crc >>> 8);
- }
- return crc ^ -1;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8.js
deleted file mode 100644
index 6ebe77c..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, TABLE, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-TABLE = [0x00, 0x07, 0x0e, 0x09, 0x1c, 0x1b, 0x12, 0x15, 0x38, 0x3f, 0x36, 0x31, 0x24, 0x23, 0x2a, 0x2d, 0x70, 0x77, 0x7e, 0x79, 0x6c, 0x6b, 0x62, 0x65, 0x48, 0x4f, 0x46, 0x41, 0x54, 0x53, 0x5a, 0x5d, 0xe0, 0xe7, 0xee, 0xe9, 0xfc, 0xfb, 0xf2, 0xf5, 0xd8, 0xdf, 0xd6, 0xd1, 0xc4, 0xc3, 0xca, 0xcd, 0x90, 0x97, 0x9e, 0x99, 0x8c, 0x8b, 0x82, 0x85, 0xa8, 0xaf, 0xa6, 0xa1, 0xb4, 0xb3, 0xba, 0xbd, 0xc7, 0xc0, 0xc9, 0xce, 0xdb, 0xdc, 0xd5, 0xd2, 0xff, 0xf8, 0xf1, 0xf6, 0xe3, 0xe4, 0xed, 0xea, 0xb7, 0xb0, 0xb9, 0xbe, 0xab, 0xac, 0xa5, 0xa2, 0x8f, 0x88, 0x81, 0x86, 0x93, 0x94, 0x9d, 0x9a, 0x27, 0x20, 0x29, 0x2e, 0x3b, 0x3c, 0x35, 0x32, 0x1f, 0x18, 0x11, 0x16, 0x03, 0x04, 0x0d, 0x0a, 0x57, 0x50, 0x59, 0x5e, 0x4b, 0x4c, 0x45, 0x42, 0x6f, 0x68, 0x61, 0x66, 0x73, 0x74, 0x7d, 0x7a, 0x89, 0x8e, 0x87, 0x80, 0x95, 0x92, 0x9b, 0x9c, 0xb1, 0xb6, 0xbf, 0xb8, 0xad, 0xaa, 0xa3, 0xa4, 0xf9, 0xfe, 0xf7, 0xf0, 0xe5, 0xe2, 0xeb, 0xec, 0xc1, 0xc6, 0xcf, 0xc8, 0xdd, 0xda, 0xd3, 0xd4, 0x69, 0x6e, 0x67, 0x60, 0x75, 0x72, 0x7b, 0x7c, 0x51, 0x56, 0x5f, 0x58, 0x4d, 0x4a, 0x43, 0x44, 0x19, 0x1e, 0x17, 0x10, 0x05, 0x02, 0x0b, 0x0c, 0x21, 0x26, 0x2f, 0x28, 0x3d, 0x3a, 0x33, 0x34, 0x4e, 0x49, 0x40, 0x47, 0x52, 0x55, 0x5c, 0x5b, 0x76, 0x71, 0x78, 0x7f, 0x6a, 0x6d, 0x64, 0x63, 0x3e, 0x39, 0x30, 0x37, 0x22, 0x25, 0x2c, 0x2b, 0x06, 0x01, 0x08, 0x0f, 0x1a, 0x1d, 0x14, 0x13, 0xae, 0xa9, 0xa0, 0xa7, 0xb2, 0xb5, 0xbc, 0xbb, 0x96, 0x91, 0x98, 0x9f, 0x8a, 0x8d, 0x84, 0x83, 0xde, 0xd9, 0xd0, 0xd7, 0xc2, 0xc5, 0xcc, 0xcb, 0xe6, 0xe1, 0xe8, 0xef, 0xfa, 0xfd, 0xf4, 0xf3];
-
-if (typeof Int32Array !== 'undefined') {
- TABLE = new Int32Array(TABLE);
-}
-
-module.exports = create('crc-8', function(buf, previous) {
- var byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = ~~previous;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- crc = TABLE[(crc ^ byte) & 0xff] & 0xff;
- }
- return crc;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8_1wire.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8_1wire.js
deleted file mode 100644
index b561246..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/crc8_1wire.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-var Buffer, TABLE, create;
-
-Buffer = require('buffer').Buffer;
-
-create = require('./create');
-
-TABLE = [0x00, 0x5e, 0xbc, 0xe2, 0x61, 0x3f, 0xdd, 0x83, 0xc2, 0x9c, 0x7e, 0x20, 0xa3, 0xfd, 0x1f, 0x41, 0x9d, 0xc3, 0x21, 0x7f, 0xfc, 0xa2, 0x40, 0x1e, 0x5f, 0x01, 0xe3, 0xbd, 0x3e, 0x60, 0x82, 0xdc, 0x23, 0x7d, 0x9f, 0xc1, 0x42, 0x1c, 0xfe, 0xa0, 0xe1, 0xbf, 0x5d, 0x03, 0x80, 0xde, 0x3c, 0x62, 0xbe, 0xe0, 0x02, 0x5c, 0xdf, 0x81, 0x63, 0x3d, 0x7c, 0x22, 0xc0, 0x9e, 0x1d, 0x43, 0xa1, 0xff, 0x46, 0x18, 0xfa, 0xa4, 0x27, 0x79, 0x9b, 0xc5, 0x84, 0xda, 0x38, 0x66, 0xe5, 0xbb, 0x59, 0x07, 0xdb, 0x85, 0x67, 0x39, 0xba, 0xe4, 0x06, 0x58, 0x19, 0x47, 0xa5, 0xfb, 0x78, 0x26, 0xc4, 0x9a, 0x65, 0x3b, 0xd9, 0x87, 0x04, 0x5a, 0xb8, 0xe6, 0xa7, 0xf9, 0x1b, 0x45, 0xc6, 0x98, 0x7a, 0x24, 0xf8, 0xa6, 0x44, 0x1a, 0x99, 0xc7, 0x25, 0x7b, 0x3a, 0x64, 0x86, 0xd8, 0x5b, 0x05, 0xe7, 0xb9, 0x8c, 0xd2, 0x30, 0x6e, 0xed, 0xb3, 0x51, 0x0f, 0x4e, 0x10, 0xf2, 0xac, 0x2f, 0x71, 0x93, 0xcd, 0x11, 0x4f, 0xad, 0xf3, 0x70, 0x2e, 0xcc, 0x92, 0xd3, 0x8d, 0x6f, 0x31, 0xb2, 0xec, 0x0e, 0x50, 0xaf, 0xf1, 0x13, 0x4d, 0xce, 0x90, 0x72, 0x2c, 0x6d, 0x33, 0xd1, 0x8f, 0x0c, 0x52, 0xb0, 0xee, 0x32, 0x6c, 0x8e, 0xd0, 0x53, 0x0d, 0xef, 0xb1, 0xf0, 0xae, 0x4c, 0x12, 0x91, 0xcf, 0x2d, 0x73, 0xca, 0x94, 0x76, 0x28, 0xab, 0xf5, 0x17, 0x49, 0x08, 0x56, 0xb4, 0xea, 0x69, 0x37, 0xd5, 0x8b, 0x57, 0x09, 0xeb, 0xb5, 0x36, 0x68, 0x8a, 0xd4, 0x95, 0xcb, 0x29, 0x77, 0xf4, 0xaa, 0x48, 0x16, 0xe9, 0xb7, 0x55, 0x0b, 0x88, 0xd6, 0x34, 0x6a, 0x2b, 0x75, 0x97, 0xc9, 0x4a, 0x14, 0xf6, 0xa8, 0x74, 0x2a, 0xc8, 0x96, 0x15, 0x4b, 0xa9, 0xf7, 0xb6, 0xe8, 0x0a, 0x54, 0xd7, 0x89, 0x6b, 0x35];
-
-if (typeof Int32Array !== 'undefined') {
- TABLE = new Int32Array(TABLE);
-}
-
-module.exports = create('dallas-1-wire', function(buf, previous) {
- var byte, crc, _i, _len;
- if (!Buffer.isBuffer(buf)) {
- buf = Buffer(buf);
- }
- crc = ~~previous;
- for (_i = 0, _len = buf.length; _i < _len; _i++) {
- byte = buf[_i];
- crc = TABLE[(crc ^ byte) & 0xff] & 0xff;
- }
- return crc;
-});
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/create.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/create.js
deleted file mode 100644
index 2d856bd..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/create.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-module.exports = function(model, calc) {
- var fn;
- fn = function(buf, previous) {
- return calc(buf, previous) >>> 0;
- };
- fn.signed = calc;
- fn.unsigned = fn;
- fn.model = model;
- return fn;
-};
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/hex.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/hex.js
deleted file mode 100644
index 0a6aa4c..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/hex.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-module.exports = function(number) {
- var result;
- result = number.toString(16);
- while (result.length % 2) {
- result = "0" + result;
- }
- return result;
-};
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/index.js
deleted file mode 100644
index 15ac34c..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/lib/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// Generated by CoffeeScript 1.7.1
-module.exports = {
- crc1: require('./crc1'),
- crc8: require('./crc8'),
- crc81wire: require('./crc8_1wire'),
- crc16: require('./crc16'),
- crc16ccitt: require('./crc16_ccitt'),
- crc16modbus: require('./crc16_modbus'),
- crc24: require('./crc24'),
- crc32: require('./crc32')
-};
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/package.json
deleted file mode 100644
index b0ceb1e..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/node_modules/crc/package.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "name": "crc",
- "version": "3.2.1",
- "description": "Various CRC JavaScript implementations",
- "keywords": [
- "crc"
- ],
- "main": "./lib/index.js",
- "scripts": {
- "test": "mocha test/*.spec.coffee",
- "pretest": "coffee --bare --output ./lib --compile ./src/*.coffee"
- },
- "author": {
- "name": "Alex Gorbatchev",
- "url": "https://github.com/alexgorbatchev"
- },
- "devDependencies": {
- "beautify-benchmark": "^0.2.4",
- "benchmark": "^1.0.0",
- "buffer-crc32": "^0.2.3",
- "chai": "~1.9.1",
- "coffee-errors": "~0.8.6",
- "coffee-script": "~1.7.1",
- "mocha": "*",
- "seedrandom": "^2.3.6"
- },
- "homepage": "https://github.com/alexgorbatchev/node-crc",
- "bugs": {
- "url": "https://github.com/alexgorbatchev/node-crc/issues"
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/alexgorbatchev/node-crc.git"
- },
- "license": "MIT",
- "gitHead": "71caf362b061992bfe4ca8706ee264e764d2e88e",
- "_id": "crc@3.2.1",
- "_shasum": "5d9c8fb77a245cd5eca291e5d2d005334bab0082",
- "_from": "crc@3.2.1",
- "_npmVersion": "1.4.13",
- "_npmUser": {
- "name": "alexgorbatchev",
- "email": "alex.gorbatchev@gmail.com"
- },
- "maintainers": [
- {
- "name": "alexgorbatchev",
- "email": "alex.gorbatchev@gmail.com"
- }
- ],
- "dist": {
- "shasum": "5d9c8fb77a245cd5eca291e5d2d005334bab0082",
- "tarball": "http://registry.npmjs.org/crc/-/crc-3.2.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/crc/-/crc-3.2.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/package.json
deleted file mode 100644
index 4b9e201..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/etag/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "name": "etag",
- "description": "Create simple ETags",
- "version": "1.5.1",
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "David Björklund",
- "email": "david.bjorklund@gmail.com"
- }
- ],
- "license": "MIT",
- "keywords": [
- "etag",
- "http",
- "res"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/jshttp/etag"
- },
- "dependencies": {
- "crc": "3.2.1"
- },
- "devDependencies": {
- "benchmark": "1.0.0",
- "beautify-benchmark": "0.2.4",
- "istanbul": "0.3.2",
- "mocha": "~1.21.4",
- "seedrandom": "~2.3.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.6"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "gitHead": "27335e2265388109e50a9f037452081dc8a8260f",
- "bugs": {
- "url": "https://github.com/jshttp/etag/issues"
- },
- "homepage": "https://github.com/jshttp/etag",
- "_id": "etag@1.5.1",
- "_shasum": "54c50de04ee42695562925ac566588291be7e9ea",
- "_from": "etag@~1.5.0",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "dist": {
- "shasum": "54c50de04ee42695562925ac566588291be7e9ea",
- "tarball": "http://registry.npmjs.org/etag/-/etag-1.5.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/etag/-/etag-1.5.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/HISTORY.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/HISTORY.md
deleted file mode 100644
index 56361df..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/HISTORY.md
+++ /dev/null
@@ -1,24 +0,0 @@
-0.2.4 / 2014-09-07
-==================
-
- * Support Node.js 0.6
-
-0.2.3 / 2014-09-07
-==================
-
- * Move repository to jshttp
-
-0.2.2 / 2014-02-19
-==================
-
- * Revert "Fix for blank page on Safari reload"
-
-0.2.1 / 2014-01-29
-==================
-
- * fix: support max-age=0 for end-to-end revalidation
-
-0.2.0 / 2013-08-11
-==================
-
- * fix: return false for no-cache
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/LICENSE
deleted file mode 100644
index f527394..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012 TJ Holowaychuk
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/README.md
deleted file mode 100644
index 54a885f..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/README.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# fresh
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-HTTP response freshness testing
-
-## Installation
-
-```
-$ npm install fresh
-```
-
-## API
-
-```js
-var fresh = require('fresh')
-```
-
-### fresh(req, res)
-
- Check freshness of `req` and `res` headers.
-
- When the cache is "fresh" __true__ is returned,
- otherwise __false__ is returned to indicate that
- the cache is now stale.
-
-## Example
-
-```js
-var req = { 'if-none-match': 'tobi' };
-var res = { 'etag': 'luna' };
-fresh(req, res);
-// => false
-
-var req = { 'if-none-match': 'tobi' };
-var res = { 'etag': 'tobi' };
-fresh(req, res);
-// => true
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/fresh.svg?style=flat
-[npm-url]: https://npmjs.org/package/fresh
-[node-version-image]: https://img.shields.io/badge/node.js-%3E%3D_0.6-brightgreen.svg?style=flat
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/fresh.svg?style=flat
-[travis-url]: https://travis-ci.org/jshttp/fresh
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/fresh.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/jshttp/fresh?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/fresh.svg?style=flat
-[downloads-url]: https://npmjs.org/package/fresh
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/index.js
deleted file mode 100644
index 9c3f47d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/index.js
+++ /dev/null
@@ -1,53 +0,0 @@
-
-/**
- * Expose `fresh()`.
- */
-
-module.exports = fresh;
-
-/**
- * Check freshness of `req` and `res` headers.
- *
- * When the cache is "fresh" __true__ is returned,
- * otherwise __false__ is returned to indicate that
- * the cache is now stale.
- *
- * @param {Object} req
- * @param {Object} res
- * @return {Boolean}
- * @api public
- */
-
-function fresh(req, res) {
- // defaults
- var etagMatches = true;
- var notModified = true;
-
- // fields
- var modifiedSince = req['if-modified-since'];
- var noneMatch = req['if-none-match'];
- var lastModified = res['last-modified'];
- var etag = res['etag'];
- var cc = req['cache-control'];
-
- // unconditional request
- if (!modifiedSince && !noneMatch) return false;
-
- // check for no-cache cache request directive
- if (cc && cc.indexOf('no-cache') !== -1) return false;
-
- // parse if-none-match
- if (noneMatch) noneMatch = noneMatch.split(/ *, */);
-
- // if-none-match
- if (noneMatch) etagMatches = ~noneMatch.indexOf(etag) || '*' == noneMatch[0];
-
- // if-modified-since
- if (modifiedSince) {
- modifiedSince = new Date(modifiedSince);
- lastModified = new Date(lastModified);
- notModified = lastModified <= modifiedSince;
- }
-
- return !! (etagMatches && notModified);
-}
\ No newline at end of file
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/package.json
deleted file mode 100644
index a153522..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/fresh/package.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "name": "fresh",
- "description": "HTTP response freshness testing",
- "version": "0.2.4",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca",
- "url": "http://tjholowaychuk.com"
- },
- "license": "MIT",
- "keywords": [
- "fresh",
- "http",
- "conditional",
- "cache"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/jshttp/fresh"
- },
- "devDependencies": {
- "istanbul": "0",
- "mocha": "1",
- "should": "3"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.6"
- },
- "scripts": {
- "test": "mocha --reporter spec --require should",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot --require should"
- },
- "gitHead": "8440a4ca75fb091dec06e88654b3b1c31d7e7164",
- "bugs": {
- "url": "https://github.com/jshttp/fresh/issues"
- },
- "homepage": "https://github.com/jshttp/fresh",
- "_id": "fresh@0.2.4",
- "_shasum": "3582499206c9723714190edd74b4604feb4a614c",
- "_from": "fresh@0.2.4",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- {
- "name": "jonathanong",
- "email": "jonathanrichardong@gmail.com"
- },
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- }
- ],
- "dist": {
- "shasum": "3582499206c9723714190edd74b4604feb4a614c",
- "tarball": "http://registry.npmjs.org/fresh/-/fresh-0.2.4.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/fresh/-/fresh-0.2.4.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/LICENSE
deleted file mode 100644
index 451fc45..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/README.md
deleted file mode 100644
index 6ca19bd..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/README.md
+++ /dev/null
@@ -1,66 +0,0 @@
-# mime
-
-Comprehensive MIME type mapping API. Includes all 600+ types and 800+ extensions defined by the Apache project, plus additional types submitted by the node.js community.
-
-## Install
-
-Install with [npm](http://github.com/isaacs/npm):
-
- npm install mime
-
-## API - Queries
-
-### mime.lookup(path)
-Get the mime type associated with a file, if no mime type is found `application/octet-stream` is returned. Performs a case-insensitive lookup using the extension in `path` (the substring after the last '/' or '.'). E.g.
-
- var mime = require('mime');
-
- mime.lookup('/path/to/file.txt'); // => 'text/plain'
- mime.lookup('file.txt'); // => 'text/plain'
- mime.lookup('.TXT'); // => 'text/plain'
- mime.lookup('htm'); // => 'text/html'
-
-### mime.default_type
-Sets the mime type returned when `mime.lookup` fails to find the extension searched for. (Default is `application/octet-stream`.)
-
-### mime.extension(type)
-Get the default extension for `type`
-
- mime.extension('text/html'); // => 'html'
- mime.extension('application/octet-stream'); // => 'bin'
-
-### mime.charsets.lookup()
-
-Map mime-type to charset
-
- mime.charsets.lookup('text/plain'); // => 'UTF-8'
-
-(The logic for charset lookups is pretty rudimentary. Feel free to suggest improvements.)
-
-## API - Defining Custom Types
-
-The following APIs allow you to add your own type mappings within your project. If you feel a type should be included as part of node-mime, see [requesting new types](https://github.com/broofa/node-mime/wiki/Requesting-New-Types).
-
-### mime.define()
-
-Add custom mime/extension mappings
-
- mime.define({
- 'text/x-some-format': ['x-sf', 'x-sft', 'x-sfml'],
- 'application/x-my-type': ['x-mt', 'x-mtt'],
- // etc ...
- });
-
- mime.lookup('x-sft'); // => 'text/x-some-format'
-
-The first entry in the extensions array is returned by `mime.extension()`. E.g.
-
- mime.extension('text/x-some-format'); // => 'x-sf'
-
-### mime.load(filepath)
-
-Load mappings from an Apache ".types" format file
-
- mime.load('./my_project.types');
-
-The .types file format is simple - See the `types` dir for examples.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/mime.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/mime.js
deleted file mode 100644
index 48be0c5..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/mime.js
+++ /dev/null
@@ -1,114 +0,0 @@
-var path = require('path');
-var fs = require('fs');
-
-function Mime() {
- // Map of extension -> mime type
- this.types = Object.create(null);
-
- // Map of mime type -> extension
- this.extensions = Object.create(null);
-}
-
-/**
- * Define mimetype -> extension mappings. Each key is a mime-type that maps
- * to an array of extensions associated with the type. The first extension is
- * used as the default extension for the type.
- *
- * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']});
- *
- * @param map (Object) type definitions
- */
-Mime.prototype.define = function (map) {
- for (var type in map) {
- var exts = map[type];
-
- for (var i = 0; i < exts.length; i++) {
- if (process.env.DEBUG_MIME && this.types[exts]) {
- console.warn(this._loading.replace(/.*\//, ''), 'changes "' + exts[i] + '" extension type from ' +
- this.types[exts] + ' to ' + type);
- }
-
- this.types[exts[i]] = type;
- }
-
- // Default extension is the first one we encounter
- if (!this.extensions[type]) {
- this.extensions[type] = exts[0];
- }
- }
-};
-
-/**
- * Load an Apache2-style ".types" file
- *
- * This may be called multiple times (it's expected). Where files declare
- * overlapping types/extensions, the last file wins.
- *
- * @param file (String) path of file to load.
- */
-Mime.prototype.load = function(file) {
-
- this._loading = file;
- // Read file and split into lines
- var map = {},
- content = fs.readFileSync(file, 'ascii'),
- lines = content.split(/[\r\n]+/);
-
- lines.forEach(function(line) {
- // Clean up whitespace/comments, and split into fields
- var fields = line.replace(/\s*#.*|^\s*|\s*$/g, '').split(/\s+/);
- map[fields.shift()] = fields;
- });
-
- this.define(map);
-
- this._loading = null;
-};
-
-/**
- * Lookup a mime type based on extension
- */
-Mime.prototype.lookup = function(path, fallback) {
- var ext = path.replace(/.*[\.\/\\]/, '').toLowerCase();
-
- return this.types[ext] || fallback || this.default_type;
-};
-
-/**
- * Return file extension associated with a mime type
- */
-Mime.prototype.extension = function(mimeType) {
- var type = mimeType.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase();
- return this.extensions[type];
-};
-
-// Default instance
-var mime = new Mime();
-
-// Load local copy of
-// http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
-mime.load(path.join(__dirname, 'types/mime.types'));
-
-// Load additional types from node.js community
-mime.load(path.join(__dirname, 'types/node.types'));
-
-// Default type
-mime.default_type = mime.lookup('bin');
-
-//
-// Additional API specific to the default instance
-//
-
-mime.Mime = Mime;
-
-/**
- * Lookup a charset based on mime type.
- */
-mime.charsets = {
- lookup: function(mimeType, fallback) {
- // Assume text types are utf8
- return (/^text\//).test(mimeType) ? 'UTF-8' : fallback;
- }
-};
-
-module.exports = mime;
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/package.json
deleted file mode 100644
index 917e6af..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/package.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "author": {
- "name": "Robert Kieffer",
- "email": "robert@broofa.com",
- "url": "http://github.com/broofa"
- },
- "contributors": [
- {
- "name": "Benjamin Thomas",
- "email": "benjamin@benjaminthomas.org",
- "url": "http://github.com/bentomas"
- }
- ],
- "dependencies": {},
- "description": "A comprehensive library for mime-type mapping",
- "devDependencies": {},
- "keywords": [
- "util",
- "mime"
- ],
- "main": "mime.js",
- "name": "mime",
- "repository": {
- "url": "https://github.com/broofa/node-mime",
- "type": "git"
- },
- "version": "1.2.11",
- "readme": "# mime\n\nComprehensive MIME type mapping API. Includes all 600+ types and 800+ extensions defined by the Apache project, plus additional types submitted by the node.js community.\n\n## Install\n\nInstall with [npm](http://github.com/isaacs/npm):\n\n npm install mime\n\n## API - Queries\n\n### mime.lookup(path)\nGet the mime type associated with a file, if no mime type is found `application/octet-stream` is returned. Performs a case-insensitive lookup using the extension in `path` (the substring after the last '/' or '.'). E.g.\n\n var mime = require('mime');\n\n mime.lookup('/path/to/file.txt'); // => 'text/plain'\n mime.lookup('file.txt'); // => 'text/plain'\n mime.lookup('.TXT'); // => 'text/plain'\n mime.lookup('htm'); // => 'text/html'\n\n### mime.default_type\nSets the mime type returned when `mime.lookup` fails to find the extension searched for. (Default is `application/octet-stream`.)\n\n### mime.extension(type)\nGet the default extension for `type`\n\n mime.extension('text/html'); // => 'html'\n mime.extension('application/octet-stream'); // => 'bin'\n\n### mime.charsets.lookup()\n\nMap mime-type to charset\n\n mime.charsets.lookup('text/plain'); // => 'UTF-8'\n\n(The logic for charset lookups is pretty rudimentary. Feel free to suggest improvements.)\n\n## API - Defining Custom Types\n\nThe following APIs allow you to add your own type mappings within your project. If you feel a type should be included as part of node-mime, see [requesting new types](https://github.com/broofa/node-mime/wiki/Requesting-New-Types).\n\n### mime.define()\n\nAdd custom mime/extension mappings\n\n mime.define({\n 'text/x-some-format': ['x-sf', 'x-sft', 'x-sfml'],\n 'application/x-my-type': ['x-mt', 'x-mtt'],\n // etc ...\n });\n\n mime.lookup('x-sft'); // => 'text/x-some-format'\n\nThe first entry in the extensions array is returned by `mime.extension()`. E.g.\n\n mime.extension('text/x-some-format'); // => 'x-sf'\n\n### mime.load(filepath)\n\nLoad mappings from an Apache \".types\" format file\n\n mime.load('./my_project.types');\n\nThe .types file format is simple - See the `types` dir for examples.\n",
- "readmeFilename": "README.md",
- "bugs": {
- "url": "https://github.com/broofa/node-mime/issues"
- },
- "_id": "mime@1.2.11",
- "dist": {
- "shasum": "58203eed86e3a5ef17aed2b7d9ebd47f0a60dd10",
- "tarball": "http://registry.npmjs.org/mime/-/mime-1.2.11.tgz"
- },
- "_from": "mime@1.2.11",
- "_npmVersion": "1.3.6",
- "_npmUser": {
- "name": "broofa",
- "email": "robert@broofa.com"
- },
- "maintainers": [
- {
- "name": "broofa",
- "email": "robert@broofa.com"
- },
- {
- "name": "bentomas",
- "email": "benjamin@benjaminthomas.org"
- }
- ],
- "directories": {},
- "_shasum": "58203eed86e3a5ef17aed2b7d9ebd47f0a60dd10",
- "_resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
- "homepage": "https://github.com/broofa/node-mime"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/test.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/test.js
deleted file mode 100644
index 2cda1c7..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/test.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * Usage: node test.js
- */
-
-var mime = require('./mime');
-var assert = require('assert');
-var path = require('path');
-
-function eq(a, b) {
- console.log('Test: ' + a + ' === ' + b);
- assert.strictEqual.apply(null, arguments);
-}
-
-console.log(Object.keys(mime.extensions).length + ' types');
-console.log(Object.keys(mime.types).length + ' extensions\n');
-
-//
-// Test mime lookups
-//
-
-eq('text/plain', mime.lookup('text.txt')); // normal file
-eq('text/plain', mime.lookup('TEXT.TXT')); // uppercase
-eq('text/plain', mime.lookup('dir/text.txt')); // dir + file
-eq('text/plain', mime.lookup('.text.txt')); // hidden file
-eq('text/plain', mime.lookup('.txt')); // nameless
-eq('text/plain', mime.lookup('txt')); // extension-only
-eq('text/plain', mime.lookup('/txt')); // extension-less ()
-eq('text/plain', mime.lookup('\\txt')); // Windows, extension-less
-eq('application/octet-stream', mime.lookup('text.nope')); // unrecognized
-eq('fallback', mime.lookup('text.fallback', 'fallback')); // alternate default
-
-//
-// Test extensions
-//
-
-eq('txt', mime.extension(mime.types.text));
-eq('html', mime.extension(mime.types.htm));
-eq('bin', mime.extension('application/octet-stream'));
-eq('bin', mime.extension('application/octet-stream '));
-eq('html', mime.extension(' text/html; charset=UTF-8'));
-eq('html', mime.extension('text/html; charset=UTF-8 '));
-eq('html', mime.extension('text/html; charset=UTF-8'));
-eq('html', mime.extension('text/html ; charset=UTF-8'));
-eq('html', mime.extension('text/html;charset=UTF-8'));
-eq('html', mime.extension('text/Html;charset=UTF-8'));
-eq(undefined, mime.extension('unrecognized'));
-
-//
-// Test node.types lookups
-//
-
-eq('application/font-woff', mime.lookup('file.woff'));
-eq('application/octet-stream', mime.lookup('file.buffer'));
-eq('audio/mp4', mime.lookup('file.m4a'));
-eq('font/opentype', mime.lookup('file.otf'));
-
-//
-// Test charsets
-//
-
-eq('UTF-8', mime.charsets.lookup('text/plain'));
-eq(undefined, mime.charsets.lookup(mime.types.js));
-eq('fallback', mime.charsets.lookup('application/octet-stream', 'fallback'));
-
-//
-// Test for overlaps between mime.types and node.types
-//
-
-var apacheTypes = new mime.Mime(), nodeTypes = new mime.Mime();
-apacheTypes.load(path.join(__dirname, 'types/mime.types'));
-nodeTypes.load(path.join(__dirname, 'types/node.types'));
-
-var keys = [].concat(Object.keys(apacheTypes.types))
- .concat(Object.keys(nodeTypes.types));
-keys.sort();
-for (var i = 1; i < keys.length; i++) {
- if (keys[i] == keys[i-1]) {
- console.warn('Warning: ' +
- 'node.types defines ' + keys[i] + '->' + nodeTypes.types[keys[i]] +
- ', mime.types defines ' + keys[i] + '->' + apacheTypes.types[keys[i]]);
- }
-}
-
-console.log('\nOK');
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/types/mime.types b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/types/mime.types
deleted file mode 100644
index da8cd69..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/types/mime.types
+++ /dev/null
@@ -1,1588 +0,0 @@
-# This file maps Internet media types to unique file extension(s).
-# Although created for httpd, this file is used by many software systems
-# and has been placed in the public domain for unlimited redisribution.
-#
-# The table below contains both registered and (common) unregistered types.
-# A type that has no unique extension can be ignored -- they are listed
-# here to guide configurations toward known types and to make it easier to
-# identify "new" types. File extensions are also commonly used to indicate
-# content languages and encodings, so choose them carefully.
-#
-# Internet media types should be registered as described in RFC 4288.
-# The registry is at .
-#
-# MIME type (lowercased) Extensions
-# ============================================ ==========
-# application/1d-interleaved-parityfec
-# application/3gpp-ims+xml
-# application/activemessage
-application/andrew-inset ez
-# application/applefile
-application/applixware aw
-application/atom+xml atom
-application/atomcat+xml atomcat
-# application/atomicmail
-application/atomsvc+xml atomsvc
-# application/auth-policy+xml
-# application/batch-smtp
-# application/beep+xml
-# application/calendar+xml
-# application/cals-1840
-# application/ccmp+xml
-application/ccxml+xml ccxml
-application/cdmi-capability cdmia
-application/cdmi-container cdmic
-application/cdmi-domain cdmid
-application/cdmi-object cdmio
-application/cdmi-queue cdmiq
-# application/cea-2018+xml
-# application/cellml+xml
-# application/cfw
-# application/cnrp+xml
-# application/commonground
-# application/conference-info+xml
-# application/cpl+xml
-# application/csta+xml
-# application/cstadata+xml
-application/cu-seeme cu
-# application/cybercash
-application/davmount+xml davmount
-# application/dca-rft
-# application/dec-dx
-# application/dialog-info+xml
-# application/dicom
-# application/dns
-application/docbook+xml dbk
-# application/dskpp+xml
-application/dssc+der dssc
-application/dssc+xml xdssc
-# application/dvcs
-application/ecmascript ecma
-# application/edi-consent
-# application/edi-x12
-# application/edifact
-application/emma+xml emma
-# application/epp+xml
-application/epub+zip epub
-# application/eshop
-# application/example
-application/exi exi
-# application/fastinfoset
-# application/fastsoap
-# application/fits
-application/font-tdpfr pfr
-# application/framework-attributes+xml
-application/gml+xml gml
-application/gpx+xml gpx
-application/gxf gxf
-# application/h224
-# application/held+xml
-# application/http
-application/hyperstudio stk
-# application/ibe-key-request+xml
-# application/ibe-pkg-reply+xml
-# application/ibe-pp-data
-# application/iges
-# application/im-iscomposing+xml
-# application/index
-# application/index.cmd
-# application/index.obj
-# application/index.response
-# application/index.vnd
-application/inkml+xml ink inkml
-# application/iotp
-application/ipfix ipfix
-# application/ipp
-# application/isup
-application/java-archive jar
-application/java-serialized-object ser
-application/java-vm class
-application/javascript js
-application/json json
-application/jsonml+json jsonml
-# application/kpml-request+xml
-# application/kpml-response+xml
-application/lost+xml lostxml
-application/mac-binhex40 hqx
-application/mac-compactpro cpt
-# application/macwriteii
-application/mads+xml mads
-application/marc mrc
-application/marcxml+xml mrcx
-application/mathematica ma nb mb
-# application/mathml-content+xml
-# application/mathml-presentation+xml
-application/mathml+xml mathml
-# application/mbms-associated-procedure-description+xml
-# application/mbms-deregister+xml
-# application/mbms-envelope+xml
-# application/mbms-msk+xml
-# application/mbms-msk-response+xml
-# application/mbms-protection-description+xml
-# application/mbms-reception-report+xml
-# application/mbms-register+xml
-# application/mbms-register-response+xml
-# application/mbms-user-service-description+xml
-application/mbox mbox
-# application/media_control+xml
-application/mediaservercontrol+xml mscml
-application/metalink+xml metalink
-application/metalink4+xml meta4
-application/mets+xml mets
-# application/mikey
-application/mods+xml mods
-# application/moss-keys
-# application/moss-signature
-# application/mosskey-data
-# application/mosskey-request
-application/mp21 m21 mp21
-application/mp4 mp4s
-# application/mpeg4-generic
-# application/mpeg4-iod
-# application/mpeg4-iod-xmt
-# application/msc-ivr+xml
-# application/msc-mixer+xml
-application/msword doc dot
-application/mxf mxf
-# application/nasdata
-# application/news-checkgroups
-# application/news-groupinfo
-# application/news-transmission
-# application/nss
-# application/ocsp-request
-# application/ocsp-response
-application/octet-stream bin dms lrf mar so dist distz pkg bpk dump elc deploy
-application/oda oda
-application/oebps-package+xml opf
-application/ogg ogx
-application/omdoc+xml omdoc
-application/onenote onetoc onetoc2 onetmp onepkg
-application/oxps oxps
-# application/parityfec
-application/patch-ops-error+xml xer
-application/pdf pdf
-application/pgp-encrypted pgp
-# application/pgp-keys
-application/pgp-signature asc sig
-application/pics-rules prf
-# application/pidf+xml
-# application/pidf-diff+xml
-application/pkcs10 p10
-application/pkcs7-mime p7m p7c
-application/pkcs7-signature p7s
-application/pkcs8 p8
-application/pkix-attr-cert ac
-application/pkix-cert cer
-application/pkix-crl crl
-application/pkix-pkipath pkipath
-application/pkixcmp pki
-application/pls+xml pls
-# application/poc-settings+xml
-application/postscript ai eps ps
-# application/prs.alvestrand.titrax-sheet
-application/prs.cww cww
-# application/prs.nprend
-# application/prs.plucker
-# application/prs.rdf-xml-crypt
-# application/prs.xsf+xml
-application/pskc+xml pskcxml
-# application/qsig
-application/rdf+xml rdf
-application/reginfo+xml rif
-application/relax-ng-compact-syntax rnc
-# application/remote-printing
-application/resource-lists+xml rl
-application/resource-lists-diff+xml rld
-# application/riscos
-# application/rlmi+xml
-application/rls-services+xml rs
-application/rpki-ghostbusters gbr
-application/rpki-manifest mft
-application/rpki-roa roa
-# application/rpki-updown
-application/rsd+xml rsd
-application/rss+xml rss
-application/rtf rtf
-# application/rtx
-# application/samlassertion+xml
-# application/samlmetadata+xml
-application/sbml+xml sbml
-application/scvp-cv-request scq
-application/scvp-cv-response scs
-application/scvp-vp-request spq
-application/scvp-vp-response spp
-application/sdp sdp
-# application/set-payment
-application/set-payment-initiation setpay
-# application/set-registration
-application/set-registration-initiation setreg
-# application/sgml
-# application/sgml-open-catalog
-application/shf+xml shf
-# application/sieve
-# application/simple-filter+xml
-# application/simple-message-summary
-# application/simplesymbolcontainer
-# application/slate
-# application/smil
-application/smil+xml smi smil
-# application/soap+fastinfoset
-# application/soap+xml
-application/sparql-query rq
-application/sparql-results+xml srx
-# application/spirits-event+xml
-application/srgs gram
-application/srgs+xml grxml
-application/sru+xml sru
-application/ssdl+xml ssdl
-application/ssml+xml ssml
-# application/tamp-apex-update
-# application/tamp-apex-update-confirm
-# application/tamp-community-update
-# application/tamp-community-update-confirm
-# application/tamp-error
-# application/tamp-sequence-adjust
-# application/tamp-sequence-adjust-confirm
-# application/tamp-status-query
-# application/tamp-status-response
-# application/tamp-update
-# application/tamp-update-confirm
-application/tei+xml tei teicorpus
-application/thraud+xml tfi
-# application/timestamp-query
-# application/timestamp-reply
-application/timestamped-data tsd
-# application/tve-trigger
-# application/ulpfec
-# application/vcard+xml
-# application/vemmi
-# application/vividence.scriptfile
-# application/vnd.3gpp.bsf+xml
-application/vnd.3gpp.pic-bw-large plb
-application/vnd.3gpp.pic-bw-small psb
-application/vnd.3gpp.pic-bw-var pvb
-# application/vnd.3gpp.sms
-# application/vnd.3gpp2.bcmcsinfo+xml
-# application/vnd.3gpp2.sms
-application/vnd.3gpp2.tcap tcap
-application/vnd.3m.post-it-notes pwn
-application/vnd.accpac.simply.aso aso
-application/vnd.accpac.simply.imp imp
-application/vnd.acucobol acu
-application/vnd.acucorp atc acutc
-application/vnd.adobe.air-application-installer-package+zip air
-application/vnd.adobe.formscentral.fcdt fcdt
-application/vnd.adobe.fxp fxp fxpl
-# application/vnd.adobe.partial-upload
-application/vnd.adobe.xdp+xml xdp
-application/vnd.adobe.xfdf xfdf
-# application/vnd.aether.imp
-# application/vnd.ah-barcode
-application/vnd.ahead.space ahead
-application/vnd.airzip.filesecure.azf azf
-application/vnd.airzip.filesecure.azs azs
-application/vnd.amazon.ebook azw
-application/vnd.americandynamics.acc acc
-application/vnd.amiga.ami ami
-# application/vnd.amundsen.maze+xml
-application/vnd.android.package-archive apk
-application/vnd.anser-web-certificate-issue-initiation cii
-application/vnd.anser-web-funds-transfer-initiation fti
-application/vnd.antix.game-component atx
-application/vnd.apple.installer+xml mpkg
-application/vnd.apple.mpegurl m3u8
-# application/vnd.arastra.swi
-application/vnd.aristanetworks.swi swi
-application/vnd.astraea-software.iota iota
-application/vnd.audiograph aep
-# application/vnd.autopackage
-# application/vnd.avistar+xml
-application/vnd.blueice.multipass mpm
-# application/vnd.bluetooth.ep.oob
-application/vnd.bmi bmi
-application/vnd.businessobjects rep
-# application/vnd.cab-jscript
-# application/vnd.canon-cpdl
-# application/vnd.canon-lips
-# application/vnd.cendio.thinlinc.clientconf
-application/vnd.chemdraw+xml cdxml
-application/vnd.chipnuts.karaoke-mmd mmd
-application/vnd.cinderella cdy
-# application/vnd.cirpack.isdn-ext
-application/vnd.claymore cla
-application/vnd.cloanto.rp9 rp9
-application/vnd.clonk.c4group c4g c4d c4f c4p c4u
-application/vnd.cluetrust.cartomobile-config c11amc
-application/vnd.cluetrust.cartomobile-config-pkg c11amz
-# application/vnd.collection+json
-# application/vnd.commerce-battelle
-application/vnd.commonspace csp
-application/vnd.contact.cmsg cdbcmsg
-application/vnd.cosmocaller cmc
-application/vnd.crick.clicker clkx
-application/vnd.crick.clicker.keyboard clkk
-application/vnd.crick.clicker.palette clkp
-application/vnd.crick.clicker.template clkt
-application/vnd.crick.clicker.wordbank clkw
-application/vnd.criticaltools.wbs+xml wbs
-application/vnd.ctc-posml pml
-# application/vnd.ctct.ws+xml
-# application/vnd.cups-pdf
-# application/vnd.cups-postscript
-application/vnd.cups-ppd ppd
-# application/vnd.cups-raster
-# application/vnd.cups-raw
-# application/vnd.curl
-application/vnd.curl.car car
-application/vnd.curl.pcurl pcurl
-# application/vnd.cybank
-application/vnd.dart dart
-application/vnd.data-vision.rdz rdz
-application/vnd.dece.data uvf uvvf uvd uvvd
-application/vnd.dece.ttml+xml uvt uvvt
-application/vnd.dece.unspecified uvx uvvx
-application/vnd.dece.zip uvz uvvz
-application/vnd.denovo.fcselayout-link fe_launch
-# application/vnd.dir-bi.plate-dl-nosuffix
-application/vnd.dna dna
-application/vnd.dolby.mlp mlp
-# application/vnd.dolby.mobile.1
-# application/vnd.dolby.mobile.2
-application/vnd.dpgraph dpg
-application/vnd.dreamfactory dfac
-application/vnd.ds-keypoint kpxx
-application/vnd.dvb.ait ait
-# application/vnd.dvb.dvbj
-# application/vnd.dvb.esgcontainer
-# application/vnd.dvb.ipdcdftnotifaccess
-# application/vnd.dvb.ipdcesgaccess
-# application/vnd.dvb.ipdcesgaccess2
-# application/vnd.dvb.ipdcesgpdd
-# application/vnd.dvb.ipdcroaming
-# application/vnd.dvb.iptv.alfec-base
-# application/vnd.dvb.iptv.alfec-enhancement
-# application/vnd.dvb.notif-aggregate-root+xml
-# application/vnd.dvb.notif-container+xml
-# application/vnd.dvb.notif-generic+xml
-# application/vnd.dvb.notif-ia-msglist+xml
-# application/vnd.dvb.notif-ia-registration-request+xml
-# application/vnd.dvb.notif-ia-registration-response+xml
-# application/vnd.dvb.notif-init+xml
-# application/vnd.dvb.pfr
-application/vnd.dvb.service svc
-# application/vnd.dxr
-application/vnd.dynageo geo
-# application/vnd.easykaraoke.cdgdownload
-# application/vnd.ecdis-update
-application/vnd.ecowin.chart mag
-# application/vnd.ecowin.filerequest
-# application/vnd.ecowin.fileupdate
-# application/vnd.ecowin.series
-# application/vnd.ecowin.seriesrequest
-# application/vnd.ecowin.seriesupdate
-# application/vnd.emclient.accessrequest+xml
-application/vnd.enliven nml
-# application/vnd.eprints.data+xml
-application/vnd.epson.esf esf
-application/vnd.epson.msf msf
-application/vnd.epson.quickanime qam
-application/vnd.epson.salt slt
-application/vnd.epson.ssf ssf
-# application/vnd.ericsson.quickcall
-application/vnd.eszigno3+xml es3 et3
-# application/vnd.etsi.aoc+xml
-# application/vnd.etsi.cug+xml
-# application/vnd.etsi.iptvcommand+xml
-# application/vnd.etsi.iptvdiscovery+xml
-# application/vnd.etsi.iptvprofile+xml
-# application/vnd.etsi.iptvsad-bc+xml
-# application/vnd.etsi.iptvsad-cod+xml
-# application/vnd.etsi.iptvsad-npvr+xml
-# application/vnd.etsi.iptvservice+xml
-# application/vnd.etsi.iptvsync+xml
-# application/vnd.etsi.iptvueprofile+xml
-# application/vnd.etsi.mcid+xml
-# application/vnd.etsi.overload-control-policy-dataset+xml
-# application/vnd.etsi.sci+xml
-# application/vnd.etsi.simservs+xml
-# application/vnd.etsi.tsl+xml
-# application/vnd.etsi.tsl.der
-# application/vnd.eudora.data
-application/vnd.ezpix-album ez2
-application/vnd.ezpix-package ez3
-# application/vnd.f-secure.mobile
-application/vnd.fdf fdf
-application/vnd.fdsn.mseed mseed
-application/vnd.fdsn.seed seed dataless
-# application/vnd.ffsns
-# application/vnd.fints
-application/vnd.flographit gph
-application/vnd.fluxtime.clip ftc
-# application/vnd.font-fontforge-sfd
-application/vnd.framemaker fm frame maker book
-application/vnd.frogans.fnc fnc
-application/vnd.frogans.ltf ltf
-application/vnd.fsc.weblaunch fsc
-application/vnd.fujitsu.oasys oas
-application/vnd.fujitsu.oasys2 oa2
-application/vnd.fujitsu.oasys3 oa3
-application/vnd.fujitsu.oasysgp fg5
-application/vnd.fujitsu.oasysprs bh2
-# application/vnd.fujixerox.art-ex
-# application/vnd.fujixerox.art4
-# application/vnd.fujixerox.hbpl
-application/vnd.fujixerox.ddd ddd
-application/vnd.fujixerox.docuworks xdw
-application/vnd.fujixerox.docuworks.binder xbd
-# application/vnd.fut-misnet
-application/vnd.fuzzysheet fzs
-application/vnd.genomatix.tuxedo txd
-# application/vnd.geocube+xml
-application/vnd.geogebra.file ggb
-application/vnd.geogebra.tool ggt
-application/vnd.geometry-explorer gex gre
-application/vnd.geonext gxt
-application/vnd.geoplan g2w
-application/vnd.geospace g3w
-# application/vnd.globalplatform.card-content-mgt
-# application/vnd.globalplatform.card-content-mgt-response
-application/vnd.gmx gmx
-application/vnd.google-earth.kml+xml kml
-application/vnd.google-earth.kmz kmz
-application/vnd.grafeq gqf gqs
-# application/vnd.gridmp
-application/vnd.groove-account gac
-application/vnd.groove-help ghf
-application/vnd.groove-identity-message gim
-application/vnd.groove-injector grv
-application/vnd.groove-tool-message gtm
-application/vnd.groove-tool-template tpl
-application/vnd.groove-vcard vcg
-# application/vnd.hal+json
-application/vnd.hal+xml hal
-application/vnd.handheld-entertainment+xml zmm
-application/vnd.hbci hbci
-# application/vnd.hcl-bireports
-application/vnd.hhe.lesson-player les
-application/vnd.hp-hpgl hpgl
-application/vnd.hp-hpid hpid
-application/vnd.hp-hps hps
-application/vnd.hp-jlyt jlt
-application/vnd.hp-pcl pcl
-application/vnd.hp-pclxl pclxl
-# application/vnd.httphone
-application/vnd.hydrostatix.sof-data sfd-hdstx
-# application/vnd.hzn-3d-crossword
-# application/vnd.ibm.afplinedata
-# application/vnd.ibm.electronic-media
-application/vnd.ibm.minipay mpy
-application/vnd.ibm.modcap afp listafp list3820
-application/vnd.ibm.rights-management irm
-application/vnd.ibm.secure-container sc
-application/vnd.iccprofile icc icm
-application/vnd.igloader igl
-application/vnd.immervision-ivp ivp
-application/vnd.immervision-ivu ivu
-# application/vnd.informedcontrol.rms+xml
-# application/vnd.informix-visionary
-# application/vnd.infotech.project
-# application/vnd.infotech.project+xml
-# application/vnd.innopath.wamp.notification
-application/vnd.insors.igm igm
-application/vnd.intercon.formnet xpw xpx
-application/vnd.intergeo i2g
-# application/vnd.intertrust.digibox
-# application/vnd.intertrust.nncp
-application/vnd.intu.qbo qbo
-application/vnd.intu.qfx qfx
-# application/vnd.iptc.g2.conceptitem+xml
-# application/vnd.iptc.g2.knowledgeitem+xml
-# application/vnd.iptc.g2.newsitem+xml
-# application/vnd.iptc.g2.newsmessage+xml
-# application/vnd.iptc.g2.packageitem+xml
-# application/vnd.iptc.g2.planningitem+xml
-application/vnd.ipunplugged.rcprofile rcprofile
-application/vnd.irepository.package+xml irp
-application/vnd.is-xpr xpr
-application/vnd.isac.fcs fcs
-application/vnd.jam jam
-# application/vnd.japannet-directory-service
-# application/vnd.japannet-jpnstore-wakeup
-# application/vnd.japannet-payment-wakeup
-# application/vnd.japannet-registration
-# application/vnd.japannet-registration-wakeup
-# application/vnd.japannet-setstore-wakeup
-# application/vnd.japannet-verification
-# application/vnd.japannet-verification-wakeup
-application/vnd.jcp.javame.midlet-rms rms
-application/vnd.jisp jisp
-application/vnd.joost.joda-archive joda
-application/vnd.kahootz ktz ktr
-application/vnd.kde.karbon karbon
-application/vnd.kde.kchart chrt
-application/vnd.kde.kformula kfo
-application/vnd.kde.kivio flw
-application/vnd.kde.kontour kon
-application/vnd.kde.kpresenter kpr kpt
-application/vnd.kde.kspread ksp
-application/vnd.kde.kword kwd kwt
-application/vnd.kenameaapp htke
-application/vnd.kidspiration kia
-application/vnd.kinar kne knp
-application/vnd.koan skp skd skt skm
-application/vnd.kodak-descriptor sse
-application/vnd.las.las+xml lasxml
-# application/vnd.liberty-request+xml
-application/vnd.llamagraphics.life-balance.desktop lbd
-application/vnd.llamagraphics.life-balance.exchange+xml lbe
-application/vnd.lotus-1-2-3 123
-application/vnd.lotus-approach apr
-application/vnd.lotus-freelance pre
-application/vnd.lotus-notes nsf
-application/vnd.lotus-organizer org
-application/vnd.lotus-screencam scm
-application/vnd.lotus-wordpro lwp
-application/vnd.macports.portpkg portpkg
-# application/vnd.marlin.drm.actiontoken+xml
-# application/vnd.marlin.drm.conftoken+xml
-# application/vnd.marlin.drm.license+xml
-# application/vnd.marlin.drm.mdcf
-application/vnd.mcd mcd
-application/vnd.medcalcdata mc1
-application/vnd.mediastation.cdkey cdkey
-# application/vnd.meridian-slingshot
-application/vnd.mfer mwf
-application/vnd.mfmp mfm
-application/vnd.micrografx.flo flo
-application/vnd.micrografx.igx igx
-application/vnd.mif mif
-# application/vnd.minisoft-hp3000-save
-# application/vnd.mitsubishi.misty-guard.trustweb
-application/vnd.mobius.daf daf
-application/vnd.mobius.dis dis
-application/vnd.mobius.mbk mbk
-application/vnd.mobius.mqy mqy
-application/vnd.mobius.msl msl
-application/vnd.mobius.plc plc
-application/vnd.mobius.txf txf
-application/vnd.mophun.application mpn
-application/vnd.mophun.certificate mpc
-# application/vnd.motorola.flexsuite
-# application/vnd.motorola.flexsuite.adsi
-# application/vnd.motorola.flexsuite.fis
-# application/vnd.motorola.flexsuite.gotap
-# application/vnd.motorola.flexsuite.kmr
-# application/vnd.motorola.flexsuite.ttc
-# application/vnd.motorola.flexsuite.wem
-# application/vnd.motorola.iprm
-application/vnd.mozilla.xul+xml xul
-application/vnd.ms-artgalry cil
-# application/vnd.ms-asf
-application/vnd.ms-cab-compressed cab
-# application/vnd.ms-color.iccprofile
-application/vnd.ms-excel xls xlm xla xlc xlt xlw
-application/vnd.ms-excel.addin.macroenabled.12 xlam
-application/vnd.ms-excel.sheet.binary.macroenabled.12 xlsb
-application/vnd.ms-excel.sheet.macroenabled.12 xlsm
-application/vnd.ms-excel.template.macroenabled.12 xltm
-application/vnd.ms-fontobject eot
-application/vnd.ms-htmlhelp chm
-application/vnd.ms-ims ims
-application/vnd.ms-lrm lrm
-# application/vnd.ms-office.activex+xml
-application/vnd.ms-officetheme thmx
-# application/vnd.ms-opentype
-# application/vnd.ms-package.obfuscated-opentype
-application/vnd.ms-pki.seccat cat
-application/vnd.ms-pki.stl stl
-# application/vnd.ms-playready.initiator+xml
-application/vnd.ms-powerpoint ppt pps pot
-application/vnd.ms-powerpoint.addin.macroenabled.12 ppam
-application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm
-application/vnd.ms-powerpoint.slide.macroenabled.12 sldm
-application/vnd.ms-powerpoint.slideshow.macroenabled.12 ppsm
-application/vnd.ms-powerpoint.template.macroenabled.12 potm
-# application/vnd.ms-printing.printticket+xml
-application/vnd.ms-project mpp mpt
-# application/vnd.ms-tnef
-# application/vnd.ms-wmdrm.lic-chlg-req
-# application/vnd.ms-wmdrm.lic-resp
-# application/vnd.ms-wmdrm.meter-chlg-req
-# application/vnd.ms-wmdrm.meter-resp
-application/vnd.ms-word.document.macroenabled.12 docm
-application/vnd.ms-word.template.macroenabled.12 dotm
-application/vnd.ms-works wps wks wcm wdb
-application/vnd.ms-wpl wpl
-application/vnd.ms-xpsdocument xps
-application/vnd.mseq mseq
-# application/vnd.msign
-# application/vnd.multiad.creator
-# application/vnd.multiad.creator.cif
-# application/vnd.music-niff
-application/vnd.musician mus
-application/vnd.muvee.style msty
-application/vnd.mynfc taglet
-# application/vnd.ncd.control
-# application/vnd.ncd.reference
-# application/vnd.nervana
-# application/vnd.netfpx
-application/vnd.neurolanguage.nlu nlu
-application/vnd.nitf ntf nitf
-application/vnd.noblenet-directory nnd
-application/vnd.noblenet-sealer nns
-application/vnd.noblenet-web nnw
-# application/vnd.nokia.catalogs
-# application/vnd.nokia.conml+wbxml
-# application/vnd.nokia.conml+xml
-# application/vnd.nokia.isds-radio-presets
-# application/vnd.nokia.iptv.config+xml
-# application/vnd.nokia.landmark+wbxml
-# application/vnd.nokia.landmark+xml
-# application/vnd.nokia.landmarkcollection+xml
-# application/vnd.nokia.n-gage.ac+xml
-application/vnd.nokia.n-gage.data ngdat
-application/vnd.nokia.n-gage.symbian.install n-gage
-# application/vnd.nokia.ncd
-# application/vnd.nokia.pcd+wbxml
-# application/vnd.nokia.pcd+xml
-application/vnd.nokia.radio-preset rpst
-application/vnd.nokia.radio-presets rpss
-application/vnd.novadigm.edm edm
-application/vnd.novadigm.edx edx
-application/vnd.novadigm.ext ext
-# application/vnd.ntt-local.file-transfer
-# application/vnd.ntt-local.sip-ta_remote
-# application/vnd.ntt-local.sip-ta_tcp_stream
-application/vnd.oasis.opendocument.chart odc
-application/vnd.oasis.opendocument.chart-template otc
-application/vnd.oasis.opendocument.database odb
-application/vnd.oasis.opendocument.formula odf
-application/vnd.oasis.opendocument.formula-template odft
-application/vnd.oasis.opendocument.graphics odg
-application/vnd.oasis.opendocument.graphics-template otg
-application/vnd.oasis.opendocument.image odi
-application/vnd.oasis.opendocument.image-template oti
-application/vnd.oasis.opendocument.presentation odp
-application/vnd.oasis.opendocument.presentation-template otp
-application/vnd.oasis.opendocument.spreadsheet ods
-application/vnd.oasis.opendocument.spreadsheet-template ots
-application/vnd.oasis.opendocument.text odt
-application/vnd.oasis.opendocument.text-master odm
-application/vnd.oasis.opendocument.text-template ott
-application/vnd.oasis.opendocument.text-web oth
-# application/vnd.obn
-# application/vnd.oftn.l10n+json
-# application/vnd.oipf.contentaccessdownload+xml
-# application/vnd.oipf.contentaccessstreaming+xml
-# application/vnd.oipf.cspg-hexbinary
-# application/vnd.oipf.dae.svg+xml
-# application/vnd.oipf.dae.xhtml+xml
-# application/vnd.oipf.mippvcontrolmessage+xml
-# application/vnd.oipf.pae.gem
-# application/vnd.oipf.spdiscovery+xml
-# application/vnd.oipf.spdlist+xml
-# application/vnd.oipf.ueprofile+xml
-# application/vnd.oipf.userprofile+xml
-application/vnd.olpc-sugar xo
-# application/vnd.oma-scws-config
-# application/vnd.oma-scws-http-request
-# application/vnd.oma-scws-http-response
-# application/vnd.oma.bcast.associated-procedure-parameter+xml
-# application/vnd.oma.bcast.drm-trigger+xml
-# application/vnd.oma.bcast.imd+xml
-# application/vnd.oma.bcast.ltkm
-# application/vnd.oma.bcast.notification+xml
-# application/vnd.oma.bcast.provisioningtrigger
-# application/vnd.oma.bcast.sgboot
-# application/vnd.oma.bcast.sgdd+xml
-# application/vnd.oma.bcast.sgdu
-# application/vnd.oma.bcast.simple-symbol-container
-# application/vnd.oma.bcast.smartcard-trigger+xml
-# application/vnd.oma.bcast.sprov+xml
-# application/vnd.oma.bcast.stkm
-# application/vnd.oma.cab-address-book+xml
-# application/vnd.oma.cab-feature-handler+xml
-# application/vnd.oma.cab-pcc+xml
-# application/vnd.oma.cab-user-prefs+xml
-# application/vnd.oma.dcd
-# application/vnd.oma.dcdc
-application/vnd.oma.dd2+xml dd2
-# application/vnd.oma.drm.risd+xml
-# application/vnd.oma.group-usage-list+xml
-# application/vnd.oma.pal+xml
-# application/vnd.oma.poc.detailed-progress-report+xml
-# application/vnd.oma.poc.final-report+xml
-# application/vnd.oma.poc.groups+xml
-# application/vnd.oma.poc.invocation-descriptor+xml
-# application/vnd.oma.poc.optimized-progress-report+xml
-# application/vnd.oma.push
-# application/vnd.oma.scidm.messages+xml
-# application/vnd.oma.xcap-directory+xml
-# application/vnd.omads-email+xml
-# application/vnd.omads-file+xml
-# application/vnd.omads-folder+xml
-# application/vnd.omaloc-supl-init
-application/vnd.openofficeorg.extension oxt
-# application/vnd.openxmlformats-officedocument.custom-properties+xml
-# application/vnd.openxmlformats-officedocument.customxmlproperties+xml
-# application/vnd.openxmlformats-officedocument.drawing+xml
-# application/vnd.openxmlformats-officedocument.drawingml.chart+xml
-# application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml
-# application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml
-# application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml
-# application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml
-# application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml
-# application/vnd.openxmlformats-officedocument.extended-properties+xml
-# application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml
-# application/vnd.openxmlformats-officedocument.presentationml.comments+xml
-# application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml
-# application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml
-# application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml
-application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
-# application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml
-# application/vnd.openxmlformats-officedocument.presentationml.presprops+xml
-application/vnd.openxmlformats-officedocument.presentationml.slide sldx
-# application/vnd.openxmlformats-officedocument.presentationml.slide+xml
-# application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml
-# application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml
-application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
-# application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml
-# application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml
-# application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml
-# application/vnd.openxmlformats-officedocument.presentationml.tags+xml
-application/vnd.openxmlformats-officedocument.presentationml.template potx
-# application/vnd.openxmlformats-officedocument.presentationml.template.main+xml
-# application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml
-application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
-# application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml
-application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
-# application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml
-# application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml
-# application/vnd.openxmlformats-officedocument.theme+xml
-# application/vnd.openxmlformats-officedocument.themeoverride+xml
-# application/vnd.openxmlformats-officedocument.vmldrawing
-# application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml
-application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
-# application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml
-application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
-# application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml
-# application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml
-# application/vnd.openxmlformats-package.core-properties+xml
-# application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml
-# application/vnd.openxmlformats-package.relationships+xml
-# application/vnd.quobject-quoxdocument
-# application/vnd.osa.netdeploy
-application/vnd.osgeo.mapguide.package mgp
-# application/vnd.osgi.bundle
-application/vnd.osgi.dp dp
-application/vnd.osgi.subsystem esa
-# application/vnd.otps.ct-kip+xml
-application/vnd.palm pdb pqa oprc
-# application/vnd.paos.xml
-application/vnd.pawaafile paw
-application/vnd.pg.format str
-application/vnd.pg.osasli ei6
-# application/vnd.piaccess.application-licence
-application/vnd.picsel efif
-application/vnd.pmi.widget wg
-# application/vnd.poc.group-advertisement+xml
-application/vnd.pocketlearn plf
-application/vnd.powerbuilder6 pbd
-# application/vnd.powerbuilder6-s
-# application/vnd.powerbuilder7
-# application/vnd.powerbuilder7-s
-# application/vnd.powerbuilder75
-# application/vnd.powerbuilder75-s
-# application/vnd.preminet
-application/vnd.previewsystems.box box
-application/vnd.proteus.magazine mgz
-application/vnd.publishare-delta-tree qps
-application/vnd.pvi.ptid1 ptid
-# application/vnd.pwg-multiplexed
-# application/vnd.pwg-xhtml-print+xml
-# application/vnd.qualcomm.brew-app-res
-application/vnd.quark.quarkxpress qxd qxt qwd qwt qxl qxb
-# application/vnd.radisys.moml+xml
-# application/vnd.radisys.msml+xml
-# application/vnd.radisys.msml-audit+xml
-# application/vnd.radisys.msml-audit-conf+xml
-# application/vnd.radisys.msml-audit-conn+xml
-# application/vnd.radisys.msml-audit-dialog+xml
-# application/vnd.radisys.msml-audit-stream+xml
-# application/vnd.radisys.msml-conf+xml
-# application/vnd.radisys.msml-dialog+xml
-# application/vnd.radisys.msml-dialog-base+xml
-# application/vnd.radisys.msml-dialog-fax-detect+xml
-# application/vnd.radisys.msml-dialog-fax-sendrecv+xml
-# application/vnd.radisys.msml-dialog-group+xml
-# application/vnd.radisys.msml-dialog-speech+xml
-# application/vnd.radisys.msml-dialog-transform+xml
-# application/vnd.rainstor.data
-# application/vnd.rapid
-application/vnd.realvnc.bed bed
-application/vnd.recordare.musicxml mxl
-application/vnd.recordare.musicxml+xml musicxml
-# application/vnd.renlearn.rlprint
-application/vnd.rig.cryptonote cryptonote
-application/vnd.rim.cod cod
-application/vnd.rn-realmedia rm
-application/vnd.rn-realmedia-vbr rmvb
-application/vnd.route66.link66+xml link66
-# application/vnd.rs-274x
-# application/vnd.ruckus.download
-# application/vnd.s3sms
-application/vnd.sailingtracker.track st
-# application/vnd.sbm.cid
-# application/vnd.sbm.mid2
-# application/vnd.scribus
-# application/vnd.sealed.3df
-# application/vnd.sealed.csf
-# application/vnd.sealed.doc
-# application/vnd.sealed.eml
-# application/vnd.sealed.mht
-# application/vnd.sealed.net
-# application/vnd.sealed.ppt
-# application/vnd.sealed.tiff
-# application/vnd.sealed.xls
-# application/vnd.sealedmedia.softseal.html
-# application/vnd.sealedmedia.softseal.pdf
-application/vnd.seemail see
-application/vnd.sema sema
-application/vnd.semd semd
-application/vnd.semf semf
-application/vnd.shana.informed.formdata ifm
-application/vnd.shana.informed.formtemplate itp
-application/vnd.shana.informed.interchange iif
-application/vnd.shana.informed.package ipk
-application/vnd.simtech-mindmapper twd twds
-application/vnd.smaf mmf
-# application/vnd.smart.notebook
-application/vnd.smart.teacher teacher
-# application/vnd.software602.filler.form+xml
-# application/vnd.software602.filler.form-xml-zip
-application/vnd.solent.sdkm+xml sdkm sdkd
-application/vnd.spotfire.dxp dxp
-application/vnd.spotfire.sfs sfs
-# application/vnd.sss-cod
-# application/vnd.sss-dtf
-# application/vnd.sss-ntf
-application/vnd.stardivision.calc sdc
-application/vnd.stardivision.draw sda
-application/vnd.stardivision.impress sdd
-application/vnd.stardivision.math smf
-application/vnd.stardivision.writer sdw vor
-application/vnd.stardivision.writer-global sgl
-application/vnd.stepmania.package smzip
-application/vnd.stepmania.stepchart sm
-# application/vnd.street-stream
-application/vnd.sun.xml.calc sxc
-application/vnd.sun.xml.calc.template stc
-application/vnd.sun.xml.draw sxd
-application/vnd.sun.xml.draw.template std
-application/vnd.sun.xml.impress sxi
-application/vnd.sun.xml.impress.template sti
-application/vnd.sun.xml.math sxm
-application/vnd.sun.xml.writer sxw
-application/vnd.sun.xml.writer.global sxg
-application/vnd.sun.xml.writer.template stw
-# application/vnd.sun.wadl+xml
-application/vnd.sus-calendar sus susp
-application/vnd.svd svd
-# application/vnd.swiftview-ics
-application/vnd.symbian.install sis sisx
-application/vnd.syncml+xml xsm
-application/vnd.syncml.dm+wbxml bdm
-application/vnd.syncml.dm+xml xdm
-# application/vnd.syncml.dm.notification
-# application/vnd.syncml.ds.notification
-application/vnd.tao.intent-module-archive tao
-application/vnd.tcpdump.pcap pcap cap dmp
-application/vnd.tmobile-livetv tmo
-application/vnd.trid.tpt tpt
-application/vnd.triscape.mxs mxs
-application/vnd.trueapp tra
-# application/vnd.truedoc
-# application/vnd.ubisoft.webplayer
-application/vnd.ufdl ufd ufdl
-application/vnd.uiq.theme utz
-application/vnd.umajin umj
-application/vnd.unity unityweb
-application/vnd.uoml+xml uoml
-# application/vnd.uplanet.alert
-# application/vnd.uplanet.alert-wbxml
-# application/vnd.uplanet.bearer-choice
-# application/vnd.uplanet.bearer-choice-wbxml
-# application/vnd.uplanet.cacheop
-# application/vnd.uplanet.cacheop-wbxml
-# application/vnd.uplanet.channel
-# application/vnd.uplanet.channel-wbxml
-# application/vnd.uplanet.list
-# application/vnd.uplanet.list-wbxml
-# application/vnd.uplanet.listcmd
-# application/vnd.uplanet.listcmd-wbxml
-# application/vnd.uplanet.signal
-application/vnd.vcx vcx
-# application/vnd.vd-study
-# application/vnd.vectorworks
-# application/vnd.verimatrix.vcas
-# application/vnd.vidsoft.vidconference
-application/vnd.visio vsd vst vss vsw
-application/vnd.visionary vis
-# application/vnd.vividence.scriptfile
-application/vnd.vsf vsf
-# application/vnd.wap.sic
-# application/vnd.wap.slc
-application/vnd.wap.wbxml wbxml
-application/vnd.wap.wmlc wmlc
-application/vnd.wap.wmlscriptc wmlsc
-application/vnd.webturbo wtb
-# application/vnd.wfa.wsc
-# application/vnd.wmc
-# application/vnd.wmf.bootstrap
-# application/vnd.wolfram.mathematica
-# application/vnd.wolfram.mathematica.package
-application/vnd.wolfram.player nbp
-application/vnd.wordperfect wpd
-application/vnd.wqd wqd
-# application/vnd.wrq-hp3000-labelled
-application/vnd.wt.stf stf
-# application/vnd.wv.csp+wbxml
-# application/vnd.wv.csp+xml
-# application/vnd.wv.ssp+xml
-application/vnd.xara xar
-application/vnd.xfdl xfdl
-# application/vnd.xfdl.webform
-# application/vnd.xmi+xml
-# application/vnd.xmpie.cpkg
-# application/vnd.xmpie.dpkg
-# application/vnd.xmpie.plan
-# application/vnd.xmpie.ppkg
-# application/vnd.xmpie.xlim
-application/vnd.yamaha.hv-dic hvd
-application/vnd.yamaha.hv-script hvs
-application/vnd.yamaha.hv-voice hvp
-application/vnd.yamaha.openscoreformat osf
-application/vnd.yamaha.openscoreformat.osfpvg+xml osfpvg
-# application/vnd.yamaha.remote-setup
-application/vnd.yamaha.smaf-audio saf
-application/vnd.yamaha.smaf-phrase spf
-# application/vnd.yamaha.through-ngn
-# application/vnd.yamaha.tunnel-udpencap
-application/vnd.yellowriver-custom-menu cmp
-application/vnd.zul zir zirz
-application/vnd.zzazz.deck+xml zaz
-application/voicexml+xml vxml
-# application/vq-rtcpxr
-# application/watcherinfo+xml
-# application/whoispp-query
-# application/whoispp-response
-application/widget wgt
-application/winhlp hlp
-# application/wita
-# application/wordperfect5.1
-application/wsdl+xml wsdl
-application/wspolicy+xml wspolicy
-application/x-7z-compressed 7z
-application/x-abiword abw
-application/x-ace-compressed ace
-# application/x-amf
-application/x-apple-diskimage dmg
-application/x-authorware-bin aab x32 u32 vox
-application/x-authorware-map aam
-application/x-authorware-seg aas
-application/x-bcpio bcpio
-application/x-bittorrent torrent
-application/x-blorb blb blorb
-application/x-bzip bz
-application/x-bzip2 bz2 boz
-application/x-cbr cbr cba cbt cbz cb7
-application/x-cdlink vcd
-application/x-cfs-compressed cfs
-application/x-chat chat
-application/x-chess-pgn pgn
-application/x-conference nsc
-# application/x-compress
-application/x-cpio cpio
-application/x-csh csh
-application/x-debian-package deb udeb
-application/x-dgc-compressed dgc
-application/x-director dir dcr dxr cst cct cxt w3d fgd swa
-application/x-doom wad
-application/x-dtbncx+xml ncx
-application/x-dtbook+xml dtb
-application/x-dtbresource+xml res
-application/x-dvi dvi
-application/x-envoy evy
-application/x-eva eva
-application/x-font-bdf bdf
-# application/x-font-dos
-# application/x-font-framemaker
-application/x-font-ghostscript gsf
-# application/x-font-libgrx
-application/x-font-linux-psf psf
-application/x-font-otf otf
-application/x-font-pcf pcf
-application/x-font-snf snf
-# application/x-font-speedo
-# application/x-font-sunos-news
-application/x-font-ttf ttf ttc
-application/x-font-type1 pfa pfb pfm afm
-application/font-woff woff
-# application/x-font-vfont
-application/x-freearc arc
-application/x-futuresplash spl
-application/x-gca-compressed gca
-application/x-glulx ulx
-application/x-gnumeric gnumeric
-application/x-gramps-xml gramps
-application/x-gtar gtar
-# application/x-gzip
-application/x-hdf hdf
-application/x-install-instructions install
-application/x-iso9660-image iso
-application/x-java-jnlp-file jnlp
-application/x-latex latex
-application/x-lzh-compressed lzh lha
-application/x-mie mie
-application/x-mobipocket-ebook prc mobi
-application/x-ms-application application
-application/x-ms-shortcut lnk
-application/x-ms-wmd wmd
-application/x-ms-wmz wmz
-application/x-ms-xbap xbap
-application/x-msaccess mdb
-application/x-msbinder obd
-application/x-mscardfile crd
-application/x-msclip clp
-application/x-msdownload exe dll com bat msi
-application/x-msmediaview mvb m13 m14
-application/x-msmetafile wmf wmz emf emz
-application/x-msmoney mny
-application/x-mspublisher pub
-application/x-msschedule scd
-application/x-msterminal trm
-application/x-mswrite wri
-application/x-netcdf nc cdf
-application/x-nzb nzb
-application/x-pkcs12 p12 pfx
-application/x-pkcs7-certificates p7b spc
-application/x-pkcs7-certreqresp p7r
-application/x-rar-compressed rar
-application/x-research-info-systems ris
-application/x-sh sh
-application/x-shar shar
-application/x-shockwave-flash swf
-application/x-silverlight-app xap
-application/x-sql sql
-application/x-stuffit sit
-application/x-stuffitx sitx
-application/x-subrip srt
-application/x-sv4cpio sv4cpio
-application/x-sv4crc sv4crc
-application/x-t3vm-image t3
-application/x-tads gam
-application/x-tar tar
-application/x-tcl tcl
-application/x-tex tex
-application/x-tex-tfm tfm
-application/x-texinfo texinfo texi
-application/x-tgif obj
-application/x-ustar ustar
-application/x-wais-source src
-application/x-x509-ca-cert der crt
-application/x-xfig fig
-application/x-xliff+xml xlf
-application/x-xpinstall xpi
-application/x-xz xz
-application/x-zmachine z1 z2 z3 z4 z5 z6 z7 z8
-# application/x400-bp
-application/xaml+xml xaml
-# application/xcap-att+xml
-# application/xcap-caps+xml
-application/xcap-diff+xml xdf
-# application/xcap-el+xml
-# application/xcap-error+xml
-# application/xcap-ns+xml
-# application/xcon-conference-info-diff+xml
-# application/xcon-conference-info+xml
-application/xenc+xml xenc
-application/xhtml+xml xhtml xht
-# application/xhtml-voice+xml
-application/xml xml xsl
-application/xml-dtd dtd
-# application/xml-external-parsed-entity
-# application/xmpp+xml
-application/xop+xml xop
-application/xproc+xml xpl
-application/xslt+xml xslt
-application/xspf+xml xspf
-application/xv+xml mxml xhvml xvml xvm
-application/yang yang
-application/yin+xml yin
-application/zip zip
-# audio/1d-interleaved-parityfec
-# audio/32kadpcm
-# audio/3gpp
-# audio/3gpp2
-# audio/ac3
-audio/adpcm adp
-# audio/amr
-# audio/amr-wb
-# audio/amr-wb+
-# audio/asc
-# audio/atrac-advanced-lossless
-# audio/atrac-x
-# audio/atrac3
-audio/basic au snd
-# audio/bv16
-# audio/bv32
-# audio/clearmode
-# audio/cn
-# audio/dat12
-# audio/dls
-# audio/dsr-es201108
-# audio/dsr-es202050
-# audio/dsr-es202211
-# audio/dsr-es202212
-# audio/dv
-# audio/dvi4
-# audio/eac3
-# audio/evrc
-# audio/evrc-qcp
-# audio/evrc0
-# audio/evrc1
-# audio/evrcb
-# audio/evrcb0
-# audio/evrcb1
-# audio/evrcwb
-# audio/evrcwb0
-# audio/evrcwb1
-# audio/example
-# audio/fwdred
-# audio/g719
-# audio/g722
-# audio/g7221
-# audio/g723
-# audio/g726-16
-# audio/g726-24
-# audio/g726-32
-# audio/g726-40
-# audio/g728
-# audio/g729
-# audio/g7291
-# audio/g729d
-# audio/g729e
-# audio/gsm
-# audio/gsm-efr
-# audio/gsm-hr-08
-# audio/ilbc
-# audio/ip-mr_v2.5
-# audio/isac
-# audio/l16
-# audio/l20
-# audio/l24
-# audio/l8
-# audio/lpc
-audio/midi mid midi kar rmi
-# audio/mobile-xmf
-audio/mp4 mp4a
-# audio/mp4a-latm
-# audio/mpa
-# audio/mpa-robust
-audio/mpeg mpga mp2 mp2a mp3 m2a m3a
-# audio/mpeg4-generic
-# audio/musepack
-audio/ogg oga ogg spx
-# audio/opus
-# audio/parityfec
-# audio/pcma
-# audio/pcma-wb
-# audio/pcmu-wb
-# audio/pcmu
-# audio/prs.sid
-# audio/qcelp
-# audio/red
-# audio/rtp-enc-aescm128
-# audio/rtp-midi
-# audio/rtx
-audio/s3m s3m
-audio/silk sil
-# audio/smv
-# audio/smv0
-# audio/smv-qcp
-# audio/sp-midi
-# audio/speex
-# audio/t140c
-# audio/t38
-# audio/telephone-event
-# audio/tone
-# audio/uemclip
-# audio/ulpfec
-# audio/vdvi
-# audio/vmr-wb
-# audio/vnd.3gpp.iufp
-# audio/vnd.4sb
-# audio/vnd.audiokoz
-# audio/vnd.celp
-# audio/vnd.cisco.nse
-# audio/vnd.cmles.radio-events
-# audio/vnd.cns.anp1
-# audio/vnd.cns.inf1
-audio/vnd.dece.audio uva uvva
-audio/vnd.digital-winds eol
-# audio/vnd.dlna.adts
-# audio/vnd.dolby.heaac.1
-# audio/vnd.dolby.heaac.2
-# audio/vnd.dolby.mlp
-# audio/vnd.dolby.mps
-# audio/vnd.dolby.pl2
-# audio/vnd.dolby.pl2x
-# audio/vnd.dolby.pl2z
-# audio/vnd.dolby.pulse.1
-audio/vnd.dra dra
-audio/vnd.dts dts
-audio/vnd.dts.hd dtshd
-# audio/vnd.dvb.file
-# audio/vnd.everad.plj
-# audio/vnd.hns.audio
-audio/vnd.lucent.voice lvp
-audio/vnd.ms-playready.media.pya pya
-# audio/vnd.nokia.mobile-xmf
-# audio/vnd.nortel.vbk
-audio/vnd.nuera.ecelp4800 ecelp4800
-audio/vnd.nuera.ecelp7470 ecelp7470
-audio/vnd.nuera.ecelp9600 ecelp9600
-# audio/vnd.octel.sbc
-# audio/vnd.qcelp
-# audio/vnd.rhetorex.32kadpcm
-audio/vnd.rip rip
-# audio/vnd.sealedmedia.softseal.mpeg
-# audio/vnd.vmx.cvsd
-# audio/vorbis
-# audio/vorbis-config
-audio/webm weba
-audio/x-aac aac
-audio/x-aiff aif aiff aifc
-audio/x-caf caf
-audio/x-flac flac
-audio/x-matroska mka
-audio/x-mpegurl m3u
-audio/x-ms-wax wax
-audio/x-ms-wma wma
-audio/x-pn-realaudio ram ra
-audio/x-pn-realaudio-plugin rmp
-# audio/x-tta
-audio/x-wav wav
-audio/xm xm
-chemical/x-cdx cdx
-chemical/x-cif cif
-chemical/x-cmdf cmdf
-chemical/x-cml cml
-chemical/x-csml csml
-# chemical/x-pdb
-chemical/x-xyz xyz
-image/bmp bmp
-image/cgm cgm
-# image/example
-# image/fits
-image/g3fax g3
-image/gif gif
-image/ief ief
-# image/jp2
-image/jpeg jpeg jpg jpe
-# image/jpm
-# image/jpx
-image/ktx ktx
-# image/naplps
-image/png png
-image/prs.btif btif
-# image/prs.pti
-image/sgi sgi
-image/svg+xml svg svgz
-# image/t38
-image/tiff tiff tif
-# image/tiff-fx
-image/vnd.adobe.photoshop psd
-# image/vnd.cns.inf2
-image/vnd.dece.graphic uvi uvvi uvg uvvg
-image/vnd.dvb.subtitle sub
-image/vnd.djvu djvu djv
-image/vnd.dwg dwg
-image/vnd.dxf dxf
-image/vnd.fastbidsheet fbs
-image/vnd.fpx fpx
-image/vnd.fst fst
-image/vnd.fujixerox.edmics-mmr mmr
-image/vnd.fujixerox.edmics-rlc rlc
-# image/vnd.globalgraphics.pgb
-# image/vnd.microsoft.icon
-# image/vnd.mix
-image/vnd.ms-modi mdi
-image/vnd.ms-photo wdp
-image/vnd.net-fpx npx
-# image/vnd.radiance
-# image/vnd.sealed.png
-# image/vnd.sealedmedia.softseal.gif
-# image/vnd.sealedmedia.softseal.jpg
-# image/vnd.svf
-image/vnd.wap.wbmp wbmp
-image/vnd.xiff xif
-image/webp webp
-image/x-3ds 3ds
-image/x-cmu-raster ras
-image/x-cmx cmx
-image/x-freehand fh fhc fh4 fh5 fh7
-image/x-icon ico
-image/x-mrsid-image sid
-image/x-pcx pcx
-image/x-pict pic pct
-image/x-portable-anymap pnm
-image/x-portable-bitmap pbm
-image/x-portable-graymap pgm
-image/x-portable-pixmap ppm
-image/x-rgb rgb
-image/x-tga tga
-image/x-xbitmap xbm
-image/x-xpixmap xpm
-image/x-xwindowdump xwd
-# message/cpim
-# message/delivery-status
-# message/disposition-notification
-# message/example
-# message/external-body
-# message/feedback-report
-# message/global
-# message/global-delivery-status
-# message/global-disposition-notification
-# message/global-headers
-# message/http
-# message/imdn+xml
-# message/news
-# message/partial
-message/rfc822 eml mime
-# message/s-http
-# message/sip
-# message/sipfrag
-# message/tracking-status
-# message/vnd.si.simp
-# model/example
-model/iges igs iges
-model/mesh msh mesh silo
-model/vnd.collada+xml dae
-model/vnd.dwf dwf
-# model/vnd.flatland.3dml
-model/vnd.gdl gdl
-# model/vnd.gs-gdl
-# model/vnd.gs.gdl
-model/vnd.gtw gtw
-# model/vnd.moml+xml
-model/vnd.mts mts
-# model/vnd.parasolid.transmit.binary
-# model/vnd.parasolid.transmit.text
-model/vnd.vtu vtu
-model/vrml wrl vrml
-model/x3d+binary x3db x3dbz
-model/x3d+vrml x3dv x3dvz
-model/x3d+xml x3d x3dz
-# multipart/alternative
-# multipart/appledouble
-# multipart/byteranges
-# multipart/digest
-# multipart/encrypted
-# multipart/example
-# multipart/form-data
-# multipart/header-set
-# multipart/mixed
-# multipart/parallel
-# multipart/related
-# multipart/report
-# multipart/signed
-# multipart/voice-message
-# text/1d-interleaved-parityfec
-text/cache-manifest appcache
-text/calendar ics ifb
-text/css css
-text/csv csv
-# text/directory
-# text/dns
-# text/ecmascript
-# text/enriched
-# text/example
-# text/fwdred
-text/html html htm
-# text/javascript
-text/n3 n3
-# text/parityfec
-text/plain txt text conf def list log in
-# text/prs.fallenstein.rst
-text/prs.lines.tag dsc
-# text/vnd.radisys.msml-basic-layout
-# text/red
-# text/rfc822-headers
-text/richtext rtx
-# text/rtf
-# text/rtp-enc-aescm128
-# text/rtx
-text/sgml sgml sgm
-# text/t140
-text/tab-separated-values tsv
-text/troff t tr roff man me ms
-text/turtle ttl
-# text/ulpfec
-text/uri-list uri uris urls
-text/vcard vcard
-# text/vnd.abc
-text/vnd.curl curl
-text/vnd.curl.dcurl dcurl
-text/vnd.curl.scurl scurl
-text/vnd.curl.mcurl mcurl
-# text/vnd.dmclientscript
-text/vnd.dvb.subtitle sub
-# text/vnd.esmertec.theme-descriptor
-text/vnd.fly fly
-text/vnd.fmi.flexstor flx
-text/vnd.graphviz gv
-text/vnd.in3d.3dml 3dml
-text/vnd.in3d.spot spot
-# text/vnd.iptc.newsml
-# text/vnd.iptc.nitf
-# text/vnd.latex-z
-# text/vnd.motorola.reflex
-# text/vnd.ms-mediapackage
-# text/vnd.net2phone.commcenter.command
-# text/vnd.si.uricatalogue
-text/vnd.sun.j2me.app-descriptor jad
-# text/vnd.trolltech.linguist
-# text/vnd.wap.si
-# text/vnd.wap.sl
-text/vnd.wap.wml wml
-text/vnd.wap.wmlscript wmls
-text/x-asm s asm
-text/x-c c cc cxx cpp h hh dic
-text/x-fortran f for f77 f90
-text/x-java-source java
-text/x-opml opml
-text/x-pascal p pas
-text/x-nfo nfo
-text/x-setext etx
-text/x-sfv sfv
-text/x-uuencode uu
-text/x-vcalendar vcs
-text/x-vcard vcf
-# text/xml
-# text/xml-external-parsed-entity
-# video/1d-interleaved-parityfec
-video/3gpp 3gp
-# video/3gpp-tt
-video/3gpp2 3g2
-# video/bmpeg
-# video/bt656
-# video/celb
-# video/dv
-# video/example
-video/h261 h261
-video/h263 h263
-# video/h263-1998
-# video/h263-2000
-video/h264 h264
-# video/h264-rcdo
-# video/h264-svc
-video/jpeg jpgv
-# video/jpeg2000
-video/jpm jpm jpgm
-video/mj2 mj2 mjp2
-# video/mp1s
-# video/mp2p
-# video/mp2t
-video/mp4 mp4 mp4v mpg4
-# video/mp4v-es
-video/mpeg mpeg mpg mpe m1v m2v
-# video/mpeg4-generic
-# video/mpv
-# video/nv
-video/ogg ogv
-# video/parityfec
-# video/pointer
-video/quicktime qt mov
-# video/raw
-# video/rtp-enc-aescm128
-# video/rtx
-# video/smpte292m
-# video/ulpfec
-# video/vc1
-# video/vnd.cctv
-video/vnd.dece.hd uvh uvvh
-video/vnd.dece.mobile uvm uvvm
-# video/vnd.dece.mp4
-video/vnd.dece.pd uvp uvvp
-video/vnd.dece.sd uvs uvvs
-video/vnd.dece.video uvv uvvv
-# video/vnd.directv.mpeg
-# video/vnd.directv.mpeg-tts
-# video/vnd.dlna.mpeg-tts
-video/vnd.dvb.file dvb
-video/vnd.fvt fvt
-# video/vnd.hns.video
-# video/vnd.iptvforum.1dparityfec-1010
-# video/vnd.iptvforum.1dparityfec-2005
-# video/vnd.iptvforum.2dparityfec-1010
-# video/vnd.iptvforum.2dparityfec-2005
-# video/vnd.iptvforum.ttsavc
-# video/vnd.iptvforum.ttsmpeg2
-# video/vnd.motorola.video
-# video/vnd.motorola.videop
-video/vnd.mpegurl mxu m4u
-video/vnd.ms-playready.media.pyv pyv
-# video/vnd.nokia.interleaved-multimedia
-# video/vnd.nokia.videovoip
-# video/vnd.objectvideo
-# video/vnd.sealed.mpeg1
-# video/vnd.sealed.mpeg4
-# video/vnd.sealed.swf
-# video/vnd.sealedmedia.softseal.mov
-video/vnd.uvvu.mp4 uvu uvvu
-video/vnd.vivo viv
-video/webm webm
-video/x-f4v f4v
-video/x-fli fli
-video/x-flv flv
-video/x-m4v m4v
-video/x-matroska mkv mk3d mks
-video/x-mng mng
-video/x-ms-asf asf asx
-video/x-ms-vob vob
-video/x-ms-wm wm
-video/x-ms-wmv wmv
-video/x-ms-wmx wmx
-video/x-ms-wvx wvx
-video/x-msvideo avi
-video/x-sgi-movie movie
-video/x-smv smv
-x-conference/x-cooltalk ice
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/types/node.types b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/types/node.types
deleted file mode 100644
index 55b2cf7..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/mime/types/node.types
+++ /dev/null
@@ -1,77 +0,0 @@
-# What: WebVTT
-# Why: To allow formats intended for marking up external text track resources.
-# http://dev.w3.org/html5/webvtt/
-# Added by: niftylettuce
-text/vtt vtt
-
-# What: Google Chrome Extension
-# Why: To allow apps to (work) be served with the right content type header.
-# http://codereview.chromium.org/2830017
-# Added by: niftylettuce
-application/x-chrome-extension crx
-
-# What: HTC support
-# Why: To properly render .htc files such as CSS3PIE
-# Added by: niftylettuce
-text/x-component htc
-
-# What: HTML5 application cache manifes ('.manifest' extension)
-# Why: De-facto standard. Required by Mozilla browser when serving HTML5 apps
-# per https://developer.mozilla.org/en/offline_resources_in_firefox
-# Added by: louisremi
-text/cache-manifest manifest
-
-# What: node binary buffer format
-# Why: semi-standard extension w/in the node community
-# Added by: tootallnate
-application/octet-stream buffer
-
-# What: The "protected" MP-4 formats used by iTunes.
-# Why: Required for streaming music to browsers (?)
-# Added by: broofa
-application/mp4 m4p
-audio/mp4 m4a
-
-# What: Video format, Part of RFC1890
-# Why: See https://github.com/bentomas/node-mime/pull/6
-# Added by: mjrusso
-video/MP2T ts
-
-# What: EventSource mime type
-# Why: mime type of Server-Sent Events stream
-# http://www.w3.org/TR/eventsource/#text-event-stream
-# Added by: francois2metz
-text/event-stream event-stream
-
-# What: Mozilla App manifest mime type
-# Why: https://developer.mozilla.org/en/Apps/Manifest#Serving_manifests
-# Added by: ednapiranha
-application/x-web-app-manifest+json webapp
-
-# What: Lua file types
-# Why: Googling around shows de-facto consensus on these
-# Added by: creationix (Issue #45)
-text/x-lua lua
-application/x-lua-bytecode luac
-
-# What: Markdown files, as per http://daringfireball.net/projects/markdown/syntax
-# Why: http://stackoverflow.com/questions/10701983/what-is-the-mime-type-for-markdown
-# Added by: avoidwork
-text/x-markdown markdown md mkd
-
-# What: ini files
-# Why: because they're just text files
-# Added by: Matthew Kastor
-text/plain ini
-
-# What: DASH Adaptive Streaming manifest
-# Why: https://developer.mozilla.org/en-US/docs/DASH_Adaptive_Streaming_for_HTML_5_Video
-# Added by: eelcocramer
-application/dash+xml mdp
-
-# What: OpenType font files - http://www.microsoft.com/typography/otspec/
-# Why: Browsers usually ignore the font MIME types and sniff the content,
-# but Chrome, shows a warning if OpenType fonts aren't served with
-# the `font/opentype` MIME type: http://i.imgur.com/8c5RN8M.png.
-# Added by: alrra
-font/opentype otf
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/.npmignore b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/.npmignore
deleted file mode 100644
index d1aa0ce..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-node_modules
-test
-History.md
-Makefile
-component.json
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/README.md
deleted file mode 100644
index d4ab12a..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/README.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# ms.js: miliseconds conversion utility
-
-```js
-ms('1d') // 86400000
-ms('10h') // 36000000
-ms('2h') // 7200000
-ms('1m') // 60000
-ms('5s') // 5000
-ms('100') // 100
-```
-
-```js
-ms(60000) // "1m"
-ms(2 * 60000) // "2m"
-ms(ms('10 hours')) // "10h"
-```
-
-```js
-ms(60000, { long: true }) // "1 minute"
-ms(2 * 60000, { long: true }) // "2 minutes"
-ms(ms('10 hours', { long: true })) // "10 hours"
-```
-
-- Node/Browser compatible. Published as `ms` in NPM.
-- If a number is supplied to `ms`, a string with a unit is returned.
-- If a string that contains the number is supplied, it returns it as
-a number (e.g: it returns `100` for `'100'`).
-- If you pass a string with a number and a valid unit, the number of
-equivalent ms is returned.
-
-## License
-
-MIT
\ No newline at end of file
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/index.js
deleted file mode 100644
index c5847f8..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/index.js
+++ /dev/null
@@ -1,111 +0,0 @@
-/**
- * Helpers.
- */
-
-var s = 1000;
-var m = s * 60;
-var h = m * 60;
-var d = h * 24;
-var y = d * 365.25;
-
-/**
- * Parse or format the given `val`.
- *
- * Options:
- *
- * - `long` verbose formatting [false]
- *
- * @param {String|Number} val
- * @param {Object} options
- * @return {String|Number}
- * @api public
- */
-
-module.exports = function(val, options){
- options = options || {};
- if ('string' == typeof val) return parse(val);
- return options.long
- ? long(val)
- : short(val);
-};
-
-/**
- * Parse the given `str` and return milliseconds.
- *
- * @param {String} str
- * @return {Number}
- * @api private
- */
-
-function parse(str) {
- var match = /^((?:\d+)?\.?\d+) *(ms|seconds?|s|minutes?|m|hours?|h|days?|d|years?|y)?$/i.exec(str);
- if (!match) return;
- var n = parseFloat(match[1]);
- var type = (match[2] || 'ms').toLowerCase();
- switch (type) {
- case 'years':
- case 'year':
- case 'y':
- return n * y;
- case 'days':
- case 'day':
- case 'd':
- return n * d;
- case 'hours':
- case 'hour':
- case 'h':
- return n * h;
- case 'minutes':
- case 'minute':
- case 'm':
- return n * m;
- case 'seconds':
- case 'second':
- case 's':
- return n * s;
- case 'ms':
- return n;
- }
-}
-
-/**
- * Short format for `ms`.
- *
- * @param {Number} ms
- * @return {String}
- * @api private
- */
-
-function short(ms) {
- if (ms >= d) return Math.round(ms / d) + 'd';
- if (ms >= h) return Math.round(ms / h) + 'h';
- if (ms >= m) return Math.round(ms / m) + 'm';
- if (ms >= s) return Math.round(ms / s) + 's';
- return ms + 'ms';
-}
-
-/**
- * Long format for `ms`.
- *
- * @param {Number} ms
- * @return {String}
- * @api private
- */
-
-function long(ms) {
- return plural(ms, d, 'day')
- || plural(ms, h, 'hour')
- || plural(ms, m, 'minute')
- || plural(ms, s, 'second')
- || ms + ' ms';
-}
-
-/**
- * Pluralization helper.
- */
-
-function plural(ms, n, name) {
- if (ms < n) return;
- if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;
- return Math.ceil(ms / n) + ' ' + name + 's';
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/package.json
deleted file mode 100644
index 9ad9189..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/ms/package.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "name": "ms",
- "version": "0.6.2",
- "description": "Tiny ms conversion utility",
- "repository": {
- "type": "git",
- "url": "git://github.com/guille/ms.js.git"
- },
- "main": "./index",
- "devDependencies": {
- "mocha": "*",
- "expect.js": "*",
- "serve": "*"
- },
- "component": {
- "scripts": {
- "ms/index.js": "index.js"
- }
- },
- "bugs": {
- "url": "https://github.com/guille/ms.js/issues"
- },
- "_id": "ms@0.6.2",
- "dist": {
- "shasum": "d89c2124c6fdc1353d65a8b77bf1aac4b193708c",
- "tarball": "http://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
- },
- "_from": "ms@0.6.2",
- "_npmVersion": "1.2.30",
- "_npmUser": {
- "name": "rauchg",
- "email": "rauchg@gmail.com"
- },
- "maintainers": [
- {
- "name": "rauchg",
- "email": "rauchg@gmail.com"
- }
- ],
- "directories": {},
- "_shasum": "d89c2124c6fdc1353d65a8b77bf1aac4b193708c",
- "_resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/guille/ms.js",
- "scripts": {}
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/HISTORY.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/HISTORY.md
deleted file mode 100644
index 1a4063d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/HISTORY.md
+++ /dev/null
@@ -1,71 +0,0 @@
-2.1.1 / 2014-10-22
-==================
-
- * Fix handling of pipelined requests
-
-2.1.0 / 2014-08-16
-==================
-
- * Check if `socket` is detached
- * Return `undefined` for `isFinished` if state unknown
-
-2.0.0 / 2014-08-16
-==================
-
- * Add `isFinished` function
- * Move to `jshttp` organization
- * Remove support for plain socket argument
- * Rename to `on-finished`
- * Support both `req` and `res` as arguments
- * deps: ee-first@1.0.5
-
-1.2.2 / 2014-06-10
-==================
-
- * Reduce listeners added to emitters
- - avoids "event emitter leak" warnings when used multiple times on same request
-
-1.2.1 / 2014-06-08
-==================
-
- * Fix returned value when already finished
-
-1.2.0 / 2014-06-05
-==================
-
- * Call callback when called on already-finished socket
-
-1.1.4 / 2014-05-27
-==================
-
- * Support node.js 0.8
-
-1.1.3 / 2014-04-30
-==================
-
- * Make sure errors passed as instanceof `Error`
-
-1.1.2 / 2014-04-18
-==================
-
- * Default the `socket` to passed-in object
-
-1.1.1 / 2014-01-16
-==================
-
- * Rename module to `finished`
-
-1.1.0 / 2013-12-25
-==================
-
- * Call callback when called on already-errored socket
-
-1.0.1 / 2013-12-20
-==================
-
- * Actually pass the error to the callback
-
-1.0.0 / 2013-12-20
-==================
-
- * Initial release
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/LICENSE
deleted file mode 100644
index 5931fd2..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013 Jonathan Ong
-Copyright (c) 2014 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/README.md
deleted file mode 100644
index 6fb0e4d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/README.md
+++ /dev/null
@@ -1,102 +0,0 @@
-# on-finished
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Execute a callback when a request closes, finishes, or errors.
-
-## Install
-
-```sh
-$ npm install on-finished
-```
-
-## API
-
-```js
-var onFinished = require('on-finished')
-```
-
-### onFinished(res, listener)
-
-Attach a listener to listen for the response to finish. The listener will
-be invoked only once when the response finished. If the response finished
-to to an error, the first argument will contain the error.
-
-Listening to the end of a response would be used to close things associated
-with the response, like open files.
-
-```js
-onFinished(res, function (err) {
- // clean up open fds, etc.
-})
-```
-
-### onFinished(req, listener)
-
-Attach a listener to listen for the request to finish. The listener will
-be invoked only once when the request finished. If the request finished
-to to an error, the first argument will contain the error.
-
-Listening to the end of a request would be used to know when to continue
-after reading the data.
-
-```js
-var data = ''
-
-req.setEncoding('utf8')
-res.on('data', function (str) {
- data += str
-})
-
-onFinished(req, function (err) {
- // data is read unless there is err
-})
-```
-
-### onFinished.isFinished(res)
-
-Determine if `res` is already finished. This would be useful to check and
-not even start certain operations if the response has already finished.
-
-### onFinished.isFinished(req)
-
-Determine if `req` is already finished. This would be useful to check and
-not even start certain operations if the request has already finished.
-
-### Example
-
-The following code ensures that file descriptors are always closed
-once the response finishes.
-
-```js
-var destroy = require('destroy')
-var http = require('http')
-var onFinished = require('on-finished')
-
-http.createServer(function onRequest(req, res) {
- var stream = fs.createReadStream('package.json')
- stream.pipe(res)
- onFinished(res, function (err) {
- destroy(stream)
- })
-})
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/on-finished.svg?style=flat
-[npm-url]: https://npmjs.org/package/on-finished
-[node-version-image]: https://img.shields.io/node/v/on-finished.svg?style=flat
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/on-finished.svg?style=flat
-[travis-url]: https://travis-ci.org/jshttp/on-finished
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/on-finished.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/jshttp/on-finished?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/on-finished.svg?style=flat
-[downloads-url]: https://npmjs.org/package/on-finished
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/index.js
deleted file mode 100644
index e75a7e9..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/index.js
+++ /dev/null
@@ -1,191 +0,0 @@
-/*!
- * on-finished
- * Copyright(c) 2013 Jonathan Ong
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module exports.
- */
-
-module.exports = onFinished;
-module.exports.isFinished = isFinished;
-
-/**
-* Module dependencies.
-*/
-
-var first = require('ee-first')
-
-/**
-* Variables.
-*/
-
-/* istanbul ignore next */
-var defer = typeof setImmediate === 'function'
- ? setImmediate
- : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }
-
-/**
- * Invoke callback when the response has finished, useful for
- * cleaning up resources afterwards.
- *
- * @param {object} msg
- * @param {function} listener
- * @return {object}
- * @api public
- */
-
-function onFinished(msg, listener) {
- if (isFinished(msg) !== false) {
- defer(listener)
- return msg
- }
-
- // attach the listener to the message
- attachListener(msg, listener)
-
- return msg
-}
-
-/**
- * Determine if message is already finished.
- *
- * @param {object} msg
- * @return {boolean}
- * @api public
- */
-
-function isFinished(msg) {
- var socket = msg.socket
-
- if (typeof msg.finished === 'boolean') {
- // OutgoingMessage
- return Boolean(msg.finished || (socket && !socket.writable))
- }
-
- if (typeof msg.complete === 'boolean') {
- // IncomingMessage
- return Boolean(!socket || msg.complete || !socket.readable)
- }
-
- // don't know
- return undefined
-}
-
-/**
- * Attach a finished listener to the message.
- *
- * @param {object} msg
- * @param {function} callback
- * @private
- */
-
-function attachFinishedListener(msg, callback) {
- var eeMsg
- var eeSocket
- var finished = false
-
- function onFinish(error) {
- eeMsg.cancel()
- eeSocket.cancel()
-
- finished = true
- callback(error)
- }
-
- // finished on first message event
- eeMsg = eeSocket = first([[msg, 'end', 'finish']], onFinish)
-
- function onSocket(socket) {
- // remove listener
- msg.removeListener('socket', onSocket)
-
- if (finished) return
- if (eeMsg !== eeSocket) return
-
- // finished on first socket event
- eeSocket = first([[socket, 'error', 'close']], onFinish)
- }
-
- if (msg.socket) {
- // socket already assigned
- onSocket(msg.socket)
- return
- }
-
- // wait for socket to be assigned
- msg.on('socket', onSocket)
-
- if (msg.socket === undefined) {
- // node.js 0.8 patch
- patchAssignSocket(msg, onSocket)
- }
-}
-
-/**
- * Attach the listener to the message.
- *
- * @param {object} msg
- * @return {function}
- * @api private
- */
-
-function attachListener(msg, listener) {
- var attached = msg.__onFinished
-
- // create a private single listener with queue
- if (!attached || !attached.queue) {
- attached = msg.__onFinished = createListener(msg)
- attachFinishedListener(msg, attached)
- }
-
- attached.queue.push(listener)
-}
-
-/**
- * Create listener on message.
- *
- * @param {object} msg
- * @return {function}
- * @api private
- */
-
-function createListener(msg) {
- function listener(err) {
- if (msg.__onFinished === listener) msg.__onFinished = null
- if (!listener.queue) return
-
- var queue = listener.queue
- listener.queue = null
-
- for (var i = 0; i < queue.length; i++) {
- queue[i](err)
- }
- }
-
- listener.queue = []
-
- return listener
-}
-
-/**
- * Patch ServerResponse.prototype.assignSocket for node.js 0.8.
- *
- * @param {ServerResponse} res
- * @param {function} callback
- * @private
- */
-
-function patchAssignSocket(res, callback) {
- var assignSocket = res.assignSocket
-
- if (typeof assignSocket !== 'function') return
-
- // res.on('socket', callback) is broken in 0.8
- res.assignSocket = function _assignSocket(socket) {
- assignSocket.call(this, socket)
- callback(socket)
- }
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/LICENSE
deleted file mode 100644
index c1b15a1..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Jonathan Ong me@jongleberry.com
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/README.md
deleted file mode 100644
index bb16aab..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/README.md
+++ /dev/null
@@ -1,80 +0,0 @@
-# EE First
-
-[![NPM version][npm-image]][npm-url]
-[![Build status][travis-image]][travis-url]
-[![Test coverage][coveralls-image]][coveralls-url]
-[![License][license-image]][license-url]
-[![Downloads][downloads-image]][downloads-url]
-[![Gittip][gittip-image]][gittip-url]
-
-Get the first event in a set of event emitters and event pairs,
-then clean up after itself.
-
-## Install
-
-```sh
-$ npm install ee-first
-```
-
-## API
-
-```js
-var first = require('ee-first')
-```
-
-### first(arr, listener)
-
-Invoke `listener` on the first event from the list specified in `arr`. `arr` is
-an array of arrays, with each array in the format `[ee, ...event]`. `listener`
-will be called only once, the first time any of the given events are emitted. If
-`error` is one of the listened events, then if that fires first, the `listener`
-will be given the `err` argument.
-
-The `listener` is invoked as `listener(err, ee, event, args)`, where `err` is the
-first argument emitted from an `error` event, if applicable; `ee` is the event
-emitter that fired; `event` is the string event name that fired; and `args` is an
-array of the arguments that were emitted on the event.
-
-```js
-var ee1 = new EventEmitter()
-var ee2 = new EventEmitter()
-
-first([
- [ee1, 'close', 'end', 'error'],
- [ee2, 'error']
-], function (err, ee, event, args) {
- // listener invoked
-})
-```
-
-#### .cancel()
-
-The group of listeners can be cancelled before being invoked and have all the event
-listeners removed from the underlying event emitters.
-
-```js
-var thunk = first([
- [ee1, 'close', 'end', 'error'],
- [ee2, 'error']
-], function (err, ee, event, args) {
- // listener invoked
-})
-
-// cancel and clean up
-thunk.cancel()
-```
-
-[npm-image]: https://img.shields.io/npm/v/ee-first.svg?style=flat-square
-[npm-url]: https://npmjs.org/package/ee-first
-[github-tag]: http://img.shields.io/github/tag/jonathanong/ee-first.svg?style=flat-square
-[github-url]: https://github.com/jonathanong/ee-first/tags
-[travis-image]: https://img.shields.io/travis/jonathanong/ee-first.svg?style=flat-square
-[travis-url]: https://travis-ci.org/jonathanong/ee-first
-[coveralls-image]: https://img.shields.io/coveralls/jonathanong/ee-first.svg?style=flat-square
-[coveralls-url]: https://coveralls.io/r/jonathanong/ee-first?branch=master
-[license-image]: http://img.shields.io/npm/l/ee-first.svg?style=flat-square
-[license-url]: LICENSE.md
-[downloads-image]: http://img.shields.io/npm/dm/ee-first.svg?style=flat-square
-[downloads-url]: https://npmjs.org/package/ee-first
-[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
-[gittip-url]: https://www.gittip.com/jonathanong/
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/index.js
deleted file mode 100644
index 1d66203..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/index.js
+++ /dev/null
@@ -1,68 +0,0 @@
-
-module.exports = function first(stuff, done) {
- if (!Array.isArray(stuff))
- throw new TypeError('arg must be an array of [ee, events...] arrays')
-
- var cleanups = []
-
- for (var i = 0; i < stuff.length; i++) {
- var arr = stuff[i]
-
- if (!Array.isArray(arr) || arr.length < 2)
- throw new TypeError('each array member must be [ee, events...]')
-
- var ee = arr[0]
-
- for (var j = 1; j < arr.length; j++) {
- var event = arr[j]
- var fn = listener(event, callback)
-
- // listen to the event
- ee.on(event, fn)
- // push this listener to the list of cleanups
- cleanups.push({
- ee: ee,
- event: event,
- fn: fn,
- })
- }
- }
-
- function callback() {
- cleanup()
- done.apply(null, arguments)
- }
-
- function cleanup() {
- var x
- for (var i = 0; i < cleanups.length; i++) {
- x = cleanups[i]
- x.ee.removeListener(x.event, x.fn)
- }
- }
-
- function thunk(fn) {
- done = fn
- }
-
- thunk.cancel = cleanup
-
- return thunk
-}
-
-function listener(event, done) {
- return function onevent(arg1) {
- var args = new Array(arguments.length)
- var ee = this
- var err = event === 'error'
- ? arg1
- : null
-
- // copy args to prevent arguments escaping scope
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i]
- }
-
- done(err, ee, event, args)
- }
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/package.json
deleted file mode 100644
index 5b39931..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/node_modules/ee-first/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "name": "ee-first",
- "description": "return the first event in a set of ee/event pairs",
- "version": "1.1.0",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/jonathanong/ee-first"
- },
- "devDependencies": {
- "istanbul": "0.3.2",
- "mocha": "1"
- },
- "files": [
- "index.js",
- "LICENSE"
- ],
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "gitHead": "a6412004da4745941af2fc98ec30c8da570da7ea",
- "bugs": {
- "url": "https://github.com/jonathanong/ee-first/issues"
- },
- "homepage": "https://github.com/jonathanong/ee-first",
- "_id": "ee-first@1.1.0",
- "_shasum": "6a0d7c6221e490feefd92ec3f441c9ce8cd097f4",
- "_from": "ee-first@1.1.0",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- },
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "dist": {
- "shasum": "6a0d7c6221e490feefd92ec3f441c9ce8cd097f4",
- "tarball": "http://registry.npmjs.org/ee-first/-/ee-first-1.1.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/package.json
deleted file mode 100644
index ea60078..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/on-finished/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "name": "on-finished",
- "description": "Execute a callback when a request closes, finishes, or errors",
- "version": "2.1.1",
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/jshttp/on-finished"
- },
- "dependencies": {
- "ee-first": "1.1.0"
- },
- "devDependencies": {
- "istanbul": "0.3.2",
- "mocha": "~2.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "gitHead": "8ec5fa639ace400b543b5bc1821ce909b9acdc03",
- "bugs": {
- "url": "https://github.com/jshttp/on-finished/issues"
- },
- "homepage": "https://github.com/jshttp/on-finished",
- "_id": "on-finished@2.1.1",
- "_shasum": "f82ca1c9e3a4f3286b1b9938610e5b8636bd3cb2",
- "_from": "on-finished@~2.1.1",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- }
- ],
- "dist": {
- "shasum": "f82ca1c9e3a4f3286b1b9938610e5b8636bd3cb2",
- "tarball": "http://registry.npmjs.org/on-finished/-/on-finished-2.1.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.1.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/HISTORY.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/HISTORY.md
deleted file mode 100644
index 1bb53bd..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/HISTORY.md
+++ /dev/null
@@ -1,35 +0,0 @@
-1.0.2 / 2014-09-08
-==================
-
- * Support Node.js 0.6
-
-1.0.1 / 2014-09-07
-==================
-
- * Move repository to jshttp
-
-1.0.0 / 2013-12-11
-==================
-
- * Add repository to package.json
- * Add MIT license
-
-0.0.4 / 2012-06-17
-==================
-
- * Change ret -1 for unsatisfiable and -2 when invalid
-
-0.0.3 / 2012-06-17
-==================
-
- * Fix last-byte-pos default to len - 1
-
-0.0.2 / 2012-06-14
-==================
-
- * Add `.type`
-
-0.0.1 / 2012-06-11
-==================
-
- * Initial release
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/LICENSE
deleted file mode 100644
index a491841..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2014 TJ Holowaychuk
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/README.md
deleted file mode 100644
index 6a2682f..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/README.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# range-parser
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Range header field parser.
-
-## Installation
-
-```
-$ npm install range-parser
-```
-
-## Examples
-
-```js
-assert(-1 == parse(200, 'bytes=500-20'));
-assert(-2 == parse(200, 'bytes=malformed'));
-parse(200, 'bytes=0-499').should.eql(arr('bytes', [{ start: 0, end: 199 }]));
-parse(1000, 'bytes=0-499').should.eql(arr('bytes', [{ start: 0, end: 499 }]));
-parse(1000, 'bytes=40-80').should.eql(arr('bytes', [{ start: 40, end: 80 }]));
-parse(1000, 'bytes=-500').should.eql(arr('bytes', [{ start: 500, end: 999 }]));
-parse(1000, 'bytes=-400').should.eql(arr('bytes', [{ start: 600, end: 999 }]));
-parse(1000, 'bytes=500-').should.eql(arr('bytes', [{ start: 500, end: 999 }]));
-parse(1000, 'bytes=400-').should.eql(arr('bytes', [{ start: 400, end: 999 }]));
-parse(1000, 'bytes=0-0').should.eql(arr('bytes', [{ start: 0, end: 0 }]));
-parse(1000, 'bytes=-1').should.eql(arr('bytes', [{ start: 999, end: 999 }]));
-parse(1000, 'items=0-5').should.eql(arr('items', [{ start: 0, end: 5 }]));
-parse(1000, 'bytes=40-80,-1').should.eql(arr('bytes', [{ start: 40, end: 80 }, { start: 999, end: 999 }]));
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/range-parser.svg?style=flat
-[npm-url]: https://npmjs.org/package/range-parser
-[node-version-image]: https://img.shields.io/badge/node.js-%3E%3D_0.6-brightgreen.svg?style=flat
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/range-parser.svg?style=flat
-[travis-url]: https://travis-ci.org/jshttp/range-parser
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/range-parser.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/jshttp/range-parser
-[downloads-image]: https://img.shields.io/npm/dm/range-parser.svg?style=flat
-[downloads-url]: https://npmjs.org/package/range-parser
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/index.js
deleted file mode 100644
index 09a6c40..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/index.js
+++ /dev/null
@@ -1,49 +0,0 @@
-
-/**
- * Parse "Range" header `str` relative to the given file `size`.
- *
- * @param {Number} size
- * @param {String} str
- * @return {Array}
- * @api public
- */
-
-module.exports = function(size, str){
- var valid = true;
- var i = str.indexOf('=');
-
- if (-1 == i) return -2;
-
- var arr = str.slice(i + 1).split(',').map(function(range){
- var range = range.split('-')
- , start = parseInt(range[0], 10)
- , end = parseInt(range[1], 10);
-
- // -nnn
- if (isNaN(start)) {
- start = size - end;
- end = size - 1;
- // nnn-
- } else if (isNaN(end)) {
- end = size - 1;
- }
-
- // limit last-byte-pos to current length
- if (end > size - 1) end = size - 1;
-
- // invalid
- if (isNaN(start)
- || isNaN(end)
- || start > end
- || start < 0) valid = false;
-
- return {
- start: start,
- end: end
- };
- });
-
- arr.type = str.slice(0, i);
-
- return valid ? arr : -1;
-};
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/package.json
deleted file mode 100644
index 9fc243b..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/node_modules/range-parser/package.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "name": "range-parser",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca",
- "url": "http://tjholowaychuk.com"
- },
- "description": "Range header field string parser",
- "version": "1.0.2",
- "license": "MIT",
- "keywords": [
- "range",
- "parser",
- "http"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/jshttp/range-parser"
- },
- "devDependencies": {
- "istanbul": "0",
- "mocha": "1",
- "should": "2"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.6"
- },
- "scripts": {
- "test": "mocha --reporter spec --require should",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot --require should"
- },
- "gitHead": "ae23b02ce705b56e7f7c48e832d41fa710227ecc",
- "bugs": {
- "url": "https://github.com/jshttp/range-parser/issues"
- },
- "homepage": "https://github.com/jshttp/range-parser",
- "_id": "range-parser@1.0.2",
- "_shasum": "06a12a42e5131ba8e457cd892044867f2344e549",
- "_from": "range-parser@~1.0.2",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- {
- "name": "jonathanong",
- "email": "jonathanrichardong@gmail.com"
- },
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- }
- ],
- "dist": {
- "shasum": "06a12a42e5131ba8e457cd892044867f2344e549",
- "tarball": "http://registry.npmjs.org/range-parser/-/range-parser-1.0.2.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.2.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/send/package.json
deleted file mode 100644
index de43e7d..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/send/package.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "name": "send",
- "description": "Better streaming static file server with Range and conditional-GET support",
- "version": "0.10.1",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca"
- },
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/tj/send"
- },
- "keywords": [
- "static",
- "file",
- "server"
- ],
- "dependencies": {
- "debug": "~2.1.0",
- "depd": "~1.0.0",
- "destroy": "1.0.3",
- "escape-html": "1.0.1",
- "etag": "~1.5.0",
- "fresh": "0.2.4",
- "mime": "1.2.11",
- "ms": "0.6.2",
- "on-finished": "~2.1.1",
- "range-parser": "~1.0.2"
- },
- "devDependencies": {
- "istanbul": "0.3.2",
- "mocha": "~2.0.0",
- "should": "~4.1.0",
- "supertest": "~0.14.0"
- },
- "files": [
- "History.md",
- "LICENSE",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.8.0"
- },
- "scripts": {
- "test": "mocha --check-leaks --reporter spec --bail",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec"
- },
- "gitHead": "a5e6237f3e812a99d079e2100f6294251ef5f465",
- "bugs": {
- "url": "https://github.com/tj/send/issues"
- },
- "homepage": "https://github.com/tj/send",
- "_id": "send@0.10.1",
- "_shasum": "7745c50ec72f115115980e8fb179aec01900e08a",
- "_from": "send@0.10.1",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "dist": {
- "shasum": "7745c50ec72f115115980e8fb179aec01900e08a",
- "tarball": "http://registry.npmjs.org/send/-/send-0.10.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/send/-/send-0.10.1.tgz"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/.travis.yml b/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/.travis.yml
deleted file mode 100644
index af92b02..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/.travis.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-language: "node_js"
-node_js:
- - "0.4"
- - "0.6"
- - "0.8"
- - "0.10"
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/LICENSE b/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/LICENSE
deleted file mode 100644
index e33bd10..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013 Jared Hanson
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/README.md b/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/README.md
deleted file mode 100644
index 2f94e9b..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/README.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# utils-merge
-
-Merges the properties from a source object into a destination object.
-
-## Install
-
- $ npm install utils-merge
-
-## Usage
-
-```javascript
-var a = { foo: 'bar' }
- , b = { bar: 'baz' };
-
-merge(a, b);
-// => { foo: 'bar', bar: 'baz' }
-```
-
-## Tests
-
- $ npm install
- $ npm test
-
-[![Build Status](https://secure.travis-ci.org/jaredhanson/utils-merge.png)](http://travis-ci.org/jaredhanson/utils-merge)
-
-## Credits
-
- - [Jared Hanson](http://github.com/jaredhanson)
-
-## License
-
-[The MIT License](http://opensource.org/licenses/MIT)
-
-Copyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/index.js b/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/index.js
deleted file mode 100644
index 4265c69..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Merge object b with object a.
- *
- * var a = { foo: 'bar' }
- * , b = { bar: 'baz' };
- *
- * merge(a, b);
- * // => { foo: 'bar', bar: 'baz' }
- *
- * @param {Object} a
- * @param {Object} b
- * @return {Object}
- * @api public
- */
-
-exports = module.exports = function(a, b){
- if (a && b) {
- for (var key in b) {
- a[key] = b[key];
- }
- }
- return a;
-};
diff --git a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/package.json b/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/package.json
deleted file mode 100644
index e655383..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/node_modules/utils-merge/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "utils-merge",
- "version": "1.0.0",
- "description": "merge() utility function",
- "keywords": [
- "util"
- ],
- "repository": {
- "type": "git",
- "url": "git://github.com/jaredhanson/utils-merge.git"
- },
- "bugs": {
- "url": "http://github.com/jaredhanson/utils-merge/issues"
- },
- "author": {
- "name": "Jared Hanson",
- "email": "jaredhanson@gmail.com",
- "url": "http://www.jaredhanson.net/"
- },
- "licenses": [
- {
- "type": "MIT",
- "url": "http://www.opensource.org/licenses/MIT"
- }
- ],
- "main": "./index",
- "dependencies": {},
- "devDependencies": {
- "mocha": "1.x.x",
- "chai": "1.x.x"
- },
- "scripts": {
- "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js"
- },
- "engines": {
- "node": ">= 0.4.0"
- },
- "readme": "# utils-merge\n\nMerges the properties from a source object into a destination object.\n\n## Install\n\n $ npm install utils-merge\n\n## Usage\n\n```javascript\nvar a = { foo: 'bar' }\n , b = { bar: 'baz' };\n\nmerge(a, b);\n// => { foo: 'bar', bar: 'baz' }\n```\n\n## Tests\n\n $ npm install\n $ npm test\n\n[![Build Status](https://secure.travis-ci.org/jaredhanson/utils-merge.png)](http://travis-ci.org/jaredhanson/utils-merge)\n\n## Credits\n\n - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n",
- "readmeFilename": "README.md",
- "_id": "utils-merge@1.0.0",
- "dist": {
- "shasum": "0294fb922bb9375153541c4f7096231f287c8af8",
- "tarball": "http://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz"
- },
- "_from": "utils-merge@1.0.0",
- "_npmVersion": "1.2.25",
- "_npmUser": {
- "name": "jaredhanson",
- "email": "jaredhanson@gmail.com"
- },
- "maintainers": [
- {
- "name": "jaredhanson",
- "email": "jaredhanson@gmail.com"
- }
- ],
- "directories": {},
- "_shasum": "0294fb922bb9375153541c4f7096231f287c8af8",
- "_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz",
- "homepage": "https://github.com/jaredhanson/utils-merge"
-}
diff --git a/node_modules/browser-sync/node_modules/serve-static/package.json b/node_modules/browser-sync/node_modules/serve-static/package.json
deleted file mode 100644
index 5915cfa..0000000
--- a/node_modules/browser-sync/node_modules/serve-static/package.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "name": "serve-static",
- "description": "Serve static files",
- "version": "1.7.1",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/expressjs/serve-static"
- },
- "dependencies": {
- "escape-html": "1.0.1",
- "parseurl": "~1.3.0",
- "send": "0.10.1",
- "utils-merge": "1.0.0"
- },
- "devDependencies": {
- "istanbul": "0.3.2",
- "mocha": "~2.0.0",
- "should": "~4.1.0",
- "supertest": "~0.14.0"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "engines": {
- "node": ">= 0.8.0"
- },
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks --require should test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks --require should test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks --require should test/"
- },
- "gitHead": "61f59894e6a3d41532383ca440a395772bcdc8ed",
- "bugs": {
- "url": "https://github.com/expressjs/serve-static/issues"
- },
- "homepage": "https://github.com/expressjs/serve-static",
- "_id": "serve-static@1.7.1",
- "_shasum": "6ea54d5ba7ef563f00e5fad25d0e4f5307e9809b",
- "_from": "serve-static@^1.4.2",
- "_npmVersion": "1.4.21",
- "_npmUser": {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- "maintainers": [
- {
- "name": "dougwilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "jongleberry",
- "email": "jonathanrichardong@gmail.com"
- },
- {
- "name": "shtylman",
- "email": "shtylman@gmail.com"
- },
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- {
- "name": "mscdex",
- "email": "mscdex@mscdex.net"
- },
- {
- "name": "fishrock123",
- "email": "fishrock123@rocketmail.com"
- }
- ],
- "dist": {
- "shasum": "6ea54d5ba7ef563f00e5fad25d0e4f5307e9809b",
- "tarball": "http://registry.npmjs.org/serve-static/-/serve-static-1.7.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.7.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/socket.io/.npmignore b/node_modules/browser-sync/node_modules/socket.io/.npmignore
deleted file mode 100644
index 55a736b..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/.npmignore
+++ /dev/null
@@ -1,4 +0,0 @@
-support
-test
-examples
-.gitignore
diff --git a/node_modules/browser-sync/node_modules/socket.io/.travis.yml b/node_modules/browser-sync/node_modules/socket.io/.travis.yml
deleted file mode 100644
index 1e811f5..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-language: node_js
-node_js:
- - "0.8"
- - "0.10"
- - "0.11"
-
-git:
- depth: 1
-
-matrix:
- fast_finish: true
- allow_failures:
- - node_js: "0.11"
-
-notifications:
- irc: "irc.freenode.org#socket.io"
diff --git a/node_modules/browser-sync/node_modules/socket.io/History.md b/node_modules/browser-sync/node_modules/socket.io/History.md
deleted file mode 100644
index b1bab94..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/History.md
+++ /dev/null
@@ -1,451 +0,0 @@
-
-1.2.1 / 2014-11-21
-==================
-
- * fix protocol violations and improve error handling (GH-1880)
- * package: bump `engine.io` for websocket leak fix [3rd-Eden]
- * style tweaks
-
-1.2.0 / 2014-10-27
-==================
-
- * package: bump `engine.io`
- * downloads badge
- * add test to check that empty rooms are autopruned
- * added Server#origins(v:Function) description for dynamic CORS
- * added test coverage for Server#origins(function) for dynamic CORS
- * added optional Server#origins(function) for dynamic CORS
- * fix usage example for Server#close
- * package: fix main file for example application 'chat'
- * package: bump `socket.io-parser`
- * update README http ctor to createServer()
- * bump adapter with a lot of fixes for room bookkeeping
-
-1.1.0 / 2014-09-04
-==================
-
- * examples: minor fix of escaping
- * testing for equivalence of namespaces starting with / or without
- * update index.js
- * added relevant tests
- * take "" and "/" as equivalent namespaces on server
- * use svg instead of png to get better image quality in readme
- * make CI build faster
- * fix splice arguments and `socket.rooms` value update in `socket.leaveAll`.
- * client cannot connect to non-existing namespaces
- * bump engine.io version to get the cached IP address
- * fixed handshake object address property and made the test case more strict.
- * package: bump `engine.io`
- * fixed the failing test where server crashes on disconnect involving connectBuffer
- * npmignore: ignore `.gitignore` (fixes #1607)
- * test: added failing case for `socket.disconnect` and nsps
- * fix repo in package.json
- * improve Close documentation
- * use ephemeral ports
- * fix: We should use the standard http protocol to handler the etag header.
- * override default browser font-family for inputs
- * update has-binary-data to 1.0.3
- * add close specs
- * add ability to stop the http server even if not created inside socket.io
- * make sure server gets close
- * Add test case for checking that reconnect_failed is fired only once upon failure
- * package: bump `socket.io-parser` for `component-emitter` dep fix
-
-1.0.6 / 2014-06-19
-==================
-
- * package: bump `socket.io-client`
-
-1.0.5 / 2014-06-16
-==================
-
- * package: bump `engine.io` to fix jsonp `\n` bug and CORS warnings
- * index: fix typo [yanatan16]
- * add `removeListener` to blacklisted events
- * examples: clearer instructions to install chat example
- * index: fix namespace `connectBuffer` issue
-
-1.0.4 / 2014-06-02
-==================
-
- * package: bump socket.io-client
-
-1.0.3 / 2014-05-31
-==================
-
- * package: bump `socket.io-client`
- * package: bump `socket.io-parser` for binary ACK fix
- * package: bump `engine.io` for binary UTF8 fix
- * example: fix XSS in chat example
-
-1.0.2 / 2014-05-28
-==================
-
- * package: bump `socket.io-parser` for windows fix
-
-1.0.1 / 2014-05-28
-==================
-
- * bump due to bad npm tag
-
-1.0.0 / 2014-05-28
-==================
-
- * stable release
-
-1.0.0-pre5 / 2014-05-22
-=======================
-
- * package: bump `socket.io-client` for parser fixes
- * package: bump `engine.io`
-
-1.0.0-pre4 / 2014-05-19
-=======================
-
- * package: bump client
-
-1.0.0-pre3 / 2014-05-17
-=======================
-
- * package: bump parser
- * package: bump engine.io
-
-1.0.0-pre2 / 2014-04-27
-=======================
-
- * package: bump `engine.io`
- * added backwards compatible of engine.io maxHttpBufferSize
- * added test that server and client using same protocol
- * added support for setting allowed origins
- * added information about logging
- * the set function in server can be used to set some attributes for BC
- * fix error in callback call 'done' instead of 'next' in docs
- * package: bump `socket.io-parser`
- * package: bump `expect.js`
- * added some new tests, including binary with acks
-
-1.0.0-pre / 2014-03-14
-======================
-
- * implemented `engine.io`
- * implemented `socket.io-adapter`
- * implemented `socket.io-protocol`
- * implemented `debug` and improved instrumentation
- * added binary support
- * added new `require('io')(srv)` signature
- * simplified `socket.io-client` serving
-
-0.9.14 / 2013-03-29
-===================
-
- * manager: fix memory leak with SSL [jpallen]
-
-0.9.13 / 2012-12-13
-===================
-
- * package: fixed `base64id` requirement
-
-0.9.12 / 2012-12-13
-===================
-
- * manager: fix for latest node which is returning a clone with `listeners` [viirya]
-
-0.9.11 / 2012-11-02
-===================
-
- * package: move redis to optionalDependenices [3rd-Eden]
- * bumped client
-
-0.9.10 / 2012-08-10
-===================
-
- * Don't lowercase log messages
- * Always set the HTTP response in case an error should be returned to the client
- * Create or destroy the flash policy server on configuration change
- * Honour configuration to disable flash policy server
- * Add express 3.0 instructions on Readme.md
- * Bump client
-
-0.9.9 / 2012-08-01
-==================
-
- * Fixed sync disconnect xhrs handling
- * Put license text in its own file (#965)
- * Add warning to .listen() to ease the migration to Express 3.x
- * Restored compatibility with node 0.4.x
-
-0.9.8 / 2012-07-24
-==================
-
- * Bumped client.
-
-0.9.7 / 2012-07-24
-==================
-
- * Prevent crash when socket leaves a room twice.
- * Corrects unsafe usage of for..in
- * Fix for node 0.8 with `gzip compression` [vadimi]
- * Update redis to support Node 0.8.x
- * Made ID generation securely random
- * Fix Redis Store race condition in manager onOpen unsubscribe callback
- * Fix for EventEmitters always reusing the same Array instance for listeners
-
-0.9.6 / 2012-04-17
-==================
-
- * Fixed XSS in jsonp-polling.
-
-0.9.5 / 2012-04-05
-==================
-
- * Added test for polling and socket close.
- * Ensure close upon request close.
- * Fix disconnection reason being lost for polling transports.
- * Ensure that polling transports work with Connection: close.
- * Log disconnection reason.
-
-0.9.4 / 2012-04-01
-==================
-
- * Disconnecting from namespace improvement (#795) [DanielBaulig]
- * Bumped client with polling reconnection loop (#438)
-
-0.9.3 / 2012-03-28
-==================
-
- * Fix "Syntax error" on FF Web Console with XHR Polling [mikito]
-
-0.9.2 / 2012-03-13
-==================
-
- * More sensible close `timeout default` (fixes disconnect issue)
-
-0.9.1-1 / 2012-03-02
-====================
-
- * Bumped client with NPM dependency fix.
-
-0.9.1 / 2012-03-02
-==================
-
- * Changed heartbeat timeout and interval defaults (60 and 25 seconds)
- * Make tests work both on 0.4 and 0.6
- * Updated client (improvements + bug fixes).
-
-0.9.0 / 2012-02-26
-==================
-
- * Make it possible to use a regexp to match the socket.io resource URL.
- We need this because we have to prefix the socket.io URL with a variable ID.
- * Supplemental fix to gavinuhma/authfix, it looks like the same Access-Control-Origin logic is needed in the http and xhr-polling transports
- * Updated express dep for windows compatibility.
- * Combine two substr calls into one in decodePayload to improve performance
- * Minor documentation fix
- * Minor. Conform to style of other files.
- * Switching setting to 'match origin protocol'
- * Revert "Fixes leaking Redis subscriptions for #663. The local flag was not getting passed through onClientDisconnect()."
- * Revert "Handle leaked dispatch:[id] subscription."
- * Merge pull request #667 from dshaw/patch/redis-disconnect
- * Handle leaked dispatch:[id] subscription.
- * Fixes leaking Redis subscriptions for #663. The local flag was not getting passed through onClientDisconnect().
- * Prevent memory leaking on uncompleted requests & add max post size limitation
- * Fix for testcase
- * Set Access-Control-Allow-Credentials true, regardless of cookie
- * Remove assertvarnish from package as it breaks on 0.6
- * Correct irc channel
- * Added proper return after reserved field error
- * Fixes manager.js failure to close connection after transport error has happened
- * Added implicit port 80 for origin checks. fixes #638
- * Fixed bug #432 in 0.8.7
- * Set Access-Control-Allow-Origin header to origin to enable withCredentials
- * Adding configuration variable matchOriginProtocol
- * Fixes location mismatch error in Safari.
- * Use tty to detect if we should add colors or not by default.
- * Updated the package location.
-
-0.8.7 / 2011-11-05
-==================
-
- * Fixed memory leaks in closed clients.
- * Fixed memory leaks in namespaces.
- * Fixed websocket handling for malformed requests from proxies. [einaros]
- * Node 0.6 compatibility. [einaros] [3rd-Eden]
- * Adapted tests and examples.
-
-0.8.6 / 2011-10-27
-==================
-
- * Added JSON decoding on jsonp-polling transport.
- * Fixed README example.
- * Major speed optimizations [3rd-Eden] [einaros] [visionmedia]
- * Added decode/encode benchmarks [visionmedia]
- * Added support for black-listing client sent events.
- * Fixed logging options, closes #540 [3rd-Eden]
- * Added vary header for gzip [3rd-Eden]
- * Properly cleaned up async websocket / flashsocket tests, after patching node-websocket-client
- * Patched to properly shut down when a finishClose call is made during connection establishment
- * Added support for socket.io version on url and far-future Expires [3rd-Eden] [getify]
- * Began IE10 compatibility [einaros] [tbranyen]
- * Misc WebSocket fixes [einaros]
- * Added UTF8 to respone headers for htmlfile [3rd-Eden]
-
-0.8.5 / 2011-10-07
-==================
-
- * Added websocket draft HyBi-16 support. [einaros]
- * Fixed websocket continuation bugs. [einaros]
- * Fixed flashsocket transport name.
- * Fixed websocket tests.
- * Ensured `parser#decodePayload` doesn't choke.
- * Added http referrer verification to manager verifyOrigin.
- * Added access control for cross domain xhr handshakes [3rd-Eden]
- * Added support for automatic generation of socket.io files [3rd-Eden]
- * Added websocket binary support [einaros]
- * Added gzip support for socket.io.js [3rd-Eden]
- * Expose socket.transport [3rd-Eden]
- * Updated client.
-
-0.8.4 / 2011-09-06
-==================
-
- * Client build
-
-0.8.3 / 2011-09-03
-==================
-
- * Fixed `\n` parsing for non-JSON packets (fixes #479).
- * Fixed parsing of certain unicode characters (fixes #451).
- * Fixed transport message packet logging.
- * Fixed emission of `error` event resulting in an uncaught exception if unhandled (fixes #476).
- * Fixed; allow for falsy values as the configuration value of `log level` (fixes #491).
- * Fixed repository URI in `package.json`. Fixes #504.
- * Added text/plain content-type to handshake responses [einaros]
- * Improved single byte writes [einaros]
- * Updated socket.io-flashsocket default port from 843 to 10843 [3rd-Eden]
- * Updated client.
-
-0.8.2 / 2011-08-29
-==================
-
- * Updated client.
-
-0.8.1 / 2011-08-29
-==================
-
- * Fixed utf8 bug in send framing in websocket [einaros]
- * Fixed typo in docs [Znarkus]
- * Fixed bug in send framing for over 64kB of data in websocket [einaros]
- * Corrected ping handling in websocket transport [einaros]
-
-0.8.0 / 2011-08-28
-==================
-
- * Updated to work with two-level websocket versioning. [einaros]
- * Added hybi07 support. [einaros]
- * Added hybi10 support. [einaros]
- * Added http referrer verification to manager.js verifyOrigin. [einaors]
-
-0.7.11 / 2011-08-27
-===================
-
- * Updated socket.io-client.
-
-0.7.10 / 2011-08-27
-===================
-
- * Updated socket.io-client.
-
-0.7.9 / 2011-08-12
-==================
-
- * Updated socket.io-client.
- * Make sure we only do garbage collection when the server we receive is actually run.
-
-0.7.8 / 2011-08-08
-==================
-
- * Changed; make sure sio#listen passes options to both HTTP server and socket.io manager.
- * Added docs for sio#listen.
- * Added options parameter support for Manager constructor.
- * Added memory leaks tests and test-leaks Makefile task.
- * Removed auto npm-linking from make test.
- * Make sure that you can disable heartbeats. [3rd-Eden]
- * Fixed rooms memory leak [3rd-Eden]
- * Send response once we got all POST data, not immediately [Pita]
- * Fixed onLeave behavior with missing clientsk [3rd-Eden]
- * Prevent duplicate references in rooms.
- * Added alias for `to` to `in` and `in` to `to`.
- * Fixed roomClients definition.
- * Removed dependency on redis for installation without npm [3rd-Eden]
- * Expose path and querystring in handshakeData [3rd-Eden]
-
-0.7.7 / 2011-07-12
-==================
-
- * Fixed double dispatch handling with emit to closed clients.
- * Added test for emitting to closed clients to prevent regression.
- * Fixed race condition in redis test.
- * Changed Transport#end instrumentation.
- * Leveraged $emit instead of emit internally.
- * Made tests faster.
- * Fixed double disconnect events.
- * Fixed disconnect logic
- * Simplified remote events handling in Socket.
- * Increased testcase timeout.
- * Fixed unknown room emitting (GH-291). [3rd-Eden]
- * Fixed `address` in handshakeData. [3rd-Eden]
- * Removed transports definition in chat example.
- * Fixed room cleanup
- * Fixed; make sure the client is cleaned up after booting.
- * Make sure to mark the client as non-open if the connection is closed.
- * Removed unneeded `buffer` declarations.
- * Fixed; make sure to clear socket handlers and subscriptions upon transport close.
-
-0.7.6 / 2011-06-30
-==================
-
- * Fixed general dispatching when a client has closed.
-
-0.7.5 / 2011-06-30
-==================
-
- * Fixed dispatching to clients that are disconnected.
-
-0.7.4 / 2011-06-30
-==================
-
- * Fixed; only clear handlers if they were set. [level09]
-
-0.7.3 / 2011-06-30
-==================
-
- * Exposed handshake data to clients.
- * Refactored dispatcher interface.
- * Changed; Moved id generation method into the manager.
- * Added sub-namespace authorization. [3rd-Eden]
- * Changed; normalized SocketNamespace local eventing [dvv]
- * Changed; Use packet.reason or default to 'packet' [3rd-Eden]
- * Changed console.error to console.log.
- * Fixed; bind both servers at the same time do that the test never times out.
- * Added 304 support.
- * Removed `Transport#name` for abstract interface.
- * Changed; lazily require http and https module only when needed. [3rd-Eden]
-
-0.7.2 / 2011-06-22
-==================
-
- * Make sure to write a packet (of type `noop`) when closing a poll.
- This solves a problem with cross-domain requests being flagged as aborted and
- reconnection being triggered.
- * Added `noop` message type.
-
-0.7.1 / 2011-06-21
-==================
-
- * Fixed cross-domain XHR.
- * Added CORS test to xhr-polling suite.
-
-0.7.0 / 2010-06-21
-==================
-
- * http://socket.io/announcement.html
diff --git a/node_modules/browser-sync/node_modules/socket.io/LICENSE b/node_modules/browser-sync/node_modules/socket.io/LICENSE
deleted file mode 100644
index 81a9275..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Automattic
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/socket.io/Makefile b/node_modules/browser-sync/node_modules/socket.io/Makefile
deleted file mode 100644
index 4acf1e5..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-
-REPORTER = dot
-
-test:
- @./node_modules/.bin/mocha \
- --reporter $(REPORTER) \
- --slow 200ms \
- --bail
-
-test-cov:
- @./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- \
- --reporter $(REPORTER) \
- test/
-
-.PHONY: test
diff --git a/node_modules/browser-sync/node_modules/socket.io/Readme.md b/node_modules/browser-sync/node_modules/socket.io/Readme.md
deleted file mode 100644
index 271ac43..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/Readme.md
+++ /dev/null
@@ -1,374 +0,0 @@
-
-# socket.io
-
-[![Build Status](https://secure.travis-ci.org/Automattic/socket.io.svg)](http://travis-ci.org/Automattic/socket.io)
-[![NPM version](https://badge.fury.io/js/socket.io.svg)](http://badge.fury.io/js/socket.io)
-![Downloads](http://img.shields.io/npm/dm/socket.io.svg)
-
-## How to use
-
-The following example attaches socket.io to a plain Node.JS
-HTTP server listening on port `3000`.
-
-```js
-var server = require('http').createServer();
-var io = require('socket.io')(server);
-io.on('connection', function(socket){
- socket.on('event', function(data){});
- socket.on('disconnect', function(){});
-});
-server.listen(3000);
-```
-
-### Standalone
-
-```js
-var io = require('socket.io')();
-io.on('connection', function(socket){});
-io.listen(3000);
-```
-
-### In conjunction with Express
-
-Starting with **3.0**, express applications have become request handler
-functions that you pass to `http` or `http` `Server` instances. You need
-to pass the `Server` to `socket.io`, and not the express application
-function.
-
-```js
-var app = require('express')();
-var server = require('http').createServer(app);
-var io = require('socket.io')(server);
-io.on('connection', function(){ /* … */ });
-server.listen(3000);
-```
-
-### In conjunction with Koa
-
-Like Express.JS, Koa works by exposing an application as a request
-handler function, but only by calling the `callback` method.
-
-```js
-var app = require('koa')();
-var server = require('http').createServer(app.callback());
-var io = require('socket.io')(server);
-io.on('connection', function(){ /* … */ });
-server.listen(3000);
-```
-
-## API
-
-### Server
-
- Exposed by `require('socket.io')`.
-
-### Server()
-
- Creates a new `Server`. Works with and without `new`:
-
- ```js
- var io = require('socket.io')();
- // or
- var Server = require('socket.io');
- var io = new Server();
- ```
-
-### Server(opts:Object)
-
- Optionally, the first or second argument (see below) of the `Server`
- constructor can be an options object.
-
- The following options are supported:
-
- - `serveClient` sets the value for Server#serveClient()
- - `path` sets the value for Server#path()
-
- The same options passed to socket.io are always passed to
- the `engine.io` `Server` that gets created. See engine.io
- [options](https://github.com/learnboost/engine.io#methods-1)
- as reference.
-
-### Server(srv:http#Server, opts:Object)
-
- Creates a new `Server` and attaches it to the given `srv`. Optionally
- `opts` can be passed.
-
-### Server(port:Number, opts:Object)
-
- Binds socket.io to a new `http.Server` that listens on `port`.
-
-### Server#serveClient(v:Boolean):Server
-
- If `v` is `true` the attached server (see `Server#attach`) will serve
- the client files. Defaults to `true`.
-
- This method has no effect after `attach` is called.
-
- ```js
- // pass a server and the `serveClient` option
- var io = require('socket.io')(http, { serveClient: false });
-
- // or pass no server and then you can call the method
- var io = require('socket.io')();
- io.serveClient(false);
- io.attach(http);
- ```
-
- If no arguments are supplied this method returns the current value.
-
-### Server#path(v:String):Server
-
- Sets the path `v` under which `engine.io` and the static files will be
- served. Defaults to `/socket.io`.
-
- If no arguments are supplied this method returns the current value.
-
-### Server#adapter(v:Adapter):Server
-
- Sets the adapter `v`. Defaults to an instance of the `Adapter` that
- ships with socket.io which is memory based. See
- [socket.io-adapter](https://github.com/Automattic/socket.io-adapter).
-
- If no arguments are supplied this method returns the current value.
-
-### Server#origins(v:String):Server
-
- Sets the allowed origins `v`. Defaults to any origins being allowed.
-
- If no arguments are supplied this method returns the current value.
-
-### Server#origins(v:Function):Server
-
- Sets the allowed origins as dynamic function. Function takes two arguments `origin:String` and `callback(error, success)`, where `success` is a boolean value indicating whether origin is allowed or not.
-
- __Potential drawbacks__:
- * in some situations, when it is not possible to determine `origin` it may have value of `*`
- * As this function will be executed for every request, it is advised to make this function work as fast as possible
- * If `socket.io` is used together with `Express`, the CORS headers will be affected only for `socket.io` requests. For Express can use [cors](https://github.com/troygoode/node-cors/)
-
-
-### Server#sockets:Namespace
-
- The default (`/`) namespace.
-
-### Server#attach(srv:http#Server, opts:Object):Server
-
- Attaches the `Server` to an engine.io instance on `srv` with the
- supplied `opts` (optionally).
-
-### Server#attach(port:Number, opts:Object):Server
-
- Attaches the `Server` to an engine.io instance that is bound to `port`
- with the given `opts` (optionally).
-
-### Server#listen
-
- Synonym of `Server#attach`.
-
-### Server#bind(srv:engine#Server):Server
-
- Advanced use only. Binds the server to a specific engine.io `Server`
- (or compatible API) instance.
-
-### Server#onconnection(socket:engine#Socket):Server
-
- Advanced use only. Creates a new `socket.io` client from the incoming
- engine.io (or compatible API) `socket`.
-
-### Server#of(nsp:String):Namespace
-
- Initializes and retrieves the given `Namespace` by its pathname
- identifier `nsp`.
-
- If the namespace was already initialized it returns it right away.
-
-### Server#emit
-
- Emits an event to all connected clients. The following two are
- equivalent:
-
- ```js
- var io = require('socket.io')();
- io.sockets.emit('an event sent to all connected clients');
- io.emit('an event sent to all connected clients');
- ```
-
- For other available methods, see `Namespace` below.
-
-### Server#close
-
- Closes socket server
-
- ```js
- var Server = require('socket.io');
- var PORT = 3030;
- var server = require('http').Server();
-
- var io = Server(PORT);
-
- io.close(); // Close current server
-
- server.listen(PORT); // PORT is free to use
-
- io = Server(server);
- ```
-
-### Server#use
-
- See `Namespace#use` below.
-
-### Namespace
-
- Represents a pool of sockets connected under a given scope identified
- by a pathname (eg: `/chat`).
-
- By default the client always connects to `/`.
-
-#### Events
-
- - `connection` / `connect`. Fired upon a connection.
-
- Parameters:
- - `Socket` the incoming socket.
-
-### Namespace#name:String
-
- The namespace identifier property.
-
-### Namespace#connected:Object
-
- Hash of `Socket` objects that are connected to this namespace indexed
- by `id`.
-
-### Namespace#use(fn:Function):Namespace
-
- Registers a middleware, which is a function that gets executed for
- every incoming `Socket` and receives as parameter the socket and a
- function to optionally defer execution to the next registered
- middleware.
-
- ```js
- var io = require('socket.io')();
- io.use(function(socket, next){
- if (socket.request.headers.cookie) return next();
- next(new Error('Authentication error'));
- });
- ```
-
- Errors passed to middleware callbacks are sent as special `error`
- packets to clients.
-
-### Socket
-
- A `Socket` is the fundamental class for interacting with browser
- clients. A `Socket` belongs to a certain `Namespace` (by default `/`)
- and uses an underlying `Client` to communicate.
-
-### Socket#rooms:Array
-
- A list of strings identifying the rooms this socket is in.
-
-### Socket#client:Client
-
- A reference to the underlying `Client` object.
-
-### Socket#conn:Socket
-
- A reference to the underyling `Client` transport connection (engine.io
- `Socket` object).
-
-### Socket#request:Request
-
- A getter proxy that returns the reference to the `request` that
- originated the underlying engine.io `Client`. Useful for accessing
- request headers such as `Cookie` or `User-Agent`.
-
-### Socket#id:String
-
- A unique identifier for the socket session, that comes from the
- underlying `Client`.
-
-### Socket#emit(name:String[, …]):Socket
-
- Emits an event to the socket identified by the string `name`. Any
- other parameters can be included.
-
- All datastructures are supported, including `Buffer`. JavaScript
- functions can't be serialized/deserialized.
-
- ```js
- var io = require('socket.io')();
- io.on('connection', function(socket){
- socket.emit('an event', { some: 'data' });
- });
- ```
-
-### Socket#join(name:String[, fn:Function]):Socket
-
- Adds the socket to the `room`, and fires optionally a callback `fn`
- with `err` signature (if any).
-
- The socket is automatically a member of a room identified with its
- session id (see `Socket#id`).
-
- The mechanics of joining rooms are handled by the `Adapter`
- that has been configured (see `Server#adapter` above), defaulting to
- [socket.io-adapter](https://github.com/Automattic/socket.io-adapter).
-
-### Socket#leave(name:String[, fn:Function]):Socket
-
- Removes the socket from `room`, and fires optionally a callback `fn`
- with `err` signature (if any).
-
- **Rooms are left automatically upon disconnection**.
-
- The mechanics of leaving rooms are handled by the `Adapter`
- that has been configured (see `Server#adapter` above), defaulting to
- [socket.io-adapter](https://github.com/Automattic/socket.io-adapter).
-
-### Socket#to(room:String):Socket
-### Socket#in(room:String):Socket
-
- Sets a modifier for a subsequent event emission that the event will
- only be _broadcasted_ to sockets that have joined the given `room`.
-
- To emit to multiple rooms, you can call `to` several times.
-
- ```js
- var io = require('socket.io')();
- io.on('connection', function(socket){
- socket.to('others').emit('an event', { some: 'data' });
- });
- ```
-
-### Client
-
- The `Client` class represents an incoming transport (engine.io)
- connection. A `Client` can be associated with many multiplexed `Socket`
- that belong to different `Namespace`s.
-
-### Client#conn
-
- A reference to the underlying `engine.io` `Socket` connection.
-
-### Client#request
-
- A getter proxy that returns the reference to the `request` that
- originated the engine.io connection. Useful for accessing
- request headers such as `Cookie` or `User-Agent`.
-
-## Debug / logging
-
-Socket.IO is powered by [debug](http://github.com/visionmedia/debug).
-In order to see all the debug output, run your app with the environment variable
-`DEBUG` including the desired scope.
-
-To see the output from all of Socket.IO's debugging scopes you can use:
-
-```
-DEBUG=socket.io* node myapp
-```
-
-## License
-
-MIT
diff --git a/node_modules/browser-sync/node_modules/socket.io/index.js b/node_modules/browser-sync/node_modules/socket.io/index.js
deleted file mode 100644
index ce22d97..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-
-module.exports = require('./lib');
diff --git a/node_modules/browser-sync/node_modules/socket.io/lib/client.js b/node_modules/browser-sync/node_modules/socket.io/lib/client.js
deleted file mode 100644
index 440c75e..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/lib/client.js
+++ /dev/null
@@ -1,247 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var parser = require('socket.io-parser');
-var debug = require('debug')('socket.io:client');
-
-/**
- * Module exports.
- */
-
-module.exports = Client;
-
-/**
- * Client constructor.
- *
- * @param {Server} server instance
- * @param {Socket} connection
- * @api private
- */
-
-function Client(server, conn){
- this.server = server;
- this.conn = conn;
- this.encoder = new parser.Encoder();
- this.decoder = new parser.Decoder();
- this.id = conn.id;
- this.request = conn.request;
- this.setup();
- this.sockets = [];
- this.nsps = {};
- this.connectBuffer = [];
-}
-
-/**
- * Sets up event listeners.
- *
- * @api private
- */
-
-Client.prototype.setup = function(){
- this.onclose = this.onclose.bind(this);
- this.ondata = this.ondata.bind(this);
- this.onerror = this.onerror.bind(this);
- this.ondecoded = this.ondecoded.bind(this);
-
- this.decoder.on('decoded', this.ondecoded);
- this.conn.on('data', this.ondata);
- this.conn.on('error', this.onerror);
- this.conn.on('close', this.onclose);
-};
-
-/**
- * Connects a client to a namespace.
- *
- * @param {String} namespace name
- * @api private
- */
-
-Client.prototype.connect = function(name){
- debug('connecting to namespace %s', name);
- if (!this.server.nsps[name]) {
- this.packet({ type: parser.ERROR, nsp: name, data : 'Invalid namespace'});
- return;
- }
- var nsp = this.server.of(name);
- if ('/' != name && !this.nsps['/']) {
- this.connectBuffer.push(name);
- return;
- }
-
- var self = this;
- var socket = nsp.add(this, function(){
- self.sockets.push(socket);
- self.nsps[nsp.name] = socket;
-
- if ('/' == nsp.name && self.connectBuffer.length > 0) {
- self.connectBuffer.forEach(self.connect, self);
- self.connectBuffer = [];
- }
- });
-};
-
-/**
- * Disconnects from all namespaces and closes transport.
- *
- * @api private
- */
-
-Client.prototype.disconnect = function(){
- var socket;
- // we don't use a for loop because the length of
- // `sockets` changes upon each iteration
- while (socket = this.sockets.shift()) {
- socket.disconnect();
- }
- this.close();
-};
-
-/**
- * Removes a socket. Called by each `Socket`.
- *
- * @api private
- */
-
-Client.prototype.remove = function(socket){
- var i = this.sockets.indexOf(socket);
- if (~i) {
- var nsp = this.sockets[i].nsp.name;
- this.sockets.splice(i, 1);
- delete this.nsps[nsp];
- } else {
- debug('ignoring remove for %s', socket.id);
- }
-};
-
-/**
- * Closes the underlying connection.
- *
- * @api private
- */
-
-Client.prototype.close = function(){
- if ('open' == this.conn.readyState) {
- debug('forcing transport close');
- this.conn.close();
- this.onclose('forced server close');
- }
-};
-
-/**
- * Writes a packet to the transport.
- *
- * @param {Object} packet object
- * @param {Boolean} whether packet is already encoded
- * @param {Boolean} whether packet is volatile
- * @api private
- */
-
-Client.prototype.packet = function(packet, preEncoded, volatile){
- var self = this;
-
- // this writes to the actual connection
- function writeToEngine(encodedPackets) {
- if (volatile && !self.conn.transport.writable) return;
- for (var i = 0; i < encodedPackets.length; i++) {
- self.conn.write(encodedPackets[i]);
- }
- }
-
- if ('open' == this.conn.readyState) {
- debug('writing packet %j', packet);
- if(!preEncoded) { // not broadcasting, need to encode
- this.encoder.encode(packet, function (encodedPackets) { // encode, then write results to engine
- writeToEngine(encodedPackets);
- });
- } else { // a broadcast pre-encodes a packet
- writeToEngine(packet);
- }
- } else {
- debug('ignoring packet write %j', packet);
- }
-};
-
-/**
- * Called with incoming transport data.
- *
- * @api private
- */
-
-Client.prototype.ondata = function(data){
- // try/catch is needed for protocol violations (GH-1880)
- try {
- this.decoder.add(data);
- } catch(e) {
- this.onerror(e);
- }
-};
-
-/**
- * Called when parser fully decodes a packet.
- *
- * @api private
- */
-
-Client.prototype.ondecoded = function(packet) {
- if (parser.CONNECT == packet.type) {
- this.connect(packet.nsp);
- } else {
- var socket = this.nsps[packet.nsp];
- if (socket) {
- socket.onpacket(packet);
- } else {
- debug('no socket for namespace %s', packet.nsp);
- }
- }
-};
-
-/**
- * Handles an error.
- *
- * @param {Objcet} error object
- * @api private
- */
-
-Client.prototype.onerror = function(err){
- this.sockets.forEach(function(socket){
- socket.onerror(err);
- });
- this.onclose('client error');
-};
-
-/**
- * Called upon transport close.
- *
- * @param {String} reason
- * @api private
- */
-
-Client.prototype.onclose = function(reason){
- debug('client close with reason %s', reason);
-
- // ignore a potential subsequent `close` event
- this.destroy();
-
- // `nsps` and `sockets` are cleaned up seamlessly
- var socket;
- while (socket = this.sockets.shift()) {
- socket.onclose(reason);
- }
-
- this.decoder.destroy(); // clean up decoder
-};
-
-/**
- * Cleans up event listeners.
- *
- * @api private
- */
-
-Client.prototype.destroy = function(){
- this.conn.removeListener('data', this.ondata);
- this.conn.removeListener('error', this.onerror);
- this.conn.removeListener('close', this.onclose);
- this.decoder.removeListener('decoded', this.ondecoded);
-};
diff --git a/node_modules/browser-sync/node_modules/socket.io/lib/index.js b/node_modules/browser-sync/node_modules/socket.io/lib/index.js
deleted file mode 100644
index 92170c3..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/lib/index.js
+++ /dev/null
@@ -1,379 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var http = require('http');
-var read = require('fs').readFileSync;
-var parse = require('url').parse;
-var engine = require('engine.io');
-var client = require('socket.io-client');
-var clientVersion = require('socket.io-client/package').version;
-var Client = require('./client');
-var Namespace = require('./namespace');
-var Adapter = require('socket.io-adapter');
-var debug = require('debug')('socket.io:server');
-var url = require('url');
-
-/**
- * Module exports.
- */
-
-module.exports = Server;
-
-/**
- * Socket.IO client source.
- */
-
-var clientSource = read(require.resolve('socket.io-client/socket.io.js'), 'utf-8');
-
-/**
- * Server constructor.
- *
- * @param {http.Server|Number|Object} http server, port or options
- * @param {Object} options
- * @api public
- */
-
-function Server(srv, opts){
- if (!(this instanceof Server)) return new Server(srv, opts);
- if ('object' == typeof srv && !srv.listen) {
- opts = srv;
- srv = null;
- }
- opts = opts || {};
- this.nsps = {};
- this.path(opts.path || '/socket.io');
- this.serveClient(false !== opts.serveClient);
- this.adapter(opts.adapter || Adapter);
- this.origins(opts.origins || '*:*');
- this.sockets = this.of('/');
- if (srv) this.attach(srv, opts);
-}
-
-/**
- * Server request verification function, that checks for allowed origins
- *
- * @param {http.IncomingMessage} request
- * @param {Function} callback to be called with the result: `fn(err, success)`
- */
-
-Server.prototype.checkRequest = function(req, fn) {
- var origin = req.headers.origin || req.headers.referer;
-
- // file:// URLs produce a null Origin which can't be authorized via echo-back
- if ('null' == origin) origin = '*';
-
- if (!!origin && typeof(this._origins) == 'function') return this._origins(origin, fn);
- if (this._origins.indexOf('*:*') !== -1) return fn(null, true);
- if (origin) {
- try {
- var parts = url.parse(origin);
- parts.port = parts.port || 80;
- var ok =
- ~this._origins.indexOf(parts.hostname + ':' + parts.port) ||
- ~this._origins.indexOf(parts.hostname + ':*') ||
- ~this._origins.indexOf('*:' + parts.port);
- return fn(null, !!ok);
- } catch (ex) {
- }
- }
- fn(null, false);
-};
-
-/**
- * Sets/gets whether client code is being served.
- *
- * @param {Boolean} whether to serve client code
- * @return {Server|Boolean} self when setting or value when getting
- * @api public
- */
-
-Server.prototype.serveClient = function(v){
- if (!arguments.length) return this._serveClient;
- this._serveClient = v;
- return this;
-};
-
-/**
- * Old settings for backwards compatibility
- */
-
-var oldSettings = {
- "transports": "transports",
- "heartbeat timeout": "pingTimeout",
- "heartbeat interval": "pingInterval",
- "destroy buffer size": "maxHttpBufferSize"
-};
-
-/**
- * Backwards compatiblity.
- *
- * @api public
- */
-
-Server.prototype.set = function(key, val){
- if ('authorization' == key && val) {
- this.use(function(socket, next) {
- val(socket.request, function(err, authorized) {
- if (err) return next(new Error(err));
- if (!authorized) return next(new Error('Not authorized'));
- next();
- });
- });
- } else if ('origins' == key && val) {
- this.origins(val);
- } else if ('resource' == key) {
- this.path(val);
- } else if (oldSettings[key] && this.eio[oldSettings[key]]) {
- this.eio[oldSettings[key]] = val;
- } else {
- console.error('Option %s is not valid. Please refer to the README.', key);
- }
-
- return this;
-};
-
-/**
- * Sets the client serving path.
- *
- * @param {String} pathname
- * @return {Server|String} self when setting or value when getting
- * @api public
- */
-
-Server.prototype.path = function(v){
- if (!arguments.length) return this._path;
- this._path = v.replace(/\/$/, '');
- return this;
-};
-
-/**
- * Sets the adapter for rooms.
- *
- * @param {Adapter} pathname
- * @return {Server|Adapter} self when setting or value when getting
- * @api public
- */
-
-Server.prototype.adapter = function(v){
- if (!arguments.length) return this._adapter;
- this._adapter = v;
- for (var i in this.nsps) {
- if (this.nsps.hasOwnProperty(i)) {
- this.nsps[i].initAdapter();
- }
- }
- return this;
-};
-
-/**
- * Sets the allowed origins for requests.
- *
- * @param {String} origins
- * @return {Server|Adapter} self when setting or value when getting
- * @api public
- */
-
-Server.prototype.origins = function(v){
- if (!arguments.length) return this._origins;
-
- this._origins = v;
- return this;
-};
-
-/**
- * Attaches socket.io to a server or port.
- *
- * @param {http.Server|Number} server or port
- * @param {Object} options passed to engine.io
- * @return {Server} self
- * @api public
- */
-
-Server.prototype.listen =
-Server.prototype.attach = function(srv, opts){
- if ('function' == typeof srv) {
- var msg = 'You are trying to attach socket.io to an express' +
- 'request handler function. Please pass a http.Server instance.';
- throw new Error(msg);
- }
-
- // handle a port as a string
- if (Number(srv) == srv) {
- srv = Number(srv);
- }
-
- if ('number' == typeof srv) {
- debug('creating http server and binding to %d', srv);
- var port = srv;
- srv = http.Server(function(req, res){
- res.writeHead(404);
- res.end();
- });
- srv.listen(port);
-
- }
-
- // set engine.io path to `/socket.io`
- opts = opts || {};
- opts.path = opts.path || this.path();
- // set origins verification
- opts.allowRequest = this.checkRequest.bind(this);
-
- // initialize engine
- debug('creating engine.io instance with opts %j', opts);
- this.eio = engine.attach(srv, opts);
-
- // attach static file serving
- if (this._serveClient) this.attachServe(srv);
-
- // Export http server
- this.httpServer = srv;
-
- // bind to engine events
- this.bind(this.eio);
-
- return this;
-};
-
-/**
- * Attaches the static file serving.
- *
- * @param {Function|http.Server} http server
- * @api private
- */
-
-Server.prototype.attachServe = function(srv){
- debug('attaching client serving req handler');
- var url = this._path + '/socket.io.js';
- var evs = srv.listeners('request').slice(0);
- var self = this;
- srv.removeAllListeners('request');
- srv.on('request', function(req, res) {
- if (0 == req.url.indexOf(url)) {
- self.serve(req, res);
- } else {
- for (var i = 0; i < evs.length; i++) {
- evs[i].call(srv, req, res);
- }
- }
- });
-};
-
-/**
- * Handles a request serving `/socket.io.js`
- *
- * @param {http.Request} req
- * @param {http.Response} res
- * @api private
- */
-
-Server.prototype.serve = function(req, res){
- var etag = req.headers['if-none-match'];
- if (etag) {
- if (clientVersion == etag) {
- debug('serve client 304');
- res.writeHead(304);
- res.end();
- return;
- }
- }
-
- debug('serve client source');
- res.setHeader('Content-Type', 'application/javascript');
- res.setHeader('ETag', clientVersion);
- res.writeHead(200);
- res.end(clientSource);
-};
-
-/**
- * Binds socket.io to an engine.io instance.
- *
- * @param {engine.Server} engine.io (or compatible) server
- * @return {Server} self
- * @api public
- */
-
-Server.prototype.bind = function(engine){
- this.engine = engine;
- this.engine.on('connection', this.onconnection.bind(this));
- return this;
-};
-
-/**
- * Called with each incoming transport connection.
- *
- * @param {engine.Socket} socket
- * @return {Server} self
- * @api public
- */
-
-Server.prototype.onconnection = function(conn){
- debug('incoming connection with id %s', conn.id);
- var client = new Client(this, conn);
- client.connect('/');
- return this;
-};
-
-/**
- * Looks up a namespace.
- *
- * @param {String} nsp name
- * @param {Function} optional, nsp `connection` ev handler
- * @api public
- */
-
-Server.prototype.of = function(name, fn){
- if (String(name)[0] !== '/') name = '/' + name;
-
- if (!this.nsps[name]) {
- debug('initializing namespace %s', name);
- var nsp = new Namespace(this, name);
- this.nsps[name] = nsp;
- }
- if (fn) this.nsps[name].on('connect', fn);
- return this.nsps[name];
-};
-
-/**
- * Closes server connection
- *
- * @api public
- */
-
-Server.prototype.close = function(){
- this.nsps['/'].sockets.forEach(function(socket){
- socket.onclose();
- });
-
- this.engine.close();
-
- if(this.httpServer){
- this.httpServer.close();
- }
-};
-
-/**
- * Expose main namespace (/).
- */
-
-['on', 'to', 'in', 'use', 'emit', 'send', 'write'].forEach(function(fn){
- Server.prototype[fn] = function(){
- var nsp = this.sockets[fn];
- return nsp.apply(this.sockets, arguments);
- };
-});
-
-Namespace.flags.forEach(function(flag){
- Server.prototype.__defineGetter__(flag, function(name){
- this.flags.push(name);
- return this;
- });
-});
-
-/**
- * BC with `io.listen`
- */
-
-Server.listen = Server;
diff --git a/node_modules/browser-sync/node_modules/socket.io/lib/namespace.js b/node_modules/browser-sync/node_modules/socket.io/lib/namespace.js
deleted file mode 100644
index 4ae0b15..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/lib/namespace.js
+++ /dev/null
@@ -1,242 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var Socket = require('./socket');
-var Emitter = require('events').EventEmitter;
-var parser = require('socket.io-parser');
-var debug = require('debug')('socket.io:namespace');
-var hasBin = require('has-binary-data');
-
-/**
- * Module exports.
- */
-
-module.exports = exports = Namespace;
-
-/**
- * Blacklisted events.
- */
-
-exports.events = [
- 'connect', // for symmetry with client
- 'connection',
- 'newListener'
-];
-
-/**
- * Flags.
- */
-
-exports.flags = ['json'];
-
-/**
- * `EventEmitter#emit` reference.
- */
-
-var emit = Emitter.prototype.emit;
-
-/**
- * Namespace constructor.
- *
- * @param {Server} server instance
- * @param {Socket} name
- * @api private
- */
-
-function Namespace(server, name){
- this.name = name;
- this.server = server;
- this.sockets = [];
- this.connected = {};
- this.fns = [];
- this.ids = 0;
- this.acks = {};
- this.initAdapter();
-}
-
-/**
- * Inherits from `EventEmitter`.
- */
-
-Namespace.prototype.__proto__ = Emitter.prototype;
-
-/**
- * Apply flags from `Socket`.
- */
-
-exports.flags.forEach(function(flag){
- Namespace.prototype.__defineGetter__(flag, function(){
- this.flags = this.flags || {};
- this.flags[flag] = true;
- return this;
- });
-});
-
-/**
- * Initializes the `Adapter` for this nsp.
- * Run upon changing adapter by `Server#adapter`
- * in addition to the constructor.
- *
- * @api private
- */
-
-Namespace.prototype.initAdapter = function(){
- this.adapter = new (this.server.adapter())(this);
-};
-
-/**
- * Sets up namespace middleware.
- *
- * @return {Namespace} self
- * @api public
- */
-
-Namespace.prototype.use = function(fn){
- this.fns.push(fn);
- return this;
-};
-
-/**
- * Executes the middleware for an incoming client.
- *
- * @param {Socket} socket that will get added
- * @param {Function} last fn call in the middleware
- * @api private
- */
-
-Namespace.prototype.run = function(socket, fn){
- var fns = this.fns.slice(0);
- if (!fns.length) return fn(null);
-
- function run(i){
- fns[i](socket, function(err){
- // upon error, short-circuit
- if (err) return fn(err);
-
- // if no middleware left, summon callback
- if (!fns[i + 1]) return fn(null);
-
- // go on to next
- run(i + 1);
- });
- }
-
- run(0);
-};
-
-/**
- * Targets a room when emitting.
- *
- * @param {String} name
- * @return {Namespace} self
- * @api public
- */
-
-Namespace.prototype.to =
-Namespace.prototype['in'] = function(name){
- this.rooms = this.rooms || [];
- if (!~this.rooms.indexOf(name)) this.rooms.push(name);
- return this;
-};
-
-/**
- * Adds a new client.
- *
- * @return {Socket}
- * @api private
- */
-
-Namespace.prototype.add = function(client, fn){
- debug('adding socket to nsp %s', this.name);
- var socket = new Socket(this, client);
- var self = this;
- this.run(socket, function(err){
- process.nextTick(function(){
- if ('open' == client.conn.readyState) {
- if (err) return socket.error(err.data || err.message);
-
- // track socket
- self.sockets.push(socket);
-
- // it's paramount that the internal `onconnect` logic
- // fires before user-set events to prevent state order
- // violations (such as a disconnection before the connection
- // logic is complete)
- socket.onconnect();
- if (fn) fn();
-
- // fire user-set events
- self.emit('connect', socket);
- self.emit('connection', socket);
- } else {
- debug('next called after client was closed - ignoring socket');
- }
- });
- });
- return socket;
-};
-
-/**
- * Removes a client. Called by each `Socket`.
- *
- * @api private
- */
-
-Namespace.prototype.remove = function(socket){
- var i = this.sockets.indexOf(socket);
- if (~i) {
- this.sockets.splice(i, 1);
- } else {
- debug('ignoring remove for %s', socket.id);
- }
-};
-
-/**
- * Emits to all clients.
- *
- * @return {Namespace} self
- * @api public
- */
-
-Namespace.prototype.emit = function(ev){
- if (~exports.events.indexOf(ev)) {
- emit.apply(this, arguments);
- } else {
- // set up packet object
- var args = Array.prototype.slice.call(arguments);
- var parserType = parser.EVENT; // default
- if (hasBin(args)) { parserType = parser.BINARY_EVENT; } // binary
-
- var packet = { type: parserType, data: args };
-
- if ('function' == typeof args[args.length - 1]) {
- throw new Error('Callbacks are not supported when broadcasting');
- }
-
- this.adapter.broadcast(packet, {
- rooms: this.rooms,
- flags: this.flags
- });
-
- delete this.rooms;
- delete this.flags;
- }
- return this;
-};
-
-/**
- * Sends a `message` event to all clients.
- *
- * @return {Namespace} self
- * @api public
- */
-
-Namespace.prototype.send =
-Namespace.prototype.write = function(){
- var args = Array.prototype.slice.call(arguments);
- args.unshift('message');
- this.emit.apply(this, args);
- return this;
-};
diff --git a/node_modules/browser-sync/node_modules/socket.io/lib/socket.js b/node_modules/browser-sync/node_modules/socket.io/lib/socket.js
deleted file mode 100644
index 4a3aa3d..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/lib/socket.js
+++ /dev/null
@@ -1,441 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-var Emitter = require('events').EventEmitter;
-var parser = require('socket.io-parser');
-var url = require('url');
-var debug = require('debug')('socket.io:socket');
-var hasBin = require('has-binary-data');
-
-/**
- * Module exports.
- */
-
-module.exports = exports = Socket;
-
-/**
- * Blacklisted events.
- *
- * @api public
- */
-
-exports.events = [
- 'error',
- 'connect',
- 'disconnect',
- 'newListener',
- 'removeListener'
-];
-
-/**
- * Flags.
- *
- * @api private
- */
-
-var flags = [
- 'json',
- 'volatile',
- 'broadcast'
-];
-
-/**
- * `EventEmitter#emit` reference.
- */
-
-var emit = Emitter.prototype.emit;
-
-/**
- * Interface to a `Client` for a given `Namespace`.
- *
- * @param {Namespace} nsp
- * @param {Client} client
- * @api public
- */
-
-function Socket(nsp, client){
- this.nsp = nsp;
- this.server = nsp.server;
- this.adapter = this.nsp.adapter;
- this.id = client.id;
- this.request = client.request;
- this.client = client;
- this.conn = client.conn;
- this.rooms = [];
- this.acks = {};
- this.connected = true;
- this.disconnected = false;
- this.handshake = this.buildHandshake();
-}
-
-/**
- * Inherits from `EventEmitter`.
- */
-
-Socket.prototype.__proto__ = Emitter.prototype;
-
-/**
- * Apply flags from `Socket`.
- */
-
-flags.forEach(function(flag){
- Socket.prototype.__defineGetter__(flag, function(){
- this.flags = this.flags || {};
- this.flags[flag] = true;
- return this;
- });
-});
-
-/**
- * `request` engine.io shorcut.
- *
- * @api public
- */
-
-Socket.prototype.__defineGetter__('request', function(){
- return this.conn.request;
-});
-
-/**
- * Builds the `handshake` BC object
- *
- * @api private
- */
-
-Socket.prototype.buildHandshake = function(){
- return {
- headers: this.request.headers,
- time: (new Date) + '',
- address: this.conn.remoteAddress,
- xdomain: !!this.request.headers.origin,
- secure: !!this.request.connection.encrypted,
- issued: +(new Date),
- url: this.request.url,
- query: url.parse(this.request.url, true).query || {}
- };
-};
-
-/**
- * Emits to this client.
- *
- * @return {Socket} self
- * @api public
- */
-
-Socket.prototype.emit = function(ev){
- if (~exports.events.indexOf(ev)) {
- emit.apply(this, arguments);
- } else {
- var args = Array.prototype.slice.call(arguments);
- var packet = {};
- packet.type = hasBin(args) ? parser.BINARY_EVENT : parser.EVENT;
- packet.data = args;
-
- // access last argument to see if it's an ACK callback
- if ('function' == typeof args[args.length - 1]) {
- if (this._rooms || (this.flags && this.flags.broadcast)) {
- throw new Error('Callbacks are not supported when broadcasting');
- }
-
- debug('emitting packet with ack id %d', this.nsp.ids);
- this.acks[this.nsp.ids] = args.pop();
- packet.id = this.nsp.ids++;
- }
-
- if (this._rooms || (this.flags && this.flags.broadcast)) {
- this.adapter.broadcast(packet, {
- except: [this.id],
- rooms: this._rooms,
- flags: this.flags
- });
- } else {
- // dispatch packet
- this.packet(packet);
- }
-
- // reset flags
- delete this._rooms;
- delete this.flags;
- }
- return this;
-};
-
-/**
- * Targets a room when broadcasting.
- *
- * @param {String} name
- * @return {Socket} self
- * @api public
- */
-
-Socket.prototype.to =
-Socket.prototype.in = function(name){
- this._rooms = this._rooms || [];
- if (!~this._rooms.indexOf(name)) this._rooms.push(name);
- return this;
-};
-
-/**
- * Sends a `message` event.
- *
- * @return {Socket} self
- * @api public
- */
-
-Socket.prototype.send =
-Socket.prototype.write = function(){
- var args = Array.prototype.slice.call(arguments);
- args.unshift('message');
- this.emit.apply(this, args);
- return this;
-};
-
-/**
- * Writes a packet.
- *
- * @param {Object} packet object
- * @api private
- */
-
-Socket.prototype.packet = function(packet, preEncoded){
- packet.nsp = this.nsp.name;
- var volatile = this.flags && this.flags.volatile;
- this.client.packet(packet, preEncoded, volatile);
-};
-
-/**
- * Joins a room.
- *
- * @param {String} room
- * @param {Function} optional, callback
- * @return {Socket} self
- * @api private
- */
-
-Socket.prototype.join = function(room, fn){
- debug('joining room %s', room);
- var self = this;
- if (~this.rooms.indexOf(room)) return this;
- this.adapter.add(this.id, room, function(err){
- if (err) return fn && fn(err);
- debug('joined room %s', room);
- self.rooms.push(room);
- fn && fn(null);
- });
- return this;
-};
-
-/**
- * Leaves a room.
- *
- * @param {String} room
- * @param {Function} optional, callback
- * @return {Socket} self
- * @api private
- */
-
-Socket.prototype.leave = function(room, fn){
- debug('leave room %s', room);
- var self = this;
- this.adapter.del(this.id, room, function(err){
- if (err) return fn && fn(err);
- debug('left room %s', room);
- self.rooms.splice(self.rooms.indexOf(room), 1);
- fn && fn(null);
- });
- return this;
-};
-
-/**
- * Leave all rooms.
- *
- * @api private
- */
-
-Socket.prototype.leaveAll = function(){
- this.adapter.delAll(this.id);
- this.rooms = [];
-};
-
-/**
- * Called by `Namespace` upon succesful
- * middleware execution (ie: authorization).
- *
- * @api private
- */
-
-Socket.prototype.onconnect = function(){
- debug('socket connected - writing packet');
- this.join(this.id);
- this.packet({ type: parser.CONNECT });
- this.nsp.connected[this.id] = this;
-};
-
-/**
- * Called with each packet. Called by `Client`.
- *
- * @param {Object} packet
- * @api private
- */
-
-Socket.prototype.onpacket = function(packet){
- debug('got packet %j', packet);
- switch (packet.type) {
- case parser.EVENT:
- this.onevent(packet);
- break;
-
- case parser.BINARY_EVENT:
- this.onevent(packet);
- break;
-
- case parser.ACK:
- this.onack(packet);
- break;
-
- case parser.BINARY_ACK:
- this.onack(packet);
- break;
-
- case parser.DISCONNECT:
- this.ondisconnect();
- break;
-
- case parser.ERROR:
- this.emit('error', packet.data);
- }
-};
-
-/**
- * Called upon event packet.
- *
- * @param {Object} packet object
- * @api private
- */
-
-Socket.prototype.onevent = function(packet){
- var args = packet.data || [];
- debug('emitting event %j', args);
-
- if (null != packet.id) {
- debug('attaching ack callback to event');
- args.push(this.ack(packet.id));
- }
-
- emit.apply(this, args);
-};
-
-/**
- * Produces an ack callback to emit with an event.
- *
- * @param {Number} packet id
- * @api private
- */
-
-Socket.prototype.ack = function(id){
- var self = this;
- var sent = false;
- return function(){
- // prevent double callbacks
- if (sent) return;
- var args = Array.prototype.slice.call(arguments);
- debug('sending ack %j', args);
-
- var type = hasBin(args) ? parser.BINARY_ACK : parser.ACK;
- self.packet({
- id: id,
- type: type,
- data: args
- });
- };
-};
-
-/**
- * Called upon ack packet.
- *
- * @api private
- */
-
-Socket.prototype.onack = function(packet){
- var ack = this.acks[packet.id];
- if ('function' == typeof ack) {
- debug('calling ack %s with %j', packet.id, packet.data);
- ack.apply(this, packet.data);
- delete this.acks[packet.id];
- } else {
- debug('bad ack %s', packet.id);
- }
-};
-
-/**
- * Called upon client disconnect packet.
- *
- * @api private
- */
-
-Socket.prototype.ondisconnect = function(){
- debug('got disconnect packet');
- this.onclose('client namespace disconnect');
-};
-
-/**
- * Handles a client error.
- *
- * @api private
- */
-
-Socket.prototype.onerror = function(err){
- this.emit('error', err);
-};
-
-/**
- * Called upon closing. Called by `Client`.
- *
- * @param {String} reason
- * @param {Error} optional error object
- * @api private
- */
-
-Socket.prototype.onclose = function(reason){
- if (!this.connected) return this;
- debug('closing socket - reason %s', reason);
- this.leaveAll();
- this.nsp.remove(this);
- this.client.remove(this);
- this.connected = false;
- this.disconnected = true;
- delete this.nsp.connected[this.id];
- this.emit('disconnect', reason);
-};
-
-/**
- * Produces an `error` packet.
- *
- * @param {Object} error object
- * @api private
- */
-
-Socket.prototype.error = function(err){
- this.packet({ type: parser.ERROR, data: err });
-};
-
-/**
- * Disconnects this client.
- *
- * @param {Boolean} if `true`, closes the underlying connection
- * @return {Socket} self
- * @api public
- */
-
-Socket.prototype.disconnect = function(close){
- if (!this.connected) return this;
- if (close) {
- this.client.disconnect();
- } else {
- this.packet({ type: parser.DISCONNECT });
- this.onclose('server namespace disconnect');
- }
- return this;
-};
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/Readme.md b/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/Readme.md
deleted file mode 100644
index c5a34e8..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/Readme.md
+++ /dev/null
@@ -1,115 +0,0 @@
-# debug
-
- tiny node.js debugging utility modelled after node core's debugging technique.
-
-## Installation
-
-```
-$ npm install debug
-```
-
-## Usage
-
- With `debug` you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated `console.error`, so all of the `console` format string goodies you're used to work fine. A unique color is selected per-function for visibility.
-
-Example _app.js_:
-
-```js
-var debug = require('debug')('http')
- , http = require('http')
- , name = 'My App';
-
-// fake app
-
-debug('booting %s', name);
-
-http.createServer(function(req, res){
- debug(req.method + ' ' + req.url);
- res.end('hello\n');
-}).listen(3000, function(){
- debug('listening');
-});
-
-// fake worker of some kind
-
-require('./worker');
-```
-
-Example _worker.js_:
-
-```js
-var debug = require('debug')('worker');
-
-setInterval(function(){
- debug('doing some work');
-}, 1000);
-```
-
- The __DEBUG__ environment variable is then used to enable these based on space or comma-delimited names. Here are some examples:
-
- ![debug http and worker](http://f.cl.ly/items/18471z1H402O24072r1J/Screenshot.png)
-
- ![debug worker](http://f.cl.ly/items/1X413v1a3M0d3C2c1E0i/Screenshot.png)
-
-## Millisecond diff
-
- When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls.
-
- ![](http://f.cl.ly/items/2i3h1d3t121M2Z1A3Q0N/Screenshot.png)
-
- When stderr is not a TTY, `Date#toUTCString()` is used, making it more useful for logging the debug information as shown below:
- _(NOTE: Debug now uses stderr instead of stdout, so the correct shell command for this example is actually `DEBUG=* node example/worker 2> out &`)_
-
- ![](http://f.cl.ly/items/112H3i0e0o0P0a2Q2r11/Screenshot.png)
-
-## Conventions
-
- If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser".
-
-## Wildcards
-
- The "*" character may be used as a wildcard. Suppose for example your library has debuggers named "connect:bodyParser", "connect:compress", "connect:session", instead of listing all three with `DEBUG=connect:bodyParser,connect.compress,connect:session`, you may simply do `DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`.
-
- You can also exclude specific debuggers by prefixing them with a "-" character. For example, `DEBUG=* -connect:*` would include all debuggers except those starting with "connect:".
-
-## Browser support
-
- Debug works in the browser as well, currently persisted by `localStorage`. For example if you have `worker:a` and `worker:b` as shown below, and wish to debug both type `debug.enable('worker:*')` in the console and refresh the page, this will remain until you disable with `debug.disable()`.
-
-```js
-a = debug('worker:a');
-b = debug('worker:b');
-
-setInterval(function(){
- a('doing some work');
-}, 1000);
-
-setInterval(function(){
- a('doing some work');
-}, 1200);
-```
-
-## License
-
-(The MIT License)
-
-Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/debug.js b/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/debug.js
deleted file mode 100644
index 509dc0d..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/debug.js
+++ /dev/null
@@ -1,137 +0,0 @@
-
-/**
- * Expose `debug()` as the module.
- */
-
-module.exports = debug;
-
-/**
- * Create a debugger with the given `name`.
- *
- * @param {String} name
- * @return {Type}
- * @api public
- */
-
-function debug(name) {
- if (!debug.enabled(name)) return function(){};
-
- return function(fmt){
- fmt = coerce(fmt);
-
- var curr = new Date;
- var ms = curr - (debug[name] || curr);
- debug[name] = curr;
-
- fmt = name
- + ' '
- + fmt
- + ' +' + debug.humanize(ms);
-
- // This hackery is required for IE8
- // where `console.log` doesn't have 'apply'
- window.console
- && console.log
- && Function.prototype.apply.call(console.log, console, arguments);
- }
-}
-
-/**
- * The currently active debug mode names.
- */
-
-debug.names = [];
-debug.skips = [];
-
-/**
- * Enables a debug mode by name. This can include modes
- * separated by a colon and wildcards.
- *
- * @param {String} name
- * @api public
- */
-
-debug.enable = function(name) {
- try {
- localStorage.debug = name;
- } catch(e){}
-
- var split = (name || '').split(/[\s,]+/)
- , len = split.length;
-
- for (var i = 0; i < len; i++) {
- name = split[i].replace('*', '.*?');
- if (name[0] === '-') {
- debug.skips.push(new RegExp('^' + name.substr(1) + '$'));
- }
- else {
- debug.names.push(new RegExp('^' + name + '$'));
- }
- }
-};
-
-/**
- * Disable debug output.
- *
- * @api public
- */
-
-debug.disable = function(){
- debug.enable('');
-};
-
-/**
- * Humanize the given `ms`.
- *
- * @param {Number} m
- * @return {String}
- * @api private
- */
-
-debug.humanize = function(ms) {
- var sec = 1000
- , min = 60 * 1000
- , hour = 60 * min;
-
- if (ms >= hour) return (ms / hour).toFixed(1) + 'h';
- if (ms >= min) return (ms / min).toFixed(1) + 'm';
- if (ms >= sec) return (ms / sec | 0) + 's';
- return ms + 'ms';
-};
-
-/**
- * Returns true if the given mode name is enabled, false otherwise.
- *
- * @param {String} name
- * @return {Boolean}
- * @api public
- */
-
-debug.enabled = function(name) {
- for (var i = 0, len = debug.skips.length; i < len; i++) {
- if (debug.skips[i].test(name)) {
- return false;
- }
- }
- for (var i = 0, len = debug.names.length; i < len; i++) {
- if (debug.names[i].test(name)) {
- return true;
- }
- }
- return false;
-};
-
-/**
- * Coerce `val`.
- */
-
-function coerce(val) {
- if (val instanceof Error) return val.stack || val.message;
- return val;
-}
-
-// persist
-
-try {
- if (window.localStorage) debug.enable(localStorage.debug);
-} catch(e){}
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/index.js b/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/index.js
deleted file mode 100644
index e02c13b..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/index.js
+++ /dev/null
@@ -1,5 +0,0 @@
-if ('undefined' == typeof window) {
- module.exports = require('./lib/debug');
-} else {
- module.exports = require('./debug');
-}
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/lib/debug.js b/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/lib/debug.js
deleted file mode 100644
index 3b0a918..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/lib/debug.js
+++ /dev/null
@@ -1,147 +0,0 @@
-/**
- * Module dependencies.
- */
-
-var tty = require('tty');
-
-/**
- * Expose `debug()` as the module.
- */
-
-module.exports = debug;
-
-/**
- * Enabled debuggers.
- */
-
-var names = []
- , skips = [];
-
-(process.env.DEBUG || '')
- .split(/[\s,]+/)
- .forEach(function(name){
- name = name.replace('*', '.*?');
- if (name[0] === '-') {
- skips.push(new RegExp('^' + name.substr(1) + '$'));
- } else {
- names.push(new RegExp('^' + name + '$'));
- }
- });
-
-/**
- * Colors.
- */
-
-var colors = [6, 2, 3, 4, 5, 1];
-
-/**
- * Previous debug() call.
- */
-
-var prev = {};
-
-/**
- * Previously assigned color.
- */
-
-var prevColor = 0;
-
-/**
- * Is stdout a TTY? Colored output is disabled when `true`.
- */
-
-var isatty = tty.isatty(2);
-
-/**
- * Select a color.
- *
- * @return {Number}
- * @api private
- */
-
-function color() {
- return colors[prevColor++ % colors.length];
-}
-
-/**
- * Humanize the given `ms`.
- *
- * @param {Number} m
- * @return {String}
- * @api private
- */
-
-function humanize(ms) {
- var sec = 1000
- , min = 60 * 1000
- , hour = 60 * min;
-
- if (ms >= hour) return (ms / hour).toFixed(1) + 'h';
- if (ms >= min) return (ms / min).toFixed(1) + 'm';
- if (ms >= sec) return (ms / sec | 0) + 's';
- return ms + 'ms';
-}
-
-/**
- * Create a debugger with the given `name`.
- *
- * @param {String} name
- * @return {Type}
- * @api public
- */
-
-function debug(name) {
- function disabled(){}
- disabled.enabled = false;
-
- var match = skips.some(function(re){
- return re.test(name);
- });
-
- if (match) return disabled;
-
- match = names.some(function(re){
- return re.test(name);
- });
-
- if (!match) return disabled;
- var c = color();
-
- function colored(fmt) {
- fmt = coerce(fmt);
-
- var curr = new Date;
- var ms = curr - (prev[name] || curr);
- prev[name] = curr;
-
- fmt = ' \u001b[9' + c + 'm' + name + ' '
- + '\u001b[3' + c + 'm\u001b[90m'
- + fmt + '\u001b[3' + c + 'm'
- + ' +' + humanize(ms) + '\u001b[0m';
-
- console.error.apply(this, arguments);
- }
-
- function plain(fmt) {
- fmt = coerce(fmt);
-
- fmt = new Date().toUTCString()
- + ' ' + name + ' ' + fmt;
- console.error.apply(this, arguments);
- }
-
- colored.enabled = plain.enabled = true;
-
- return isatty || process.env.DEBUG_COLORS
- ? colored
- : plain;
-}
-
-/**
- * Coerce `val`.
- */
-
-function coerce(val) {
- if (val instanceof Error) return val.stack || val.message;
- return val;
-}
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/package.json b/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/package.json
deleted file mode 100644
index 882a300..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/debug/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "name": "debug",
- "version": "0.7.4",
- "repository": {
- "type": "git",
- "url": "git://github.com/visionmedia/debug.git"
- },
- "description": "small debugging utility",
- "keywords": [
- "debug",
- "log",
- "debugger"
- ],
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca"
- },
- "dependencies": {},
- "devDependencies": {
- "mocha": "*"
- },
- "main": "lib/debug.js",
- "browser": "./debug.js",
- "engines": {
- "node": "*"
- },
- "files": [
- "lib/debug.js",
- "debug.js",
- "index.js"
- ],
- "component": {
- "scripts": {
- "debug/index.js": "index.js",
- "debug/debug.js": "debug.js"
- }
- },
- "bugs": {
- "url": "https://github.com/visionmedia/debug/issues"
- },
- "homepage": "https://github.com/visionmedia/debug",
- "_id": "debug@0.7.4",
- "dist": {
- "shasum": "06e1ea8082c2cb14e39806e22e2f6f757f92af39",
- "tarball": "http://registry.npmjs.org/debug/-/debug-0.7.4.tgz"
- },
- "_from": "debug@0.7.4",
- "_npmVersion": "1.3.13",
- "_npmUser": {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- },
- "maintainers": [
- {
- "name": "tjholowaychuk",
- "email": "tj@vision-media.ca"
- }
- ],
- "directories": {},
- "_shasum": "06e1ea8082c2cb14e39806e22e2f6f757f92af39",
- "_resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/.npmignore b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/.npmignore
deleted file mode 100644
index f09f630..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/.npmignore
+++ /dev/null
@@ -1,6 +0,0 @@
-examples
-node_modules
-test
-npm-debug.log
-coverage.html
-.gitignore
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/.travis.yml b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/.travis.yml
deleted file mode 100644
index 04a6969..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/.travis.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-language: node_js
-node_js:
- - "0.10"
- - "0.8"
-
-notifications:
- irc: "irc.freenode.org#socket.io"
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/History.md b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/History.md
deleted file mode 100644
index 67b7f13..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/History.md
+++ /dev/null
@@ -1,395 +0,0 @@
-
-1.4.3 / 2014-11-21
-==================
-
- * package: bump `ws` to fix fd leaks
- * socket: flush the write buffer before closing the socket [nkzawa]
- * polling: close the pending poll request when closing transport [nkzawa]
-
-1.4.2 / 2014-10-08
-==================
-
- * add iframe onload handling to jsonp tests [rase-]
-
-1.4.1 / 2014-10-03
-==================
-
- * socket: allow upgrades if the socket is still in closing state
- * README: fix typo
-
-1.4.0 / 2014-09-03
-==================
-
- * readme: fix formatting for goals numbering
- * server: ref fix by @nicokaiser
- * server: fix ws memory leak (fixes #268)
- * cache remote address in handshake since it might be lost later.
- * correct git ref
- * update client to commit with bumped parser
- * package: bump parser
- * npmignore: ignore `.gitignore`
- * package: bump `debug`
- * package: bump `engine.io-parser` for memleak fix
-
-1.3.1 / 2014-06-19
-==================
-
- * package: bump `engine.io-client`
-
-1.3.0 / 2014-06-13
-==================
-
- * update example to use v1.2.2
- * fixed newline parsing in jsonp
- * make require('engine.io')() return a new Server instance [defunctzombie]
- * add Server.attach method [defunctzombie]
- * fix GH-211, set CORS headers when sending error message [mokesmokes]
-
-1.2.2 / 2014-05-30
-==================
-
- * package: bump `engine.io-parser` for binary utf8 fix
-
-1.2.1 / 2014-05-22
-==================
-
- * package: bump engine.io-client
-
-1.2.0 / 2014-05-18
-==================
-
- * removed flashsocket, moving to userland
-
-1.1.1 / 2014-05-14
-==================
-
- * test: reduce packet size
- * package: bump parser
-
-1.1.0 / 2014-04-27
-==================
-
- * socket: removed unneeded `clearTimeout` (fixes #250)
- * made the request verification process async
- * package: bump `engine.io-parser`
- * use _query instead of query, fixes compat with restify
- * added a maximum buffer size to received data from polling
- * fixing looping array via for in to normal loop
-
-1.0.5 / 2014-03-18
-==================
-
- * package: bump `engine.io-parser` and `engine.io-client`
-
-1.0.4 / 2014-03-14
-==================
-
- * package: bump `engine.io-client`
-
-1.0.3 / 2014-03-12
-==================
-
- * package: bump `engine.io-client`
-
-1.0.2 / 2014-03-12
-==================
-
- * bump engine.io-client
-
-1.0.1 / 2014-03-06
-==================
-
- * package: bump `engine.io-parser`
- * transports: fix jshint warnings and style
-
-1.0.0 / 2014-03-06
-==================
-
- * polling-xhr: added `OPTIONS` support, fixes CORS
- * close() properly when triggered in connection handler
- * fix DDOS vector by setting up too many intervals
- * binary support
-
-0.9.0 / 2014-02-09
-==================
-
- * Prevent errors with connections behind proxies without WS support
- like Squid [nicklagrow, samaanghani, davidhcummings]
- * Socket#request a simple property [mokesmokes]
- * Changed `Socket`'s `upgrade` event to happen after upgrade [mokesmokes]
- * Document `Socket#id` [mokesmokes]
-
-0.8.2 / 2014-01-18
-==================
-
- * package: bump `engine.io-client`
-
-0.8.1 / 2014-01-17
-==================
-
- * package: bump `engine.io-client`
- * package: pin dev deps
- * examples: fix port output
- * fix latency example
-
-0.8.0 / 2014-01-05
-==================
-
- * package: bump `engine.io-client` to `0.8.0`
- * test: fix syntax, remove globals
-
-0.7.14 / 2014-01-01
-===================
-
- * package: bump `engine.io-client` to `0.7.14`
-
-0.7.13 / 2013-12-20
-===================
-
- * package: bump `engine.io-client`
- * transports: added support for XSS filters on IE [guille, 3rd-eden]
-
-0.7.12 / 2013-11-11
-===================
-
- * package: bump `engine.io-client`
-
-0.7.11 / 2013-11-06
-===================
-
- * package: bump engine.io-client
- * fix GH-198
-
-0.7.10 / 2013-10-28
-===================
-
- * package: bump `engine.io-client`
- * package: update "ws" to v0.4.31
-
-0.7.9 / 2013-08-30
-==================
-
- * package: bump `engine.io-client`
-
-0.7.8 / 2013-08-30
-==================
-
- * package: bump `engine.io-client`
- * package: bump ws
-
-0.7.7 / 2013-08-30
-==================
-
- * package: bump `engine.io-client`
-
-0.7.6 / 2013-08-30
-==================
-
- * package: bump engine.io-client
-
-0.7.5 / 2013-08-30
-==================
-
- * package: bump engine.io-client
-
-0.7.4 / 2013-08-25
-==================
-
- * package: bump `engine.io-client`
-
-0.7.3 / 2013-08-23
-==================
-
- * package: bump engine.io-client (noop)
- * package: fix regresison in upgrade cause by ws update
-
-0.7.2 / 2013-08-23
-==================
-
- * package: bump `engine.io-client` for `WebSocket` browser fix
-
-0.7.1 / 2013-08-23
-==================
-
- * package: bump engine.io-client for ws fix
-
-0.7.0 / 2013-08-23
-==================
-
- * package: bump engine.io-client
- * updated example
- * inline merge
- * added support node version 0.10 to .travis.yml
- * fixed respond to flash policy request test. Closes #184
- * fixed upgrade with timeout test. Closes #185
- * engine.io: don't use __proto__, closes #170
-
-0.6.3 / 2013-06-21
-==================
-
- * package: bumped `engine.io-client` to `0.6.3`
-
-0.6.2 / 2013-06-15
-==================
-
- * fix upgrade stalling edge case introduced with #174 fix
- * remove unneeded client code related to iOS
- * added test for `engine.io-client` `0.6.1`
-
-0.6.1 / 2013-06-06
-==================
-
- * package: bumped `engine.io-client` to `0.6.1`
-
-0.6.0 / 2013-05-31
-==================
-
- * socket: clear timer after sending one noop packet (fixes #174)
- * clear all timers on socket close
- * sending error on transport creation upon a bad request
- * added test for client-side buffer cleanup
- * changed flushComplete to flush
- * ended support for node 0.6
-
-0.5.0 / 2013-03-16
-==================
-
- * polling: implemented new parser
- * test writeBuffer isn't cleared onError, removed 'closing' check in .flush()
- * fixed bug89 and added tests: writeBuffer not flushed until nextTick
-
-0.4.3 / 2013-02-08
-==================
-
- * package: bumped `engine.io-client` to `0.4.3`
-
-0.4.2 / 2013-02-08
-==================
-
- * Only end upgrade socket connections if unhandled
- * Fix websocket dependency
- * Close socket if upgrade is received and socket.readyState != open
-
-0.4.1 / 2013-01-18
-==================
-
- * package: bumped versions
- * Fixed bugs in previous send callback fix and updated test cases
- * Added a test case which makes the code before the send callback fix fail
- * socket: emit `data` event (synonym with `message`)
- * socket: added `Socket#write`
- * engine.io: cleanup
- * engine.io: deprecated `resource`
- * `npm docs engine.io` works now
-
-0.3.10 / 2012-12-03
-===================
-
- * package: bumped `engine.io-client` with `close` fixes
- * add packetCreate event [jxck]
- * add packet event to socket [jxck]
- * transport: remove `Connection` headers and let node handle it
- * server: send validation failure reason to clients
- * engine: invoking as a function causes attach
- * socket: reset `writeBuffer` before send
-
-0.3.9 / 2012-10-23
-==================
-
- * package: bumped `engine.io-client`
-
-0.3.8 / 2012-10-23
-==================
-
- * package: bumped engine.io-client
- * examples: added first example
-
-0.3.7 / 2012-10-21
-==================
-
- * package: bumped `engine.io-client`
-
-0.3.6 / 2012-10-21
-==================
-
- [skipped]
-
-0.3.5 / 2012-10-14
-==================
-
- * package: reverted last commit - we use the parser from the client
-
-0.3.4 / 2012-10-14
-==================
-
- * package: `engine.io-client` moved to `devDependencies`
- * socket: added missing jsdoc
-
-0.3.3 / 2012-10-10
-==================
-
- * socket: fixed check interval clearing [joewalnes]
- * transports: improved instrumentation
-
-0.3.2 / 2012-10-08
-==================
-
- * socket: improve check interval for upgrade
-
-0.3.1 / 2012-10-08
-==================
-
- * socket: faster upgrades (we perform a check immediately)
- * server: don't assume sid is numeric
-
-0.3.0 / 2012-10-04
-==================
-
- * socket: `writeBuffer` now gets sliced, and is recoverable after `close` [afshinm]
- * server: expect ping from client and send interval with handshake [cadorn]
- * polling-jsonp: prevent client breakage with utf8 whitespace
- * socket: fix `flush` and `drain` events
- * socket: add `send` callback [afshinm]
- * transport: avoid unhandled error events for stale transports
- * README: documentation improvements [EugenDueck]
-
-0.2.2 / 2012-08-26
-==================
-
- * server: remove buffering for flash policy requests
- * transport: avoid unhandled error events for stale transports (fixes #69)
- * readme: documented `toString` behavior on `send` [EugenDueck]
-
-0.2.1 / 2012-08-13
-==================
-
- * polling-xhr: skip Keep-Alive when it's implied [EugenDueck]
- * polling-jsonp: skip Keep-Alive when it's implied [EugenDueck]
- * README: added plugins list with engine.io-conflation
- * socket: added flush/drain events (fixes #56)
- * server: avoid passing websocket to non-websocket transports (fixes #24)
-
-0.2.0 / 2012-08-06
-==================
-
- * Bumped client
- * test: added closing connection test
- * server: implemented stronger id generator with collision detection
-
-0.1.2 / 2012-08-02
-==================
-
- * Fixed a jsonp bug in Nokia mobile phones and potentially other UAs.
-
-0.1.1 / 2012-08-01
-==================
-
- * Fixed errors when a socket is closed while upgrade probe is happening.
- * Improved WS error handling
- * Replaced websocket.io with ws, now that it supports older drafts
- * README fixes
-
-0.1.0 / 2012-07-03
-==================
-
- * Initial release.
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/Makefile b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/Makefile
deleted file mode 100644
index 5046ced..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-
-TESTS = test/*.js
-BENCHMARKS = $(shell find bench -type f ! -name 'runner.js')
-REPORTER = dot
-
-test:
- @./node_modules/.bin/mocha \
- --reporter $(REPORTER) \
- --slow 500ms \
- --bail \
- --globals ___eio,document \
- $(TESTS)
-
-test-cov: lib-cov
- EIO_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
-
-lib-cov:
- jscoverage --no-highlight lib lib-cov
-
-bench:
- @node $(PROFILEFLAGS) bench/runner.js $(BENCHMARKS)
-
-.PHONY: test test-cov bench
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/README.md b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/README.md
deleted file mode 100644
index 3ad198a..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/README.md
+++ /dev/null
@@ -1,517 +0,0 @@
-
-# Engine.IO: the realtime engine
-
-[![Build Status](https://secure.travis-ci.org/Automattic/engine.io.png)](http://travis-ci.org/Automattic/engine.io)
-[![NPM version](https://badge.fury.io/js/engine.io.png)](http://badge.fury.io/js/engine.io)
-
-`Engine.IO` is the implementation of transport-based
-cross-browser/cross-device bi-directional communication layer for
-[Socket.IO](http://github.com/learnboost/socket.io).
-
-## How to use
-
-### Server
-
-#### (A) Listening on a port
-
-```js
-var engine = require('engine.io');
-var server = engine.listen(80);
-
-server.on('connection', function(socket){
- socket.send('utf 8 string');
- socket.send(new Buffer([0, 1, 2, 3, 4, 5])); // binary data
-});
-```
-
-#### (B) Intercepting requests for a http.Server
-
-```js
-var engine = require('engine.io');
-var http = require('http').createServer().listen(3000);
-var server = engine.attach(http);
-
-server.on('connection', function (socket) {
- socket.on('message', function(data){ });
- socket.on('close', function(){ });
-});
-```
-
-#### (C) Passing in requests
-
-```js
-var engine = require('engine.io');
-var server = new engine.Server();
-
-server.on('connection', function(socket){
- socket.send('hi');
-});
-
-// …
-httpServer.on('upgrade', function(req, socket, head){
- server.handleUpgrade(req, socket, head);
-});
-httpServer.on('request', function(req, res){
- server.handleRequest(req, res);
-});
-```
-
-### Client
-
-```html
-
-
-```
-
-For more information on the client refer to the
-[engine-client](http://github.com/learnboost/engine.io-client) repository.
-
-## What features does it have?
-
-- **Maximum reliability**. Connections are established even in the presence of:
- - proxies and load balancers.
- - personal firewall and antivirus software.
- - for more information refer to **Goals** and **Architecture** sections
-- **Minimal client size** aided by:
- - lazy loading of flash transports.
- - lack of redundant transports.
-- **Scalable**
- - load balancer friendly
-- **Future proof**
-- **100% Node.JS core style**
- - No API sugar (left for higher level projects)
- - Written in readable vanilla JavaScript
-
-## API
-
-### Server
-
-
-
-#### Top-level
-
-These are exposed by `require('engine.io')`:
-
-##### Events
-
-- `flush`
- - Called when a socket buffer is being flushed.
- - **Arguments**
- - `Socket`: socket being flushed
- - `Array`: write buffer
-- `drain`
- - Called when a socket buffer is drained
- - **Arguments**
- - `Socket`: socket being flushed
-
-##### Properties
-
-- `protocol` _(Number)_: protocol revision number
-- `Server`: Server class constructor
-- `Socket`: Socket class constructor
-- `Transport` _(Function)_: transport constructor
-- `transports` _(Object)_: map of available transports
-
-##### Methods
-
-- `()`
- - Returns a new `Server` instance. If the first argument is an `http.Server` then the
- new `Server` instance will be attached to it. Otherwise, the arguments are passed
- directly to the `Server` constructor.
- - **Parameters**
- - `http.Server`: optional, server to attach to.
- - `Object`: optional, options object (see `Server#constructor` api docs below)
-
- The following are identical ways to instantiate a server and then attach it.
- ```js
- var httpServer; // previously created with `http.createServer();` from node.js api.
-
- // create a server first, and then attach
- var eioServer = require('engine.io').Server();
- eioServer.attach(httpServer);
-
- // or call the module as a function to get `Server`
- var eioServer = require('engine.io')();
- eioServer.attach(httpServer);
-
- // immediately attach
- var eioServer = require('engine.io')(httpServer);
- ```
-
-- `listen`
- - Creates an `http.Server` which listens on the given port and attaches WS
- to it. It returns `501 Not Implemented` for regular http requests.
- - **Parameters**
- - `Number`: port to listen on.
- - `Object`: optional, options object
- - `Function`: callback for `listen`.
- - **Options**
- - All options from `Server.attach` method, documented below.
- - **Additionally** See Server `constructor` below for options you can pass for creating the new Server
- - **Returns** `Server`
-- `attach`
- - Captures `upgrade` requests for a `http.Server`. In other words, makes
- a regular http.Server WebSocket-compatible.
- - **Parameters**
- - `http.Server`: server to attach to.
- - `Object`: optional, options object
- - **Options**
- - All options from `Server.attach` method, documented below.
- - **Additionally** See Server `constructor` below for options you can pass for creating the new Server
- - **Returns** `Server` a new Server instance.
-
-
-
-#### Server
-
-The main server/manager. _Inherits from EventEmitter_.
-
-##### Events
-
-- `connection`
- - Fired when a new connection is established.
- - **Arguments**
- - `Socket`: a Socket object
-
-##### Properties
-
-**Important**: if you plan to use Engine.IO in a scalable way, please
-keep in mind the properties below will only reflect the clients connected
-to a single process.
-
-- `clients` _(Object)_: hash of connected clients by id.
-- `clientsCount` _(Number)_: number of connected clients.
-
-##### Methods
-
-- **constructor**
- - Initializes the server
- - **Parameters**
- - `Object`: optional, options object
- - **Options**
- - `pingTimeout` (`Number`): how many ms without a pong packet to
- consider the connection closed (`60000`)
- - `pingInterval` (`Number`): how many ms before sending a new ping
- packet (`25000`)
- - `maxHttpBufferSize` (`Number`): how many bytes or characters a message
- can be when polling, before closing the session (to avoid DoS). Default
- value is `10E7`.
- - `allowRequest` (`Function`): A function that receives a given handshake
- or upgrade request as its first parameter, and can decide whether to
- continue or not. The second argument is a function that needs to be
- called with the decided information: `fn(err, success)`, where
- `success` is a boolean value where false means that the request is
- rejected, and err is an error code.
- - `transports` (` String`): transports to allow connections
- to (`['polling', 'websocket']`)
- - `allowUpgrades` (`Boolean`): whether to allow transport upgrades
- (`true`)
- - `cookie` (`String|Boolean`): name of the HTTP cookie that
- contains the client sid to send as part of handshake response
- headers. Set to `false` to not send one. (`io`)
-- `close`
- - Closes all clients
- - **Returns** `Server` for chaining
-- `handleRequest`
- - Called internally when a `Engine` request is intercepted.
- - **Parameters**
- - `http.ServerRequest`: a node request object
- - `http.ServerResponse`: a node response object
- - **Returns** `Server` for chaining
-- `handleUpgrade`
- - Called internally when a `Engine` ws upgrade is intercepted.
- - **Parameters** (same as `upgrade` event)
- - `http.ServerRequest`: a node request object
- - `net.Stream`: TCP socket for the request
- - `Buffer`: legacy tail bytes
- - **Returns** `Server` for chaining
-- `attach`
- - Attach this Server instance to an `http.Server`
- - Captures `upgrade` requests for a `http.Server`. In other words, makes
- a regular http.Server WebSocket-compatible.
- - **Parameters**
- - `http.Server`: server to attach to.
- - `Object`: optional, options object
- - **Options**
- - `path` (`String`): name of the path to capture (`/engine.io`).
- - `destroyUpgrade` (`Boolean`): destroy unhandled upgrade requests (`true`)
- - `destroyUpgradeTimeout` (`Number`): milliseconds after which unhandled requests are ended (`1000`)
-
-
-
-#### Socket
-
-A representation of a client. _Inherits from EventEmitter_.
-
-##### Events
-
-- `close`
- - Fired when the client is disconnected.
- - **Arguments**
- - `String`: reason for closing
- - `Object`: description object (optional)
-- `message`
- - Fired when the client sends a message.
- - **Arguments**
- - `String` or `Buffer`: Unicode string or Buffer with binary contents
-- `error`
- - Fired when an error occurs.
- - **Arguments**
- - `Error`: error object
-- `flush`
- - Called when the write buffer is being flushed.
- - **Arguments**
- - `Array`: write buffer
-- `drain`
- - Called when the write buffer is drained
-- `packet`
- - Called when a socket received a packet (`message`, `ping`)
- - **Arguments**
- - `type`: packet type
- - `data`: packet data (if type is message)
-- `packetCreate`
- - Called before a socket sends a packet (`message`, `pong`)
- - **Arguments**
- - `type`: packet type
- - `data`: packet data (if type is message)
-
-##### Properties
-
-- `id` _(String)_: unique identifier
-- `server` _(Server)_: engine parent reference
-- `request` _(http.ServerRequest)_: request that originated the Socket
-- `upgraded` _(Boolean)_: whether the transport has been upgraded
-- `readyState` _(String)_: opening|open|closing|closed
-- `transport` _(Transport)_: transport reference
-
-##### Methods
-
-- `send`:
- - Sends a message, performing `message = toString(arguments[0])` unless
- sending binary data, which is sent as is.
- - **Parameters**
- - `String` |Â `Buffer` | `ArrayBuffer` | `ArrayBufferView`: a string or any object implementing `toString()`, with outgoing data, or a Buffer or ArrayBuffer with binary data. Also any ArrayBufferView can be sent as is.
- - `Function`: optional, a callback executed when the message gets flushed out by the transport
- - **Returns** `Socket` for chaining
-- `close`
- - Disconnects the client
- - **Returns** `Socket` for chaining
-
-### Client
-
-
-
-Exposed in the `eio` global namespace (in the browser), or by
-`require('engine.io-client')` (in Node.JS).
-
-For the client API refer to the
-[engine-client](http://github.com/learnboost/engine.io-client) repository.
-
-## Debug / logging
-
-Engine.IO is powered by [debug](http://github.com/visionmedia/debug).
-In order to see all the debug output, run your app with the environment variable
-`DEBUG` including the desired scope.
-
-To see the output from all of Engine.IO's debugging scopes you can use:
-
-```
-DEBUG=engine* node myapp
-```
-
-## Transports
-
-- `polling`: XHR / JSONP polling transport.
-- `websocket`: WebSocket transport.
-
-## Plugins
-
-- [engine.io-conflation](https://github.com/EugenDueck/engine.io-conflation): Makes **conflation and aggregation** of messages straightforward.
-
-## Support
-
-The support channels for `engine.io` are the same as `socket.io`:
- - irc.freenode.net **#socket.io**
- - [Google Groups](http://groups.google.com/group/socket_io)
- - [Website](http://socket.io)
-
-## Development
-
-To contribute patches, run tests or benchmarks, make sure to clone the
-repository:
-
-```
-git clone git://github.com/LearnBoost/engine.io.git
-```
-
-Then:
-
-```
-cd engine.io
-npm install
-```
-
-## Tests
-
-Tests run with `make test`. It runs the server tests that are aided by
-the usage of `engine.io-client`.
-
-Make sure `npm install` is run first.
-
-## Goals
-
-The main goal of `Engine` is ensuring the most reliable realtime communication.
-Unlike the previous Socket.IO core, it always establishes a long-polling
-connection first, then tries to upgrade to better transports that are "tested" on
-the side.
-
-During the lifetime of the Socket.IO projects, we've found countless drawbacks
-to relying on `HTML5 WebSocket` or `Flash Socket` as the first connection
-mechanisms.
-
-Both are clearly the _right way_ of establishing a bidirectional communication,
-with HTML5 WebSocket being the way of the future. However, to answer most business
-needs, alternative traditional HTTP 1.1 mechanisms are just as good as delivering
-the same solution.
-
-WebSocket based connections have two fundamental benefits:
-
-1. **Better server performance**
- - _A: Load balancers_
- Load balancing a long polling connection poses a serious architectural nightmare
- since requests can come from any number of open sockets by the user agent, but
- they all need to be routed to the process and computer that owns the `Engine`
- connection. This negatively impacts RAM and CPU usage.
- - _B: Network traffic_
- WebSocket is designed around the premise that each message frame has to be
- surrounded by the least amount of data. In HTTP 1.1 transports, each message
- frame is surrounded by HTTP headers and chunked encoding frames. If you try to
- send the message _"Hello world"_ with xhr-polling, the message ultimately
- becomes larger than if you were to send it with WebSocket.
- - _C: Lightweight parser_
- As an effect of **B**, the server has to do a lot more work to parse the network
- data and figure out the message when traditional HTTP requests are used
- (as in long polling). This means that another advantage of WebSocket is
- less server CPU usage.
-
-2. **Better user experience**
-
- Due to the reasons stated in point **1**, the most important effect of being able
- to establish a WebSocket connection is raw data transfer speed, which translates
- in _some_ cases in better user experience.
-
- Applications with heavy realtime interaction (such as games) will benefit greatly,
- whereas applications like realtime chat (Gmail/Facebook), newsfeeds (Facebook) or
- timelines (Twitter) will have negligible user experience improvements.
-
-Having said this, attempting to establish a WebSocket connection directly so far has
-proven problematic:
-
-1. **Proxies**
- Many corporate proxies block WebSocket traffic.
-
-2. **Personal firewall and antivirus software**
- As a result of our research, we've found that at least 3 personal security
- applications block WebSocket traffic.
-
-3. **Cloud application platforms**
- Platforms like Heroku or No.de have had trouble keeping up with the fast-paced
- nature of the evolution of the WebSocket protocol. Applications therefore end up
- inevitably using long polling, but the seamless installation experience of
- Socket.IO we strive for (_"require() it and it just works"_) disappears.
-
-Some of these problems have solutions. In the case of proxies and personal programs,
-however, the solutions many times involve upgrading software. Experience has shown
-that relying on client software upgrades to deliver a business solution is
-fruitless: the very existence of this project has to do with a fragmented panorama
-of user agent distribution, with clients connecting with latest versions of the most
-modern user agents (Chrome, Firefox and Safari), but others with versions as low as
-IE 5.5.
-
-From the user perspective, an unsuccessful WebSocket connection can translate in
-up to at least 10 seconds of waiting for the realtime application to begin
-exchanging data. This **perceptively** hurts user experience.
-
-To summarize, **Engine** focuses on reliability and user experience first, marginal
-potential UX improvements and increased server performance second. `Engine` is the
-result of all the lessons learned with WebSocket in the wild.
-
-## Architecture
-
-The main premise of `Engine`, and the core of its existence, is the ability to
-swap transports on the fly. A connection starts as xhr-polling, but it can
-switch to WebSocket.
-
-The central problem this poses is: how do we switch transports without losing
-messages?
-
-`Engine` only switches from polling to another transport in between polling
-cycles. Since the server closes the connection after a certain timeout when
-there's no activity, and the polling transport implementation buffers messages
-in between connections, this ensures no message loss and optimal performance.
-
-Another benefit of this design is that we workaround almost all the limitations
-of **Flash Socket**, such as slow connection times, increased file size (we can
-safely lazy load it without hurting user experience), etc.
-
-## FAQ
-
-### Can I use engine without Socket.IO ?
-
-Absolutely. Although the recommended framework for building realtime applications
-is Socket.IO, since it provides fundamental features for real-world applications
-such as multiplexing, reconnection support, etc.
-
-`Engine` is to Socket.IO what Connect is to Express. An essential piece for building
-realtime frameworks, but something you _probably_ won't be using for building
-actual applications.
-
-### Does the server serve the client?
-
-No. The main reason is that `Engine` is meant to be bundled with frameworks.
-Socket.IO includes `Engine`, therefore serving two clients is not necessary. If
-you use Socket.IO, including
-
-```html
-
-```
-
-In [Narwhal](http://narwhaljs.org/), [Node.js](http://nodejs.org/), and [RingoJS ≥ v0.8.0](http://ringojs.org/):
-
-```js
-var utf8 = require('utf8');
-```
-
-In [Rhino](http://www.mozilla.org/rhino/):
-
-```js
-load('utf8.js');
-```
-
-Using an AMD loader like [RequireJS](http://requirejs.org/):
-
-```js
-require(
- {
- 'paths': {
- 'utf8': 'path/to/utf8'
- }
- },
- ['utf8'],
- function(utf8) {
- console.log(utf8);
- }
-);
-```
-
-## API
-
-### `utf8.encode(string)`
-
-Encodes any given JavaScript string (`string`) as UTF-8, and returns the UTF-8-encoded version of the string.
-
-```js
-// U+00A9 COPYRIGHT SIGN; see http://codepoints.net/U+00A9
-utf8.encode('\xA9');
-// → '\xC2\xA9'
-// U+10001 LINEAR B SYLLABLE B038 E; see http://codepoints.net/U+10001
-utf8.encode('\uD800\uDC01');
-// → '\xF0\x90\x80\x81'
-```
-
-### `utf8.decode(byteString)`
-
-Encodes any given UTF-8-encoded string (`byteString`) as UTF-8, and returns the UTF-8-decoded version of the string. It throws an error when malformed UTF-8 is detected.
-
-```js
-utf8.decode('\xC2\xA9');
-// → '\xA9'
-
-utf8.decode('\xF0\x90\x80\x81');
-// → '\uD800\uDC01'
-// → U+10001 LINEAR B SYLLABLE B038 E
-```
-
-### `utf8.version`
-
-A string representing the semantic version number.
-
-## Support
-
-utf8.js has been tested in at least Chrome 27-29, Firefox 3-22, Safari 4-6, Opera 10-12, IE 6-10, Node.js v0.10.0, Narwhal 0.3.2, RingoJS 0.8-0.9, PhantomJS 1.9.0, and Rhino 1.7RC4.
-
-## Unit tests & code coverage
-
-After cloning this repository, run `npm install` to install the dependencies needed for development and testing. You may want to install Istanbul _globally_ using `npm install istanbul -g`.
-
-Once that’s done, you can run the unit tests in Node using `npm test` or `node tests/tests.js`. To run the tests in Rhino, Ringo, Narwhal, PhantomJS, and web browsers as well, use `grunt test`.
-
-To generate [the code coverage report](http://rawgithub.com/mathiasbynens/utf8.js/master/coverage/utf8.js/utf8.js.html), use `grunt cover`.
-
-## FAQ
-
-### Why is the first release named v2.0.0? Haven’t you heard of [semantic versioning](http://semver.org/)?
-
-Long before utf8.js was created, the `utf8` module on npm was registered and used by another (slightly buggy) library. @ryanmcgrath was kind enough to give me access to the `utf8` package on npm when I told him about utf8.js. Since there has already been a v1.0.0 release of the old library, and to avoid breaking backwards compatibility with projects that rely on the `utf8` npm package, I decided the tag the first release of utf8.js as v2.0.0 and take it from there.
-
-## Author
-
-| [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](http://twitter.com/mathias "Follow @mathias on Twitter") |
-|---|
-| [Mathias Bynens](http://mathiasbynens.be/) |
-
-## License
-
-utf8.js is dual licensed under the [MIT](http://mths.be/mit) and [GPL](http://mths.be/gpl) licenses.
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/bower.json b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/bower.json
deleted file mode 100644
index fe8fa72..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/bower.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "name": "utf8",
- "version": "2.0.0",
- "main": "utf8.js",
- "ignore": [
- "coverage",
- "tests",
- ".*",
- "component.json",
- "Gruntfile.js",
- "node_modules",
- "package.json"
- ]
-}
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/component.json b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/component.json
deleted file mode 100644
index 5165d4f..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/component.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "utf8",
- "version": "2.0.0",
- "description": "A well-tested UTF-8 encoder/decoder written in JavaScript.",
- "repo": "mathiasbynens/utf8.js",
- "license": "MIT/GPL",
- "scripts": [
- "utf8.js"
- ],
- "keywords": [
- "charset",
- "encoding",
- "unicode",
- "utf8"
- ]
-}
diff --git a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/coverage/index.html b/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/coverage/index.html
deleted file mode 100644
index 68f3574..0000000
--- a/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/engine.io-parser/node_modules/utf8/coverage/index.html
+++ /dev/null
@@ -1,333 +0,0 @@
-
-
-
- Code coverage report for All files
-
-
-
-
-
-
-
-