├── .gitignore ├── 0.37.2_webview_crash ├── app.js ├── main.js ├── package.json ├── preload.js └── webview_crash_on_ipc.html ├── CaptureImage ├── app.html ├── app.js ├── background.js └── package.json ├── CrashReporter ├── crashreporterApp │ ├── app.js │ ├── index.html │ ├── main.js │ └── package.json └── server_stub_3000 │ ├── README.md │ ├── index.html │ ├── node_modules │ ├── body-parser │ │ ├── HISTORY.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── read.js │ │ │ └── types │ │ │ │ ├── json.js │ │ │ │ ├── raw.js │ │ │ │ ├── text.js │ │ │ │ └── urlencoded.js │ │ ├── node_modules │ │ │ ├── bytes │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── component.json │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── depd │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── iconv-lite │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── Changelog.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── README.md~ │ │ │ │ ├── encodings │ │ │ │ │ ├── dbcs-codec.js │ │ │ │ │ ├── dbcs-data.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── internal.js │ │ │ │ │ ├── sbcs-codec.js │ │ │ │ │ ├── sbcs-data-generated.js │ │ │ │ │ ├── sbcs-data.js │ │ │ │ │ ├── tables │ │ │ │ │ │ ├── big5-added.json │ │ │ │ │ │ ├── cp936.json │ │ │ │ │ │ ├── cp949.json │ │ │ │ │ │ ├── cp950.json │ │ │ │ │ │ ├── eucjp.json │ │ │ │ │ │ ├── gb18030-ranges.json │ │ │ │ │ │ ├── gbk-added.json │ │ │ │ │ │ └── shiftjis.json │ │ │ │ │ ├── utf16.js │ │ │ │ │ └── utf7.js │ │ │ │ ├── lib │ │ │ │ │ ├── extend-node.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── streams.js │ │ │ │ └── package.json │ │ │ ├── media-typer │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── on-finished │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── ee-first │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── qs │ │ │ │ ├── .jshintignore │ │ │ │ ├── .jshintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── index.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── stringify.js │ │ │ │ │ └── utils.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ ├── parse.js │ │ │ │ │ └── stringify.js │ │ │ ├── raw-body │ │ │ │ ├── .npmignore │ │ │ │ ├── HISTORY.md │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── type-is │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ └── mime-types │ │ │ │ │ ├── HISTORY.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ ├── node_modules │ │ │ │ │ └── mime-db │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── db.json │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ └── package.json │ ├── express │ │ ├── .npmignore │ │ ├── History.md │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── index.js │ │ ├── lib │ │ │ ├── application.js │ │ │ ├── express.js │ │ │ ├── middleware │ │ │ │ ├── init.js │ │ │ │ └── query.js │ │ │ ├── request.js │ │ │ ├── response.js │ │ │ ├── router │ │ │ │ ├── index.js │ │ │ │ ├── layer.js │ │ │ │ ├── match.js │ │ │ │ └── route.js │ │ │ ├── utils.js │ │ │ └── view.js │ │ ├── node_modules │ │ │ ├── accepts │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── mime-types │ │ │ │ │ │ ├── HISTORY.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ │ └── mime-db │ │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── db.json │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── package.json │ │ │ │ │ └── negotiator │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── charset.js │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ ├── language.js │ │ │ │ │ │ ├── mediaType.js │ │ │ │ │ │ └── negotiator.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── readme.md │ │ │ │ └── package.json │ │ │ ├── buffer-crc32 │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── tests │ │ │ │ │ └── crc.test.js │ │ │ ├── cookie-signature │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── cookie │ │ │ │ ├── .npmignore │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── debug │ │ │ │ ├── .jshintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── browser.js │ │ │ │ ├── component.json │ │ │ │ ├── debug.js │ │ │ │ ├── node.js │ │ │ │ ├── node_modules │ │ │ │ │ └── ms │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── depd │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── escape-html │ │ │ │ ├── .npmignore │ │ │ │ ├── Makefile │ │ │ │ ├── Readme.md │ │ │ │ ├── component.json │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── etag │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── crc │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── crc.js │ │ │ │ │ │ ├── crc1.js │ │ │ │ │ │ ├── crc16.js │ │ │ │ │ │ ├── crc16_ccitt.js │ │ │ │ │ │ ├── crc16_modbus.js │ │ │ │ │ │ ├── crc24.js │ │ │ │ │ │ ├── crc32.js │ │ │ │ │ │ ├── crc8.js │ │ │ │ │ │ ├── crc8_1wire.js │ │ │ │ │ │ ├── create.js │ │ │ │ │ │ ├── hex.js │ │ │ │ │ │ └── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── finalhandler │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── fresh │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── media-typer │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── merge-descriptors │ │ │ │ ├── .npmignore │ │ │ │ ├── README.md │ │ │ │ ├── component.json │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── methods │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ └── methods.js │ │ │ ├── on-finished │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── ee-first │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── parseurl │ │ │ │ ├── .npmignore │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── path-to-regexp │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── Readme.md │ │ │ │ ├── component.json │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test.js │ │ │ ├── proxy-addr │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── ipaddr.js │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── Cakefile │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── ipaddr.min.js │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── ipaddr.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── src │ │ │ │ │ │ └── ipaddr.coffee │ │ │ │ │ │ └── test │ │ │ │ │ │ └── ipaddr.test.coffee │ │ │ │ └── package.json │ │ │ ├── qs │ │ │ │ ├── .jshintignore │ │ │ │ ├── .jshintrc │ │ │ │ ├── .npmignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── index.js │ │ │ │ │ ├── parse.js │ │ │ │ │ ├── stringify.js │ │ │ │ │ └── utils.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ │ ├── parse.js │ │ │ │ │ └── stringify.js │ │ │ ├── range-parser │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── send │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── Readme.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ ├── destroy │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ ├── mime │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── mime.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── types │ │ │ │ │ │ │ ├── mime.types │ │ │ │ │ │ │ └── node.types │ │ │ │ │ └── ms │ │ │ │ │ │ ├── .npmignore │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── serve-static │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── type-is │ │ │ │ ├── HISTORY.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── node_modules │ │ │ │ │ └── mime-types │ │ │ │ │ │ ├── HISTORY.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── node_modules │ │ │ │ │ │ └── mime-db │ │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── db.json │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ └── package.json │ │ │ │ └── package.json │ │ │ ├── utils-merge │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── vary │ │ │ │ ├── .npmignore │ │ │ │ ├── History.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ └── formidable │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Readme.md │ │ ├── index.js │ │ ├── lib │ │ ├── file.js │ │ ├── incoming_form.js │ │ ├── index.js │ │ ├── json_parser.js │ │ ├── multipart_parser.js │ │ ├── octet_parser.js │ │ └── querystring_parser.js │ │ └── package.json │ ├── npm-debug.log │ ├── package.json │ └── server.js ├── DynamicContextMenu ├── container.html ├── contextMenu.js ├── main.js ├── package.json └── util.js ├── ReloadWebviewCrashes_1.4.5 ├── app.js ├── backgroundLogs │ └── 1478606728037.log ├── index.html ├── main.js └── package.json ├── RenderStalls ├── app.js ├── background.js ├── package.json └── renderStall.html ├── electron_0.30.4_win_webview_crash ├── app.js ├── main.js ├── package.json └── win_renderer_behaviour_crash.html ├── sessionNotPersistent ├── app.js ├── background.js ├── package.json └── sessionTest.html ├── sessioncheck ├── app.js ├── main.js ├── package.json └── render.html └── willDownload ├── app.js ├── main.js ├── package.json └── testDownload.html /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /0.37.2_webview_crash/app.js: -------------------------------------------------------------------------------- 1 | const ipcRenderer = require('electron').ipcRenderer; 2 | 3 | onload = function() { 4 | 5 | var google = document.createElement('webview'); 6 | google.src = 'http://google.com'; 7 | google.setAttribute('preload', 'preload.js'); 8 | google.style.height = screen.availHeight + 'px'; 9 | document.querySelector('#webviewHolder').appendChild(google); 10 | 11 | document.querySelector('#crash').onclick = function() { 12 | document.querySelector('webview').send('webapp-msg', { 13 | 'name': 'init' 14 | }) 15 | } 16 | }; -------------------------------------------------------------------------------- /0.37.2_webview_crash/main.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | var Menu = require('menu'); 4 | const ipcMain = require('electron').ipcMain; 5 | var mainWindow = null; 6 | 7 | app.commandLine.appendSwitch('remote-debugging-port', '8888'); // enabling remote debugging port 8 | 9 | app.on('ready', function() { 10 | mainWindow = new BrowserWindow({}); 11 | mainWindow.loadUrl('file://' + __dirname + '/webview_crash_on_ipc.html'); 12 | mainWindow.maximize(); 13 | }); 14 | -------------------------------------------------------------------------------- /0.37.2_webview_crash/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"WebviewCrashOnIPCMessage", 3 | "main":"Main.js", 4 | "version":"0.0.1" 5 | } -------------------------------------------------------------------------------- /0.37.2_webview_crash/webview_crash_on_ipc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /CaptureImage/app.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | ImageCaptureIssue 4 | 5 | 6 |
7 | 8 |
9 | 10 | 11 | 12 |
13 |
14 | 15 | 16 | -------------------------------------------------------------------------------- /CaptureImage/background.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | var mainWindow = null; 4 | 5 | app.commandLine.appendSwitch('remote-debugging-port', '9222'); // enabling remote debugging port 6 | 7 | app.on('ready', function() { 8 | mainWindow = new BrowserWindow({ 9 | width: 800, 10 | height: 600, 11 | show: true, 12 | focus:true 13 | }); 14 | mainWindow.loadUrl('file://' + __dirname + '/app.html'); 15 | // mainWindow.toggleDevTools(); 16 | mainWindow.show(); 17 | }); -------------------------------------------------------------------------------- /CaptureImage/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main":"background.js", 3 | "name":"ElectronCaptureImage", 4 | "version":"0.1.0" 5 | } -------------------------------------------------------------------------------- /CrashReporter/crashreporterApp/app.js: -------------------------------------------------------------------------------- 1 | var crashReporter = require('crash-reporter'); 2 | 3 | crashReporter.start({submitUrl: 'http://127.0.0.1:3000/crashreporter'}); 4 | 5 | function showCrashReporter(report) { 6 | return "" + report.date + "" + 7 | "" + report.id + ""; 8 | } 9 | 10 | window.onload = function() { 11 | var reporters = crashReporter.getUploadedReports(); 12 | var table = "\n" + 13 | "" + 14 | "" + 15 | "\n"; 16 | 17 | var div = document.getElementById("crash_reporters"); 18 | for (var i = 0; i < reporters.length; ++i) { 19 | table += showCrashReporter(reporters[i]); 20 | } 21 | div.innerHTML = table; 22 | document.getElementById('crash').onclick = function() { 23 | process.crash(); 24 | } 25 | }; 26 | -------------------------------------------------------------------------------- /CrashReporter/crashreporterApp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Crash Report 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CrashReporter/crashreporterApp/main.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | var http = require('http'); 4 | var crashReporter = require('crash-reporter'); 5 | crashReporter.start({submitUrl: 'http://127.0.0.1:3000/crashreporter'}); 6 | 7 | app.commandLine.appendSwitch('remote-debugging-port', '9222'); // enabling remote debugging port 8 | app.commandLine.appendSwitch('ignore-certificate-errors', 'true'); // Ignoring certifcate errors to load websites. 9 | // 10 | function getRandomInt(min, max) { 11 | return Math.floor(Math.random() * (max - min)) + min; 12 | } 13 | 14 | // Crash-report collection server 15 | var server = http.createServer(function(req, res) { 16 | // Handle the uploaded crash report from client here 17 | // ... 18 | // Response the crash report id on server to client. 19 | res.end(getRandomInt(1000, 9999).toString()); 20 | }); 21 | 22 | var mainWindow = null; 23 | app.on('ready', function() { 24 | mainWindow = new BrowserWindow({width: 800, height: 600}); 25 | mainWindow.loadUrl('file://' + __dirname + '/index.html'); 26 | mainWindow.toggleDevTools(); 27 | mainWindow.show(); 28 | }); 29 | -------------------------------------------------------------------------------- /CrashReporter/crashreporterApp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "crash-report-demo", 3 | "version" : "0.1.0", 4 | "main" : "main.js" 5 | } 6 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/README.md: -------------------------------------------------------------------------------- 1 | Crashreporter STUB server 2 | ======================= 3 | 4 | Handle POST Request in Express 4 5 | 6 | Download code and run node server.js 7 | 8 | Vist http://localhost:3000/crashreporter to view the app. 9 | 10 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Simple login 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Jonathan Ong 4 | Copyright (c) 2014 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * body-parser 3 | * Copyright(c) 2014 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module dependencies. 9 | */ 10 | 11 | var deprecate = require('depd')('body-parser') 12 | var fs = require('fs') 13 | var path = require('path') 14 | 15 | /** 16 | * Module exports. 17 | */ 18 | 19 | exports = module.exports = deprecate.function(bodyParser, 20 | 'bodyParser: use individual json/urlencoded middlewares') 21 | 22 | /** 23 | * Path to the parser modules. 24 | */ 25 | 26 | var parsersDir = path.join(__dirname, 'lib', 'types') 27 | 28 | /** 29 | * Auto-load bundled parsers with getters. 30 | */ 31 | 32 | fs.readdirSync(parsersDir).forEach(function onfilename(filename) { 33 | if (!/\.js$/.test(filename)) return 34 | 35 | var loc = path.resolve(parsersDir, filename) 36 | var mod 37 | var name = path.basename(filename, '.js') 38 | 39 | function load() { 40 | if (mod) { 41 | return mod 42 | } 43 | 44 | return mod = require(loc) 45 | } 46 | 47 | Object.defineProperty(exports, name, { 48 | configurable: true, 49 | enumerable: true, 50 | get: load 51 | }) 52 | }) 53 | 54 | /** 55 | * Create a middleware to parse json and urlencoded bodies. 56 | * 57 | * @param {object} [options] 58 | * @return {function} 59 | * @deprecated 60 | * @api public 61 | */ 62 | 63 | function bodyParser(options){ 64 | var opts = {} 65 | 66 | options = options || {} 67 | 68 | // exclude type option 69 | for (var prop in options) { 70 | if ('type' !== prop) { 71 | opts[prop] = options[prop] 72 | } 73 | } 74 | 75 | var _urlencoded = exports.urlencoded(opts) 76 | var _json = exports.json(opts) 77 | 78 | return function bodyParser(req, res, next) { 79 | _json(req, res, function(err){ 80 | if (err) return next(err); 81 | _urlencoded(req, res, next); 82 | }); 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/lib/types/raw.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * body-parser 3 | * Copyright(c) 2014 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module dependencies. 9 | */ 10 | 11 | var bytes = require('bytes') 12 | var read = require('../read') 13 | var typeis = require('type-is') 14 | 15 | /** 16 | * Module exports. 17 | */ 18 | 19 | module.exports = raw 20 | 21 | /** 22 | * Create a middleware to parse raw bodies. 23 | * 24 | * @param {object} [options] 25 | * @return {function} 26 | * @api public 27 | */ 28 | 29 | function raw(options) { 30 | options = options || {}; 31 | 32 | var inflate = options.inflate !== false 33 | var limit = typeof options.limit !== 'number' 34 | ? bytes(options.limit || '100kb') 35 | : options.limit 36 | var type = options.type || 'application/octet-stream' 37 | var verify = options.verify || false 38 | 39 | if (verify !== false && typeof verify !== 'function') { 40 | throw new TypeError('option verify must be function') 41 | } 42 | 43 | function parse(buf) { 44 | return buf 45 | } 46 | 47 | return function rawParser(req, res, next) { 48 | if (req._body) return next() 49 | req.body = req.body || {} 50 | 51 | if (!typeis(req, type)) return next() 52 | 53 | // read 54 | read(req, res, next, parse, { 55 | encoding: null, 56 | inflate: inflate, 57 | limit: limit, 58 | verify: verify 59 | }) 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/lib/types/text.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * body-parser 3 | * Copyright(c) 2014 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module dependencies. 9 | */ 10 | 11 | var bytes = require('bytes') 12 | var read = require('../read') 13 | var typeis = require('type-is') 14 | var typer = require('media-typer') 15 | 16 | /** 17 | * Module exports. 18 | */ 19 | 20 | module.exports = text 21 | 22 | /** 23 | * Create a middleware to parse text bodies. 24 | * 25 | * @param {object} [options] 26 | * @return {function} 27 | * @api public 28 | */ 29 | 30 | function text(options) { 31 | options = options || {}; 32 | 33 | var defaultCharset = options.defaultCharset || 'utf-8' 34 | var inflate = options.inflate !== false 35 | var limit = typeof options.limit !== 'number' 36 | ? bytes(options.limit || '100kb') 37 | : options.limit 38 | var type = options.type || 'text/plain' 39 | var verify = options.verify || false 40 | 41 | if (verify !== false && typeof verify !== 'function') { 42 | throw new TypeError('option verify must be function') 43 | } 44 | 45 | function parse(buf) { 46 | return buf 47 | } 48 | 49 | return function textParser(req, res, next) { 50 | if (req._body) return next() 51 | req.body = req.body || {} 52 | 53 | if (!typeis(req, type)) return next() 54 | 55 | // get charset 56 | var charset = typer.parse(req).parameters.charset || defaultCharset 57 | 58 | // read 59 | read(req, res, next, parse, { 60 | encoding: charset, 61 | inflate: inflate, 62 | limit: limit, 63 | verify: verify 64 | }) 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/bytes/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/bytes/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.0 / 2014-05-05 3 | ================== 4 | 5 | * add negative support. fixes #6 6 | 7 | 0.3.0 / 2014-03-19 8 | ================== 9 | 10 | * added terabyte support 11 | 12 | 0.2.1 / 2013-04-01 13 | ================== 14 | 15 | * add .component 16 | 17 | 0.2.0 / 2012-10-28 18 | ================== 19 | 20 | * bytes(200).should.eql('200b') 21 | 22 | 0.1.0 / 2012-07-04 23 | ================== 24 | 25 | * add bytes to string conversion [yields] 26 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/bytes/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --reporter spec \ 5 | --require should 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/bytes/Readme.md: -------------------------------------------------------------------------------- 1 | # node-bytes 2 | 3 | Byte string parser / formatter. 4 | 5 | ## Example: 6 | 7 | ```js 8 | bytes('1kb') 9 | // => 1024 10 | 11 | bytes('2mb') 12 | // => 2097152 13 | 14 | bytes('1gb') 15 | // => 1073741824 16 | 17 | bytes(1073741824) 18 | // => 1gb 19 | 20 | bytes(1099511627776) 21 | // => 1tb 22 | ``` 23 | 24 | ## Installation 25 | 26 | ``` 27 | $ npm install bytes 28 | $ component install visionmedia/bytes.js 29 | ``` 30 | 31 | ## License 32 | 33 | (The MIT License) 34 | 35 | Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca> 36 | 37 | Permission is hereby granted, free of charge, to any person obtaining 38 | a copy of this software and associated documentation files (the 39 | 'Software'), to deal in the Software without restriction, including 40 | without limitation the rights to use, copy, modify, merge, publish, 41 | distribute, sublicense, and/or sell copies of the Software, and to 42 | permit persons to whom the Software is furnished to do so, subject to 43 | the following conditions: 44 | 45 | The above copyright notice and this permission notice shall be 46 | included in all copies or substantial portions of the Software. 47 | 48 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 49 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 50 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 51 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 52 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 53 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 54 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 55 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/bytes/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bytes", 3 | "description": "byte size string parser / serializer", 4 | "keywords": ["bytes", "utility"], 5 | "version": "0.2.1", 6 | "scripts": ["index.js"] 7 | } 8 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/bytes/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Parse byte `size` string. 4 | * 5 | * @param {String} size 6 | * @return {Number} 7 | * @api public 8 | */ 9 | 10 | module.exports = function(size) { 11 | if ('number' == typeof size) return convert(size); 12 | var parts = size.match(/^(\d+(?:\.\d+)?) *(kb|mb|gb|tb)$/) 13 | , n = parseFloat(parts[1]) 14 | , type = parts[2]; 15 | 16 | var map = { 17 | kb: 1 << 10 18 | , mb: 1 << 20 19 | , gb: 1 << 30 20 | , tb: ((1 << 30) * 1024) 21 | }; 22 | 23 | return map[type] * n; 24 | }; 25 | 26 | /** 27 | * convert bytes into string. 28 | * 29 | * @param {Number} b - bytes to convert 30 | * @return {String} 31 | * @api public 32 | */ 33 | 34 | function convert (b) { 35 | var tb = ((1 << 30) * 1024), gb = 1 << 30, mb = 1 << 20, kb = 1 << 10, abs = Math.abs(b); 36 | if (abs >= tb) return (Math.round(b / tb * 100) / 100) + 'tb'; 37 | if (abs >= gb) return (Math.round(b / gb * 100) / 100) + 'gb'; 38 | if (abs >= mb) return (Math.round(b / mb * 100) / 100) + 'mb'; 39 | if (abs >= kb) return (Math.round(b / kb * 100) / 100) + 'kb'; 40 | return b + 'b'; 41 | } 42 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/bytes/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bytes", 3 | "author": { 4 | "name": "TJ Holowaychuk", 5 | "email": "tj@vision-media.ca", 6 | "url": "http://tjholowaychuk.com" 7 | }, 8 | "description": "byte size string parser / serializer", 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/visionmedia/bytes.js.git" 12 | }, 13 | "version": "1.0.0", 14 | "main": "index.js", 15 | "dependencies": {}, 16 | "devDependencies": { 17 | "mocha": "*", 18 | "should": "*" 19 | }, 20 | "component": { 21 | "scripts": { 22 | "bytes/index.js": "index.js" 23 | } 24 | }, 25 | "bugs": { 26 | "url": "https://github.com/visionmedia/bytes.js/issues" 27 | }, 28 | "homepage": "https://github.com/visionmedia/bytes.js", 29 | "_id": "bytes@1.0.0", 30 | "dist": { 31 | "shasum": "3569ede8ba34315fab99c3e92cb04c7220de1fa8", 32 | "tarball": "http://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz" 33 | }, 34 | "_from": "bytes@1.0.0", 35 | "_npmVersion": "1.4.3", 36 | "_npmUser": { 37 | "name": "tjholowaychuk", 38 | "email": "tj@vision-media.ca" 39 | }, 40 | "maintainers": [ 41 | { 42 | "name": "tjholowaychuk", 43 | "email": "tj@vision-media.ca" 44 | } 45 | ], 46 | "directories": {}, 47 | "_shasum": "3569ede8ba34315fab99c3e92cb04c7220de1fa8", 48 | "_resolved": "https://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz", 49 | "readme": "ERROR: No README data found!" 50 | } 51 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/depd/.npmignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | files/ 3 | test/ 4 | .travis.yml 5 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/depd/History.md: -------------------------------------------------------------------------------- 1 | 0.4.4 / 2014-07-27 2 | ================== 3 | 4 | * Work-around v8 generating empty stack traces 5 | 6 | 0.4.3 / 2014-07-26 7 | ================== 8 | 9 | * Fix exception when global `Error.stackTraceLimit` is too low 10 | 11 | 0.4.2 / 2014-07-19 12 | ================== 13 | 14 | * Correct call site for wrapped functions and properties 15 | 16 | 0.4.1 / 2014-07-19 17 | ================== 18 | 19 | * Improve automatic message generation for function properties 20 | 21 | 0.4.0 / 2014-07-19 22 | ================== 23 | 24 | * Add `TRACE_DEPRECATION` environment variable 25 | * Remove non-standard grey color from color output 26 | * Support `--no-deprecation` argument 27 | * Support `--trace-deprecation` argument 28 | * Support `deprecate.property(fn, prop, message)` 29 | 30 | 0.3.0 / 2014-06-16 31 | ================== 32 | 33 | * Add `NO_DEPRECATION` environment variable 34 | 35 | 0.2.0 / 2014-06-15 36 | ================== 37 | 38 | * Add `deprecate.property(obj, prop, message)` 39 | * Remove `supports-color` dependency for node.js 0.8 40 | 41 | 0.1.0 / 2014-06-15 42 | ================== 43 | 44 | * Add `deprecate.function(fn, message)` 45 | * Add `process.on('deprecation', fn)` emitter 46 | * Automatically generate message when omitted from `deprecate()` 47 | 48 | 0.0.1 / 2014-06-15 49 | ================== 50 | 51 | * Fix warning for dynamic calls at singe call site 52 | 53 | 0.0.0 / 2014-06-15 54 | ================== 55 | 56 | * Initial implementation 57 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/depd/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/depd/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "depd", 3 | "description": "Deprecate all the things", 4 | "version": "0.4.4", 5 | "author": { 6 | "name": "Douglas Christopher Wilson", 7 | "email": "doug@somethingdoug.com" 8 | }, 9 | "license": "MIT", 10 | "keywords": [ 11 | "deprecate", 12 | "deprecated" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git://github.com/dougwilson/nodejs-depd" 17 | }, 18 | "devDependencies": { 19 | "istanbul": "0.3.0", 20 | "mocha": "~1.20.1", 21 | "should": "~4.0.4" 22 | }, 23 | "engines": { 24 | "node": ">= 0.8.0" 25 | }, 26 | "scripts": { 27 | "test": "mocha --reporter spec --bail --require should test/", 28 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should test/", 29 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should test/" 30 | }, 31 | "bugs": { 32 | "url": "https://github.com/dougwilson/nodejs-depd/issues" 33 | }, 34 | "homepage": "https://github.com/dougwilson/nodejs-depd", 35 | "_id": "depd@0.4.4", 36 | "dist": { 37 | "shasum": "07091fae75f97828d89b4a02a2d4778f0e7c0662", 38 | "tarball": "http://registry.npmjs.org/depd/-/depd-0.4.4.tgz" 39 | }, 40 | "_from": "depd@0.4.4", 41 | "_npmVersion": "1.4.3", 42 | "_npmUser": { 43 | "name": "dougwilson", 44 | "email": "doug@somethingdoug.com" 45 | }, 46 | "maintainers": [ 47 | { 48 | "name": "dougwilson", 49 | "email": "doug@somethingdoug.com" 50 | } 51 | ], 52 | "directories": {}, 53 | "_shasum": "07091fae75f97828d89b4a02a2d4778f0e7c0662", 54 | "_resolved": "https://registry.npmjs.org/depd/-/depd-0.4.4.tgz", 55 | "readme": "ERROR: No README data found!" 56 | } 57 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *sublime-* 3 | generation 4 | test 5 | wiki 6 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | - 0.11 6 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/iconv-lite/Changelog.md: -------------------------------------------------------------------------------- 1 | 2 | # 0.4.4 / 2014-07-16 3 | 4 | * added encodings UTF-7 (RFC2152) and UTF-7-IMAP (RFC3501 Section 5.1.3) 5 | * fixed streaming base64 encoding 6 | 7 | # 0.4.3 / 2014-06-14 8 | 9 | * added encodings UTF-16BE and UTF-16 with BOM 10 | 11 | # 0.4.2 / 2014-06-12 12 | 13 | * don't throw exception if `extendNodeEncodings()` is called more than once 14 | 15 | # 0.4.1 / 2014-06-11 16 | 17 | * codepage 808 added 18 | 19 | 20 | # 0.4.0 / 2014-06-10 21 | 22 | * code is rewritten from scratch 23 | * all widespread encodings are supported 24 | * streaming interface added 25 | * browserify compatibility added 26 | * (optional) extend core primitive encodings to make usage even simpler 27 | * moved from vows to mocha as the testing framework 28 | 29 | 30 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/iconv-lite/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Alexander Shtuchkin 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/iconv-lite/README.md~: -------------------------------------------------------------------------------- 1 | iconv-lite - native javascript conversion between character encodings. 2 | ====================================================================== 3 | 4 | ## Usage 5 | 6 | var iconv = require('iconv-lite'); 7 | 8 | // Convert from an encoded buffer to string. 9 | str = iconv.fromEncoding(buf, 'win-1251'); 10 | // Or 11 | str = iconv.decode(buf, 'win-1251'); 12 | 13 | // Convert from string to an encoded buffer. 14 | buf = iconv.toEncoding("Sample input string", 'win-1251'); 15 | // Or 16 | buf = iconv.encode("Sample input string", 'win-1251'); 17 | 18 | ## Supported encodings 19 | 20 | Currently only a small part of encodings supported: 21 | 22 | * All node.js native encodings: 'utf8', 'ucs2', 'ascii', 'binary', 'base64'. 23 | * 'latin1' 24 | * Cyrillic encodings: 'windows-1251', 'koi8-r', 'iso 8859-5'. 25 | 26 | Other encodings are easy to add, see the source. Please, participate. 27 | 28 | 29 | ## Encoding/decoding speed 30 | 31 | Comparison with iconv module (1000 times 256kb, on Core i5/2.5 GHz). 32 | 33 | Operation\module iconv iconv-lite (this) 34 | toEncoding('win1251') 19.57 mb/s 49.04 mb/s 35 | fromEncoding('win1251') 16.39 mb/s 24.11 mb/s 36 | 37 | 38 | ## Notes 39 | 40 | This module is JavaScript-only, thus can be used in a sandboxed environment like [Cloud9](http://c9.io). 41 | 42 | Untranslatable characters are set to '?'. No transliteration is currently supported, pull requests are welcome. 43 | 44 | ## Testing 45 | 46 | npm install --dev iconv-lite 47 | vows 48 | 49 | ## TODO 50 | 51 | * Support streaming character conversion, something like util.pipe(req, iconv.fromEncodingStream('latin1')). 52 | * Add more encodings. 53 | * Add transliteration (best fit char). 54 | * Add tests and correct support of variable-byte encodings (currently work is delegated to node). 55 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/iconv-lite/encodings/index.js: -------------------------------------------------------------------------------- 1 | 2 | // Update this array if you add/rename/remove files in this directory. 3 | // We support Browserify by skipping automatic module discovery and requiring modules directly. 4 | var modules = [ 5 | require("./internal"), 6 | require("./utf16"), 7 | require("./utf7"), 8 | require("./sbcs-codec"), 9 | require("./sbcs-data"), 10 | require("./sbcs-data-generated"), 11 | require("./dbcs-codec"), 12 | require("./dbcs-data"), 13 | ]; 14 | 15 | // Put all encoding/alias/codec definitions to single object and export it. 16 | for (var i = 0; i < modules.length; i++) { 17 | var module = modules[i]; 18 | for (var enc in module) 19 | exports[enc] = module[enc]; 20 | } 21 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/iconv-lite/encodings/tables/gbk-added.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["a140","",62], 3 | ["a180","",32], 4 | ["a240","",62], 5 | ["a280","",32], 6 | ["a2ab","",5], 7 | ["a2e3","€"], 8 | ["a2ef",""], 9 | ["a2fd",""], 10 | ["a340","",62], 11 | ["a380","",31," "], 12 | ["a440","",62], 13 | ["a480","",32], 14 | ["a4f4","",10], 15 | ["a540","",62], 16 | ["a580","",32], 17 | ["a5f7","",7], 18 | ["a640","",62], 19 | ["a680","",32], 20 | ["a6b9","",7], 21 | ["a6d9","",6], 22 | ["a6ec",""], 23 | ["a6f3",""], 24 | ["a6f6","",8], 25 | ["a740","",62], 26 | ["a780","",32], 27 | ["a7c2","",14], 28 | ["a7f2","",12], 29 | ["a896","",10], 30 | ["a8bc",""], 31 | ["a8bf","ǹ"], 32 | ["a8c1",""], 33 | ["a8ea","",20], 34 | ["a958",""], 35 | ["a95b",""], 36 | ["a95d",""], 37 | ["a989","〾⿰",11], 38 | ["a997","",12], 39 | ["a9f0","",14], 40 | ["aaa1","",93], 41 | ["aba1","",93], 42 | ["aca1","",93], 43 | ["ada1","",93], 44 | ["aea1","",93], 45 | ["afa1","",93], 46 | ["d7fa","",4], 47 | ["f8a1","",93], 48 | ["f9a1","",93], 49 | ["faa1","",93], 50 | ["fba1","",93], 51 | ["fca1","",93], 52 | ["fda1","",93], 53 | ["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"], 54 | ["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93] 55 | ] 56 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/media-typer/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.3.0 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * Throw error when parameter format invalid on parse 6 | 7 | 0.2.0 / 2014-06-18 8 | ================== 9 | 10 | * Add `typer.format()` to format media types 11 | 12 | 0.1.0 / 2014-06-17 13 | ================== 14 | 15 | * Accept `req` as argument to `parse` 16 | * Accept `res` as argument to `parse` 17 | * Parse media type with extra LWS between type and first parameter 18 | 19 | 0.0.0 / 2014-06-13 20 | ================== 21 | 22 | * Initial implementation 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/media-typer/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/media-typer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "media-typer", 3 | "description": "Simple RFC 6838 media type parser and formatter", 4 | "version": "0.3.0", 5 | "author": { 6 | "name": "Douglas Christopher Wilson", 7 | "email": "doug@somethingdoug.com" 8 | }, 9 | "license": "MIT", 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/jshttp/media-typer" 13 | }, 14 | "devDependencies": { 15 | "istanbul": "0.3.2", 16 | "mocha": "~1.21.4", 17 | "should": "~4.0.4" 18 | }, 19 | "files": [ 20 | "LICENSE", 21 | "HISTORY.md", 22 | "index.js" 23 | ], 24 | "engines": { 25 | "node": ">= 0.6" 26 | }, 27 | "scripts": { 28 | "test": "mocha --reporter spec --check-leaks --bail test/", 29 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", 30 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" 31 | }, 32 | "gitHead": "d49d41ffd0bb5a0655fa44a59df2ec0bfc835b16", 33 | "bugs": { 34 | "url": "https://github.com/jshttp/media-typer/issues" 35 | }, 36 | "homepage": "https://github.com/jshttp/media-typer", 37 | "_id": "media-typer@0.3.0", 38 | "_shasum": "8710d7af0aa626f8fffa1ce00168545263255748", 39 | "_from": "media-typer@0.3.0", 40 | "_npmVersion": "1.4.21", 41 | "_npmUser": { 42 | "name": "dougwilson", 43 | "email": "doug@somethingdoug.com" 44 | }, 45 | "maintainers": [ 46 | { 47 | "name": "dougwilson", 48 | "email": "doug@somethingdoug.com" 49 | } 50 | ], 51 | "dist": { 52 | "shasum": "8710d7af0aa626f8fffa1ce00168545263255748", 53 | "tarball": "http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz" 54 | }, 55 | "directories": {}, 56 | "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 57 | "readme": "ERROR: No README data found!" 58 | } 59 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/on-finished/HISTORY.md: -------------------------------------------------------------------------------- 1 | 2.1.0 / 2014-08-16 2 | ================== 3 | 4 | * Check if `socket` is detached 5 | * Return `undefined` for `isFinished` if state unknown 6 | 7 | 2.0.0 / 2014-08-16 8 | ================== 9 | 10 | * Add `isFinished` function 11 | * Move to `jshttp` organization 12 | * Remove support for plain socket argument 13 | * Rename to `on-finished` 14 | * Support both `req` and `res` as arguments 15 | * deps: ee-first@1.0.5 16 | 17 | 1.2.2 / 2014-06-10 18 | ================== 19 | 20 | * Reduce listeners added to emitters 21 | - avoids "event emitter leak" warnings when used multiple times on same request 22 | 23 | 1.2.1 / 2014-06-08 24 | ================== 25 | 26 | * Fix returned value when already finished 27 | 28 | 1.2.0 / 2014-06-05 29 | ================== 30 | 31 | * Call callback when called on already-finished socket 32 | 33 | 1.1.4 / 2014-05-27 34 | ================== 35 | 36 | * Support node.js 0.8 37 | 38 | 1.1.3 / 2014-04-30 39 | ================== 40 | 41 | * Make sure errors passed as instanceof `Error` 42 | 43 | 1.1.2 / 2014-04-18 44 | ================== 45 | 46 | * Default the `socket` to passed-in object 47 | 48 | 1.1.1 / 2014-01-16 49 | ================== 50 | 51 | * Rename module to `finished` 52 | 53 | 1.1.0 / 2013-12-25 54 | ================== 55 | 56 | * Call callback when called on already-errored socket 57 | 58 | 1.0.1 / 2013-12-20 59 | ================== 60 | 61 | * Actually pass the error to the callback 62 | 63 | 1.0.0 / 2013-12-20 64 | ================== 65 | 66 | * Initial release 67 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/on-finished/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2013 Jonathan Ong 4 | Copyright (c) 2014 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/on-finished/node_modules/ee-first/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/on-finished/node_modules/ee-first/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function first(stuff, done) { 3 | if (!Array.isArray(stuff)) 4 | throw new TypeError('arg must be an array of [ee, events...] arrays') 5 | 6 | var cleanups = [] 7 | 8 | for (var i = 0; i < stuff.length; i++) { 9 | var arr = stuff[i] 10 | 11 | if (!Array.isArray(arr) || arr.length < 2) 12 | throw new TypeError('each array member must be [ee, events...]') 13 | 14 | var ee = arr[0] 15 | 16 | for (var j = 1; j < arr.length; j++) { 17 | var event = arr[j] 18 | var fn = listener(event, cleanup) 19 | 20 | // listen to the event 21 | ee.on(event, fn) 22 | // push this listener to the list of cleanups 23 | cleanups.push({ 24 | ee: ee, 25 | event: event, 26 | fn: fn, 27 | }) 28 | } 29 | } 30 | 31 | return function (fn) { 32 | done = fn 33 | } 34 | 35 | function cleanup() { 36 | var x 37 | for (var i = 0; i < cleanups.length; i++) { 38 | x = cleanups[i] 39 | x.ee.removeListener(x.event, x.fn) 40 | } 41 | done.apply(null, arguments) 42 | } 43 | } 44 | 45 | function listener(event, done) { 46 | return function onevent(arg1) { 47 | var args = new Array(arguments.length) 48 | var ee = this 49 | var err = event === 'error' 50 | ? arg1 51 | : null 52 | 53 | // copy args to prevent arguments escaping scope 54 | for (var i = 0; i < args.length; i++) { 55 | args[i] = arguments[i] 56 | } 57 | 58 | done(err, ee, event, args) 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node": true, 3 | 4 | "curly": true, 5 | "latedef": true, 6 | "quotmark": true, 7 | "undef": true, 8 | "unused": true, 9 | "trailing": true 10 | } 11 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Nathan LaFreniere and other contributors. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * The names of any contributors may not be used to endorse or promote 12 | products derived from this software without specific prior written 13 | permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | 26 | * * * 27 | 28 | The complete list of contributors can be found at: https://github.com/hapijs/qs/graphs/contributors 29 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -t 100 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | 8 | .PHONY: test test-cov test-cov-html -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | // Load modules 2 | 3 | var Stringify = require('./stringify'); 4 | var Parse = require('./parse'); 5 | 6 | 7 | // Declare internals 8 | 9 | var internals = {}; 10 | 11 | 12 | module.exports = { 13 | stringify: Stringify, 14 | parse: Parse 15 | }; 16 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/lib/stringify.js: -------------------------------------------------------------------------------- 1 | // Load modules 2 | 3 | var Utils = require('./utils'); 4 | 5 | 6 | // Declare internals 7 | 8 | var internals = { 9 | delimiter: '&' 10 | }; 11 | 12 | 13 | internals.stringify = function (obj, prefix) { 14 | 15 | if (Utils.isBuffer(obj)) { 16 | obj = obj.toString(); 17 | } 18 | else if (obj instanceof Date) { 19 | obj = obj.toISOString(); 20 | } 21 | else if (obj === null) { 22 | obj = ''; 23 | } 24 | 25 | if (typeof obj === 'string' || 26 | typeof obj === 'number' || 27 | typeof obj === 'boolean') { 28 | 29 | return [encodeURIComponent(prefix) + '=' + encodeURIComponent(obj)]; 30 | } 31 | 32 | var values = []; 33 | 34 | for (var key in obj) { 35 | if (obj.hasOwnProperty(key)) { 36 | values = values.concat(internals.stringify(obj[key], prefix + '[' + key + ']')); 37 | } 38 | } 39 | 40 | return values; 41 | }; 42 | 43 | 44 | module.exports = function (obj, options) { 45 | 46 | options = options || {}; 47 | var delimiter = typeof options.delimiter === 'undefined' ? internals.delimiter : options.delimiter; 48 | 49 | var keys = []; 50 | 51 | for (var key in obj) { 52 | if (obj.hasOwnProperty(key)) { 53 | keys = keys.concat(internals.stringify(obj[key], key)); 54 | } 55 | } 56 | 57 | return keys.join(delimiter); 58 | }; 59 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/qs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qs", 3 | "version": "2.2.3", 4 | "description": "A querystring parser that supports nesting and arrays, with a depth limit", 5 | "homepage": "https://github.com/hapijs/qs", 6 | "main": "index.js", 7 | "dependencies": {}, 8 | "devDependencies": { 9 | "lab": "4.x.x" 10 | }, 11 | "scripts": { 12 | "test": "make test-cov" 13 | }, 14 | "repository": { 15 | "type": "git", 16 | "url": "https://github.com/hapijs/qs.git" 17 | }, 18 | "keywords": [ 19 | "querystring", 20 | "qs" 21 | ], 22 | "author": { 23 | "name": "Nathan LaFreniere", 24 | "email": "quitlahok@gmail.com" 25 | }, 26 | "licenses": [ 27 | { 28 | "type": "BSD", 29 | "url": "http://github.com/hapijs/qs/raw/master/LICENSE" 30 | } 31 | ], 32 | "gitHead": "904528124a6eb879ebc5197376e9613069414f67", 33 | "bugs": { 34 | "url": "https://github.com/hapijs/qs/issues" 35 | }, 36 | "_id": "qs@2.2.3", 37 | "_shasum": "6139c1f47960eff5655e56aab0ef9f6dd16d4eeb", 38 | "_from": "qs@2.2.3", 39 | "_npmVersion": "1.4.23", 40 | "_npmUser": { 41 | "name": "nlf", 42 | "email": "quitlahok@gmail.com" 43 | }, 44 | "maintainers": [ 45 | { 46 | "name": "nlf", 47 | "email": "quitlahok@gmail.com" 48 | }, 49 | { 50 | "name": "hueniverse", 51 | "email": "eran@hueniverse.com" 52 | } 53 | ], 54 | "dist": { 55 | "shasum": "6139c1f47960eff5655e56aab0ef9f6dd16d4eeb", 56 | "tarball": "http://registry.npmjs.org/qs/-/qs-2.2.3.tgz" 57 | }, 58 | "directories": {}, 59 | "_resolved": "https://registry.npmjs.org/qs/-/qs-2.2.3.tgz", 60 | "readme": "ERROR: No README data found!" 61 | } 62 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/raw-body/.npmignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | test/ 3 | .travis.yml 4 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/type-is/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.5.1 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * deps: media-typer@0.3.0 6 | * deps: mime-types@~2.0.1 7 | - Support Node.js 0.6 8 | 9 | 1.5.0 / 2014-09-05 10 | ================== 11 | 12 | * fix `hasbody` to be true for `content-length: 0` 13 | 14 | 1.4.0 / 2014-09-02 15 | ================== 16 | 17 | * update mime-types 18 | 19 | 1.3.2 / 2014-06-24 20 | ================== 21 | 22 | * use `~` range on mime-types 23 | 24 | 1.3.1 / 2014-06-19 25 | ================== 26 | 27 | * fix global variable leak 28 | 29 | 1.3.0 / 2014-06-19 30 | ================== 31 | 32 | * improve type parsing 33 | 34 | - invalid media type never matches 35 | - media type not case-sensitive 36 | - extra LWS does not affect results 37 | 38 | 1.2.2 / 2014-06-19 39 | ================== 40 | 41 | * fix behavior on unknown type argument 42 | 43 | 1.2.1 / 2014-06-03 44 | ================== 45 | 46 | * switch dependency from `mime` to `mime-types@1.0.0` 47 | 48 | 1.2.0 / 2014-05-11 49 | ================== 50 | 51 | * support suffix matching: 52 | 53 | - `+json` matches `application/vnd+json` 54 | - `*/vnd+json` matches `application/vnd+json` 55 | - `application/*+json` matches `application/vnd+json` 56 | 57 | 1.1.0 / 2014-04-12 58 | ================== 59 | 60 | * add non-array values support 61 | * expose internal utilities: 62 | 63 | - `.is()` 64 | - `.hasBody()` 65 | - `.normalize()` 66 | - `.match()` 67 | 68 | 1.0.1 / 2014-03-30 69 | ================== 70 | 71 | * add `multipart` as a shorthand 72 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/type-is/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/type-is/node_modules/mime-types/HISTORY.md: -------------------------------------------------------------------------------- 1 | 2.0.1 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | 6 | 2.0.0 / 2014-09-02 7 | ================== 8 | 9 | * Use `mime-db` 10 | * Remove `.define()` 11 | 12 | 1.0.2 / 2014-08-04 13 | ================== 14 | 15 | * Set charset=utf-8 for `text/javascript` 16 | 17 | 1.0.1 / 2014-06-24 18 | ================== 19 | 20 | * Add `text/jsx` type 21 | 22 | 1.0.0 / 2014-05-12 23 | ================== 24 | 25 | * Return `false` for unknown types 26 | * Set charset=utf-8 for `application/json` 27 | 28 | 0.1.0 / 2014-05-02 29 | ================== 30 | 31 | * Initial release 32 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/type-is/node_modules/mime-types/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/body-parser/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | benchmarks/ 3 | coverage/ 4 | docs/ 5 | examples/ 6 | support/ 7 | test/ 8 | testing.js 9 | .DS_Store 10 | .travis.yml 11 | Contributing.md 12 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2009-2014 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/express'); 3 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/lib/middleware/init.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Initialization middleware, exposing the 3 | * request and response to eachother, as well 4 | * as defaulting the X-Powered-By header field. 5 | * 6 | * @param {Function} app 7 | * @return {Function} 8 | * @api private 9 | */ 10 | 11 | exports.init = function(app){ 12 | return function expressInit(req, res, next){ 13 | if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express'); 14 | req.res = res; 15 | res.req = req; 16 | req.next = next; 17 | 18 | req.__proto__ = app.request; 19 | res.__proto__ = app.response; 20 | 21 | res.locals = res.locals || Object.create(null); 22 | 23 | next(); 24 | }; 25 | }; 26 | 27 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/lib/middleware/query.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Module dependencies. 3 | */ 4 | 5 | var parseUrl = require('parseurl'); 6 | var qs = require('qs'); 7 | 8 | /** 9 | * @param {Object} options 10 | * @return {Function} 11 | * @api public 12 | */ 13 | 14 | module.exports = function query(options) { 15 | var queryparse = qs.parse; 16 | 17 | if (typeof options === 'function') { 18 | queryparse = options; 19 | options = undefined; 20 | } 21 | 22 | return function query(req, res, next){ 23 | if (!req.query) { 24 | var val = parseUrl(req).query; 25 | req.query = queryparse(val, options); 26 | } 27 | 28 | next(); 29 | }; 30 | }; 31 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/lib/router/match.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Module dependencies. 3 | */ 4 | 5 | var pathRegexp = require('path-to-regexp'); 6 | 7 | /** 8 | * Expose `Layer`. 9 | */ 10 | 11 | module.exports = Match; 12 | 13 | function Match(layer, path, params) { 14 | this.layer = layer; 15 | this.params = {}; 16 | this.path = path || ''; 17 | 18 | if (!params) { 19 | return this; 20 | } 21 | 22 | var keys = layer.keys; 23 | var n = 0; 24 | var prop; 25 | var key; 26 | var val; 27 | 28 | for (var i = 0; i < params.length; i++) { 29 | key = keys[i]; 30 | val = decode_param(params[i]); 31 | prop = key 32 | ? key.name 33 | : n++; 34 | 35 | this.params[prop] = val; 36 | } 37 | 38 | return this; 39 | }; 40 | 41 | /** 42 | * Decode param value. 43 | * 44 | * @param {string} val 45 | * @return {string} 46 | * @api private 47 | */ 48 | 49 | function decode_param(val){ 50 | if (typeof val !== 'string') { 51 | return val; 52 | } 53 | 54 | try { 55 | return decodeURIComponent(val); 56 | } catch (e) { 57 | var err = new TypeError("Failed to decode param '" + val + "'"); 58 | err.status = 400; 59 | throw err; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/mime-types/HISTORY.md: -------------------------------------------------------------------------------- 1 | 2.0.1 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | 6 | 2.0.0 / 2014-09-02 7 | ================== 8 | 9 | * Use `mime-db` 10 | * Remove `.define()` 11 | 12 | 1.0.2 / 2014-08-04 13 | ================== 14 | 15 | * Set charset=utf-8 for `text/javascript` 16 | 17 | 1.0.1 / 2014-06-24 18 | ================== 19 | 20 | * Add `text/jsx` type 21 | 22 | 1.0.0 / 2014-05-12 23 | ================== 24 | 25 | * Return `false` for unknown types 26 | * Set charset=utf-8 for `application/json` 27 | 28 | 0.1.0 / 2014-05-02 29 | ================== 30 | 31 | * Initial release 32 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/mime-types/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/mime-types/index.js: -------------------------------------------------------------------------------- 1 | 2 | var db = require('mime-db') 3 | 4 | // types[extension] = type 5 | exports.types = Object.create(null) 6 | // extensions[type] = [extensions] 7 | exports.extensions = Object.create(null) 8 | 9 | Object.keys(db).forEach(function (name) { 10 | var mime = db[name] 11 | var exts = mime.extensions 12 | if (!exts || !exts.length) return 13 | exports.extensions[name] = exts 14 | exts.forEach(function (ext) { 15 | exports.types[ext] = name 16 | }) 17 | }) 18 | 19 | exports.lookup = function (string) { 20 | if (!string || typeof string !== "string") return false 21 | // remove any leading paths, though we should just use path.basename 22 | string = string.replace(/.*[\.\/\\]/, '').toLowerCase() 23 | if (!string) return false 24 | return exports.types[string] || false 25 | } 26 | 27 | exports.extension = function (type) { 28 | if (!type || typeof type !== "string") return false 29 | // to do: use media-typer 30 | type = type.match(/^\s*([^;\s]*)(?:;|\s|$)/) 31 | if (!type) return false 32 | var exts = exports.extensions[type[1].toLowerCase()] 33 | if (!exts || !exts.length) return false 34 | return exts[0] 35 | } 36 | 37 | // type has to be an exact mime type 38 | exports.charset = function (type) { 39 | var mime = db[type] 40 | if (mime && mime.charset) return mime.charset 41 | 42 | // default text/* to utf-8 43 | if (/^text\//.test(type)) return 'UTF-8' 44 | 45 | return false 46 | } 47 | 48 | // backwards compatibility 49 | exports.charsets = { 50 | lookup: exports.charset 51 | } 52 | 53 | // to do: maybe use set-type module or something 54 | exports.contentType = function (type) { 55 | if (!type || typeof type !== "string") return false 56 | if (!~type.indexOf('/')) type = exports.lookup(type) 57 | if (!type) return false 58 | if (!~type.indexOf('charset')) { 59 | var charset = exports.charset(type) 60 | if (charset) type += '; charset=' + charset.toLowerCase() 61 | } 62 | return type 63 | } 64 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/negotiator/.npmignore: -------------------------------------------------------------------------------- 1 | examples 2 | test 3 | .travis.yml 4 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/negotiator/LICENSE: -------------------------------------------------------------------------------- 1 | Original "Negotiator" program Copyright Federico Romero 2 | Port to JavaScript Copyright Isaac Z. Schlueter 3 | 4 | All rights reserved. 5 | 6 | MIT License 7 | 8 | Permission is hereby granted, free of charge, to any person 9 | obtaining a copy of this software and associated documentation 10 | files (the "Software"), to deal in the Software without 11 | restriction, including without limitation the rights to use, 12 | copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | copies of the Software, and to permit persons to whom the 14 | Software is furnished to do so, subject to the following 15 | conditions: 16 | 17 | The above copyright notice and this permission notice shall be 18 | included in all copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 21 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 22 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 23 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 24 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 25 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 26 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 27 | OTHER DEALINGS IN THE SOFTWARE. 28 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/negotiator/lib/negotiator.js: -------------------------------------------------------------------------------- 1 | module.exports = Negotiator; 2 | Negotiator.Negotiator = Negotiator; 3 | 4 | function Negotiator(request) { 5 | if (!(this instanceof Negotiator)) return new Negotiator(request); 6 | this.request = request; 7 | } 8 | 9 | var set = { charset: 'accept-charset', 10 | encoding: 'accept-encoding', 11 | language: 'accept-language', 12 | mediaType: 'accept' }; 13 | 14 | 15 | function capitalize(string){ 16 | return string.charAt(0).toUpperCase() + string.slice(1); 17 | } 18 | 19 | Object.keys(set).forEach(function (k) { 20 | var header = set[k], 21 | method = require('./'+k+'.js'), 22 | singular = k, 23 | plural = k + 's'; 24 | 25 | Negotiator.prototype[plural] = function (available) { 26 | return method(this.request.headers[header], available); 27 | }; 28 | 29 | Negotiator.prototype[singular] = function(available) { 30 | var set = this[plural](available); 31 | if (set) return set[0]; 32 | }; 33 | 34 | // Keep preferred* methods for legacy compatibility 35 | Negotiator.prototype['preferred'+capitalize(plural)] = Negotiator.prototype[plural]; 36 | Negotiator.prototype['preferred'+capitalize(singular)] = Negotiator.prototype[singular]; 37 | }) 38 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/accepts/node_modules/negotiator/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "negotiator", 3 | "description": "HTTP content negotiation", 4 | "version": "0.4.7", 5 | "author": { 6 | "name": "Federico Romero", 7 | "email": "federico.romero@outboxlabs.com" 8 | }, 9 | "contributors": [ 10 | { 11 | "name": "Isaac Z. Schlueter", 12 | "email": "i@izs.me", 13 | "url": "http://blog.izs.me/" 14 | } 15 | ], 16 | "repository": { 17 | "type": "git", 18 | "url": "git://github.com/federomero/negotiator.git" 19 | }, 20 | "keywords": [ 21 | "http", 22 | "content negotiation", 23 | "accept", 24 | "accept-language", 25 | "accept-encoding", 26 | "accept-charset" 27 | ], 28 | "engine": "node >= 0.6", 29 | "license": "MIT", 30 | "devDependencies": { 31 | "nodeunit": "0.8.x" 32 | }, 33 | "scripts": { 34 | "test": "nodeunit test" 35 | }, 36 | "optionalDependencies": {}, 37 | "engines": { 38 | "node": "*" 39 | }, 40 | "main": "lib/negotiator.js", 41 | "bugs": { 42 | "url": "https://github.com/federomero/negotiator/issues" 43 | }, 44 | "homepage": "https://github.com/federomero/negotiator", 45 | "dependencies": {}, 46 | "_id": "negotiator@0.4.7", 47 | "dist": { 48 | "shasum": "a4160f7177ec806738631d0d3052325da42abdc8", 49 | "tarball": "http://registry.npmjs.org/negotiator/-/negotiator-0.4.7.tgz" 50 | }, 51 | "_from": "negotiator@0.4.7", 52 | "_npmVersion": "1.4.3", 53 | "_npmUser": { 54 | "name": "federomero", 55 | "email": "federomero@gmail.com" 56 | }, 57 | "maintainers": [ 58 | { 59 | "name": "federomero", 60 | "email": "federomero@gmail.com" 61 | } 62 | ], 63 | "directories": {}, 64 | "_shasum": "a4160f7177ec806738631d0d3052325da42abdc8", 65 | "_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.4.7.tgz", 66 | "readme": "ERROR: No README data found!" 67 | } 68 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/buffer-crc32/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/buffer-crc32/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | notifications: 6 | email: 7 | recipients: 8 | - brianloveswords@gmail.com -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/buffer-crc32/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Brian J. Brennan 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to use, 6 | copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the 7 | Software, and to permit persons to whom the Software is furnished to do so, 8 | subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 14 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 15 | PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 16 | FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 17 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 18 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/buffer-crc32/README.md: -------------------------------------------------------------------------------- 1 | # buffer-crc32 2 | 3 | [![Build Status](https://secure.travis-ci.org/brianloveswords/buffer-crc32.png?branch=master)](http://travis-ci.org/brianloveswords/buffer-crc32) 4 | 5 | crc32 that works with binary data and fancy character sets, outputs 6 | buffer, signed or unsigned data and has tests. 7 | 8 | Derived from the sample CRC implementation in the PNG specification: http://www.w3.org/TR/PNG/#D-CRCAppendix 9 | 10 | # install 11 | ``` 12 | npm install buffer-crc32 13 | ``` 14 | 15 | # example 16 | ```js 17 | var crc32 = require('buffer-crc32'); 18 | // works with buffers 19 | var buf = Buffer([0x00, 0x73, 0x75, 0x70, 0x20, 0x62, 0x72, 0x6f, 0x00]) 20 | crc32(buf) // -> 21 | 22 | // has convenience methods for getting signed or unsigned ints 23 | crc32.signed(buf) // -> -1805997238 24 | crc32.unsigned(buf) // -> 2488970058 25 | 26 | // will cast to buffer if given a string, so you can 27 | // directly use foreign characters safely 28 | crc32('自動販売機') // -> 29 | 30 | // and works in append mode too 31 | var partialCrc = crc32('hey'); 32 | var partialCrc = crc32(' ', partialCrc); 33 | var partialCrc = crc32('sup', partialCrc); 34 | var partialCrc = crc32(' ', partialCrc); 35 | var finalCrc = crc32('bros', partialCrc); // -> 36 | ``` 37 | 38 | # tests 39 | This was tested against the output of zlib's crc32 method. You can run 40 | the tests with`npm test` (requires tap) 41 | 42 | # see also 43 | https://github.com/alexgorbatchev/node-crc, `crc.buffer.crc32` also 44 | supports buffer inputs and return unsigned ints (thanks @tjholowaychuk). 45 | 46 | # license 47 | MIT/X11 48 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/buffer-crc32/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "Brian J. Brennan", 4 | "email": "brianloveswords@gmail.com", 5 | "url": "http://bjb.io" 6 | }, 7 | "name": "buffer-crc32", 8 | "description": "A pure javascript CRC32 algorithm that plays nice with binary data", 9 | "version": "0.2.3", 10 | "contributors": [ 11 | { 12 | "name": "Vladimir Kuznetsov" 13 | } 14 | ], 15 | "homepage": "https://github.com/brianloveswords/buffer-crc32", 16 | "repository": { 17 | "type": "git", 18 | "url": "git://github.com/brianloveswords/buffer-crc32.git" 19 | }, 20 | "main": "index.js", 21 | "scripts": { 22 | "test": "tap tests/*.test.js" 23 | }, 24 | "dependencies": {}, 25 | "devDependencies": { 26 | "tap": "~0.2.5" 27 | }, 28 | "optionalDependencies": {}, 29 | "engines": { 30 | "node": "*" 31 | }, 32 | "gitHead": "f06dc30bccbad685af30666268c6fd2670805998", 33 | "bugs": { 34 | "url": "https://github.com/brianloveswords/buffer-crc32/issues" 35 | }, 36 | "_id": "buffer-crc32@0.2.3", 37 | "_shasum": "bb54519e95d107cbd2400e76d0cab1467336d921", 38 | "_from": "buffer-crc32@0.2.3", 39 | "_npmVersion": "1.4.14", 40 | "_npmUser": { 41 | "name": "brianloveswords", 42 | "email": "brianloveswords@gmail.com" 43 | }, 44 | "maintainers": [ 45 | { 46 | "name": "brianloveswords", 47 | "email": "brian@nyhacker.org" 48 | } 49 | ], 50 | "dist": { 51 | "shasum": "bb54519e95d107cbd2400e76d0cab1467336d921", 52 | "tarball": "http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.3.tgz" 53 | }, 54 | "directories": {}, 55 | "_resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.3.tgz", 56 | "readme": "ERROR: No README data found!" 57 | } 58 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie-signature/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie-signature/History.md: -------------------------------------------------------------------------------- 1 | 1.0.4 / 2014-06-25 2 | ================== 3 | 4 | * corrected avoidance of timing attacks (thanks @tenbits!) 5 | 6 | 7 | 1.0.3 / 2014-01-28 8 | ================== 9 | 10 | * [incorrect] fix for timing attacks 11 | 12 | 1.0.2 / 2014-01-28 13 | ================== 14 | 15 | * fix missing repository warning 16 | * fix typo in test 17 | 18 | 1.0.1 / 2013-04-15 19 | ================== 20 | 21 | * Revert "Changed underlying HMAC algo. to sha512." 22 | * Revert "Fix for timing attacks on MAC verification." 23 | 24 | 0.0.1 / 2010-01-03 25 | ================== 26 | 27 | * Initial release 28 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie-signature/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @./node_modules/.bin/mocha \ 4 | --require should \ 5 | --reporter spec 6 | 7 | .PHONY: test -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie-signature/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # cookie-signature 3 | 4 | Sign and unsign cookies. 5 | 6 | ## Example 7 | 8 | ```js 9 | var cookie = require('cookie-signature'); 10 | 11 | var val = cookie.sign('hello', 'tobiiscool'); 12 | val.should.equal('hello.DGDUkGlIkCzPz+C0B064FNgHdEjox7ch8tOBGslZ5QI'); 13 | 14 | var val = cookie.sign('hello', 'tobiiscool'); 15 | cookie.unsign(val, 'tobiiscool').should.equal('hello'); 16 | cookie.unsign(val, 'luna').should.be.false; 17 | ``` 18 | 19 | ## License 20 | 21 | (The MIT License) 22 | 23 | Copyright (c) 2012 LearnBoost <tj@learnboost.com> 24 | 25 | Permission is hereby granted, free of charge, to any person obtaining 26 | a copy of this software and associated documentation files (the 27 | 'Software'), to deal in the Software without restriction, including 28 | without limitation the rights to use, copy, modify, merge, publish, 29 | distribute, sublicense, and/or sell copies of the Software, and to 30 | permit persons to whom the Software is furnished to do so, subject to 31 | the following conditions: 32 | 33 | The above copyright notice and this permission notice shall be 34 | included in all copies or substantial portions of the Software. 35 | 36 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 37 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 38 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 39 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 40 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 41 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 42 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie-signature/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Module dependencies. 3 | */ 4 | 5 | var crypto = require('crypto'); 6 | 7 | /** 8 | * Sign the given `val` with `secret`. 9 | * 10 | * @param {String} val 11 | * @param {String} secret 12 | * @return {String} 13 | * @api private 14 | */ 15 | 16 | exports.sign = function(val, secret){ 17 | if ('string' != typeof val) throw new TypeError('cookie required'); 18 | if ('string' != typeof secret) throw new TypeError('secret required'); 19 | return val + '.' + crypto 20 | .createHmac('sha256', secret) 21 | .update(val) 22 | .digest('base64') 23 | .replace(/\=+$/, ''); 24 | }; 25 | 26 | /** 27 | * Unsign and decode the given `val` with `secret`, 28 | * returning `false` if the signature is invalid. 29 | * 30 | * @param {String} val 31 | * @param {String} secret 32 | * @return {String|Boolean} 33 | * @api private 34 | */ 35 | 36 | exports.unsign = function(val, secret){ 37 | if ('string' != typeof val) throw new TypeError('cookie required'); 38 | if ('string' != typeof secret) throw new TypeError('secret required'); 39 | var str = val.slice(0, val.lastIndexOf('.')) 40 | , mac = exports.sign(str, secret); 41 | 42 | return sha1(mac) == sha1(val) ? str : false; 43 | }; 44 | 45 | /** 46 | * Private 47 | */ 48 | 49 | function sha1(str){ 50 | return crypto.createHash('sha1').update(str).digest('hex'); 51 | } 52 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie-signature/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cookie-signature", 3 | "version": "1.0.5", 4 | "description": "Sign and unsign cookies", 5 | "keywords": [ 6 | "cookie", 7 | "sign", 8 | "unsign" 9 | ], 10 | "author": { 11 | "name": "TJ Holowaychuk", 12 | "email": "tj@learnboost.com" 13 | }, 14 | "license": "MIT", 15 | "repository": { 16 | "type": "git", 17 | "url": "https://github.com/visionmedia/node-cookie-signature.git" 18 | }, 19 | "dependencies": {}, 20 | "devDependencies": { 21 | "mocha": "*", 22 | "should": "*" 23 | }, 24 | "main": "index", 25 | "gitHead": "73ed69b511b3ef47555d71b4ed1deea9e5ed6e1f", 26 | "bugs": { 27 | "url": "https://github.com/visionmedia/node-cookie-signature/issues" 28 | }, 29 | "homepage": "https://github.com/visionmedia/node-cookie-signature", 30 | "_id": "cookie-signature@1.0.5", 31 | "scripts": {}, 32 | "_shasum": "a122e3f1503eca0f5355795b0711bb2368d450f9", 33 | "_from": "cookie-signature@1.0.5", 34 | "_npmVersion": "1.4.20", 35 | "_npmUser": { 36 | "name": "natevw", 37 | "email": "natevw@yahoo.com" 38 | }, 39 | "maintainers": [ 40 | { 41 | "name": "tjholowaychuk", 42 | "email": "tj@vision-media.ca" 43 | }, 44 | { 45 | "name": "natevw", 46 | "email": "natevw@yahoo.com" 47 | } 48 | ], 49 | "dist": { 50 | "shasum": "a122e3f1503eca0f5355795b0711bb2368d450f9", 51 | "tarball": "http://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.5.tgz" 52 | }, 53 | "directories": {}, 54 | "_resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.5.tgz", 55 | "readme": "ERROR: No README data found!" 56 | } 57 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .travis.yml 3 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie/LICENSE: -------------------------------------------------------------------------------- 1 | // MIT License 2 | 3 | Copyright (C) Roman Shtylman 4 | 5 | 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: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | 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. 10 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie/README.md: -------------------------------------------------------------------------------- 1 | # cookie [![Build Status](https://secure.travis-ci.org/defunctzombie/node-cookie.png?branch=master)](http://travis-ci.org/defunctzombie/node-cookie) # 2 | 3 | cookie is a basic cookie parser and serializer. It doesn't make assumptions about how you are going to deal with your cookies. It basically just provides a way to read and write the HTTP cookie headers. 4 | 5 | See [RFC6265](http://tools.ietf.org/html/rfc6265) for details about the http header for cookies. 6 | 7 | ## how? 8 | 9 | ``` 10 | npm install cookie 11 | ``` 12 | 13 | ```javascript 14 | var cookie = require('cookie'); 15 | 16 | var hdr = cookie.serialize('foo', 'bar'); 17 | // hdr = 'foo=bar'; 18 | 19 | var cookies = cookie.parse('foo=bar; cat=meow; dog=ruff'); 20 | // cookies = { foo: 'bar', cat: 'meow', dog: 'ruff' }; 21 | ``` 22 | 23 | ## more 24 | 25 | The serialize function takes a third parameter, an object, to set cookie options. See the RFC for valid values. 26 | 27 | ### path 28 | > cookie path 29 | 30 | ### expires 31 | > absolute expiration date for the cookie (Date object) 32 | 33 | ### maxAge 34 | > relative max age of the cookie from when the client receives it (seconds) 35 | 36 | ### domain 37 | > domain for the cookie 38 | 39 | ### secure 40 | > true or false 41 | 42 | ### httpOnly 43 | > true or false 44 | 45 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/cookie/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "Roman Shtylman", 4 | "email": "shtylman@gmail.com" 5 | }, 6 | "name": "cookie", 7 | "description": "cookie parsing and serialization", 8 | "version": "0.1.2", 9 | "repository": { 10 | "type": "git", 11 | "url": "git://github.com/shtylman/node-cookie.git" 12 | }, 13 | "keywords": [ 14 | "cookie", 15 | "cookies" 16 | ], 17 | "main": "index.js", 18 | "scripts": { 19 | "test": "mocha" 20 | }, 21 | "dependencies": {}, 22 | "devDependencies": { 23 | "mocha": "1.x.x" 24 | }, 25 | "optionalDependencies": {}, 26 | "engines": { 27 | "node": "*" 28 | }, 29 | "bugs": { 30 | "url": "https://github.com/shtylman/node-cookie/issues" 31 | }, 32 | "homepage": "https://github.com/shtylman/node-cookie", 33 | "_id": "cookie@0.1.2", 34 | "dist": { 35 | "shasum": "72fec3d24e48a3432073d90c12642005061004b1", 36 | "tarball": "http://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz" 37 | }, 38 | "_from": "cookie@0.1.2", 39 | "_npmVersion": "1.4.6", 40 | "_npmUser": { 41 | "name": "shtylman", 42 | "email": "shtylman@gmail.com" 43 | }, 44 | "maintainers": [ 45 | { 46 | "name": "shtylman", 47 | "email": "shtylman@gmail.com" 48 | } 49 | ], 50 | "directories": {}, 51 | "_shasum": "72fec3d24e48a3432073d90c12642005061004b1", 52 | "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz", 53 | "readme": "ERROR: No README data found!" 54 | } 55 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/debug/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "laxbreak": true 3 | } 4 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/debug/Makefile: -------------------------------------------------------------------------------- 1 | 2 | # get Makefile directory name: http://stackoverflow.com/a/5982798/376773 3 | THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) 4 | THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd) 5 | 6 | # BIN directory 7 | BIN := $(THIS_DIR)/node_modules/.bin 8 | 9 | # applications 10 | NODE ?= $(shell which node) 11 | NPM ?= $(NODE) $(shell which npm) 12 | BROWSERIFY ?= $(NODE) $(BIN)/browserify 13 | 14 | all: dist/debug.js 15 | 16 | install: node_modules 17 | 18 | clean: 19 | @rm -rf node_modules dist 20 | 21 | dist: 22 | @mkdir -p $@ 23 | 24 | dist/debug.js: node_modules browser.js debug.js dist 25 | @$(BROWSERIFY) \ 26 | --standalone debug \ 27 | . > $@ 28 | 29 | node_modules: package.json 30 | @NODE_ENV= $(NPM) install 31 | @touch node_modules 32 | 33 | .PHONY: all install clean 34 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.0.0", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "browser.js", 12 | "scripts": [ 13 | "browser.js", 14 | "debug.js" 15 | ], 16 | "dependencies": { 17 | "guille/ms.js": "0.6.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/debug/node_modules/ms/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test 3 | History.md 4 | Makefile 5 | component.json 6 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/debug/node_modules/ms/README.md: -------------------------------------------------------------------------------- 1 | # ms.js: miliseconds conversion utility 2 | 3 | ```js 4 | ms('1d') // 86400000 5 | ms('10h') // 36000000 6 | ms('2h') // 7200000 7 | ms('1m') // 60000 8 | ms('5s') // 5000 9 | ms('100') // 100 10 | ``` 11 | 12 | ```js 13 | ms(60000) // "1m" 14 | ms(2 * 60000) // "2m" 15 | ms(ms('10 hours')) // "10h" 16 | ``` 17 | 18 | ```js 19 | ms(60000, { long: true }) // "1 minute" 20 | ms(2 * 60000, { long: true }) // "2 minutes" 21 | ms(ms('10 hours', { long: true })) // "10 hours" 22 | ``` 23 | 24 | - Node/Browser compatible. Published as `ms` in NPM. 25 | - If a number is supplied to `ms`, a string with a unit is returned. 26 | - If a string that contains the number is supplied, it returns it as 27 | a number (e.g: it returns `100` for `'100'`). 28 | - If you pass a string with a number and a valid unit, the number of 29 | equivalent ms is returned. 30 | 31 | ## License 32 | 33 | MIT -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/debug/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "version": "2.0.0", 4 | "repository": { 5 | "type": "git", 6 | "url": "git://github.com/visionmedia/debug.git" 7 | }, 8 | "description": "small debugging utility", 9 | "keywords": [ 10 | "debug", 11 | "log", 12 | "debugger" 13 | ], 14 | "author": { 15 | "name": "TJ Holowaychuk", 16 | "email": "tj@vision-media.ca" 17 | }, 18 | "contributors": [ 19 | { 20 | "name": "Nathan Rajlich", 21 | "email": "nathan@tootallnate.net", 22 | "url": "http://n8.io" 23 | } 24 | ], 25 | "dependencies": { 26 | "ms": "0.6.2" 27 | }, 28 | "devDependencies": { 29 | "browserify": "5.11.0", 30 | "mocha": "*" 31 | }, 32 | "main": "./node.js", 33 | "browser": "./browser.js", 34 | "component": { 35 | "scripts": { 36 | "debug/index.js": "browser.js", 37 | "debug/debug.js": "debug.js" 38 | } 39 | }, 40 | "gitHead": "c61ae82bde19c6fdedfc6684817ff7eb541ff029", 41 | "bugs": { 42 | "url": "https://github.com/visionmedia/debug/issues" 43 | }, 44 | "homepage": "https://github.com/visionmedia/debug", 45 | "_id": "debug@2.0.0", 46 | "scripts": {}, 47 | "_shasum": "89bd9df6732b51256bc6705342bba02ed12131ef", 48 | "_from": "debug@~2.0.0", 49 | "_npmVersion": "1.4.21", 50 | "_npmUser": { 51 | "name": "tootallnate", 52 | "email": "nathan@tootallnate.net" 53 | }, 54 | "maintainers": [ 55 | { 56 | "name": "tjholowaychuk", 57 | "email": "tj@vision-media.ca" 58 | }, 59 | { 60 | "name": "tootallnate", 61 | "email": "nathan@tootallnate.net" 62 | } 63 | ], 64 | "dist": { 65 | "shasum": "89bd9df6732b51256bc6705342bba02ed12131ef", 66 | "tarball": "http://registry.npmjs.org/debug/-/debug-2.0.0.tgz" 67 | }, 68 | "directories": {}, 69 | "_resolved": "https://registry.npmjs.org/debug/-/debug-2.0.0.tgz", 70 | "readme": "ERROR: No README data found!" 71 | } 72 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/depd/.npmignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | files/ 3 | test/ 4 | .travis.yml 5 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/depd/History.md: -------------------------------------------------------------------------------- 1 | 0.4.4 / 2014-07-27 2 | ================== 3 | 4 | * Work-around v8 generating empty stack traces 5 | 6 | 0.4.3 / 2014-07-26 7 | ================== 8 | 9 | * Fix exception when global `Error.stackTraceLimit` is too low 10 | 11 | 0.4.2 / 2014-07-19 12 | ================== 13 | 14 | * Correct call site for wrapped functions and properties 15 | 16 | 0.4.1 / 2014-07-19 17 | ================== 18 | 19 | * Improve automatic message generation for function properties 20 | 21 | 0.4.0 / 2014-07-19 22 | ================== 23 | 24 | * Add `TRACE_DEPRECATION` environment variable 25 | * Remove non-standard grey color from color output 26 | * Support `--no-deprecation` argument 27 | * Support `--trace-deprecation` argument 28 | * Support `deprecate.property(fn, prop, message)` 29 | 30 | 0.3.0 / 2014-06-16 31 | ================== 32 | 33 | * Add `NO_DEPRECATION` environment variable 34 | 35 | 0.2.0 / 2014-06-15 36 | ================== 37 | 38 | * Add `deprecate.property(obj, prop, message)` 39 | * Remove `supports-color` dependency for node.js 0.8 40 | 41 | 0.1.0 / 2014-06-15 42 | ================== 43 | 44 | * Add `deprecate.function(fn, message)` 45 | * Add `process.on('deprecation', fn)` emitter 46 | * Automatically generate message when omitted from `deprecate()` 47 | 48 | 0.0.1 / 2014-06-15 49 | ================== 50 | 51 | * Fix warning for dynamic calls at singe call site 52 | 53 | 0.0.0 / 2014-06-15 54 | ================== 55 | 56 | * Initial implementation 57 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/depd/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/depd/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "depd", 3 | "description": "Deprecate all the things", 4 | "version": "0.4.4", 5 | "author": { 6 | "name": "Douglas Christopher Wilson", 7 | "email": "doug@somethingdoug.com" 8 | }, 9 | "license": "MIT", 10 | "keywords": [ 11 | "deprecate", 12 | "deprecated" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git://github.com/dougwilson/nodejs-depd" 17 | }, 18 | "devDependencies": { 19 | "istanbul": "0.3.0", 20 | "mocha": "~1.20.1", 21 | "should": "~4.0.4" 22 | }, 23 | "engines": { 24 | "node": ">= 0.8.0" 25 | }, 26 | "scripts": { 27 | "test": "mocha --reporter spec --bail --require should test/", 28 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should test/", 29 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should test/" 30 | }, 31 | "bugs": { 32 | "url": "https://github.com/dougwilson/nodejs-depd/issues" 33 | }, 34 | "homepage": "https://github.com/dougwilson/nodejs-depd", 35 | "_id": "depd@0.4.4", 36 | "dist": { 37 | "shasum": "07091fae75f97828d89b4a02a2d4778f0e7c0662", 38 | "tarball": "http://registry.npmjs.org/depd/-/depd-0.4.4.tgz" 39 | }, 40 | "_from": "depd@0.4.4", 41 | "_npmVersion": "1.4.3", 42 | "_npmUser": { 43 | "name": "dougwilson", 44 | "email": "doug@somethingdoug.com" 45 | }, 46 | "maintainers": [ 47 | { 48 | "name": "dougwilson", 49 | "email": "doug@somethingdoug.com" 50 | } 51 | ], 52 | "directories": {}, 53 | "_shasum": "07091fae75f97828d89b4a02a2d4778f0e7c0662", 54 | "_resolved": "https://registry.npmjs.org/depd/-/depd-0.4.4.tgz", 55 | "readme": "ERROR: No README data found!" 56 | } 57 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/escape-html/.npmignore: -------------------------------------------------------------------------------- 1 | components 2 | build 3 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/escape-html/Makefile: -------------------------------------------------------------------------------- 1 | 2 | build: components index.js 3 | @component build 4 | 5 | components: 6 | @Component install 7 | 8 | clean: 9 | rm -fr build components template.js 10 | 11 | .PHONY: clean 12 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/escape-html/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # escape-html 3 | 4 | Escape HTML entities 5 | 6 | ## Example 7 | 8 | ```js 9 | var escape = require('escape-html'); 10 | escape(str); 11 | ``` 12 | 13 | ## License 14 | 15 | MIT -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/escape-html/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "escape-html", 3 | "description": "Escape HTML entities", 4 | "version": "1.0.1", 5 | "keywords": ["escape", "html", "utility"], 6 | "dependencies": {}, 7 | "scripts": [ 8 | "index.js" 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/escape-html/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Escape special characters in the given string of html. 3 | * 4 | * @param {String} html 5 | * @return {String} 6 | * @api private 7 | */ 8 | 9 | module.exports = function(html) { 10 | return String(html) 11 | .replace(/&/g, '&') 12 | .replace(/"/g, '"') 13 | .replace(/'/g, ''') 14 | .replace(//g, '>'); 16 | } 17 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/escape-html/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "escape-html", 3 | "description": "Escape HTML entities", 4 | "version": "1.0.1", 5 | "keywords": [ 6 | "escape", 7 | "html", 8 | "utility" 9 | ], 10 | "dependencies": {}, 11 | "main": "index.js", 12 | "component": { 13 | "scripts": { 14 | "escape-html/index.js": "index.js" 15 | } 16 | }, 17 | "repository": { 18 | "type": "git", 19 | "url": "https://github.com/component/escape-html.git" 20 | }, 21 | "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", 22 | "readmeFilename": "Readme.md", 23 | "bugs": { 24 | "url": "https://github.com/component/escape-html/issues" 25 | }, 26 | "homepage": "https://github.com/component/escape-html", 27 | "_id": "escape-html@1.0.1", 28 | "dist": { 29 | "shasum": "181a286ead397a39a92857cfb1d43052e356bff0", 30 | "tarball": "http://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz" 31 | }, 32 | "_from": "escape-html@1.0.1", 33 | "_npmVersion": "1.3.15", 34 | "_npmUser": { 35 | "name": "tjholowaychuk", 36 | "email": "tj@vision-media.ca" 37 | }, 38 | "maintainers": [ 39 | { 40 | "name": "tjholowaychuk", 41 | "email": "tj@vision-media.ca" 42 | } 43 | ], 44 | "directories": {}, 45 | "_shasum": "181a286ead397a39a92857cfb1d43052e356bff0", 46 | "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz" 47 | } 48 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.3.1 / 2014-09-14 2 | ================== 3 | 4 | * Use the (new and improved) `crc` for crc32 5 | 6 | 1.3.0 / 2014-08-29 7 | ================== 8 | 9 | * Default strings to strong ETags 10 | * Improve speed for weak ETags over 1KB 11 | 12 | 1.2.1 / 2014-08-29 13 | ================== 14 | 15 | * Use the (much faster) `buffer-crc32` for crc32 16 | 17 | 1.2.0 / 2014-08-24 18 | ================== 19 | 20 | * Add support for file stat objects 21 | 22 | 1.1.0 / 2014-08-24 23 | ================== 24 | 25 | * Add fast-path for empty entity 26 | * Add weak ETag generation 27 | * Shrink size of generated ETags 28 | 29 | 1.0.1 / 2014-08-24 30 | ================== 31 | 32 | * Fix behavior of string containing Unicode 33 | 34 | 1.0.0 / 2014-05-18 35 | ================== 36 | 37 | * Initial release 38 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/.npmignore: -------------------------------------------------------------------------------- 1 | benchmark 2 | src 3 | test 4 | .travis.yml 5 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright 2014 Alex Gorbatchev 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/lib/crc.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.7.1 2 | var CRC, hex; 3 | 4 | hex = require('./hex'); 5 | 6 | module.exports = CRC = (function() { 7 | CRC.prototype.INIT_CRC = 0x00; 8 | 9 | CRC.prototype.XOR_MASK = 0x00; 10 | 11 | CRC.prototype.WIDTH = 0; 12 | 13 | CRC.prototype.pack = function(crc) { 14 | return ''; 15 | }; 16 | 17 | CRC.prototype.each_byte = function(buf, cb) { 18 | var i, _i, _ref, _results; 19 | if (!Buffer.isBuffer(buf)) { 20 | buf = Buffer(buf); 21 | } 22 | _results = []; 23 | for (i = _i = 0, _ref = buf.length - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) { 24 | _results.push(cb(buf[i])); 25 | } 26 | return _results; 27 | }; 28 | 29 | function CRC() { 30 | this.crc = this.INIT_CRC; 31 | } 32 | 33 | CRC.prototype.digest_length = function() { 34 | return Math.ceil(this.WIDTH / 8.0); 35 | }; 36 | 37 | CRC.prototype.update = function(data) {}; 38 | 39 | CRC.prototype.reset = function() { 40 | return this.crc = this.INIT_CRC; 41 | }; 42 | 43 | CRC.prototype.checksum = function(signed) { 44 | var sum; 45 | if (signed == null) { 46 | signed = true; 47 | } 48 | sum = this.crc ^ this.XOR_MASK; 49 | if (signed) { 50 | sum = sum >>> 0; 51 | } 52 | return sum; 53 | }; 54 | 55 | CRC.prototype.finish = function() { 56 | return this.pack(this.checksum()); 57 | }; 58 | 59 | CRC.prototype.hexdigest = function(value) { 60 | var result; 61 | if (value != null) { 62 | this.update(value); 63 | } 64 | result = this.finish(); 65 | this.reset(); 66 | return result; 67 | }; 68 | 69 | return CRC; 70 | 71 | })(); 72 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/lib/crc1.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.7.1 2 | var Buffer, create; 3 | 4 | Buffer = require('buffer').Buffer; 5 | 6 | create = require('./create'); 7 | 8 | module.exports = create(function(buf, previous) { 9 | var accum, byte, crc, _i, _len; 10 | if (!Buffer.isBuffer(buf)) { 11 | buf = Buffer(buf); 12 | } 13 | crc = ~~previous; 14 | accum = 0; 15 | for (_i = 0, _len = buf.length; _i < _len; _i++) { 16 | byte = buf[_i]; 17 | accum += byte; 18 | } 19 | crc += accum % 256; 20 | return crc % 256; 21 | }); 22 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/lib/create.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.7.1 2 | module.exports = function(calc) { 3 | var fn; 4 | fn = function(buf, previous) { 5 | return calc(buf, previous) >>> 0; 6 | }; 7 | fn.signed = calc; 8 | fn.unsigned = fn; 9 | return fn; 10 | }; 11 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/lib/hex.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.7.1 2 | module.exports = function(number) { 3 | var result; 4 | result = number.toString(16); 5 | while (result.length % 2) { 6 | result = "0" + result; 7 | } 8 | return result; 9 | }; 10 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/lib/index.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.7.1 2 | module.exports = { 3 | crc1: require('./crc1'), 4 | crc8: require('./crc8'), 5 | crc81wire: require('./crc8_1wire'), 6 | crc16: require('./crc16'), 7 | crc16ccitt: require('./crc16_ccitt'), 8 | crc16modbus: require('./crc16_modbus'), 9 | crc24: require('./crc24'), 10 | crc32: require('./crc32') 11 | }; 12 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/etag/node_modules/crc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "crc", 3 | "version": "3.0.0", 4 | "description": "Various CRC JavaScript implementations", 5 | "keywords": [ 6 | "crc" 7 | ], 8 | "main": "./lib/index.js", 9 | "scripts": { 10 | "test": "mocha test/*.spec.coffee", 11 | "pretest": "coffee --bare --output ./lib --compile ./src/*.coffee" 12 | }, 13 | "author": { 14 | "name": "Alex Gorbatchev", 15 | "url": "https://github.com/alexgorbatchev" 16 | }, 17 | "devDependencies": { 18 | "beautify-benchmark": "^0.2.4", 19 | "benchmark": "^1.0.0", 20 | "buffer-crc32": "^0.2.3", 21 | "chai": "~1.9.1", 22 | "coffee-errors": "~0.8.6", 23 | "coffee-script": "~1.7.1", 24 | "mocha": "*", 25 | "seedrandom": "^2.3.6" 26 | }, 27 | "homepage": "https://github.com/alexgorbatchev/node-crc", 28 | "bugs": { 29 | "url": "https://github.com/alexgorbatchev/node-crc/issues" 30 | }, 31 | "repository": { 32 | "type": "git", 33 | "url": "git://github.com/alexgorbatchev/node-crc.git" 34 | }, 35 | "license": "MIT", 36 | "gitHead": "16dbe7ca019d73be10e99c2f5fa690dcbfc0dd40", 37 | "_id": "crc@3.0.0", 38 | "_shasum": "d11e97ec44a844e5eb15a74fa2c7875d0aac4b22", 39 | "_from": "crc@3.0.0", 40 | "_npmVersion": "2.0.0-beta.0", 41 | "_npmUser": { 42 | "name": "alexgorbatchev", 43 | "email": "alex.gorbatchev@gmail.com" 44 | }, 45 | "maintainers": [ 46 | { 47 | "name": "alexgorbatchev", 48 | "email": "alex.gorbatchev@gmail.com" 49 | } 50 | ], 51 | "dist": { 52 | "shasum": "d11e97ec44a844e5eb15a74fa2c7875d0aac4b22", 53 | "tarball": "http://registry.npmjs.org/crc/-/crc-3.0.0.tgz" 54 | }, 55 | "directories": {}, 56 | "_resolved": "https://registry.npmjs.org/crc/-/crc-3.0.0.tgz" 57 | } 58 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/finalhandler/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.2.0 / 2014-09-03 2 | ================== 3 | 4 | * Set `X-Content-Type-Options: nosniff` header 5 | * deps: debug@~2.0.0 6 | 7 | 0.1.0 / 2014-07-16 8 | ================== 9 | 10 | * Respond after request fully read 11 | - prevents hung responses and socket hang ups 12 | * deps: debug@1.0.4 13 | 14 | 0.0.3 / 2014-07-11 15 | ================== 16 | 17 | * deps: debug@1.0.3 18 | - Add support for multiple wildcards in namespaces 19 | 20 | 0.0.2 / 2014-06-19 21 | ================== 22 | 23 | * Handle invalid status codes 24 | 25 | 0.0.1 / 2014-06-05 26 | ================== 27 | 28 | * deps: debug@1.0.2 29 | 30 | 0.0.0 / 2014-06-05 31 | ================== 32 | 33 | * Extracted from connect/express 34 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/finalhandler/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/fresh/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.2.4 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | 6 | 0.2.3 / 2014-09-07 7 | ================== 8 | 9 | * Move repository to jshttp 10 | 11 | 0.2.2 / 2014-02-19 12 | ================== 13 | 14 | * Revert "Fix for blank page on Safari reload" 15 | 16 | 0.2.1 / 2014-01-29 17 | ================== 18 | 19 | * fix: support max-age=0 for end-to-end revalidation 20 | 21 | 0.2.0 / 2013-08-11 22 | ================== 23 | 24 | * fix: return false for no-cache 25 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/fresh/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2012 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/fresh/README.md: -------------------------------------------------------------------------------- 1 | # fresh 2 | 3 | [![NPM Version][npm-image]][npm-url] 4 | [![NPM Downloads][downloads-image]][downloads-url] 5 | [![Node.js Version][node-version-image]][node-version-url] 6 | [![Build Status][travis-image]][travis-url] 7 | [![Test Coverage][coveralls-image]][coveralls-url] 8 | 9 | HTTP response freshness testing 10 | 11 | ## Installation 12 | 13 | ``` 14 | $ npm install fresh 15 | ``` 16 | 17 | ## API 18 | 19 | ```js 20 | var fresh = require('fresh') 21 | ``` 22 | 23 | ### fresh(req, res) 24 | 25 | Check freshness of `req` and `res` headers. 26 | 27 | When the cache is "fresh" __true__ is returned, 28 | otherwise __false__ is returned to indicate that 29 | the cache is now stale. 30 | 31 | ## Example 32 | 33 | ```js 34 | var req = { 'if-none-match': 'tobi' }; 35 | var res = { 'etag': 'luna' }; 36 | fresh(req, res); 37 | // => false 38 | 39 | var req = { 'if-none-match': 'tobi' }; 40 | var res = { 'etag': 'tobi' }; 41 | fresh(req, res); 42 | // => true 43 | ``` 44 | 45 | ## License 46 | 47 | [MIT](LICENSE) 48 | 49 | [npm-image]: https://img.shields.io/npm/v/fresh.svg?style=flat 50 | [npm-url]: https://npmjs.org/package/fresh 51 | [node-version-image]: https://img.shields.io/badge/node.js-%3E%3D_0.6-brightgreen.svg?style=flat 52 | [node-version-url]: http://nodejs.org/download/ 53 | [travis-image]: https://img.shields.io/travis/jshttp/fresh.svg?style=flat 54 | [travis-url]: https://travis-ci.org/jshttp/fresh 55 | [coveralls-image]: https://img.shields.io/coveralls/jshttp/fresh.svg?style=flat 56 | [coveralls-url]: https://coveralls.io/r/jshttp/fresh?branch=master 57 | [downloads-image]: https://img.shields.io/npm/dm/fresh.svg?style=flat 58 | [downloads-url]: https://npmjs.org/package/fresh 59 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/fresh/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Expose `fresh()`. 4 | */ 5 | 6 | module.exports = fresh; 7 | 8 | /** 9 | * Check freshness of `req` and `res` headers. 10 | * 11 | * When the cache is "fresh" __true__ is returned, 12 | * otherwise __false__ is returned to indicate that 13 | * the cache is now stale. 14 | * 15 | * @param {Object} req 16 | * @param {Object} res 17 | * @return {Boolean} 18 | * @api public 19 | */ 20 | 21 | function fresh(req, res) { 22 | // defaults 23 | var etagMatches = true; 24 | var notModified = true; 25 | 26 | // fields 27 | var modifiedSince = req['if-modified-since']; 28 | var noneMatch = req['if-none-match']; 29 | var lastModified = res['last-modified']; 30 | var etag = res['etag']; 31 | var cc = req['cache-control']; 32 | 33 | // unconditional request 34 | if (!modifiedSince && !noneMatch) return false; 35 | 36 | // check for no-cache cache request directive 37 | if (cc && cc.indexOf('no-cache') !== -1) return false; 38 | 39 | // parse if-none-match 40 | if (noneMatch) noneMatch = noneMatch.split(/ *, */); 41 | 42 | // if-none-match 43 | if (noneMatch) etagMatches = ~noneMatch.indexOf(etag) || '*' == noneMatch[0]; 44 | 45 | // if-modified-since 46 | if (modifiedSince) { 47 | modifiedSince = new Date(modifiedSince); 48 | lastModified = new Date(lastModified); 49 | notModified = lastModified <= modifiedSince; 50 | } 51 | 52 | return !! (etagMatches && notModified); 53 | } -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/media-typer/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.3.0 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * Throw error when parameter format invalid on parse 6 | 7 | 0.2.0 / 2014-06-18 8 | ================== 9 | 10 | * Add `typer.format()` to format media types 11 | 12 | 0.1.0 / 2014-06-17 13 | ================== 14 | 15 | * Accept `req` as argument to `parse` 16 | * Accept `res` as argument to `parse` 17 | * Parse media type with extra LWS between type and first parameter 18 | 19 | 0.0.0 / 2014-06-13 20 | ================== 21 | 22 | * Initial implementation 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/media-typer/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/media-typer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "media-typer", 3 | "description": "Simple RFC 6838 media type parser and formatter", 4 | "version": "0.3.0", 5 | "author": { 6 | "name": "Douglas Christopher Wilson", 7 | "email": "doug@somethingdoug.com" 8 | }, 9 | "license": "MIT", 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/jshttp/media-typer" 13 | }, 14 | "devDependencies": { 15 | "istanbul": "0.3.2", 16 | "mocha": "~1.21.4", 17 | "should": "~4.0.4" 18 | }, 19 | "files": [ 20 | "LICENSE", 21 | "HISTORY.md", 22 | "index.js" 23 | ], 24 | "engines": { 25 | "node": ">= 0.6" 26 | }, 27 | "scripts": { 28 | "test": "mocha --reporter spec --check-leaks --bail test/", 29 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", 30 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" 31 | }, 32 | "gitHead": "d49d41ffd0bb5a0655fa44a59df2ec0bfc835b16", 33 | "bugs": { 34 | "url": "https://github.com/jshttp/media-typer/issues" 35 | }, 36 | "homepage": "https://github.com/jshttp/media-typer", 37 | "_id": "media-typer@0.3.0", 38 | "_shasum": "8710d7af0aa626f8fffa1ce00168545263255748", 39 | "_from": "media-typer@0.3.0", 40 | "_npmVersion": "1.4.21", 41 | "_npmUser": { 42 | "name": "dougwilson", 43 | "email": "doug@somethingdoug.com" 44 | }, 45 | "maintainers": [ 46 | { 47 | "name": "dougwilson", 48 | "email": "doug@somethingdoug.com" 49 | } 50 | ], 51 | "dist": { 52 | "shasum": "8710d7af0aa626f8fffa1ce00168545263255748", 53 | "tarball": "http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz" 54 | }, 55 | "directories": {}, 56 | "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 57 | "readme": "ERROR: No README data found!" 58 | } 59 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/merge-descriptors/.npmignore: -------------------------------------------------------------------------------- 1 | # Compiled source # 2 | ################### 3 | *.com 4 | *.class 5 | *.dll 6 | *.exe 7 | *.o 8 | *.so 9 | 10 | # Packages # 11 | ############ 12 | # it's better to unpack these files and commit the raw source 13 | # git has its own built in compression methods 14 | *.7z 15 | *.dmg 16 | *.gz 17 | *.iso 18 | *.jar 19 | *.rar 20 | *.tar 21 | *.zip 22 | 23 | # Logs and databases # 24 | ###################### 25 | *.log 26 | *.sql 27 | *.sqlite 28 | 29 | # OS generated files # 30 | ###################### 31 | .DS_Store* 32 | ehthumbs.db 33 | Icon? 34 | Thumbs.db 35 | 36 | # Node.js # 37 | ########### 38 | lib-cov 39 | *.seed 40 | *.log 41 | *.csv 42 | *.dat 43 | *.out 44 | *.pid 45 | *.gz 46 | 47 | pids 48 | logs 49 | results 50 | 51 | node_modules 52 | npm-debug.log 53 | 54 | # Components # 55 | ############## 56 | 57 | /build 58 | /components 59 | /vendors -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/merge-descriptors/README.md: -------------------------------------------------------------------------------- 1 | # Merge Descriptors [![Build Status](https://travis-ci.org/component/merge-descriptors.png)](https://travis-ci.org/component/merge-descriptors) 2 | 3 | Merge objects using descriptors. 4 | 5 | ```js 6 | var thing = { 7 | get name() { 8 | return 'jon' 9 | } 10 | } 11 | 12 | var animal = { 13 | 14 | } 15 | 16 | merge(animal, thing) 17 | 18 | animal.name === 'jon' 19 | ``` 20 | 21 | ## API 22 | 23 | ### merge(destination, source) 24 | 25 | Overwrites `destination`'s descriptors with `source`'s. 26 | 27 | ## License 28 | 29 | The MIT License (MIT) 30 | 31 | Copyright (c) 2013 Jonathan Ong me@jongleberry.com 32 | 33 | Permission is hereby granted, free of charge, to any person obtaining a copy 34 | of this software and associated documentation files (the "Software"), to deal 35 | in the Software without restriction, including without limitation the rights 36 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 37 | copies of the Software, and to permit persons to whom the Software is 38 | furnished to do so, subject to the following conditions: 39 | 40 | The above copyright notice and this permission notice shall be included in 41 | all copies or substantial portions of the Software. 42 | 43 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 44 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 45 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 46 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 47 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 48 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 49 | THE SOFTWARE. -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/merge-descriptors/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "merge-descriptors", 3 | "description": "Merge objects using descriptors", 4 | "version": "0.0.2", 5 | "scripts": [ 6 | "index.js" 7 | ], 8 | "repo": "component/merge-descriptors", 9 | "license": "MIT" 10 | } -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/merge-descriptors/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (dest, src) { 2 | Object.getOwnPropertyNames(src).forEach(function (name) { 3 | var descriptor = Object.getOwnPropertyDescriptor(src, name) 4 | Object.defineProperty(dest, name, descriptor) 5 | }) 6 | 7 | return dest 8 | } -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/merge-descriptors/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "merge-descriptors", 3 | "description": "Merge objects using descriptors", 4 | "version": "0.0.2", 5 | "author": { 6 | "name": "Jonathan Ong", 7 | "email": "me@jongleberry.com", 8 | "url": "http://jongleberry.com" 9 | }, 10 | "license": "MIT", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/component/merge-descriptors.git" 14 | }, 15 | "bugs": { 16 | "url": "https://github.com/component/merge-descriptors/issues" 17 | }, 18 | "scripts": { 19 | "test": "make test;" 20 | }, 21 | "homepage": "https://github.com/component/merge-descriptors", 22 | "_id": "merge-descriptors@0.0.2", 23 | "dist": { 24 | "shasum": "c36a52a781437513c57275f39dd9d317514ac8c7", 25 | "tarball": "http://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz" 26 | }, 27 | "_from": "merge-descriptors@0.0.2", 28 | "_npmVersion": "1.3.17", 29 | "_npmUser": { 30 | "name": "jongleberry", 31 | "email": "jonathanrichardong@gmail.com" 32 | }, 33 | "maintainers": [ 34 | { 35 | "name": "jongleberry", 36 | "email": "jonathanrichardong@gmail.com" 37 | } 38 | ], 39 | "directories": {}, 40 | "_shasum": "c36a52a781437513c57275f39dd9d317514ac8c7", 41 | "_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz", 42 | "readme": "ERROR: No README data found!" 43 | } 44 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/methods/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/methods/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.1.0 / 2014-07-05 3 | ================== 4 | 5 | * add CONNECT 6 | 7 | 1.0.1 / 2014-06-02 8 | ================== 9 | 10 | * fix index.js to work with harmony transform 11 | 12 | 1.0.0 / 2014-05-08 13 | ================== 14 | 15 | * add PURGE. Closes #9 16 | 17 | 0.1.0 / 2013-10-28 18 | ================== 19 | 20 | * add http.METHODS support 21 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/methods/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2013-2014 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/methods/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Methods 3 | 4 | HTTP verbs that node core's parser supports. 5 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/methods/index.js: -------------------------------------------------------------------------------- 1 | 2 | var http = require('http'); 3 | 4 | if (http.METHODS) { 5 | 6 | module.exports = http.METHODS.map(function(method){ 7 | return method.toLowerCase(); 8 | }); 9 | 10 | } else { 11 | 12 | module.exports = [ 13 | 'get', 14 | 'post', 15 | 'put', 16 | 'head', 17 | 'delete', 18 | 'options', 19 | 'trace', 20 | 'copy', 21 | 'lock', 22 | 'mkcol', 23 | 'move', 24 | 'purge', 25 | 'propfind', 26 | 'proppatch', 27 | 'unlock', 28 | 'report', 29 | 'mkactivity', 30 | 'checkout', 31 | 'merge', 32 | 'm-search', 33 | 'notify', 34 | 'subscribe', 35 | 'unsubscribe', 36 | 'patch', 37 | 'search', 38 | 'connect' 39 | ]; 40 | 41 | } 42 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/methods/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "methods", 3 | "version": "1.1.0", 4 | "description": "HTTP methods that node supports", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "./node_modules/mocha/bin/mocha" 8 | }, 9 | "keywords": [ 10 | "http", 11 | "methods" 12 | ], 13 | "author": { 14 | "name": "TJ Holowaychuk" 15 | }, 16 | "license": "MIT", 17 | "repository": { 18 | "type": "git", 19 | "url": "git://github.com/visionmedia/node-methods.git" 20 | }, 21 | "devDependencies": { 22 | "mocha": "1.17.x" 23 | }, 24 | "gitHead": "2a4dd325d18436c33356e6be19e32e08a7c877ab", 25 | "bugs": { 26 | "url": "https://github.com/visionmedia/node-methods/issues" 27 | }, 28 | "homepage": "https://github.com/visionmedia/node-methods", 29 | "_id": "methods@1.1.0", 30 | "_shasum": "5dca4ee12df52ff3b056145986a8f01cbc86436f", 31 | "_from": "methods@1.1.0", 32 | "_npmVersion": "1.4.16", 33 | "_npmUser": { 34 | "name": "jongleberry", 35 | "email": "jonathanrichardong@gmail.com" 36 | }, 37 | "maintainers": [ 38 | { 39 | "name": "tjholowaychuk", 40 | "email": "tj@vision-media.ca" 41 | }, 42 | { 43 | "name": "jonathanong", 44 | "email": "jonathanrichardong@gmail.com" 45 | }, 46 | { 47 | "name": "jongleberry", 48 | "email": "jonathanrichardong@gmail.com" 49 | } 50 | ], 51 | "dist": { 52 | "shasum": "5dca4ee12df52ff3b056145986a8f01cbc86436f", 53 | "tarball": "http://registry.npmjs.org/methods/-/methods-1.1.0.tgz" 54 | }, 55 | "directories": {}, 56 | "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.0.tgz", 57 | "readme": "ERROR: No README data found!" 58 | } 59 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/methods/test/methods.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var assert = require('assert'); 3 | var methods = require('..'); 4 | 5 | describe('methods', function() { 6 | 7 | if (http.METHODS) { 8 | 9 | it('is a lowercased http.METHODS', function() { 10 | var lowercased = http.METHODS.map(function(method) { 11 | return method.toLowerCase(); 12 | }); 13 | assert.deepEqual(lowercased, methods); 14 | }); 15 | 16 | } else { 17 | 18 | it('contains GET, POST, PUT, and DELETE', function() { 19 | assert.notEqual(methods.indexOf('get'), -1); 20 | assert.notEqual(methods.indexOf('post'), -1); 21 | assert.notEqual(methods.indexOf('put'), -1); 22 | assert.notEqual(methods.indexOf('delete'), -1); 23 | }); 24 | 25 | it('is all lowercase', function() { 26 | for (var i = 0; i < methods.length; i ++) { 27 | assert(methods[i], methods[i].toLowerCase(), methods[i] + " isn't all lowercase"); 28 | } 29 | }); 30 | 31 | } 32 | 33 | }); 34 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/on-finished/HISTORY.md: -------------------------------------------------------------------------------- 1 | 2.1.0 / 2014-08-16 2 | ================== 3 | 4 | * Check if `socket` is detached 5 | * Return `undefined` for `isFinished` if state unknown 6 | 7 | 2.0.0 / 2014-08-16 8 | ================== 9 | 10 | * Add `isFinished` function 11 | * Move to `jshttp` organization 12 | * Remove support for plain socket argument 13 | * Rename to `on-finished` 14 | * Support both `req` and `res` as arguments 15 | * deps: ee-first@1.0.5 16 | 17 | 1.2.2 / 2014-06-10 18 | ================== 19 | 20 | * Reduce listeners added to emitters 21 | - avoids "event emitter leak" warnings when used multiple times on same request 22 | 23 | 1.2.1 / 2014-06-08 24 | ================== 25 | 26 | * Fix returned value when already finished 27 | 28 | 1.2.0 / 2014-06-05 29 | ================== 30 | 31 | * Call callback when called on already-finished socket 32 | 33 | 1.1.4 / 2014-05-27 34 | ================== 35 | 36 | * Support node.js 0.8 37 | 38 | 1.1.3 / 2014-04-30 39 | ================== 40 | 41 | * Make sure errors passed as instanceof `Error` 42 | 43 | 1.1.2 / 2014-04-18 44 | ================== 45 | 46 | * Default the `socket` to passed-in object 47 | 48 | 1.1.1 / 2014-01-16 49 | ================== 50 | 51 | * Rename module to `finished` 52 | 53 | 1.1.0 / 2013-12-25 54 | ================== 55 | 56 | * Call callback when called on already-errored socket 57 | 58 | 1.0.1 / 2013-12-20 59 | ================== 60 | 61 | * Actually pass the error to the callback 62 | 63 | 1.0.0 / 2013-12-20 64 | ================== 65 | 66 | * Initial release 67 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/on-finished/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2013 Jonathan Ong 4 | Copyright (c) 2014 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/on-finished/node_modules/ee-first/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/on-finished/node_modules/ee-first/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = function first(stuff, done) { 3 | if (!Array.isArray(stuff)) 4 | throw new TypeError('arg must be an array of [ee, events...] arrays') 5 | 6 | var cleanups = [] 7 | 8 | for (var i = 0; i < stuff.length; i++) { 9 | var arr = stuff[i] 10 | 11 | if (!Array.isArray(arr) || arr.length < 2) 12 | throw new TypeError('each array member must be [ee, events...]') 13 | 14 | var ee = arr[0] 15 | 16 | for (var j = 1; j < arr.length; j++) { 17 | var event = arr[j] 18 | var fn = listener(event, cleanup) 19 | 20 | // listen to the event 21 | ee.on(event, fn) 22 | // push this listener to the list of cleanups 23 | cleanups.push({ 24 | ee: ee, 25 | event: event, 26 | fn: fn, 27 | }) 28 | } 29 | } 30 | 31 | return function (fn) { 32 | done = fn 33 | } 34 | 35 | function cleanup() { 36 | var x 37 | for (var i = 0; i < cleanups.length; i++) { 38 | x = cleanups[i] 39 | x.ee.removeListener(x.event, x.fn) 40 | } 41 | done.apply(null, arguments) 42 | } 43 | } 44 | 45 | function listener(event, done) { 46 | return function onevent(arg1) { 47 | var args = new Array(arguments.length) 48 | var ee = this 49 | var err = event === 'error' 50 | ? arg1 51 | : null 52 | 53 | // copy args to prevent arguments escaping scope 54 | for (var i = 0; i < args.length; i++) { 55 | args[i] = arguments[i] 56 | } 57 | 58 | done(err, ee, event, args) 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/parseurl/.npmignore: -------------------------------------------------------------------------------- 1 | benchmark/ 2 | coverage/ 3 | test/ 4 | .travis.yml 5 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/parseurl/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.3.0 / 2014-08-09 2 | ================== 3 | 4 | * Add `parseurl.original` for parsing `req.originalUrl` with fallback 5 | * Return `undefined` if `req.url` is `undefined` 6 | 7 | 1.2.0 / 2014-07-21 8 | ================== 9 | 10 | * Cache URLs based on original value 11 | * Remove no-longer-needed URL mis-parse work-around 12 | * Simplify the "fast-path" `RegExp` 13 | 14 | 1.1.3 / 2014-07-08 15 | ================== 16 | 17 | * Fix typo 18 | 19 | 1.1.2 / 2014-07-08 20 | ================== 21 | 22 | * Seriously fix Node.js 0.8 compatibility 23 | 24 | 1.1.1 / 2014-07-08 25 | ================== 26 | 27 | * Fix Node.js 0.8 compatibility 28 | 29 | 1.1.0 / 2014-07-08 30 | ================== 31 | 32 | * Incorporate URL href-only parse fast-path 33 | 34 | 1.0.1 / 2014-03-08 35 | ================== 36 | 37 | * Add missing `require` 38 | 39 | 1.0.0 / 2014-03-08 40 | ================== 41 | 42 | * Genesis from `connect` 43 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/parseurl/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | (The MIT License) 3 | 4 | Copyright (c) 2014 Jonathan Ong 5 | Copyright (c) 2014 Douglas Christopher Wilson 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining 8 | a copy of this software and associated documentation files (the 9 | 'Software'), to deal in the Software without restriction, including 10 | without limitation the rights to use, copy, modify, merge, publish, 11 | distribute, sublicense, and/or sell copies of the Software, and to 12 | permit persons to whom the Software is furnished to do so, subject to 13 | the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be 16 | included in all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/path-to-regexp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/path-to-regexp/History.md: -------------------------------------------------------------------------------- 1 | 0.1.3 / 2014-07-06 2 | ================== 3 | 4 | * Better array support 5 | * Improved support for trailing slash in non-ending mode 6 | 7 | 0.1.0 / 2014-03-06 8 | ================== 9 | 10 | * add options.end 11 | 12 | 0.0.2 / 2013-02-10 13 | ================== 14 | 15 | * Update to match current express 16 | * add .license property to component.json 17 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/path-to-regexp/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Path-to-RegExp 3 | 4 | Turn an Express-style path string such as `/user/:name` into a regular expression. 5 | 6 | ## Usage 7 | 8 | ```javascript 9 | var pathToRegexp = require('path-to-regexp'); 10 | ``` 11 | ### pathToRegexp(path, keys, options) 12 | 13 | - **path** A string in the express format, an array of such strings, or a regular expression 14 | - **keys** An array to be populated with the keys present in the url. Once the function completes, this will be an array of strings. 15 | - **options** 16 | - **options.sensitive** Defaults to false, set this to true to make routes case sensitive 17 | - **options.strict** Defaults to false, set this to true to make the trailing slash matter. 18 | - **options.end** Defaults to true, set this to false to only match the prefix of the URL. 19 | 20 | ```javascript 21 | var keys = []; 22 | var exp = pathToRegexp('/foo/:bar', keys); 23 | //keys = ['bar'] 24 | //exp = /^\/foo\/(?:([^\/]+?))\/?$/i 25 | ``` 26 | 27 | ## Live Demo 28 | 29 | You can see a live demo of this library in use at [express-route-tester](http://forbeslindesay.github.com/express-route-tester/). 30 | 31 | ## License 32 | 33 | MIT -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/path-to-regexp/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "path-to-regexp", 3 | "description": "Express style path to RegExp utility", 4 | "version": "0.1.3", 5 | "keywords": [ 6 | "express", 7 | "regexp", 8 | "route", 9 | "routing" 10 | ], 11 | "scripts": [ 12 | "index.js" 13 | ], 14 | "license": "MIT" 15 | } 16 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/proxy-addr/.npmignore: -------------------------------------------------------------------------------- 1 | benchmark/ 2 | coverage/ 3 | test/ 4 | .travis.yml 5 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/proxy-addr/History.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2014-06-03 2 | ================== 3 | 4 | * Fix links in npm package 5 | 6 | 1.0.0 / 2014-05-08 7 | ================== 8 | 9 | * Add `trust` argument to determine proxy trust on 10 | * Accepts custom function 11 | * Accepts IPv4/IPv6 address(es) 12 | * Accepts subnets 13 | * Accepts pre-defined names 14 | * Add optional `trust` argument to `proxyaddr.all` to 15 | stop at first untrusted 16 | * Add `proxyaddr.compile` to pre-compile `trust` function 17 | to make subsequent calls faster 18 | 19 | 0.0.1 / 2014-05-04 20 | ================== 21 | 22 | * Fix bad npm publish 23 | 24 | 0.0.0 / 2014-05-04 25 | ================== 26 | 27 | * Initial release 28 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/proxy-addr/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/Cakefile: -------------------------------------------------------------------------------- 1 | fs = require 'fs' 2 | CoffeeScript = require 'coffee-script' 3 | nodeunit = require 'nodeunit' 4 | UglifyJS = require 'uglify-js' 5 | 6 | task 'build', 'build the JavaScript files from CoffeeScript source', build = (cb) -> 7 | source = fs.readFileSync 'src/ipaddr.coffee' 8 | fs.writeFileSync 'lib/ipaddr.js', CoffeeScript.compile source.toString() 9 | 10 | invoke 'test' 11 | invoke 'compress' 12 | 13 | task 'test', 'run the bundled tests', (cb) -> 14 | nodeunit.reporters.default.run ['test'] 15 | 16 | task 'compress', 'uglify the resulting javascript', (cb) -> 17 | result = UglifyJS.minify('lib/ipaddr.js') 18 | fs.writeFileSync('ipaddr.min.js', result.code) 19 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 Peter Zotov 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ipaddr.js", 3 | "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.", 4 | "version": "0.1.2", 5 | "author": { 6 | "name": "Peter Zotov", 7 | "email": "whitequark@whitequark.org" 8 | }, 9 | "directories": { 10 | "lib": "./lib" 11 | }, 12 | "dependencies": {}, 13 | "devDependencies": { 14 | "coffee-script": "~1.6", 15 | "nodeunit": "~0.5.3", 16 | "uglify-js": "latest" 17 | }, 18 | "scripts": { 19 | "test": "cake build test" 20 | }, 21 | "keywords": [ 22 | "ip", 23 | "ipv4", 24 | "ipv6" 25 | ], 26 | "repository": { 27 | "type": "git", 28 | "url": "git://github.com/whitequark/ipaddr.js" 29 | }, 30 | "main": "./lib/ipaddr", 31 | "engines": { 32 | "node": ">= 0.2.5" 33 | }, 34 | "bugs": { 35 | "url": "https://github.com/whitequark/ipaddr.js/issues" 36 | }, 37 | "_id": "ipaddr.js@0.1.2", 38 | "dist": { 39 | "shasum": "6a1fd3d854f5002965c34d7bbcd9b4a8d4b0467e", 40 | "tarball": "http://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.2.tgz" 41 | }, 42 | "_from": "ipaddr.js@0.1.2", 43 | "_npmVersion": "1.3.10", 44 | "_npmUser": { 45 | "name": "whitequark", 46 | "email": "whitequark@whitequark.org" 47 | }, 48 | "maintainers": [ 49 | { 50 | "name": "whitequark", 51 | "email": "whitequark@whitequark.org" 52 | } 53 | ], 54 | "_shasum": "6a1fd3d854f5002965c34d7bbcd9b4a8d4b0467e", 55 | "_resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.2.tgz", 56 | "readme": "ERROR: No README data found!", 57 | "homepage": "https://github.com/whitequark/ipaddr.js" 58 | } 59 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node": true, 3 | 4 | "curly": true, 5 | "latedef": true, 6 | "quotmark": true, 7 | "undef": true, 8 | "unused": true, 9 | "trailing": true 10 | } 11 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Nathan LaFreniere and other contributors. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * The names of any contributors may not be used to endorse or promote 12 | products derived from this software without specific prior written 13 | permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | 26 | * * * 27 | 28 | The complete list of contributors can be found at: https://github.com/hapijs/qs/graphs/contributors 29 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -t 100 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | 8 | .PHONY: test test-cov test-cov-html -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); 2 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | // Load modules 2 | 3 | var Stringify = require('./stringify'); 4 | var Parse = require('./parse'); 5 | 6 | 7 | // Declare internals 8 | 9 | var internals = {}; 10 | 11 | 12 | module.exports = { 13 | stringify: Stringify, 14 | parse: Parse 15 | }; 16 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/lib/stringify.js: -------------------------------------------------------------------------------- 1 | // Load modules 2 | 3 | var Utils = require('./utils'); 4 | 5 | 6 | // Declare internals 7 | 8 | var internals = { 9 | delimiter: '&' 10 | }; 11 | 12 | 13 | internals.stringify = function (obj, prefix) { 14 | 15 | if (Utils.isBuffer(obj)) { 16 | obj = obj.toString(); 17 | } 18 | else if (obj instanceof Date) { 19 | obj = obj.toISOString(); 20 | } 21 | else if (obj === null) { 22 | obj = ''; 23 | } 24 | 25 | if (typeof obj === 'string' || 26 | typeof obj === 'number' || 27 | typeof obj === 'boolean') { 28 | 29 | return [encodeURIComponent(prefix) + '=' + encodeURIComponent(obj)]; 30 | } 31 | 32 | var values = []; 33 | 34 | for (var key in obj) { 35 | if (obj.hasOwnProperty(key)) { 36 | values = values.concat(internals.stringify(obj[key], prefix + '[' + key + ']')); 37 | } 38 | } 39 | 40 | return values; 41 | }; 42 | 43 | 44 | module.exports = function (obj, options) { 45 | 46 | options = options || {}; 47 | var delimiter = typeof options.delimiter === 'undefined' ? internals.delimiter : options.delimiter; 48 | 49 | var keys = []; 50 | 51 | for (var key in obj) { 52 | if (obj.hasOwnProperty(key)) { 53 | keys = keys.concat(internals.stringify(obj[key], key)); 54 | } 55 | } 56 | 57 | return keys.join(delimiter); 58 | }; 59 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/qs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "qs", 3 | "version": "2.2.3", 4 | "description": "A querystring parser that supports nesting and arrays, with a depth limit", 5 | "homepage": "https://github.com/hapijs/qs", 6 | "main": "index.js", 7 | "dependencies": {}, 8 | "devDependencies": { 9 | "lab": "4.x.x" 10 | }, 11 | "scripts": { 12 | "test": "make test-cov" 13 | }, 14 | "repository": { 15 | "type": "git", 16 | "url": "https://github.com/hapijs/qs.git" 17 | }, 18 | "keywords": [ 19 | "querystring", 20 | "qs" 21 | ], 22 | "author": { 23 | "name": "Nathan LaFreniere", 24 | "email": "quitlahok@gmail.com" 25 | }, 26 | "licenses": [ 27 | { 28 | "type": "BSD", 29 | "url": "http://github.com/hapijs/qs/raw/master/LICENSE" 30 | } 31 | ], 32 | "gitHead": "904528124a6eb879ebc5197376e9613069414f67", 33 | "bugs": { 34 | "url": "https://github.com/hapijs/qs/issues" 35 | }, 36 | "_id": "qs@2.2.3", 37 | "_shasum": "6139c1f47960eff5655e56aab0ef9f6dd16d4eeb", 38 | "_from": "qs@2.2.3", 39 | "_npmVersion": "1.4.23", 40 | "_npmUser": { 41 | "name": "nlf", 42 | "email": "quitlahok@gmail.com" 43 | }, 44 | "maintainers": [ 45 | { 46 | "name": "nlf", 47 | "email": "quitlahok@gmail.com" 48 | }, 49 | { 50 | "name": "hueniverse", 51 | "email": "eran@hueniverse.com" 52 | } 53 | ], 54 | "dist": { 55 | "shasum": "6139c1f47960eff5655e56aab0ef9f6dd16d4eeb", 56 | "tarball": "http://registry.npmjs.org/qs/-/qs-2.2.3.tgz" 57 | }, 58 | "directories": {}, 59 | "_resolved": "https://registry.npmjs.org/qs/-/qs-2.2.3.tgz", 60 | "readme": "ERROR: No README data found!" 61 | } 62 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/range-parser/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.2 / 2014-09-08 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | 6 | 1.0.1 / 2014-09-07 7 | ================== 8 | 9 | * Move repository to jshttp 10 | 11 | 1.0.0 / 2013-12-11 12 | ================== 13 | 14 | * Add repository to package.json 15 | * Add MIT license 16 | 17 | 0.0.4 / 2012-06-17 18 | ================== 19 | 20 | * Change ret -1 for unsatisfiable and -2 when invalid 21 | 22 | 0.0.3 / 2012-06-17 23 | ================== 24 | 25 | * Fix last-byte-pos default to len - 1 26 | 27 | 0.0.2 / 2012-06-14 28 | ================== 29 | 30 | * Add `.type` 31 | 32 | 0.0.1 / 2012-06-11 33 | ================== 34 | 35 | * Initial release 36 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/range-parser/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2012-2014 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/range-parser/index.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Parse "Range" header `str` relative to the given file `size`. 4 | * 5 | * @param {Number} size 6 | * @param {String} str 7 | * @return {Array} 8 | * @api public 9 | */ 10 | 11 | module.exports = function(size, str){ 12 | var valid = true; 13 | var i = str.indexOf('='); 14 | 15 | if (-1 == i) return -2; 16 | 17 | var arr = str.slice(i + 1).split(',').map(function(range){ 18 | var range = range.split('-') 19 | , start = parseInt(range[0], 10) 20 | , end = parseInt(range[1], 10); 21 | 22 | // -nnn 23 | if (isNaN(start)) { 24 | start = size - end; 25 | end = size - 1; 26 | // nnn- 27 | } else if (isNaN(end)) { 28 | end = size - 1; 29 | } 30 | 31 | // limit last-byte-pos to current length 32 | if (end > size - 1) end = size - 1; 33 | 34 | // invalid 35 | if (isNaN(start) 36 | || isNaN(end) 37 | || start > end 38 | || start < 0) valid = false; 39 | 40 | return { 41 | start: start, 42 | end: end 43 | }; 44 | }); 45 | 46 | arr.type = str.slice(0, i); 47 | 48 | return valid ? arr : -1; 49 | }; 50 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/send/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2012 TJ Holowaychuk 4 | Copyright (c) 2014 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/send/node_modules/destroy/README.md: -------------------------------------------------------------------------------- 1 | # Destroy 2 | 3 | [![NPM version][npm-image]][npm-url] 4 | [![Build status][travis-image]][travis-url] 5 | [![Test coverage][coveralls-image]][coveralls-url] 6 | [![Dependency Status][david-image]][david-url] 7 | [![License][license-image]][license-url] 8 | [![Downloads][downloads-image]][downloads-url] 9 | [![Gittip][gittip-image]][gittip-url] 10 | 11 | Destroy a stream. 12 | 13 | ## API 14 | 15 | ```js 16 | var destroy = require('destroy') 17 | 18 | var fs = require('fs') 19 | var stream = fs.createReadStream('package.json') 20 | destroy(stream) 21 | ``` 22 | 23 | [npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square 24 | [npm-url]: https://npmjs.org/package/destroy 25 | [github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square 26 | [github-url]: https://github.com/stream-utils/destroy/tags 27 | [travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square 28 | [travis-url]: https://travis-ci.org/stream-utils/destroy 29 | [coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square 30 | [coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master 31 | [david-image]: http://img.shields.io/david/stream-utils/destroy.svg?style=flat-square 32 | [david-url]: https://david-dm.org/stream-utils/destroy 33 | [license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square 34 | [license-url]: LICENSE.md 35 | [downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square 36 | [downloads-url]: https://npmjs.org/package/destroy 37 | [gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square 38 | [gittip-url]: https://www.gittip.com/jonathanong/ 39 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/send/node_modules/destroy/index.js: -------------------------------------------------------------------------------- 1 | var ReadStream = require('fs').ReadStream 2 | var Stream = require('stream') 3 | 4 | module.exports = function destroy(stream) { 5 | if (stream instanceof ReadStream) { 6 | return destroyReadStream(stream) 7 | } 8 | 9 | if (!(stream instanceof Stream)) { 10 | return stream 11 | } 12 | 13 | if (typeof stream.destroy === 'function') { 14 | stream.destroy() 15 | } 16 | 17 | return stream 18 | } 19 | 20 | function destroyReadStream(stream) { 21 | stream.destroy() 22 | 23 | if (typeof stream.close === 'function') { 24 | // node.js core bug work-around 25 | stream.on('open', onopenClose) 26 | } 27 | 28 | return stream 29 | } 30 | 31 | function onopenClose() { 32 | if (typeof this.fd === 'number') { 33 | // actually close down the fd 34 | this.close() 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/send/node_modules/mime/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 Benjamin Thomas, Robert Kieffer 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/send/node_modules/ms/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test 3 | History.md 4 | Makefile 5 | component.json 6 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/send/node_modules/ms/README.md: -------------------------------------------------------------------------------- 1 | # ms.js: miliseconds conversion utility 2 | 3 | ```js 4 | ms('1d') // 86400000 5 | ms('10h') // 36000000 6 | ms('2h') // 7200000 7 | ms('1m') // 60000 8 | ms('5s') // 5000 9 | ms('100') // 100 10 | ``` 11 | 12 | ```js 13 | ms(60000) // "1m" 14 | ms(2 * 60000) // "2m" 15 | ms(ms('10 hours')) // "10h" 16 | ``` 17 | 18 | ```js 19 | ms(60000, { long: true }) // "1 minute" 20 | ms(2 * 60000, { long: true }) // "2 minutes" 21 | ms(ms('10 hours', { long: true })) // "10 hours" 22 | ``` 23 | 24 | - Node/Browser compatible. Published as `ms` in NPM. 25 | - If a number is supplied to `ms`, a string with a unit is returned. 26 | - If a string that contains the number is supplied, it returns it as 27 | a number (e.g: it returns `100` for `'100'`). 28 | - If you pass a string with a number and a valid unit, the number of 29 | equivalent ms is returned. 30 | 31 | ## License 32 | 33 | MIT -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/serve-static/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2010 Sencha Inc. 4 | Copyright (c) 2011 LearnBoost 5 | Copyright (c) 2011 TJ Holowaychuk 6 | Copyright (c) 2014 Douglas Christopher Wilson 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining 9 | a copy of this software and associated documentation files (the 10 | 'Software'), to deal in the Software without restriction, including 11 | without limitation the rights to use, copy, modify, merge, publish, 12 | distribute, sublicense, and/or sell copies of the Software, and to 13 | permit persons to whom the Software is furnished to do so, subject to 14 | the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be 17 | included in all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 20 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 22 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 23 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 24 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 25 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/type-is/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.5.1 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * deps: media-typer@0.3.0 6 | * deps: mime-types@~2.0.1 7 | - Support Node.js 0.6 8 | 9 | 1.5.0 / 2014-09-05 10 | ================== 11 | 12 | * fix `hasbody` to be true for `content-length: 0` 13 | 14 | 1.4.0 / 2014-09-02 15 | ================== 16 | 17 | * update mime-types 18 | 19 | 1.3.2 / 2014-06-24 20 | ================== 21 | 22 | * use `~` range on mime-types 23 | 24 | 1.3.1 / 2014-06-19 25 | ================== 26 | 27 | * fix global variable leak 28 | 29 | 1.3.0 / 2014-06-19 30 | ================== 31 | 32 | * improve type parsing 33 | 34 | - invalid media type never matches 35 | - media type not case-sensitive 36 | - extra LWS does not affect results 37 | 38 | 1.2.2 / 2014-06-19 39 | ================== 40 | 41 | * fix behavior on unknown type argument 42 | 43 | 1.2.1 / 2014-06-03 44 | ================== 45 | 46 | * switch dependency from `mime` to `mime-types@1.0.0` 47 | 48 | 1.2.0 / 2014-05-11 49 | ================== 50 | 51 | * support suffix matching: 52 | 53 | - `+json` matches `application/vnd+json` 54 | - `*/vnd+json` matches `application/vnd+json` 55 | - `application/*+json` matches `application/vnd+json` 56 | 57 | 1.1.0 / 2014-04-12 58 | ================== 59 | 60 | * add non-array values support 61 | * expose internal utilities: 62 | 63 | - `.is()` 64 | - `.hasBody()` 65 | - `.normalize()` 66 | - `.match()` 67 | 68 | 1.0.1 / 2014-03-30 69 | ================== 70 | 71 | * add `multipart` as a shorthand 72 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/type-is/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/type-is/node_modules/mime-types/HISTORY.md: -------------------------------------------------------------------------------- 1 | 2.0.1 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | 6 | 2.0.0 / 2014-09-02 7 | ================== 8 | 9 | * Use `mime-db` 10 | * Remove `.define()` 11 | 12 | 1.0.2 / 2014-08-04 13 | ================== 14 | 15 | * Set charset=utf-8 for `text/javascript` 16 | 17 | 1.0.1 / 2014-06-24 18 | ================== 19 | 20 | * Add `text/jsx` type 21 | 22 | 1.0.0 / 2014-05-12 23 | ================== 24 | 25 | * Return `false` for unknown types 26 | * Set charset=utf-8 for `application/json` 27 | 28 | 0.1.0 / 2014-05-02 29 | ================== 30 | 31 | * Initial release 32 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/type-is/node_modules/mime-types/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/type-is/node_modules/mime-types/index.js: -------------------------------------------------------------------------------- 1 | 2 | var db = require('mime-db') 3 | 4 | // types[extension] = type 5 | exports.types = Object.create(null) 6 | // extensions[type] = [extensions] 7 | exports.extensions = Object.create(null) 8 | 9 | Object.keys(db).forEach(function (name) { 10 | var mime = db[name] 11 | var exts = mime.extensions 12 | if (!exts || !exts.length) return 13 | exports.extensions[name] = exts 14 | exts.forEach(function (ext) { 15 | exports.types[ext] = name 16 | }) 17 | }) 18 | 19 | exports.lookup = function (string) { 20 | if (!string || typeof string !== "string") return false 21 | // remove any leading paths, though we should just use path.basename 22 | string = string.replace(/.*[\.\/\\]/, '').toLowerCase() 23 | if (!string) return false 24 | return exports.types[string] || false 25 | } 26 | 27 | exports.extension = function (type) { 28 | if (!type || typeof type !== "string") return false 29 | // to do: use media-typer 30 | type = type.match(/^\s*([^;\s]*)(?:;|\s|$)/) 31 | if (!type) return false 32 | var exts = exports.extensions[type[1].toLowerCase()] 33 | if (!exts || !exts.length) return false 34 | return exts[0] 35 | } 36 | 37 | // type has to be an exact mime type 38 | exports.charset = function (type) { 39 | var mime = db[type] 40 | if (mime && mime.charset) return mime.charset 41 | 42 | // default text/* to utf-8 43 | if (/^text\//.test(type)) return 'UTF-8' 44 | 45 | return false 46 | } 47 | 48 | // backwards compatibility 49 | exports.charsets = { 50 | lookup: exports.charset 51 | } 52 | 53 | // to do: maybe use set-type module or something 54 | exports.contentType = function (type) { 55 | if (!type || typeof type !== "string") return false 56 | if (!~type.indexOf('/')) type = exports.lookup(type) 57 | if (!type) return false 58 | if (!~type.indexOf('charset')) { 59 | var charset = exports.charset(type) 60 | if (charset) type += '; charset=' + charset.toLowerCase() 61 | } 62 | return type 63 | } 64 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/utils-merge/.travis.yml: -------------------------------------------------------------------------------- 1 | language: "node_js" 2 | node_js: 3 | - "0.4" 4 | - "0.6" 5 | - "0.8" 6 | - "0.10" 7 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/utils-merge/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2013 Jared Hanson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/utils-merge/README.md: -------------------------------------------------------------------------------- 1 | # utils-merge 2 | 3 | Merges the properties from a source object into a destination object. 4 | 5 | ## Install 6 | 7 | $ npm install utils-merge 8 | 9 | ## Usage 10 | 11 | ```javascript 12 | var a = { foo: 'bar' } 13 | , b = { bar: 'baz' }; 14 | 15 | merge(a, b); 16 | // => { foo: 'bar', bar: 'baz' } 17 | ``` 18 | 19 | ## Tests 20 | 21 | $ npm install 22 | $ npm test 23 | 24 | [![Build Status](https://secure.travis-ci.org/jaredhanson/utils-merge.png)](http://travis-ci.org/jaredhanson/utils-merge) 25 | 26 | ## Credits 27 | 28 | - [Jared Hanson](http://github.com/jaredhanson) 29 | 30 | ## License 31 | 32 | [The MIT License](http://opensource.org/licenses/MIT) 33 | 34 | Copyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)> 35 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/utils-merge/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Merge object b with object a. 3 | * 4 | * var a = { foo: 'bar' } 5 | * , b = { bar: 'baz' }; 6 | * 7 | * merge(a, b); 8 | * // => { foo: 'bar', bar: 'baz' } 9 | * 10 | * @param {Object} a 11 | * @param {Object} b 12 | * @return {Object} 13 | * @api public 14 | */ 15 | 16 | exports = module.exports = function(a, b){ 17 | if (a && b) { 18 | for (var key in b) { 19 | a[key] = b[key]; 20 | } 21 | } 22 | return a; 23 | }; 24 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/vary/.npmignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | test/ 3 | .travis.yml 4 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/vary/History.md: -------------------------------------------------------------------------------- 1 | 1.0.0 / 2014-08-10 2 | ================== 3 | 4 | * Accept valid `Vary` header string as `field` 5 | * Add `vary.append` for low-level string manipulation 6 | * Move to `jshttp` orgainzation 7 | 8 | 0.1.0 / 2014-06-05 9 | ================== 10 | 11 | * Support array of fields to set 12 | 13 | 0.0.0 / 2014-06-04 14 | ================== 15 | 16 | * Initial release 17 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/vary/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Douglas Christopher Wilson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/express/node_modules/vary/README.md: -------------------------------------------------------------------------------- 1 | # vary 2 | 3 | [![NPM Version](http://img.shields.io/npm/v/vary.svg?style=flat)](https://www.npmjs.org/package/vary) 4 | [![Node.js Version](http://img.shields.io/badge/node.js->=_0.8-blue.svg?style=flat)](http://nodejs.org/download/) 5 | [![Build Status](http://img.shields.io/travis/jshttp/vary.svg?style=flat)](https://travis-ci.org/jshttp/vary) 6 | [![Coverage Status](https://img.shields.io/coveralls/jshttp/vary.svg?style=flat)](https://coveralls.io/r/jshttp/vary) 7 | [![Gittip](http://img.shields.io/gittip/dougwilson.svg?style=flat)](https://www.gittip.com/dougwilson/) 8 | 9 | Manipulate the HTTP Vary header 10 | 11 | ## Install 12 | 13 | ```sh 14 | $ npm install vary 15 | ``` 16 | 17 | ## API 18 | 19 | ```js 20 | var vary = require('vary') 21 | ``` 22 | 23 | ### vary(res, field) 24 | 25 | Adds the given header `field` to the `Vary` response header of `res`. 26 | This can be a string of a single field, a string of a valid `Vary` 27 | header, or an array of multiple fields. 28 | 29 | This will append the header if not already listed, otherwise leaves 30 | it listed in the current location. 31 | 32 | ```js 33 | // Append "Origin" to the Vary header of the response 34 | vary(res, 'Origin') 35 | ``` 36 | 37 | ### vary.append(header, field) 38 | 39 | Adds the given header `field` to the `Vary` response header string `header`. 40 | This can be a string of a single field, a string of a valid `Vary` header, 41 | or an array of multiple fields. 42 | 43 | This will append the header if not already listed, otherwise leaves 44 | it listed in the current location. The new header string is returned. 45 | 46 | ```js 47 | // Get header string appending "Origin" to "Accept, User-Agent" 48 | vary.append('Accept, User-Agent', 'Origin') 49 | ``` 50 | 51 | ## Testing 52 | 53 | ```sh 54 | $ npm test 55 | ``` 56 | 57 | ## License 58 | 59 | [MIT](LICENSE) 60 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/.npmignore: -------------------------------------------------------------------------------- 1 | /test 2 | /tool 3 | /example 4 | /benchmark 5 | *.upload 6 | *.un~ 7 | *.http 8 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" 5 | - 0.11 6 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 Felix Geisendörfer 2 | 3 | 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: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | 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. 8 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/lib/file.js: -------------------------------------------------------------------------------- 1 | if (global.GENTLY) require = GENTLY.hijack(require); 2 | 3 | var util = require('util'), 4 | WriteStream = require('fs').WriteStream, 5 | EventEmitter = require('events').EventEmitter, 6 | crypto = require('crypto'); 7 | 8 | function File(properties) { 9 | EventEmitter.call(this); 10 | 11 | this.size = 0; 12 | this.path = null; 13 | this.name = null; 14 | this.type = null; 15 | this.hash = null; 16 | this.lastModifiedDate = null; 17 | 18 | this._writeStream = null; 19 | 20 | for (var key in properties) { 21 | this[key] = properties[key]; 22 | } 23 | 24 | if(typeof this.hash === 'string') { 25 | this.hash = crypto.createHash(properties.hash); 26 | } else { 27 | this.hash = null; 28 | } 29 | } 30 | module.exports = File; 31 | util.inherits(File, EventEmitter); 32 | 33 | File.prototype.open = function() { 34 | this._writeStream = new WriteStream(this.path); 35 | }; 36 | 37 | File.prototype.toJSON = function() { 38 | return { 39 | size: this.size, 40 | path: this.path, 41 | name: this.name, 42 | type: this.type, 43 | mtime: this.lastModifiedDate, 44 | length: this.length, 45 | filename: this.filename, 46 | mime: this.mime 47 | }; 48 | }; 49 | 50 | File.prototype.write = function(buffer, cb) { 51 | var self = this; 52 | if (self.hash) { 53 | self.hash.update(buffer); 54 | } 55 | this._writeStream.write(buffer, function() { 56 | self.lastModifiedDate = new Date(); 57 | self.size += buffer.length; 58 | self.emit('progress', self.size); 59 | cb(); 60 | }); 61 | }; 62 | 63 | File.prototype.end = function(cb) { 64 | var self = this; 65 | if (self.hash) { 66 | self.hash = self.hash.digest('hex'); 67 | } 68 | this._writeStream.end(function() { 69 | self.emit('end'); 70 | cb(); 71 | }); 72 | }; 73 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/lib/index.js: -------------------------------------------------------------------------------- 1 | var IncomingForm = require('./incoming_form').IncomingForm; 2 | IncomingForm.IncomingForm = IncomingForm; 3 | module.exports = IncomingForm; 4 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/lib/json_parser.js: -------------------------------------------------------------------------------- 1 | if (global.GENTLY) require = GENTLY.hijack(require); 2 | 3 | var Buffer = require('buffer').Buffer; 4 | 5 | function JSONParser() { 6 | this.data = new Buffer(''); 7 | this.bytesWritten = 0; 8 | } 9 | exports.JSONParser = JSONParser; 10 | 11 | JSONParser.prototype.initWithLength = function(length) { 12 | this.data = new Buffer(length); 13 | }; 14 | 15 | JSONParser.prototype.write = function(buffer) { 16 | if (this.data.length >= this.bytesWritten + buffer.length) { 17 | buffer.copy(this.data, this.bytesWritten); 18 | } else { 19 | this.data = Buffer.concat([this.data, buffer]); 20 | } 21 | this.bytesWritten += buffer.length; 22 | return buffer.length; 23 | }; 24 | 25 | JSONParser.prototype.end = function() { 26 | try { 27 | var fields = JSON.parse(this.data.toString('utf8')); 28 | for (var field in fields) { 29 | this.onField(field, fields[field]); 30 | } 31 | } catch (e) {} 32 | this.data = null; 33 | 34 | this.onEnd(); 35 | }; 36 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/lib/octet_parser.js: -------------------------------------------------------------------------------- 1 | var EventEmitter = require('events').EventEmitter 2 | , util = require('util'); 3 | 4 | function OctetParser(options){ 5 | if(!(this instanceof OctetParser)) return new OctetParser(options); 6 | EventEmitter.call(this); 7 | } 8 | 9 | util.inherits(OctetParser, EventEmitter); 10 | 11 | exports.OctetParser = OctetParser; 12 | 13 | OctetParser.prototype.write = function(buffer) { 14 | this.emit('data', buffer); 15 | return buffer.length; 16 | }; 17 | 18 | OctetParser.prototype.end = function() { 19 | this.emit('end'); 20 | }; 21 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/lib/querystring_parser.js: -------------------------------------------------------------------------------- 1 | if (global.GENTLY) require = GENTLY.hijack(require); 2 | 3 | // This is a buffering parser, not quite as nice as the multipart one. 4 | // If I find time I'll rewrite this to be fully streaming as well 5 | var querystring = require('querystring'); 6 | 7 | function QuerystringParser(maxKeys) { 8 | this.maxKeys = maxKeys; 9 | this.buffer = ''; 10 | } 11 | exports.QuerystringParser = QuerystringParser; 12 | 13 | QuerystringParser.prototype.write = function(buffer) { 14 | this.buffer += buffer.toString('ascii'); 15 | return buffer.length; 16 | }; 17 | 18 | QuerystringParser.prototype.end = function() { 19 | var fields = querystring.parse(this.buffer, '&', '=', { maxKeys: this.maxKeys }); 20 | for (var field in fields) { 21 | this.onField(field, fields[field]); 22 | } 23 | this.buffer = ''; 24 | 25 | this.onEnd(); 26 | }; 27 | 28 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/node_modules/formidable/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "formidable", 3 | "description": "A node.js module for parsing form data, especially file uploads.", 4 | "homepage": "https://github.com/felixge/node-formidable", 5 | "version": "1.0.17", 6 | "devDependencies": { 7 | "gently": "0.8.0", 8 | "findit": "0.1.1", 9 | "hashish": "0.0.4", 10 | "urun": "~0.0.6", 11 | "utest": "0.0.3", 12 | "request": "~2.11.4" 13 | }, 14 | "directories": { 15 | "lib": "./lib" 16 | }, 17 | "main": "./lib/index", 18 | "scripts": { 19 | "test": "node test/run.js", 20 | "clean": "rm test/tmp/*" 21 | }, 22 | "engines": { 23 | "node": ">=0.8.0" 24 | }, 25 | "repository": { 26 | "type": "git", 27 | "url": "git://github.com/felixge/node-formidable.git" 28 | }, 29 | "bugs": { 30 | "url": "http://github.com/felixge/node-formidable/issues" 31 | }, 32 | "optionalDependencies": {}, 33 | "dependencies": {}, 34 | "_id": "formidable@1.0.17", 35 | "dist": { 36 | "shasum": "ef5491490f9433b705faa77249c99029ae348559", 37 | "tarball": "http://registry.npmjs.org/formidable/-/formidable-1.0.17.tgz" 38 | }, 39 | "_from": "formidable@latest", 40 | "_npmVersion": "1.4.3", 41 | "_npmUser": { 42 | "name": "felixge", 43 | "email": "felix@debuggable.com" 44 | }, 45 | "maintainers": [ 46 | { 47 | "name": "felixge", 48 | "email": "felix@debuggable.com" 49 | }, 50 | { 51 | "name": "svnlto", 52 | "email": "me@svenlito.com" 53 | }, 54 | { 55 | "name": "superjoe", 56 | "email": "superjoe30@gmail.com" 57 | }, 58 | { 59 | "name": "tim-smart", 60 | "email": "tim@fostle.com" 61 | } 62 | ], 63 | "_shasum": "ef5491490f9433b705faa77249c99029ae348559", 64 | "_resolved": "https://registry.npmjs.org/formidable/-/formidable-1.0.17.tgz" 65 | } 66 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get-post-demo", 3 | "version": "0.0.1", 4 | "dependencies": { 5 | "body-parser": "^1.8.1", 6 | "express": "^4.9.0", 7 | "formidable":"latest" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /CrashReporter/server_stub_3000/server.js: -------------------------------------------------------------------------------- 1 | var express = require("express"); 2 | var bodyParser = require("body-parser"); 3 | var app = express(); 4 | var formidable = require('formidable'); 5 | var fs = require('fs'); 6 | var path = require('path'); 7 | 8 | app.use(bodyParser.urlencoded({ 9 | extended: false 10 | })); 11 | 12 | function getDownloadFolder() { 13 | var downloadFolderName = "Downloads"; 14 | if ("HOME" in process.env) { 15 | return path.join(process.env.HOME, downloadFolderName); 16 | } else if ("HOMEPATH" in process.env) { 17 | return path.join(process.env.HOMEDRIVE, process.env.HOMEPATH, downloadFolderName); 18 | } else if ("USERPROFILE" in process.env) { 19 | return path.join(process.env.USERPROFILE, downloadFolderName); 20 | } 21 | }; 22 | 23 | app.post('/crashreporter', function(req, res) { 24 | console.log(" crashreporter =============== START"); 25 | // console.log(" Headers : ", req); 26 | var form = new formidable.IncomingForm(); 27 | form.uploadDir = getDownloadFolder(); 28 | form.keepExtensions = true; 29 | 30 | form.parse(req, function(err, fields, files) { 31 | console.log('****** Parsing formdata *****'); 32 | console.log({ 33 | fields: fields, 34 | files: files 35 | }); 36 | 37 | console.log(" crashreporter =============== END"); 38 | res.end(files.upload_file_minidump.name || "DefaultResponse"); 39 | }); 40 | }); 41 | 42 | 43 | app.listen(3000, function() { 44 | console.log("Started on PORT 3000"); 45 | }) -------------------------------------------------------------------------------- /DynamicContextMenu/container.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Dynamic Context Menu 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /DynamicContextMenu/contextMenu.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | TODO : to show suggestion 4 | " Dynamic Context Menu " 5 | 6 | */ 7 | 8 | var remote = require('remote'); 9 | var Menu = remote.require('menu'); 10 | var MenuItem = remote.require('menu-item'); 11 | 12 | var mouseMenu = new Menu(); 13 | mouseMenu.append(new MenuItem({ 14 | label: 'Cut', 15 | accelerator: 'CommandOrControl+X', 16 | click: function(evt) { 17 | util.mouse.execute('cut'); 18 | } 19 | })); 20 | 21 | mouseMenu.append(new MenuItem({ 22 | type: 'separator' 23 | })); 24 | 25 | mouseMenu.append(new MenuItem({ 26 | label: 'Copy', 27 | accelerator: 'CommandOrControl+C', 28 | click: function(event) { 29 | util.mouse.execute('copy'); 30 | } 31 | })); 32 | 33 | mouseMenu.append(new MenuItem({ 34 | label: 'Paste', 35 | accelerator: 'CommandOrControl+V', 36 | click: function() { 37 | util.mouse.execute('paste'); 38 | } 39 | })); 40 | 41 | function testFunction(e) { 42 | e.preventDefault(); 43 | mouseMenu.popup(remote.getCurrentWindow()); 44 | } 45 | 46 | window.addEventListener('contextmenu', testFunction, false); -------------------------------------------------------------------------------- /DynamicContextMenu/main.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | 4 | var mainWindow = null; 5 | app.on('ready', function() { 6 | mainWindow = new BrowserWindow({width: 800, height: 600}); 7 | mainWindow.loadUrl('file://' + __dirname + '/container.html'); 8 | mainWindow.toggleDevTools(); 9 | }); 10 | -------------------------------------------------------------------------------- /DynamicContextMenu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"DynamicContextMenu", 3 | "version":"0.1.0", 4 | "main":"main.js" 5 | } -------------------------------------------------------------------------------- /DynamicContextMenu/util.js: -------------------------------------------------------------------------------- 1 | var util = { 2 | name: "utilities", 3 | log: function() { 4 | var tmp = Array.prototype.slice.call(arguments); 5 | if (typeof tmp[0] == 'string') { 6 | tmp[0] = '[' + this.name + '] : ' + tmp[0]; 7 | } else { 8 | tmp.splice(0, 0, '[' + this.name + '] : '); 9 | } 10 | console.debug.apply(console, tmp); 11 | } 12 | }; 13 | 14 | util.mouse = { 15 | callback: null, 16 | registerCB: function(fn, context) { 17 | if (fn && typeof fn == 'function') { 18 | this.callback = fn; 19 | } 20 | }, 21 | execute: function(type) { 22 | if (this.callback) { 23 | this.callback.call(null, { 24 | etype: 'contextmenu', 25 | action: 'click', 26 | menu: type 27 | }); 28 | } else if (type) { 29 | switch (type) { 30 | case "cut": 31 | { 32 | document.querySelector('webview').cut(); 33 | break; 34 | } 35 | case "copy": 36 | { 37 | document.querySelector('webview').copy(); 38 | break; 39 | } 40 | case "paste": 41 | { 42 | document.querySelector('webview').paste(); 43 | break; 44 | } 45 | default: 46 | { 47 | break; 48 | } 49 | } 50 | } 51 | } 52 | }; 53 | 54 | -------------------------------------------------------------------------------- /ReloadWebviewCrashes_1.4.5/app.js: -------------------------------------------------------------------------------- 1 | var crashReporter = require('electron').crashReporter; 2 | 3 | crashReporter.start({companyName:'ElectronTester',submitURL: 'http://127.0.0.1:3000/crashreporter'}); 4 | 5 | function showCrashReporter(report) { 6 | return "" + 7 | ""; 8 | } 9 | 10 | window.onload = function() { 11 | var reporters = crashReporter.getUploadedReports(); 12 | var table = "
Uploaded DateID
" + report.date + "" + report.id + "
\n" + 13 | "" + 14 | "" + 15 | "\n"; 16 | 17 | var div = document.getElementById("crash_reporters"); 18 | for (var i = 0; i < reporters.length; ++i) { 19 | table += showCrashReporter(reporters[i]); 20 | } 21 | div.innerHTML = table; 22 | document.getElementById('crash').onclick = function() { 23 | process.crash(); 24 | } 25 | }; 26 | -------------------------------------------------------------------------------- /ReloadWebviewCrashes_1.4.5/backgroundLogs/1478606728037.log: -------------------------------------------------------------------------------- 1 | Tue Nov 08 2016 17:35:28 GMT+0530 (IST) :: ["Window got crashed reloading browser-window"] 2 | -------------------------------------------------------------------------------- /ReloadWebviewCrashes_1.4.5/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Crash Report 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ReloadWebviewCrashes_1.4.5/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "crash-report-demo", 3 | "version" : "0.1.0", 4 | "main" : "main.js" 5 | } 6 | -------------------------------------------------------------------------------- /RenderStalls/app.js: -------------------------------------------------------------------------------- 1 | var remote = require('remote'); 2 | var currentWindow = remote.getCurrentWindow(); 3 | var shell = require('shell'); 4 | 5 | function log(txt, isError) { 6 | var lDom = document.createElement('span'); 7 | lDom.innerHTML = txt; 8 | isError ? lDom.style.color = 'red' : false; 9 | document.querySelector('div').appendChild(lDom); 10 | document.querySelector('div').appendChild(document.createElement('br')); 11 | } 12 | 13 | onload = function() { 14 | log('Render get stalled when window is moved, from position Sample App'); 15 | // currentWindow.maximize(); 16 | } -------------------------------------------------------------------------------- /RenderStalls/background.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | var mainWindow = null; 4 | 5 | app.commandLine.appendSwitch('remote-debugging-port', '9222'); // enabling remote debugging port 6 | 7 | app.on('ready', function() { 8 | mainWindow = new BrowserWindow({ 9 | width: 800, 10 | height: 600, 11 | show: true, 12 | "min-height": 600, 13 | "min-width": 800, 14 | "fullscreen": false, 15 | "kiosk": false, 16 | focus: true 17 | }); 18 | mainWindow.loadUrl('file://' + __dirname + '/renderStall.html'); 19 | // mainWindow.toggleDevTools(); 20 | mainWindow.show(); 21 | }); -------------------------------------------------------------------------------- /RenderStalls/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main":"background.js", 3 | "name":"RenderStallingRepo", 4 | "version":"0.1.0" 5 | } -------------------------------------------------------------------------------- /RenderStalls/renderStall.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Render Stalls during app "move" 4 | 5 | 6 |
7 | 8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /electron_0.30.4_win_webview_crash/app.js: -------------------------------------------------------------------------------- 1 | onload = function() { 2 | document.querySelector('#withoutWebview').onclick = function(){ 3 | /** 4 | * a.Crash the renderer 5 | * application will reload based on detection. 6 | */ 7 | process.crash(); 8 | }; 9 | 10 | document.querySelector('#withWebview').onclick = function(){ 11 | /** 12 | * a. Embed an dummy webview 13 | * b. crash the renderer 14 | */ 15 | var google = document.createElement('webview'); 16 | google.src = 'http://google.com'; 17 | document.querySelector('#webviewHolder').appendChild(google); 18 | 19 | google.addEventListener('did-finish-load', function(e){ 20 | app.log('Webview is Embedded, simulating crash in 5 seconds !!'); 21 | app.write('Webview is Embedded, simulating crash in 5 seconds !!'); 22 | setTimeout(process.crash,5000); 23 | }); 24 | }; 25 | } 26 | 27 | var ipc = require('ipc'); 28 | 29 | var app = { 30 | name: 'RenderBehaviourApp', 31 | log: function() { 32 | var tmp = []; 33 | for (var i = arguments.length - 1; i >= 0; i--) { 34 | tmp[i] = arguments[i]; 35 | }; 36 | tmp.splice(0, 0, '[' + this.name + '] : '); 37 | console.debug.apply(console, tmp); 38 | }, 39 | write : function( txt ){ 40 | var p = document.createElement('p') 41 | p.innerHTML = txt; 42 | document.querySelector('#console').appendChild(p) 43 | }, 44 | msgHandler: function(msg) { 45 | this.log('Message recieved : ', msg); 46 | if (msg && msg.eType) { 47 | switch (msg.eType) { 48 | case "crashed": 49 | { 50 | this.log('Application was crashed and restored back'); 51 | break; 52 | } 53 | default: 54 | break; 55 | } 56 | } 57 | } 58 | }; 59 | 60 | ipc.on('ElectronIPCMessage', app.msgHandler.bind(app)); 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /electron_0.30.4_win_webview_crash/main.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | var Menu = require('menu'); 4 | 5 | var mainWindow = null; 6 | 7 | app.on('ready', function() { 8 | mainWindow = new BrowserWindow({}); 9 | mainWindow.loadUrl('file://' + __dirname + '/win_renderer_behaviour_crash.html'); 10 | mainWindow.maximize(); 11 | mainWindow.openDevTools(); 12 | 13 | mainWindow.webContents.on('dom-ready', function() { 14 | mainWindow.send('ElectronIPCMessage', { 15 | eType: 'dom-ready', 16 | source: 'main' 17 | }); 18 | }); 19 | 20 | mainWindow.on('crashed', function() { 21 | /** 22 | * Successful detection 23 | * we might include snapshot to restore 24 | * the data / state of app. 25 | */ 26 | mainWindow.reload(); 27 | /** 28 | * Informational message to browser 29 | * window, we are unable to hook 30 | * main process js with node-inspector 31 | * so. just a small workaround to getinformation 32 | * to print. 33 | */ 34 | // mainWindow.webContents.on('did-finish-load', function() { 35 | // mainWindow.send('ElectronIPCMessage', { 36 | // eType: 'Crashed', 37 | // source: 'main' 38 | // }); 39 | 40 | // mainWindow.send('ElectronIPCMessage', { 41 | // eType: 'Reloaded', 42 | // source: 'main' 43 | // }); 44 | // }); 45 | }); 46 | }); -------------------------------------------------------------------------------- /electron_0.30.4_win_webview_crash/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "chromium-args":"--remote-debugging-port=8888", 3 | "name":"WebviewCrashHandler", 4 | "main":"Main.js", 5 | "version":"0.0.1" 6 | } -------------------------------------------------------------------------------- /electron_0.30.4_win_webview_crash/win_renderer_behaviour_crash.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

Renderer Behaviour in WINDOWS with and without webview being embedded

8 |

( Note: MAC-OS exhibits same behaviour regardless on webview present or not )

9 |

"Crash Without Webview Embedded" : Renderer turns white but background and application stays 10 | running we are able to detect and capture "crashed" event on BrowserWindowObject, hopefully atleast 11 | we can reload the application

12 | 13 |

"Crash WITH Webview Embedded" : Entire application is closed

14 | 15 |

Proposed Ideas : 16 |
- Webview crash should not crash the BrowserWindow Render 17 |

- Any way to stop the webview crash event to cancel bubbling up, as all webview events go till 18 | the embedder if we assume correctly, this might also be reason render crashing along with it. If in case 19 | webview crashes with any of the documented events like "crashed","gpu-crashed","plugin-crashed". 20 |

- Function to simulate webview.crash instead or process.crash in this example 21 |

22 | 23 | 24 | 25 | 26 |
27 |
28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /sessionNotPersistent/app.js: -------------------------------------------------------------------------------- 1 | var remote = require('remote'); 2 | var currentWindow = remote.getCurrentWindow(); 3 | var shell = require('shell'); 4 | 5 | function log(txt, isError) { 6 | var lDom = document.createElement('span'); 7 | lDom.innerHTML = txt; 8 | isError ? lDom.style.color = 'red' : false; 9 | document.querySelector('div').appendChild(lDom); 10 | document.querySelector('div').appendChild(document.createElement('br')); 11 | } 12 | 13 | onload = function() { 14 | log('SessionNotPersisting Sample App'); 15 | } -------------------------------------------------------------------------------- /sessionNotPersistent/background.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | var mainWindow = null; 4 | 5 | app.commandLine.appendSwitch('remote-debugging-port', '9222'); // enabling remote debugging port 6 | 7 | app.on('ready', function() { 8 | mainWindow = new BrowserWindow({ 9 | width: 800, 10 | height: 600, 11 | show: true, 12 | focus:true 13 | }); 14 | mainWindow.loadUrl('file://' + __dirname + '/sessionTest.html'); 15 | // mainWindow.toggleDevTools(); 16 | mainWindow.show(); 17 | }); -------------------------------------------------------------------------------- /sessionNotPersistent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main":"background.js", 3 | "name":"SessionNotPersisting", 4 | "version":"0.1.0" 5 | } -------------------------------------------------------------------------------- /sessionNotPersistent/sessionTest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | SessionNotPersistent 4 | 5 | 6 |
7 | 8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /sessioncheck/app.js: -------------------------------------------------------------------------------- 1 | var webview = document.createElement('webview'); 2 | webview.src = 'http://www.oauthlogin.com/home.php'; 3 | webview.partition = 'persist:sessioncheck'; 4 | 5 | onload = function(){ 6 | document.body.appendChild(webview); 7 | } -------------------------------------------------------------------------------- /sessioncheck/main.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); 2 | var BrowserWindow = require('browser-window'); 3 | var mainWindow = null; 4 | 5 | app.commandLine.appendSwitch('remote-debugging-port', '9222'); // enabling remote debugging port 6 | app.on('ready', function() { 7 | mainWindow = new BrowserWindow({ 8 | width: 1100, 9 | height: 900, 10 | show: true, 11 | focus:true 12 | }); 13 | mainWindow.loadUrl('file://' + __dirname + '/render.html'); 14 | mainWindow.show(); 15 | }); -------------------------------------------------------------------------------- /sessioncheck/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main":"main.js", 3 | "name":"Sessioncheck", 4 | "version":"0.1.0" 5 | } -------------------------------------------------------------------------------- /sessioncheck/render.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sessioncheck 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /willDownload/app.js: -------------------------------------------------------------------------------- 1 | var download = { 2 | register: function() { 3 | var win = require('remote').getCurrentWindow(); 4 | var path = require('path'); 5 | var shell = require('shell'); 6 | var session = win.webContents.session; 7 | console.log('Registering listeners '); 8 | /* 9 | * Default Application's Downloads Path 10 | * replaced with system Downloads 11 | */ 12 | session.once('will-download', function(event, item, webContents) { 13 | /* 14 | * This will not fire in electron engine v0.35.0 /mac 15 | * 16 | */ 17 | console.log('Download Event firing'); 18 | console.log('Received bytes in startup:', item.getReceivedBytes()); 19 | 20 | item.on('updated', function() { 21 | console.log('Receiving bytes in stream: ' + item.getReceivedBytes()); 22 | }); 23 | 24 | item.on('done', function(e, state) { 25 | if (state == "completed") { 26 | var pathToFile = path.join(this.getDownloadFolder(), item.getFilename()) 27 | console.log('Downloaded SuccessFully !!!!! ' + pathToFile); 28 | } 29 | }.bind(this)); 30 | 31 | }); 32 | } 33 | }; 34 | 35 | onload = function() { 36 | download.register(); 37 | } -------------------------------------------------------------------------------- /willDownload/main.js: -------------------------------------------------------------------------------- 1 | var app = require('app'); // Module to control application life. 2 | var BrowserWindow = require('browser-window'); // Module to create native browser window. 3 | 4 | var win= null; 5 | app.on('ready', function() { 6 | win = new BrowserWindow({width: 1000, height: 700}); 7 | win.loadURL('file://' + __dirname + '/testDownload.html'); 8 | win.openDevTools(); 9 | }); 10 | -------------------------------------------------------------------------------- /willDownload/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "downLoadTestApp", 3 | "version" : "0.1.0", 4 | "main" : "main.js" 5 | } -------------------------------------------------------------------------------- /willDownload/testDownload.html: -------------------------------------------------------------------------------- 1 | 2 | Download test 3 | 4 | Click to download 5 | 6 | 7 | --------------------------------------------------------------------------------
Uploaded DateID