Skip to content

TagSpaces is an offline, open source, document manager with tagging support

removing deprecated node-webkit support from the project

Ilian Sapundshiev6910e574ed88
diff --git a/README.md b/README.md
index 51eba54e5..aa7d5223f 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,6 @@ To get updates you can:
./data/electron......contains the implementation and API for the Electron platform (Windows, Linux, OS X releases)
./data/mozilla.......contains the implementation and API of the Firefox Addon release of the application
./data/web...........contains the implementation and API of the WebDAV/ownCloud release of the application
- ./data/node-webkit...contains the implementation and API for the NW.js platform (deprecated)
./data/templates.....contains HTML templates needed for the UI
./data/locales.......contains files need for the localisation of the application UI
./data/_locales......contains files need for the localisation of the Chrome extension UI
@@ -48,7 +47,7 @@ A full list of the changes is available in our [changelog](CHANGELOG.md)
## Documentation
-The native Windows, Linux and Mac OS X versions of `TagSpaces` are built with [node-webkit](https://github.com/rogerwang/node-webkit). node-webkit is an app runtime based on Chromium and node.js. You can write native apps in HTML and Javascript with node-webkit.
+The native Windows, Linux and Mac OS X versions of `TagSpaces` are built with [Electron](https://electron.atom.io/). Electron is an app runtime based on Chromium and node.js.
### How to run TagSpaces from the source code?
Install [node.js, npm](http://nodejs.org/) and [git](http://git-scm.org/) for your platform (e.g. OS X, Windows or Linux).
@@ -72,14 +71,6 @@ Go to the data folder and install the TagSpaces extensions with bower:
* Goto the folder: `cd tagspaces/data/`
* Execute one of the following commands `electron .` or `npm start`
-#### Run the native Windows, Linux or Mac OS X application with NW.js
-Please note: The nw.js platform is not actively supported anymore.
-* Download [nw.js](https://github.com/nwjs/nw.js) prebuilt binaries for your system environment.
-* For Windows: copy `nw.exe, nw.pak, icudt.dll, ffmpegsumo.dll` to `tagspaces\data\node-webkit` directory.
-* For Linux: copy `nw, nw.pak, icudtl.dat, libffmpegsumo.so` to `tagspaces/data/node-webkit` directory. If you experience issue related to libudev.so.0 read the following [article](https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0).
-* For Mac OS X: copy `node-webkit.app` to `tagspaces/data/node-webkit` directory.
-* Run the `nw` executable file.
-
#### Run the Chrome/Chromium extension
* Go to the chrome `Settings` and then to `Extension`
* Enable the `Developer mode` checkbox in the upper right part of the screen
diff --git a/data/node-webkit/Info.plist.tmpl b/data/node-webkit/Info.plist.tmpl
deleted file mode 100644
index c872bf72e..000000000
--- a/data/node-webkit/Info.plist.tmpl
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>BuildMachineOSBuild</key>
- <string>12F45</string>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleDisplayName</key>
- <string>@@APPNAME</string>
- <key>CFBundleDocumentTypes</key>
- <array>
- <dict>
- <key>CFBundleTypeIconFile</key>
- <string>nw.icns</string>
- <key>CFBundleTypeName</key>
- <string>nwjs App</string>
- <key>CFBundleTypeRole</key>
- <string>Viewer</string>
- <key>LSHandlerRank</key>
- <string>Owner</string>
- <key>LSItemContentTypes</key>
- <array>
- <string>io.nwjs.nw.app</string>
- </array>
- </dict>
- <dict>
- <key>CFBundleTypeName</key>
- <string>Folder</string>
- <key>CFBundleTypeOSTypes</key>
- <array>
- <string>fold</string>
- </array>
- <key>CFBundleTypeRole</key>
- <string>Viewer</string>
- <key>LSHandlerRank</key>
- <string>None</string>
- </dict>
- </array>
- <key>CFBundleExecutable</key>
- <string>nwjs</string>
- <key>CFBundleIconFile</key>
- <string>nw.icns</string>
- <key>CFBundleIdentifier</key>
- <string>io.nwjs.nw</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>@@VERSION.@@BUILD</string>
- <key>CFBundleName</key>
- <string>@@APPNAME</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>@@VERSION.@@BUILD</string>
- <key>CFBundleVersion</key>
- <string>2272.76</string>
- <key>DTSDKBuild</key>
- <string>12F37</string>
- <key>DTSDKName</key>
- <string>macosx10.8</string>
- <key>DTXcode</key>
- <string>0511</string>
- <key>DTXcodeBuild</key>
- <string>5B1008</string>
- <key>LSFileQuarantineEnabled</key>
- <false/>
- <key>LSMinimumSystemVersion</key>
- <string>10.6.0</string>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
- <key>NSSupportsAutomaticGraphicsSwitching</key>
- <true/>
- <key>SCMRevision</key>
- <string>072d56ad45f528d86ca62d8709be879fd2e7644c</string>
- <key>UTExportedTypeDeclarations</key>
- <array>
- <dict>
- <key>UTTypeConformsTo</key>
- <array>
- <string>com.pkware.zip-archive</string>
- </array>
- <key>UTTypeDescription</key>
- <string>nwjs App</string>
- <key>UTTypeIconFile</key>
- <string>nw.icns</string>
- <key>UTTypeIdentifier</key>
- <string>io.nwjs.nw.app</string>
- <key>UTTypeReferenceURL</key>
- <string>https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps</string>
- <key>UTTypeTagSpecification</key>
- <dict>
- <key>com.apple.ostype</key>
- <string>nwjs</string>
- <key>public.filename-extension</key>
- <array>
- <string>nw</string>
- </array>
- <key>public.mime-type</key>
- <string>application/x-nwjs-app</string>
- </dict>
- </dict>
- </array>
-</dict>
-</plist>
diff --git a/data/node-webkit/icon128.hqx b/data/node-webkit/icon128.hqx
deleted file mode 100644
index e15800248..000000000
--- a/data/node-webkit/icon128.hqx
+++ /dev/null
@@ -1,601 +0,0 @@
-(This file must be converted with BinHex 4.0)
-:"fPMEfia-MJ%9%9B9(4dH(3%!!!!!Y!!!'dDFCK)EhFJG'mJGA0P)(4SDA-JD@0
-[EMS+#P0dCA!J-6SJ3fp`H5"dD'8JD@0[EL"dEb"dD'8JBfaTF'*[BA*N#Q%T)%0
-XD@0V)'pZ)(4SDA-JCQPXC5"QFQpY)(4SC5"'D@jNCA)+BLNJ3fK[Eh0P)#G(CA3
-J5@jQEbFJCR*[E5"dD'8J*dCTE'8R)'ePER8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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!h!rrrrrrre23!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Qhrrrrq8F!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!DYrrY4!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!1J@`!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!3!!!'cS!!"Vk!!!!$)
-!!!!!!!!!!!!F!$)!!'PMER-!!!!+[lRrr`!!!!!!!!!!mJ!!:
diff --git a/data/node-webkit/icon128.icns b/data/node-webkit/icon128.icns
deleted file mode 100644
index ec93468c1..000000000
Binary files a/data/node-webkit/icon128.icns and /dev/null differ
diff --git a/data/node-webkit/icon128.ico b/data/node-webkit/icon128.ico
deleted file mode 100644
index 8e5936080..000000000
Binary files a/data/node-webkit/icon128.ico and /dev/null differ
diff --git a/data/node-webkit/icon128.png b/data/node-webkit/icon128.png
deleted file mode 100644
index 6c63e5a7e..000000000
Binary files a/data/node-webkit/icon128.png and /dev/null differ
diff --git a/data/node-webkit/node-webkit.api.js b/data/node-webkit/node-webkit.api.js
deleted file mode 100644
index 21e905cfc..000000000
--- a/data/node-webkit/node-webkit.api.js
+++ /dev/null
@@ -1,847 +0,0 @@
-/* Copyright (c) 2012-2016 The TagSpaces Authors. All rights reserved.
- * Use of this source code is governed by a AGPL3 license that
- * can be found in the LICENSE file. */
-
-var fs = require('fs-extra'); // jshint ignore:line
-var pathUtils = require('path'); // jshint ignore:line
-var gui = require('nw.gui'); // jshint ignore:line
-var trash = require('trash'); // jshint ignore:line
-
-/**
- * A implementation of the IOAPI for the nw.js platform
- * @class NWJS
- * @memberof IOAPI
- * @deprecated the nw.js platform is not supported anymore in TagSpaces
- */
-define(function(require, exports, module) {
- "use strict";
-
- console.log("Loading ioapi.node.js..");
-
- var TSCORE = require("tscore");
- var TSPOSTIO = require("tspostioapi");
- var fsWatcher;
- var win = gui.Window.get();
-
- var showMainWindow = function() {
- win.show();
- };
-
- win.on('close', function() {
- if (TSCORE.FileOpener.isFileChanged()) {
- if (confirm($.i18n.t("ns.common:confirmApplicationClose"))) {
- win.close(true);
- }
- } else {
- win.close(true);
- }
- });
-
- var rootMenu = new gui.Menu({type: 'menubar'});
- var aboutMenu = new gui.Menu();
- var viewMenu = new gui.Menu();
-
- var menuInitialuzed = false;
-
- process.on("uncaughtException", function(err) {
- //var msg = ' Information | Description \n' +
- // '-------------|-----------------------------\n' +
- // ' Date | '+ new Date +'\n' +
- // ' Type | UncaughtException \n' +
- // ' Stack | '+ err.stack +'\n\n';
- //fs.appendFile(errorLogFile, '---uncaughtException---\n' + msg);
- });
-
- // Experimental functionality
- function watchDirectory(dirPath, listener) {
- if (fsWatcher) {
- fsWatcher.close();
- }
- fsWatcher = fs.watch(dirPath, {persistent: true, recursive: false}, listener);
- }
-
- function handleTray() {
- // TODO disable in Ubuntu until node-webkit issue in unity fixed
-
- // Reference to window and tray
- var win = gui.Window.get();
- var tray;
-
- // Get the minimize event
- win.on('minimize', function() {
- // Hide window
- this.hide();
-
- // Show tray
- tray = new gui.Tray({
- title: 'Tray',
- icon: 'icon128.png'
- });
-
- // Show window and remove tray when clicked
- tray.on('click', function() {
- win.show();
- this.remove();
- tray = null;
- });
- });
- }
-
- function handleStartParameters() {
- //Windows "C:\Users\na\Desktop\TagSpaces\tagspaces.exe" --original-process-start-time=13043601900594583 "G:\data\assets\icon16.png"
- //Linux /opt/tagspaces/tagspaces /home/na/Dropbox/TagSpaces/README[README].md
- //OSX /home/na/Dropbox/TagSpaces/README[README].md
- //gui.App.on('open', function(cmdline) {
- // console.log('Command line arguments on open: ' + cmdline);
- // TSCORE.FileOpener.openFile(cmdArguments);
- //});
- var cmdArguments = gui.App.argv;
- if (cmdArguments && cmdArguments.length > 0) {
- console.log("CMD Arguments: " + cmdArguments[0] + " Process running in " + process.cwd());
- var dataPathIndex;
- cmdArguments.forEach(function(part, index) {
- if (part.indexOf("--data-path") === 0) {
- dataPathIndex = index;
- }
- });
- if (dataPathIndex >= 0 && cmdArguments.length >= dataPathIndex + 1) {
- cmdArguments.splice(dataPathIndex, 2);
- }
- console.log("CMD Arguments cleaned: " + cmdArguments);
- var filePath = "" + cmdArguments;
- if (filePath.length > 1) {
- var dirPath = TSCORE.TagUtils.extractContainingDirectoryPath(filePath);
- TSCORE.FileOpener.openFileOnStartup(filePath);
- }
- }
- }
-
- function initMainMenu() {
- if (isOSX) {
- rootMenu.createMacBuiltin("TagSpaces");
- }
- if (TSCORE.Config.getShowMainMenu() && !menuInitialuzed) {
- aboutMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:aboutTagSpaces"),
- click: function() {
- TSCORE.UI.showAboutDialog();
- }
- }));
-
- viewMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:showTagLibraryTooltip") + " (" + TSCORE.Config.getShowTagLibraryKeyBinding() + ")",
- click: function() {
- TSCORE.UI.showTagsPanel();
- }
- }));
-
- viewMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:showLocationNavigatorTooltip") + " (" + TSCORE.Config.getShowFolderNavigatorBinding() + ")",
- click: function() {
- TSCORE.UI.showLocationsPanel();
- }
- }));
-
- viewMenu.append(new gui.MenuItem({
- type: 'separator'
- }));
-
- viewMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:toggleFullScreen") + " (" + TSCORE.Config.getToggleFullScreenKeyBinding().toUpperCase() + ")",
- click: function() {
- win.toggleFullscreen();
- }
- }));
-
- viewMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:showDevTools") + " (" + TSCORE.Config.getOpenDevToolsScreenKeyBinding().toUpperCase() + ")",
- click: function() {
- win.showDevTools();
- }
- }));
-
- viewMenu.append(new gui.MenuItem({
- type: 'separator'
- }));
-
- viewMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:settings"),
- click: function() {
- TSCORE.UI.showOptionsDialog();
- }
- }));
-
- rootMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:view"),
- submenu: viewMenu
- }));
-
- rootMenu.append(new gui.MenuItem({
- type: 'normal',
- label: $.i18n.t("ns.common:help"),
- submenu: aboutMenu
- }));
- win.menu = rootMenu;
-
- menuInitialuzed = true;
- } else {
- if (isOSX) {
- win.menu = rootMenu;
- }
- }
- }
-
- // Brings the TagSpaces window on top of the windows
- function focusWindow() {
- gui.Window.get().focus();
- }
-
- // IOAPI
-
- /**
- * Checks if new version is available
- * @name checkNewVersion
- * @method
- * @memberof IOAPI.NWJS
- */
- function checkNewVersion() {
- console.log("Checking for new version...");
- var cVer = TSCORE.Config.DefaultSettings.appVersion + "." + TSCORE.Config.DefaultSettings.appBuild;
- $.ajax({
- url: 'http://tagspaces.org/releases/version.json?nVer=' + cVer,
- type: 'GET'
- })
- .done(function(data) {
- TSCORE.updateNewVersionData(data);
- })
- .fail(function(data) {
- console.log("AJAX failed " + data);
- });
- }
-
- /**
- * Creates recursively a tree structure for a given directory path
- * @name createDirectoryTree
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} dirPath - the full path of the directory for which the tree will be generated
- */
- function createDirectoryTree(dirPath) {
- console.log("Creating directory index for: " + dirPath);
- TSCORE.showWaitingDialog($.i18n.t("ns.common:waitDialogDiectoryIndexing"));
-
- var generateDirectoryTree = function(dirPath) {
- try {
- var tree = {};
- var dstats = fs.lstatSync(dirPath);
- tree.name = pathUtils.basename(dirPath);
- tree.isFile = false;
- tree.lmdt = dstats.mtime;
- tree.path = dirPath;
- tree.children = [];
- var dirList = fs.readdirSync(dirPath);
- for (var i = 0; i < dirList.length; i++) {
- var path = dirPath + TSCORE.dirSeparator + dirList[i];
- var stats = fs.lstatSync(path);
- if (stats.isFile()) {
- tree.children.push({
- "name": pathUtils.basename(path),
- "isFile": true,
- "size": stats.size,
- "lmdt": stats.mtime,
- "path": path
- });
- } else {
- tree.children.push(generateDirectoryTree(path));
- }
- }
- return tree;
- } catch (ex) {
- TSCORE.hideLoadingAnimation();
- console.error("Generating tree for " + dirPath + " failed " + ex);
- }
- };
- var directoyTree = generateDirectoryTree(dirPath);
- //console.log(JSON.stringify(directoyTree));
- TSPOSTIO.createDirectoryTree(directoyTree);
- }
-
-
- /**
- * Creates a list with containing the files and the sub directories of a given directory
- * @name listDirectoryPromiseAsync
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} path - the directory path for which the list will be created
- * @returns {Promise.<Success, Error>}
- */
- function listDirectoryPromiseAsync(path) {
- console.time("listDirectoryPromise");
- return new Promise(function(resolve, reject) {
- var statEntriesPromises = [];
- fs.readdir(path, function(error, entries) {
- if (error) {
- console.log("Error listing directory " + path);
- resolve([]); // returning results even if any promise fails
- }
-
- if (entries) {
- entries.forEach(function(entry) {
- statEntriesPromises.push(getPropertiesPromise(path + TSCORE.dirSeparator + entry));
- });
- Promise.all(statEntriesPromises).then(function(enhancedEntries) {
- console.timeEnd("listDirectoryPromise");
- resolve(enhancedEntries);
- }, function(err) {
- resolve([]); // returning results even if any promise fails
- });
- }
- });
- });
- }
-
- /**
- * Creates a list with containing the files and the sub directories of a given directory
- * @name listDirectoryPromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} path - the directory path which is listed
- * @param {boolean} lite - if true the path to a file thumbnails will be not included in the results
- * This will increase the performance of the function.
- * @returns {Promise.<Success, Error>}
- */
- function listDirectoryPromise(path, lite) {
- console.time("listDirectoryPromise");
- return new Promise(function(resolve, reject) {
- var enhancedEntries = [];
- var entryPath;
- var thumbPath;
- var stats;
- var thumbStats;
- var eentry;
- var metaMetaFolder = TSCORE.metaFolder + TSCORE.dirSeparator + TSCORE.metaFolder;
-
- fs.readdir(path, function(error, entries) {
- if (error) {
- console.log("Error listing directory " + path);
- resolve(enhancedEntries); // returning results even if any promise fails
- }
-
- if (entries) {
- entries.forEach(function(entry) {
- entryPath = path + TSCORE.dirSeparator + entry;
- thumbPath = path + TSCORE.dirSeparator + TSCORE.metaFolder + TSCORE.dirSeparator + entry + TSCORE.thumbFileExt;
- eentry = {};
- eentry.name = entry;
- eentry.path = entryPath;
-
- try {
- stats = fs.statSync(entryPath);
- eentry.isFile = stats.isFile();
- eentry.size = stats.size;
- eentry.lmdt = stats.mtime.getTime();
-
- if (!lite && eentry.isFile && thumbPath.indexOf(metaMetaFolder) < 0) { // prevent checking in .ts/.ts folder
- try {
- thumbStats = fs.statSync(thumbPath);
- if (thumbStats.isFile) {
- eentry.thumbPath = thumbPath;
- }
- } catch (e) {
- console.log("Can not find thumbnail for file: " + thumbPath);
- }
- // TODO Extract the name of the sidecar json file
- }
-
- } catch (e) {
- console.warn("Can not load properties for: " + entryPath);
- }
-
- enhancedEntries.push(eentry);
- });
- console.timeEnd("listDirectoryPromise");
- resolve(enhancedEntries);
- }
- });
- });
- }
-
- /**
- * Finds out the properties of a file or directory such last modification date or file size
- * @name getPropertiesPromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} path - full path to the file or the directory, which will be analysed
- * @returns {Promise.<Success, Error>}
- */
- function getPropertiesPromise(path) {
- /**
- * stats for file:
- * "dev":41,
- * "mode":33204,
- * "nlink":1,
- * "uid":1000,
- * "gid":1000,
- * "rdev":0,
- * "blksize":4096,
- * "ino":2634172,
- * "size":230,
- * "blocks":24,
- * "atime":"2015-11-24T09:56:41.932Z",
- * "mtime":"2015-11-23T14:29:29.689Z",
- * "ctime":"2015-11-23T14:29:29.689Z",
- * "birthtime":"2015-11-23T14:29:29.689Z",
- * "isFile":true,
- * "path":"/home/somefile.txt"
- */
- return new Promise(function(resolve, reject) {
- fs.lstat(path, function(err, stats) {
- if (err) {
- resolve(false);
- }
-
- if (stats) {
- var entry = {};
- entry.name = path.substring(path.lastIndexOf(TSCORE.dirSeparator) + 1, path.length);
- entry.isFile = stats.isFile();
- entry.size = stats.size;
- entry.lmdt = stats.mtime;
- entry.path = path;
- resolve(entry);
- }
- });
- });
- }
-
- /**
- * Creates a directory
- * @name createDirectoryPromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} dirPath - the full path of the folder which will be created
- * @returns {Promise.<Success, Error>}
- */
- function createDirectoryPromise(dirPath) {
- return new Promise(function(resolve, reject) {
- fs.mkdir(dirPath, function(error) {
- if (error) {
- reject("Error creating folder: " + dirPath);
- }
- resolve();
- });
- });
- }
-
- /**
- * Copies a given file to a specified location
- * @name copyFilePromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} sourceFilePath - the full path of a file which will be copied
- * @param {string} targetFilePath - the full path destination of the copied file
- * @returns {Promise.<Success, Error>}
- */
- function copyFilePromise(sourceFilePath, targetFilePath) {
- return new Promise(function(resolve, reject) {
- getPropertiesPromise(sourceFilePath).then(function(entry) {
- if (!entry.isFile) {
- reject($.i18n.t("ns.common:fileIsDirectory", {fileName:sourceFilePath}));
- } else {
- getPropertiesPromise(targetFilePath).then(function(entry2) {
- if (entry2) {
- reject($.i18n.t("ns.common:fileExists", {fileName:targetFilePath}));
- } else {
-
- var rd = fs.createReadStream(sourceFilePath);
- rd.on("error", function(err) {
- reject($.i18n.t("ns.common:fileCopyFailed", {fileName:sourceFilePath}));
- });
- var wr = fs.createWriteStream(targetFilePath);
- wr.on("error", function(err) {
- reject($.i18n.t("ns.common:fileCopyFailed", {fileName:sourceFilePath}));
- });
- wr.on("close", function(ex) {
- resolve();
- });
- rd.pipe(wr);
-
- }
- }, function(err) {
- reject(err);
- });
- }
- }, function(err) {
- reject(err);
- });
- });
- }
-
- /**
- * Renames a given file
- * @name renameFilePromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} filePath - the full path of the file which will be renamed
- * @param {string} newFilePath - the desired full path after the file rename
- * @returns {Promise.<Success, Error>}
- */
- function renameFilePromise(filePath, newFilePath) {
- console.log("Renaming file: " + filePath + " to " + newFilePath);
- return new Promise(function(resolve, reject) {
- if (filePath === newFilePath) {
- reject($.i18n.t("ns.common:fileTheSame"), $.i18n.t("ns.common:fileNotMoved"));
- }
- if (fs.lstatSync(filePath).isDirectory()) {
- reject($.i18n.t("ns.common:fileIsDirectory", {fileName:filePath}));
- }
- if (fs.existsSync(newFilePath)) {
- reject($.i18n.t("ns.common:fileExists", {fileName:newFilePath}), $.i18n.t("ns.common:fileRenameFailed"));
- }
- fs.move(filePath, newFilePath, function(error) {
- if (error) {
- reject("Renaming: " + filePath + " failed.");
- }
- resolve([filePath, newFilePath]);
- });
- });
- }
-
- /**
- * Rename a directory
- * @name renameDirectoryPromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} dirPath - the full path of the directory which will be renamed
- * @param {string} newDirName - the desired full path after the directory rename
- * @returns {Promise.<Success, Error>}
- */
- function renameDirectoryPromise(dirPath, newDirName) {
- var newDirPath = TSCORE.TagUtils.extractParentDirectoryPath(dirPath) + TSCORE.dirSeparator + newDirName;
- console.log("Renaming dir: " + dirPath + " to " + newDirPath);
- return new Promise(function(resolve, reject) {
- if (dirPath === newDirPath) {
- reject($.i18n.t("ns.common:directoryTheSame"), $.i18n.t("ns.common:directoryNotMoved"));
- }
- if (fs.existsSync(newDirPath)) {
- reject($.i18n.t("ns.common:directoryExists", {dirName:newDirPath}), $.i18n.t("ns.common:directoryRenameFailed"));
- }
- var dirStatus = fs.lstatSync(dirPath);
- if (dirStatus.isDirectory) {
- fs.rename(dirPath, newDirPath, function(error) {
- if (error) {
- console.error("Renaming directory failed " + error);
- reject("Renaming " + dirPath + " failed.");
- }
- resolve(newDirPath);
- });
- } else {
- reject($.i18n.t("ns.common:pathIsNotDirectory", {dirName:dirPath}), $.i18n.t("ns.common:directoryRenameFailed"));
- }
- });
- }
-
- /**
- * Load the content of a text file
- * @name loadTextFilePromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} filePath - the full path of the file which will be loaded
- * @param {boolean} isPreview - loads only begin of a file (first 10000 bytes) usefull for previewing of the file
- * @returns {Promise.<Success, Error>}
- */
- function loadTextFilePromise(filePath, isPreview) {
- console.log("Loading file: " + filePath);
- return new Promise(function(resolve, reject) {
- if (isPreview) {
- var stream = fs.createReadStream(filePath, {
- start: 0,
- end: 10000
- });
- stream.on('error', function(err) {
- reject(err);
- });
-
- stream.on('data', function(content) {
- //console.log("Stream: " + content);
- resolve(content);
- });
-
- } else {
- fs.readFile(filePath, 'utf8', function(error, content) {
- if (error) {
- reject(error);
- } else {
- resolve(content);
- }
- });
- }
- });
- }
-
- /**
- * Gets the content of file, useful for binary files
- * @name getFileContentPromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} fullPath - the full path of the file which will be loaded
- * @param {string} type - the type of the XHR response, defaul is *arraybuffer*
- * @returns {Promise.<Success, Error>}
- */
- function getFileContentPromise(fullPath, type) {
- return new Promise(function(resolve, reject) {
- var fileURL = fullPath;
- if (fileURL.indexOf("file://") === -1) {
- fileURL = "file://" + fileURL;
- }
- var xhr = new XMLHttpRequest();
- xhr.open("GET", fileURL, true);
- xhr.responseType = type || "arraybuffer";
- xhr.onerror = reject;
-
- xhr.onload = function() {
- var response = xhr.response || xhr.responseText;
- if (response) {
- resolve(response);
- } else {
- reject("getFileContentPromise error");
- }
- };
- xhr.send();
- });
- }
-
- /**
- * Persists a given content(binary supported) to a specified filepath
- * @name saveFilePromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} filePath - the full path of the file which should be saved
- * @param {string} content - content that will be saved
- * @param {boolean} overwrite - if true existing file path will be overwritten
- * @returns {Promise.<Success, Error>}
- */
- function saveFilePromise(filePath, content, overwrite) {
- return new Promise(function(resolve, reject) {
- function saveFile(filePath, content, isNewFile) {
- fs.writeFile(filePath, content, 'utf8', function(error) {
- if (error) {
- reject(error);
- }
- resolve(isNewFile);
- });
- }
-
- getPropertiesPromise(filePath).then(function(entry) {
- overwrite = overwrite || true;
- if (entry && entry.isFile && overwrite) {
- saveFile(filePath, content, false);
- } else {
- saveFile(filePath, content, true);
- }
- }, function(err) {
- saveFile(filePath, content, true);
- });
- });
- }
-
- /**
- * Persists a given text content to a specified filepath
- * @name saveTextFilePromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} filePath - the full path of the file which will be saved
- * @param {string} content - content that will be saved
- * @param {string} overwrite - if true existing file path will be overwritten
- * @returns {Promise.<Success, Error>}
- */
- function saveTextFilePromise(filePath, content, overwrite) {
- console.log("Saving file: " + filePath);
-
- // Handling the UTF8 support for text files
- var UTF8_BOM = "\ufeff";
-
- if (content.indexOf(UTF8_BOM) === 0) {
- console.log("Content beging with a UTF8 bom");
- } else {
- content = UTF8_BOM + content;
- }
-
- return saveFilePromise(filePath, content, overwrite);
- }
-
- /**
- * Persists a given binary content to a specified filepath
- * @name saveBinaryFilePromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} filePath - the full path of the file which will be saved
- * @param {string} content - content that will be saved
- * @param {string} overwrite - if true existing file path will be overwritten
- * @returns {Promise.<Success, Error>}
- */
- function saveBinaryFilePromise(filePath, content, overwrite) {
- console.log("Saving binary file: " + filePath);
- var buff = TSCORE.Utils.arrayBufferToBuffer(content);
- return saveFilePromise(filePath, buff, overwrite);
- }
-
- /**
- * Delete a specified file
- * @name deleteFilePromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} path - the full path of the file which will be deleted
- * @returns {Promise.<Success, Error>}
- */
- function deleteFilePromise(path) {
- //TODO Handling the trash can case
- if (TSCORE.PRO && TSCORE.Config.getUseTrashCan()) {
- return new Promise(function(resolve, reject) {
- trash([path]).then(function() {
- resolve(path);
- }, function(err) {
- reject(err);
- });
- });
- } else {
- return new Promise(function(resolve, reject) {
- fs.unlink(path, function(error) {
- if (error) {
- reject(error);
- } else {
- resolve(path);
- }
- });
- });
- }
- }
-
- /**
- * Delete a specified directory, the directory should be empty, if the trash can functionality is not enabled
- * @name deleteDirectoryPromise
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} path - the full path of the directory which will be deleted
- * @returns {Promise.<Success, Error>}
- */
- function deleteDirectoryPromise(path) {
- if (TSCORE.PRO && TSCORE.Config.getUseTrashCan()) {
- return trash([path]);
- } else {
- return new Promise(function(resolve, reject) {
- fs.rmdir(path, function(error) {
- if (error) {
- reject(error);
- } else {
- resolve(path);
- }
- });
- });
- }
- }
-
- /**
- * Selects a directory with the help of a directory chooser
- * @name selectDirectory
- * @method
- * @memberof IOAPI.NWJS
- */
- function selectDirectory() {
- if (document.getElementById('folderDialogNodeWebkit') === null) {
- $("body").append('<input style="display:none;" id="folderDialogNodeWebkit" type="file" nwdirectory />');
- }
- var chooser = $('#folderDialogNodeWebkit');
- chooser.on("change", function() {
- TSPOSTIO.selectDirectory($(this).val());
- $(this).off("change");
- $(this).val("");
- });
- chooser.trigger('click');
- }
-
- /**
- * Selects a file with the help of a file chooser
- * @name selectFile
- * @method
- * @memberof IOAPI.NWJS
- */
- function selectFile() {
- if (document.getElementById('fileDialog') === null) {
- $("#folderLocation").after('<input style="display:none;" id="fileDialog" type="file" />');
- }
- var chooser = $('#fileDialog');
- chooser.change(function() {
- console.log("File selected: " + $(this).val());
- });
- chooser.trigger('click');
- }
-
- /**
- * Opens a directory in the operating system's default file manager
- * @name openDirectory
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} dirPath - the full path of the directory which will be opened
- */
- function openDirectory(dirPath) {
- // opens directory
- gui.Shell.openItem(dirPath);
- }
-
- /**
- * Opens a file with the operating system's default program for the type of the file
- * @name openFile
- * @method
- * @memberof IOAPI.NWJS
- * @param {string} filePath - the full path of the file which will be opened
- */
- function openFile(filePath) {
- // opens file with the native program
- gui.Shell.openItem(filePath);
- // TODO check if filePath begins with mailto: and use gui.Shell.openExternal(url);
- }
-
- // Platform specific calls
- exports.initMainMenu = initMainMenu;
- exports.showMainWindow = showMainWindow;
-
- // Platform API
- exports.handleStartParameters = handleStartParameters;
- exports.focusWindow = focusWindow;
- exports.checkNewVersion = checkNewVersion;
-
- exports.createDirectoryTree = createDirectoryTree;
-
- exports.listDirectoryPromise = listDirectoryPromise;
-
- exports.getPropertiesPromise = getPropertiesPromise;
-
- exports.loadTextFilePromise = loadTextFilePromise;
- exports.getFileContentPromise = getFileContentPromise;
-
- exports.saveFilePromise = saveFilePromise;
- exports.saveTextFilePromise = saveTextFilePromise;
- exports.saveBinaryFilePromise = saveBinaryFilePromise;
-
- exports.createDirectoryPromise = createDirectoryPromise;
-
- exports.copyFilePromise = copyFilePromise;
- exports.renameFilePromise = renameFilePromise;
- exports.renameDirectoryPromise = renameDirectoryPromise;
-
- exports.deleteFilePromise = deleteFilePromise;
- exports.deleteDirectoryPromise = deleteDirectoryPromise;
-
- exports.selectDirectory = selectDirectory;
- exports.selectFile = selectFile;
-
- exports.openDirectory = openDirectory;
- exports.openFile = openFile;
-});
diff --git a/data/node-webkit/node_modules/fs-extra/.npmignore b/data/node-webkit/node_modules/fs-extra/.npmignore
deleted file mode 100644
index 68eefb7b7..000000000
--- a/data/node-webkit/node_modules/fs-extra/.npmignore
+++ /dev/null
@@ -1,8 +0,0 @@
-.nyc_output/
-coverage/
-test/
-.travis.yml
-appveyor.yml
-lib/**/__tests__/
-test/readme.md
-test.js
diff --git a/data/node-webkit/node_modules/fs-extra/CHANGELOG.md b/data/node-webkit/node_modules/fs-extra/CHANGELOG.md
deleted file mode 100644
index 5c19aa9e0..000000000
--- a/data/node-webkit/node_modules/fs-extra/CHANGELOG.md
+++ /dev/null
@@ -1,261 +0,0 @@
-0.24.0 / 2015-08-28
--------------------
-- removed alias `delete()` and `deleteSync()`. See: https://github.com/jprichardson/node-fs-extra/issues/171
-
-0.23.1 / 2015-08-07
--------------------
-- Better handling of errors for `move()` when moving across devices. https://github.com/jprichardson/node-fs-extra/pull/170
-- `ensureSymlink()` and `ensureLink()` should not throw errors if link exists. https://github.com/jprichardson/node-fs-extra/pull/169
-
-0.23.0 / 2015-08-06
--------------------
-- added `ensureLink{Sync}()` and `ensureSymlink{Sync}()`. See: https://github.com/jprichardson/node-fs-extra/pull/165
-
-0.22.1 / 2015-07-09
--------------------
-- Prevent calling `hasMillisResSync()` on module load. See: https://github.com/jprichardson/node-fs-extra/issues/149.
-Fixes regression that was introduced in `0.21.0`.
-
-0.22.0 / 2015-07-09
--------------------
-- preserve permissions / ownership in `copy()`. See: https://github.com/jprichardson/node-fs-extra/issues/54
-
-0.21.0 / 2015-07-04
--------------------
-- add option to preserve timestamps in `copy()` and `copySync()`. See: https://github.com/jprichardson/node-fs-extra/pull/141
-- updated `[email protected]` to `4.x`. This brings in features from `amazing-graceful-fs` (much cleaner code / less hacks)
-
-0.20.1 / 2015-06-23
--------------------
-- fixed regression caused by latest jsonfile update: See: https://github.com/jprichardson/node-jsonfile/issues/26
-
-0.20.0 / 2015-06-19
--------------------
-- removed `jsonfile` aliases with `File` in the name, they weren't documented and probably weren't in use e.g.
-this package had both `fs.readJsonFile` and `fs.readJson` that were aliases to each other, now use `fs.readJson`.
-- preliminary walker created. Intentionally not documented. If you use it, it will almost certainly change and break your code.
-- started moving tests inline
-- upgraded to `[email protected]`, can now pass JSON revivers/replacers to `readJson()`, `writeJson()`, `outputJson()`
-
-0.19.0 / 2015-06-08
--------------------
-- `fs.copy()` had support for Node v0.8, dropped support
-
-0.18.4 / 2015-05-22
--------------------
-- fixed license field according to this: https://github.com/jprichardson/node-fs-extra/pull/136 and https://github.com/npm/npm/releases/tag/v2.10.0
-
-0.18.3 / 2015-05-08
--------------------
-- bugfix: handle `EEXIST` when clobbering on some Linux systems. https://github.com/jprichardson/node-fs-extra/pull/134
-
-0.18.2 / 2015-04-17
--------------------
-- bugfix: allow `F_OK` (https://github.com/jprichardson/node-fs-extra/issues/120)
-
-0.18.1 / 2015-04-15
--------------------
-- improved windows support for `move()` a bit. https://github.com/jprichardson/node-fs-extra/commit/92838980f25dc2ee4ec46b43ee14d3c4a1d30c1b
-- fixed a lot of tests for Windows (appveyor)
-
-0.18.0 / 2015-03-31
--------------------
-- added `emptyDir()` and `emptyDirSync()`
-
-0.17.0 / 2015-03-28
--------------------
-- `copySync` added `clobber` option (before always would clobber, now if `clobber` is `false` it throws an error if the destination exists).
-**Only works with files at the moment.**
-- `createOutputStream()` added. See: https://github.com/jprichardson/node-fs-extra/pull/118
-
-0.16.5 / 2015-03-08
--------------------
-- fixed `fs.move` when `clobber` is `true` and destination is a directory, it should clobber. https://github.com/jprichardson/node-fs-extra/issues/114
-
-0.16.4 / 2015-03-01
--------------------
-- `fs.mkdirs` fix infinite loop on Windows. See: See https://github.com/substack/node-mkdirp/pull/74 and https://github.com/substack/node-mkdirp/issues/66
-
-0.16.3 / 2015-01-28
--------------------
-- reverted https://github.com/jprichardson/node-fs-extra/commit/1ee77c8a805eba5b99382a2591ff99667847c9c9
-
-
-0.16.2 / 2015-01-28
--------------------
-- fixed `fs.copy` for Node v0.8 (support is temporary and will be removed in the near future)
-
-0.16.1 / 2015-01-28
--------------------
-- if `setImmediate` is not available, fall back to `process.nextTick`
-
-0.16.0 / 2015-01-28
--------------------
-- bugfix `fs.move()` into itself. Closes #104
-- bugfix `fs.move()` moving directory across device. Closes #108
-- added coveralls support
-- bugfix: nasty multiple callback `fs.copy()` bug. Closes #98
-- misc fs.copy code cleanups
-
-0.15.0 / 2015-01-21
--------------------
-- dropped `ncp`, imported code in
-- because of previous, now supports `io.js`
-- `graceful-fs` is now a dependency
-
-0.14.0 / 2015-01-05
--------------------
-- changed `copy`/`copySync` from `fs.copy(src, dest, [filters], callback)` to `fs.copy(src, dest, [options], callback)` https://github.com/jprichardson/node-fs-extra/pull/100
-- removed mockfs tests for mkdirp (this may be temporary, but was getting in the way of other tests)
-
-0.13.0 / 2014-12-10
--------------------
-- removed `touch` and `touchSync` methods (they didn't handle permissions like UNIX touch)
-- updated `"ncp": "^0.6.0"` to `"ncp": "^1.0.1"`
-- imported `mkdirp` => `minimist` and `mkdirp` are no longer dependences, should now appease people who wanted `mkdirp` to be `--use_strict` safe. See [#59](https://github.com/jprichardson/node-fs-extra/issues/59)
-
-0.12.0 / 2014-09-22
--------------------
-- copy symlinks in `copySync()` [#85](https://github.com/jprichardson/node-fs-extra/pull/85)
-
-0.11.1 / 2014-09-02
--------------------
-- bugfix `copySync()` preserve file permissions [#80](https://github.com/jprichardson/node-fs-extra/pull/80)
-
-0.11.0 / 2014-08-11
--------------------
-- upgraded `"ncp": "^0.5.1"` to `"ncp": "^0.6.0"`
-- upgrade `jsonfile": "^1.2.0"` to `jsonfile": "^2.0.0"` => on write, json files now have `\n` at end. Also adds `options.throws` to `readJsonSync()`
-see https://github.com/jprichardson/node-jsonfile#readfilesyncfilename-options for more details.
-
-0.10.0 / 2014-06-29
-------------------
-* bugfix: upgaded `"jsonfile": "~1.1.0"` to `"jsonfile": "^1.2.0"`, bumped minor because of `jsonfile` dep change
-from `~` to `^`. #67
-
-0.9.1 / 2014-05-22
-------------------
-* removed Node.js `0.8.x` support, `0.9.0` was published moments ago and should have been done there
-
-0.9.0 / 2014-05-22
-------------------
-* upgraded `ncp` from `~0.4.2` to `^0.5.1`, #58
-* upgraded `rimraf` from `~2.2.6` to `^2.2.8`
-* upgraded `mkdirp` from `0.3.x` to `^0.5.0`
-* added methods `ensureFile()`, `ensureFileSync()`
-* added methods `ensureDir()`, `ensureDirSync()` #31
-* added `move()` method. From: https://github.com/andrewrk/node-mv
-
-
-0.8.1 / 2013-10-24
-------------------
-* copy failed to return an error to the callback if a file doesn't exist (ulikoehler #38, #39)
-
-0.8.0 / 2013-10-14
-------------------
-* `filter` implemented on `copy()` and `copySync()`. (Srirangan / #36)
-
-0.7.1 / 2013-10-12
-------------------
-* `copySync()` implemented (Srirangan / #33)
-* updated to the latest `jsonfile` version `1.1.0` which gives `options` params for the JSON methods. Closes #32
-
-0.7.0 / 2013-10-07
-------------------
-* update readme conventions
-* `copy()` now works if destination directory does not exist. Closes #29
-
-0.6.4 / 2013-09-05
-------------------
-* changed `homepage` field in package.json to remove NPM warning
-
-0.6.3 / 2013-06-28
-------------------
-* changed JSON spacing default from `4` to `2` to follow Node conventions
-* updated `jsonfile` dep
-* updated `rimraf` dep
-
-0.6.2 / 2013-06-28
-------------------
-* added .npmignore, #25
-
-0.6.1 / 2013-05-14
-------------------
-* modified for `strict` mode, closes #24
-* added `outputJson()/outputJsonSync()`, closes #23
-
-0.6.0 / 2013-03-18
-------------------
-* removed node 0.6 support
-* added node 0.10 support
-* upgraded to latest `ncp` and `rimraf`.
-* optional `graceful-fs` support. Closes #17
-
-
-0.5.0 / 2013-02-03
-------------------
-* Removed `readTextFile`.
-* Renamed `readJSONFile` to `readJSON` and `readJson`, same with write.
-* Restructured documentation a bit. Added roadmap.
-
-0.4.0 / 2013-01-28
-------------------
-* Set default spaces in `jsonfile` from 4 to 2.
-* Updated `testutil` deps for tests.
-* Renamed `touch()` to `createFile()`
-* Added `outputFile()` and `outputFileSync()`
-* Changed creation of testing diretories so the /tmp dir is not littered.
-* Added `readTextFile()` and `readTextFileSync()`.
-
-0.3.2 / 2012-11-01
-------------------
-* Added `touch()` and `touchSync()` methods.
-
-0.3.1 / 2012-10-11
-------------------
-* Fixed some stray globals.
-
-0.3.0 / 2012-10-09
-------------------
-* Removed all CoffeeScript from tests.
-* Renamed `mkdir` to `mkdirs`/`mkdirp`.
-
-0.2.1 / 2012-09-11
-------------------
-* Updated `rimraf` dep.
-
-0.2.0 / 2012-09-10
-------------------
-* Rewrote module into JavaScript. (Must still rewrite tests into JavaScript)
-* Added all methods of [jsonfile][https://github.com/jprichardson/node-jsonfile]
-* Added Travis-CI.
-
-0.1.3 / 2012-08-13
-------------------
-* Added method `readJSONFile`.
-
-0.1.2 / 2012-06-15
-------------------
-* Bug fix: `deleteSync()` didn't exist.
-* Verified Node v0.8 compatibility.
-
-0.1.1 / 2012-06-15
-------------------
-* Fixed bug in `remove()`/`delete()` that wouldn't execute the function if a callback wasn't passed.
-
-0.1.0 / 2012-05-31
-------------------
-* Renamed `copyFile()` to `copy()`. `copy()` can now copy directories (recursively) too.
-* Renamed `rmrf()` to `remove()`.
-* `remove()` aliased with `delete()`.
-* Added `mkdirp` capabilities. Named: `mkdir()`. Hides Node.js native `mkdir()`.
-* Instead of exporting the native `fs` module with new functions, I now copy over the native methods to a new object and export that instead.
-
-0.0.4 / 2012-03-14
-------------------
-* Removed CoffeeScript dependency
-
-0.0.3 / 2012-01-11
-------------------
-* Added methods rmrf and rmrfSync
-* Moved tests from Jasmine to Mocha
diff --git a/data/node-webkit/node_modules/fs-extra/LICENSE b/data/node-webkit/node_modules/fs-extra/LICENSE
deleted file mode 100644
index 91612c654..000000000
--- a/data/node-webkit/node_modules/fs-extra/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2011-2015 JP Richardson
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
-(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
- merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/README.md b/data/node-webkit/node_modules/fs-extra/README.md
deleted file mode 100644
index 2919f9e94..000000000
--- a/data/node-webkit/node_modules/fs-extra/README.md
+++ /dev/null
@@ -1,516 +0,0 @@
-Node.js: fs-extra
-=================
-
-[![build status](https://secure.travis-ci.org/jprichardson/node-fs-extra.svg)](http://travis-ci.org/jprichardson/node-fs-extra)
-[![windows Build status](https://img.shields.io/appveyor/ci/jprichardson/node-fs-extra/master.svg?label=windows%20build)](https://ci.appveyor.com/project/jprichardson/node-fs-extra/branch/master)
-[![downloads per month](http://img.shields.io/npm/dm/fs-extra.svg)](https://www.npmjs.org/package/fs-extra)
-[![Coverage Status](https://img.shields.io/coveralls/jprichardson/node-fs-extra.svg)](https://coveralls.io/r/jprichardson/node-fs-extra)
-
-
-`fs-extra` adds file system methods that aren't included in the native `fs` module. It is a drop in replacement for `fs`.
-
-
-
-Why?
-----
-
-I got tired of including `mkdirp`, `rimraf`, and `cp -r` in most of my projects.
-
-
-
-
-Installation
-------------
-
- npm install --save fs-extra
-
-
-
-Usage
------
-
-`fs-extra` is a drop in replacement for native `fs`. All methods in `fs` are unmodified and attached to `fs-extra`.
-
-You don't ever need to include the original `fs` module again:
-
-```js
-var fs = require('fs') // this is no longer necessary
-```
-
-you can now do this:
-
-```js
-var fs = require('fs-extra')
-```
-
-or if you prefer to make it clear that you're using `fs-extra` and not `fs`, you may want
-to name your `fs` variable `fse` like so:
-
-```js
-var fse = require('fs-extra')
-```
-
-you can also keep both, but it's redundant:
-
-```js
-var fs = require('fs')
-var fse = require('fs-extra')
-```
-
-
-Methods
--------
-- [copy](#copy)
-- [copySync](#copy)
-- [createOutputStream](#createoutputstreamfile-options)
-- [emptyDir](#emptydirdir-callback)
-- [emptyDirSync](#emptydirdir-callback)
-- [ensureFile](#ensurefilefile-callback)
-- [ensureFileSync](#ensurefilefile-callback)
-- [ensureDir](#ensuredirdir-callback)
-- [ensureDirSync](#ensuredirdir-callback)
-- [ensureLink](#ensurelinksrcpath-dstpath-callback)
-- [ensureLinkSync](#ensurelinksrcpath-dstpath-callback)
-- [ensureSymlink](#ensuresymlinksrcpath-dstpath-type-callback)
-- [ensureSymlinkSync](#ensuresymlinksrcpath-dstpath-type-callback)
-- [mkdirs](#mkdirsdir-callback)
-- [mkdirsSync](#mkdirsdir-callback)
-- [move](#movesrc-dest-options-callback)
-- [outputFile](#outputfilefile-data-callback)
-- [outputFileSync](#outputfilefile-data-callback)
-- [outputJson](#outputjsonfile-data-callback)
-- [outputJsonSync](#outputjsonfile-data-callback)
-- [readJson](#readjsonfile-options-callback)
-- [readJsonSync](#readjsonfile-options-callback)
-- [remove](#removedir-callback)
-- [removeSync](#removedir-callback)
-- [writeJson](#writejsonfile-object-options-callback)
-- [writeJsonSync](#writejsonfile-object-options-callback)
-
-
-**NOTE:** You can still use the native Node.js methods. They are copied over to `fs-extra`.
-
-
-### copy()
-
-**copy(src, dest, [options], callback)**
-
-
-Copy a file or directory. The directory can have contents. Like `cp -r`.
-
-Options:
-clobber (boolean): overwrite existing file or directory
-preserveTimestamps (boolean): will set last modification and access times to the ones of the original source files, default is `false`.
-
-Sync: `copySync()`
-
-
-Examples:
-
-```js
-var fs = require('fs-extra')
-
-fs.copy('/tmp/myfile', '/tmp/mynewfile', function (err) {
- if (err) return console.error(err)
- console.log("success!")
-}) // copies file
-
-fs.copy('/tmp/mydir', '/tmp/mynewdir', function (err) {
- if (err) return console.error(err)
- console.log('success!')
-}) // copies directory, even if it has subdirectories or files
-```
-
-
-### createOutputStream(file, [options])
-
-Exactly like `createWriteStream`, but if the directory does not exist, it's created.
-
-Examples:
-
-```js
-var fs = require('fs-extra')
-
-// if /tmp/some does not exist, it is created
-var ws = fs.createOutputStream('/tmp/some/file.txt')
-ws.write('hello\n')
-```
-
-Note on naming: you'll notice that fs-extra has some methods like `fs.outputJson`, `fs.outputFile`, etc that use the
-word `output` to denote that if the containing directory does not exist, it should be created. If you can think of a
-better succinct nomenclature for these methods, please open an issue for discussion. Thanks.
-
-
-### emptyDir(dir, [callback])
-
-Ensures that a directory is empty. If the directory does not exist, it is created. The directory itself is not deleted.
-
-Alias: `emptydir()`
-
-Sync: `emptyDirSync()`, `emptydirSync()`
-
-Example:
-
-```js
-var fs = require('fs-extra')
-
-// assume this directory has a lot of files and folders
-fs.emptyDir('/tmp/some/dir', function (err) {
- if (!err) console.log('success!')
-})
-```
-
-
-### ensureFile(file, callback)
-
-Ensures that the file exists. If the file that is requested to be created is in directories that do not exist, these directories are created. If the file already exists, it is **NOT MODIFIED**.
-
-Alias: `createFile()`
-
-Sync: `createFileSync()`,`ensureFileSync()`
-
-
-Example:
-
-```js
-var fs = require('fs-extra')
-
-var file = '/tmp/this/path/does/not/exist/file.txt'
-fs.ensureFile(file, function (err) {
- console.log(err) // => null
- // file has now been created, including the directory it is to be placed in
-})
-```
-
-
-### ensureDir(dir, callback)
-
-Ensures that the directory exists. If the directory structure does not exist, it is created.
-
-Sync: `ensureDirSync()`
-
-
-Example:
-
-```js
-var fs = require('fs-extra')
-
-var dir = '/tmp/this/path/does/not/exist'
-fs.ensureDir(dir, function (err) {
- console.log(err) // => null
- // dir has now been created, including the directory it is to be placed in
-})
-```
-
-
-### ensureLink(srcpath, dstpath, callback)
-
-Ensures that the link exists. If the directory structure does not exist, it is created.
-
-Sync: `ensureLinkSync()`
-
-
-Example:
-
-```js
-var fs = require('fs-extra')
-
-var srcpath = '/tmp/file.txt'
-var dstpath = '/tmp/this/path/does/not/exist/file.txt'
-fs.ensureLink(srcpath, dstpath, function (err) {
- console.log(err) // => null
- // link has now been created, including the directory it is to be placed in
-})
-```
-
-
-### ensureSymlink(srcpath, dstpath, [type], callback)
-
-Ensures that the symlink exists. If the directory structure does not exist, it is created.
-
-Sync: `ensureSymlinkSync()`
-
-
-Example:
-
-```js
-var fs = require('fs-extra')
-
-var srcpath = '/tmp/file.txt'
-var dstpath = '/tmp/this/path/does/not/exist/file.txt'
-fs.ensureSymlink(srcpath, dstpath, function (err) {
- console.log(err) // => null
- // symlink has now been created, including the directory it is to be placed in
-})
-```
-
-
-### mkdirs(dir, callback)
-
-Creates a directory. If the parent hierarchy doesn't exist, it's created. Like `mkdir -p`.
-
-Alias: `mkdirp()`
-
-Sync: `mkdirsSync()` / `mkdirpSync()`
-
-
-Examples:
-
-```js
-var fs = require('fs-extra')
-
-fs.mkdirs('/tmp/some/long/path/that/prob/doesnt/exist', function (err) {
- if (err) return console.error(err)
- console.log("success!")
-})
-
-fs.mkdirsSync('/tmp/another/path')
-```
-
-
-### move(src, dest, [options], callback)
-
-Moves a file or directory, even across devices.
-
-Options:
-clobber (boolean): overwrite existing file or directory
-limit (number): number of concurrent moves, see ncp for more information
-
-Example:
-
-```js
-var fs = require('fs-extra')
-
-fs.move('/tmp/somefile', '/tmp/does/not/exist/yet/somefile', function (err) {
- if (err) return console.error(err)
- console.log("success!")
-})
-```
-
-
-### outputFile(file, data, callback)
-
-Almost the same as `writeFile` (i.e. it [overwrites](http://pages.citebite.com/v2o5n8l2f5reb)), except that if the parent directory does not exist, it's created.
-
-Sync: `outputFileSync()`
-
-
-Example:
-
-```js
-var fs = require('fs-extra')
-var file = '/tmp/this/path/does/not/exist/file.txt'
-
-fs.outputFile(file, 'hello!', function (err) {
- console.log(err) // => null
-
- fs.readFile(file, 'utf8', function (err, data) {
- console.log(data) // => hello!
- })
-})
-```
-
-
-
-### outputJson(file, data, [options], callback)
-
-Almost the same as `writeJson`, except that if the directory does not exist, it's created.
-`options` are what you'd pass to [`jsonFile.writeFile()`](https://github.com/jprichardson/node-jsonfile#writefilefilename-options-callback).
-
-Alias: `outputJSON()`
-
-Sync: `outputJsonSync()`, `outputJSONSync()`
-
-
-Example:
-
-```js
-var fs = require('fs-extra')
-var file = '/tmp/this/path/does/not/exist/file.txt'
-
-fs.outputJson(file, {name: 'JP'}, function (err) {
- console.log(err) // => null
-
- fs.readJson(file, function(err, data) {
- console.log(data.name) // => JP
- })
-})
-```
-
-
-
-### readJson(file, [options], callback)
-
-Reads a JSON file and then parses it into an object. `options` are the same
-that you'd pass to [`jsonFile.readFile`](https://github.com/jprichardson/node-jsonfile#readfilefilename-options-callback).
-
-Alias: `readJSON()`
-
-Sync: `readJsonSync()`, `readJSONSync()`
-
-
-Example:
-
-```js
-var fs = require('fs-extra')
-
-fs.readJson('./package.json', function (err, packageObj) {
- console.log(packageObj.version) // => 0.1.3
-})
-```
-
-`readJsonSync()` can take a `throws` option set to `false` and it won't throw if the JSON is invalid. Example:
-
-```js
-var fs = require('fs-extra')
-var file = path.join('/tmp/some-invalid.json')
-var data = '{not valid JSON'
-fs.writeFileSync(file, data)
-
-var obj = fs.readJsonSync(file, {throws: false})
-console.log(obj) // => null
-```
-
-
-### remove(dir, callback)
-
-Removes a file or directory. The directory can have contents. Like `rm -rf`.
-
-Sync: `removeSync()`
-
-
-Examples:
-
-```js
-var fs = require('fs-extra')
-
-fs.remove('/tmp/myfile', function (err) {
- if (err) return console.error(err)
-
- console.log('success!')
-})
-
-fs.removeSync('/home/jprichardson') //I just deleted my entire HOME directory.
-```
-
-
-
-### writeJson(file, object, [options], callback)
-
-Writes an object to a JSON file. `options` are the same that
-you'd pass to [`jsonFile.writeFile()`](https://github.com/jprichardson/node-jsonfile#writefilefilename-options-callback).
-
-Alias: `writeJSON()`
-
-Sync: `writeJsonSync()`, `writeJSONSync()`
-
-Example:
-
-```js
-var fs = require('fs-extra')
-fs.writeJson('./package.json', {name: 'fs-extra'}, function (err) {
- console.log(err)
-})
-```
-
-
-Third Party
------------
-
-### Promises
-
-Use [Bluebird](https://github.com/petkaantonov/bluebird). See https://github.com/petkaantonov/bluebird/blob/master/API.md#promisification. `fs-extra` is
-explicitly listed as supported.
-
-```js
-var Promise = require('bluebird')
-var fs = Promise.promisifyAll(require('fs-extra'))
-```
-
-Or you can use the package [`fs-extra-promise`](https://github.com/overlookmotel/fs-extra-promise) that marries the two together.
-
-
-### TypeScript
-
-If you like TypeScript, you can use `fs-extra` with it: https://github.com/borisyankov/DefinitelyTyped/tree/master/fs-extra
-
-
-### File / Directory Watching
-
-If you want to watch for changes to files or directories, then you should use [chokidar](https://github.com/paulmillr/chokidar).
-
-
-### Misc.
-
-- [mfs](https://github.com/cadorn/mfs) - Monitor your fs-extra calls.
-
-
-
-Hacking on fs-extra
--------------------
-
-Wanna hack on `fs-extra`? Great! Your help is needed! [fs-extra is one of the most depended upon Node.js packages](http://nodei.co/npm/fs-extra.png?downloads=true&downloadRank=true&stars=true). This project
-uses [JavaScript Standard Style](https://github.com/feross/standard) - if the name or style choices bother you,
-you're gonna have to get over it :) If `standard` is good enough for `npm`, it's good enough for `fs-extra`.
-
-[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
-
-What's needed?
-- First, take a look at existing issues. Those are probably going to be where the priority lies.
-- More tests for edge cases. Specifically on different platforms. There can never be enough tests.
-- Really really help with the Windows tests. See appveyor outputs for more info.
-- Improve test coverage. See coveralls output for more info.
-- A directory walker. Probably this one: https://github.com/thlorenz/readdirp imported into `fs-extra`.
-- After the directory walker is integrated, any function that needs to traverse directories like
-`copy`, `remove`, or `mkdirs` should be built on top of it.
-- After the aforementioned functions are built on the directory walker, `fs-extra` should then explicitly
-support wildcards.
-
-Note: If you make any big changes, **you should definitely post an issue for discussion first.**
-
-
-Naming
-------
-
-I put a lot of thought into the naming of these functions. Inspired by @coolaj86's request. So he deserves much of the credit for raising the issue. See discussion(s) here:
-
-* https://github.com/jprichardson/node-fs-extra/issues/2
-* https://github.com/flatiron/utile/issues/11
-* https://github.com/ryanmcgrath/wrench-js/issues/29
-* https://github.com/substack/node-mkdirp/issues/17
-
-First, I believe that in as many cases as possible, the [Node.js naming schemes](http://nodejs.org/api/fs.html) should be chosen. However, there are problems with the Node.js own naming schemes.
-
-For example, `fs.readFile()` and `fs.readdir()`: the **F** is capitalized in *File* and the **d** is not capitalized in *dir*. Perhaps a bit pedantic, but they should still be consistent. Also, Node.js has chosen a lot of POSIX naming schemes, which I believe is great. See: `fs.mkdir()`, `fs.rmdir()`, `fs.chown()`, etc.
-
-We have a dilemma though. How do you consistently name methods that perform the following POSIX commands: `cp`, `cp -r`, `mkdir -p`, and `rm -rf`?
-
-My perspective: when in doubt, err on the side of simplicity. A directory is just a hierarchical grouping of directories and files. Consider that for a moment. So when you want to copy it or remove it, in most cases you'll want to copy or remove all of its contents. When you want to create a directory, if the directory that it's suppose to be contained in does not exist, then in most cases you'll want to create that too.
-
-So, if you want to remove a file or a directory regardless of whether it has contents, just call `fs.remove(path)`. If you want to copy a file or a directory whether it has contents, just call `fs.copy(source, destination)`. If you want to create a directory regardless of whether its parent directories exist, just call `fs.mkdirs(path)` or `fs.mkdirp(path)`.
-
-
-Credit
-------
-
-`fs-extra` wouldn't be possible without using the modules from the following authors:
-
-- [Isaac Shlueter](https://github.com/isaacs)
-- [Charlie McConnel](https://github.com/avianflu)
-- [James Halliday](https://github.com/substack)
-- [Andrew Kelley](https://github.com/andrewrk)
-
-
-
-
-License
--------
-
-Licensed under MIT
-
-Copyright (c) 2011-2015 [JP Richardson](https://github.com/jprichardson)
-
-[1]: http://nodejs.org/docs/latest/api/fs.html
-
-
-[jsonfile]: https://github.com/jprichardson/node-jsonfile
diff --git a/data/node-webkit/node_modules/fs-extra/lib/copy-sync/copy-file-sync.js b/data/node-webkit/node_modules/fs-extra/lib/copy-sync/copy-file-sync.js
deleted file mode 100644
index 2dc31ef3b..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/copy-sync/copy-file-sync.js
+++ /dev/null
@@ -1,34 +0,0 @@
-var fs = require('graceful-fs')
-
-var BUF_LENGTH = 64 * 1024
-var _buff = new Buffer(BUF_LENGTH)
-
-function copyFileSync (srcFile, destFile, options) {
- var clobber = options.clobber
- var preserveTimestamps = options.preserveTimestamps
-
- if (fs.existsSync(destFile) && !clobber) {
- throw Error('EEXIST')
- }
-
- var fdr = fs.openSync(srcFile, 'r')
- var stat = fs.fstatSync(fdr)
- var fdw = fs.openSync(destFile, 'w', stat.mode)
- var bytesRead = 1
- var pos = 0
-
- while (bytesRead > 0) {
- bytesRead = fs.readSync(fdr, _buff, 0, BUF_LENGTH, pos)
- fs.writeSync(fdw, _buff, 0, bytesRead)
- pos += bytesRead
- }
-
- if (preserveTimestamps) {
- fs.futimesSync(fdw, stat.atime, stat.mtime)
- }
-
- fs.closeSync(fdr)
- fs.closeSync(fdw)
-}
-
-module.exports = copyFileSync
diff --git a/data/node-webkit/node_modules/fs-extra/lib/copy-sync/copy-sync.js b/data/node-webkit/node_modules/fs-extra/lib/copy-sync/copy-sync.js
deleted file mode 100644
index a68694434..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/copy-sync/copy-sync.js
+++ /dev/null
@@ -1,47 +0,0 @@
-var fs = require('graceful-fs')
-var path = require('path')
-var copyFileSync = require('./copy-file-sync')
-var mkdir = require('../mkdirs')
-
-function copySync (src, dest, options) {
- if (typeof options === 'function' || options instanceof RegExp) {
- options = {filter: options}
- }
-
- options = options || {}
- options.recursive = !!options.recursive
-
- // default to true for now
- options.clobber = 'clobber' in options ? !!options.clobber : true
- options.preserveTimestamps = 'preserveTimestamps' in options ? !!options.preserveTimestamps : true
-
- options.filter = options.filter || function () { return true }
-
- var stats = options.recursive ? fs.lstatSync(src) : fs.statSync(src)
- var destFolder = path.dirname(dest)
- var destFolderExists = fs.existsSync(destFolder)
- var performCopy = false
-
- if (stats.isFile()) {
- if (options.filter instanceof RegExp) performCopy = options.filter.test(src)
- else if (typeof options.filter === 'function') performCopy = options.filter(src)
-
- if (performCopy) {
- if (!destFolderExists) mkdir.mkdirsSync(destFolder)
- copyFileSync(src, dest, {clobber: options.clobber, preserveTimestamps: options.preserveTimestamps})
- }
- } else if (stats.isDirectory()) {
- if (!fs.existsSync(dest)) mkdir.mkdirsSync(dest)
- var contents = fs.readdirSync(src)
- contents.forEach(function (content) {
- var opts = options
- opts.recursive = true
- copySync(path.join(src, content), path.join(dest, content), opts)
- })
- } else if (options.recursive && stats.isSymbolicLink()) {
- var srcPath = fs.readlinkSync(src)
- fs.symlinkSync(srcPath, dest)
- }
-}
-
-module.exports = copySync
diff --git a/data/node-webkit/node_modules/fs-extra/lib/copy-sync/index.js b/data/node-webkit/node_modules/fs-extra/lib/copy-sync/index.js
deleted file mode 100644
index ebc7e0b91..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/copy-sync/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = {
- copySync: require('./copy-sync')
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/copy/copy.js b/data/node-webkit/node_modules/fs-extra/lib/copy/copy.js
deleted file mode 100644
index 437aedf9e..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/copy/copy.js
+++ /dev/null
@@ -1,37 +0,0 @@
-var fs = require('graceful-fs')
-var path = require('path')
-var ncp = require('./ncp')
-var mkdir = require('../mkdirs')
-
-function copy (src, dest, options, callback) {
- if (typeof options === 'function' && !callback) {
- callback = options
- options = {}
- } else if (typeof options === 'function' || options instanceof RegExp) {
- options = {filter: options}
- }
- callback = callback || function () {}
-
- fs.lstat(src, function (err, stats) {
- if (err) return callback(err)
-
- var dir = null
- if (stats.isDirectory()) {
- var parts = dest.split(path.sep)
- parts.pop()
- dir = parts.join(path.sep)
- } else {
- dir = path.dirname(dest)
- }
-
- fs.exists(dir, function (dirExists) {
- if (dirExists) return ncp(src, dest, options, callback)
- mkdir.mkdirs(dir, function (err) {
- if (err) return callback(err)
- ncp(src, dest, options, callback)
- })
- })
- })
-}
-
-module.exports = copy
diff --git a/data/node-webkit/node_modules/fs-extra/lib/copy/index.js b/data/node-webkit/node_modules/fs-extra/lib/copy/index.js
deleted file mode 100644
index 3e0901616..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/copy/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = {
- copy: require('./copy')
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/copy/ncp.js b/data/node-webkit/node_modules/fs-extra/lib/copy/ncp.js
deleted file mode 100644
index 308869908..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/copy/ncp.js
+++ /dev/null
@@ -1,243 +0,0 @@
-// imported from ncp (this is temporary, will rewrite)
-
-var fs = require('graceful-fs')
-var path = require('path')
-var utimes = require('../util/utimes')
-
-function ncp (source, dest, options, callback) {
- if (!callback) {
- callback = options
- options = {}
- }
-
- var basePath = process.cwd()
- var currentPath = path.resolve(basePath, source)
- var targetPath = path.resolve(basePath, dest)
-
- var filter = options.filter
- var transform = options.transform
- var clobber = options.clobber !== false
- var dereference = options.dereference
- var preserveTimestamps = options.preserveTimestamps === true
-
- var errs = null
-
- var started = 0
- var finished = 0
- var running = 0
- // this is pretty useless now that we're using graceful-fs
- // consider removing
- var limit = options.limit || 512
-
- startCopy(currentPath)
-
- function startCopy (source) {
- started++
- if (filter) {
- if (filter instanceof RegExp) {
- if (!filter.test(source)) {
- return doneOne(true)
- }
- } else if (typeof filter === 'function') {
- if (!filter(source)) {
- return doneOne(true)
- }
- }
- }
- return getStats(source)
- }
-
- function getStats (source) {
- var stat = dereference ? fs.stat : fs.lstat
- if (running >= limit) {
- return setImmediate(function () {
- getStats(source)
- })
- }
- running++
- stat(source, function (err, stats) {
- if (err) return onError(err)
-
- // We need to get the mode from the stats object and preserve it.
- var item = {
- name: source,
- mode: stats.mode,
- mtime: stats.mtime, // modified time
- atime: stats.atime, // access time
- stats: stats // temporary
- }
-
- if (stats.isDirectory()) {
- return onDir(item)
- } else if (stats.isFile()) {
- return onFile(item)
- } else if (stats.isSymbolicLink()) {
- // Symlinks don't really need to know about the mode.
- return onLink(source)
- }
- })
- }
-
- function onFile (file) {
- var target = file.name.replace(currentPath, targetPath)
- isWritable(target, function (writable) {
- if (writable) {
- copyFile(file, target)
- } else {
- if (clobber) {
- rmFile(target, function () {
- copyFile(file, target)
- })
- } else {
- doneOne()
- }
- }
- })
- }
-
- function copyFile (file, target) {
- var readStream = fs.createReadStream(file.name)
- var writeStream = fs.createWriteStream(target, { mode: file.mode })
-
- readStream.on('error', onError)
- writeStream.on('error', onError)
-
- if (transform) {
- transform(readStream, writeStream, file)
- } else {
- writeStream.on('open', function () {
- readStream.pipe(writeStream)
- })
- }
-
- writeStream.once('finish', function () {
- fs.chmod(target, file.mode, function (err) {
- if (err) return onError(err)
- if (preserveTimestamps) {
- utimes.utimesMillis(target, file.atime, file.mtime, function (err) {
- if (err) return onError(err)
- return doneOne()
- })
- } else {
- doneOne()
- }
- })
- })
- }
-
- function rmFile (file, done) {
- fs.unlink(file, function (err) {
- if (err) return onError(err)
- return done()
- })
- }
-
- function onDir (dir) {
- var target = dir.name.replace(currentPath, targetPath)
- isWritable(target, function (writable) {
- if (writable) {
- return mkDir(dir, target)
- }
- copyDir(dir.name)
- })
- }
-
- function mkDir (dir, target) {
- fs.mkdir(target, dir.mode, function (err) {
- if (err) return onError(err)
- // despite setting mode in fs.mkdir, doesn't seem to work
- // so we set it here.
- fs.chmod(target, dir.mode, function (err) {
- if (err) return onError(err)
- copyDir(dir.name)
- })
- })
- }
-
- function copyDir (dir) {
- fs.readdir(dir, function (err, items) {
- if (err) return onError(err)
- items.forEach(function (item) {
- startCopy(path.join(dir, item))
- })
- return doneOne()
- })
- }
-
- function onLink (link) {
- var target = link.replace(currentPath, targetPath)
- fs.readlink(link, function (err, resolvedPath) {
- if (err) return onError(err)
- checkLink(resolvedPath, target)
- })
- }
-
- function checkLink (resolvedPath, target) {
- if (dereference) {
- resolvedPath = path.resolve(basePath, resolvedPath)
- }
- isWritable(target, function (writable) {
- if (writable) {
- return makeLink(resolvedPath, target)
- }
- fs.readlink(target, function (err, targetDest) {
- if (err) return onError(err)
-
- if (dereference) {
- targetDest = path.resolve(basePath, targetDest)
- }
- if (targetDest === resolvedPath) {
- return doneOne()
- }
- return rmFile(target, function () {
- makeLink(resolvedPath, target)
- })
- })
- })
- }
-
- function makeLink (linkPath, target) {
- fs.symlink(linkPath, target, function (err) {
- if (err) return onError(err)
- return doneOne()
- })
- }
-
- function isWritable (path, done) {
- fs.lstat(path, function (err) {
- if (err) {
- if (err.code === 'ENOENT') return done(true)
- return done(false)
- }
- return done(false)
- })
- }
-
- function onError (err) {
- if (options.stopOnError) {
- return callback(err)
- } else if (!errs && options.errs) {
- errs = fs.createWriteStream(options.errs)
- } else if (!errs) {
- errs = []
- }
- if (typeof errs.write === 'undefined') {
- errs.push(err)
- } else {
- errs.write(err.stack + '\n\n')
- }
- return doneOne()
- }
-
- function doneOne (skipped) {
- if (!skipped) running--
- finished++
- if ((started === finished) && (running === 0)) {
- if (callback !== undefined) {
- return errs ? callback(errs) : callback(null)
- }
- }
- }
-}
-
-module.exports = ncp
diff --git a/data/node-webkit/node_modules/fs-extra/lib/empty/index.js b/data/node-webkit/node_modules/fs-extra/lib/empty/index.js
deleted file mode 100644
index 23172bdca..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/empty/index.js
+++ /dev/null
@@ -1,46 +0,0 @@
-var fs = require('fs')
-var path = require('path')
-var mkdir = require('../mkdirs')
-var remove = require('../remove')
-
-function emptyDir (dir, callback) {
- fs.readdir(dir, function (err, items) {
- if (err) return mkdir.mkdirs(dir, callback)
-
- items = items.map(function (item) {
- return path.join(dir, item)
- })
-
- deleteItem()
-
- function deleteItem () {
- var item = items.pop()
- if (!item) return callback()
- remove.remove(item, function (err) {
- if (err) return callback(err)
- deleteItem()
- })
- }
- })
-}
-
-function emptyDirSync (dir) {
- var items
- try {
- items = fs.readdirSync(dir)
- } catch (err) {
- return mkdir.mkdirsSync(dir)
- }
-
- items.forEach(function (item) {
- item = path.join(dir, item)
- remove.removeSync(item)
- })
-}
-
-module.exports = {
- emptyDirSync: emptyDirSync,
- emptydirSync: emptyDirSync,
- emptyDir: emptyDir,
- emptydir: emptyDir
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/ensure/file.js b/data/node-webkit/node_modules/fs-extra/lib/ensure/file.js
deleted file mode 100644
index 1c9c2de04..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/ensure/file.js
+++ /dev/null
@@ -1,43 +0,0 @@
-var path = require('path')
-var fs = require('graceful-fs')
-var mkdir = require('../mkdirs')
-
-function createFile (file, callback) {
- function makeFile () {
- fs.writeFile(file, '', function (err) {
- if (err) return callback(err)
- callback()
- })
- }
-
- fs.exists(file, function (fileExists) {
- if (fileExists) return callback()
- var dir = path.dirname(file)
- fs.exists(dir, function (dirExists) {
- if (dirExists) return makeFile()
- mkdir.mkdirs(dir, function (err) {
- if (err) return callback(err)
- makeFile()
- })
- })
- })
-}
-
-function createFileSync (file) {
- if (fs.existsSync(file)) return
-
- var dir = path.dirname(file)
- if (!fs.existsSync(dir)) {
- mkdir.mkdirsSync(dir)
- }
-
- fs.writeFileSync(file, '')
-}
-
-module.exports = {
- createFile: createFile,
- createFileSync: createFileSync,
- // alias
- ensureFile: createFile,
- ensureFileSync: createFileSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/ensure/index.js b/data/node-webkit/node_modules/fs-extra/lib/ensure/index.js
deleted file mode 100644
index 26e8705a2..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/ensure/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-var file = require('./file')
-var link = require('./link')
-var symlink = require('./symlink')
-
-module.exports = {
- // file
- createFile: file.createFile,
- createFileSync: file.createFileSync,
- ensureFile: file.createFile,
- ensureFileSync: file.createFileSync,
- // link
- createLink: link.createLink,
- createLinkSync: link.createLinkSync,
- ensureLink: link.createLink,
- ensureLinkSync: link.createLinkSync,
- // symlink
- createSymlink: symlink.createSymlink,
- createSymlinkSync: symlink.createSymlinkSync,
- ensureSymlink: symlink.createSymlink,
- ensureSymlinkSync: symlink.createSymlinkSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/ensure/link.js b/data/node-webkit/node_modules/fs-extra/lib/ensure/link.js
deleted file mode 100644
index c5fe85da4..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/ensure/link.js
+++ /dev/null
@@ -1,58 +0,0 @@
-var path = require('path')
-var fs = require('graceful-fs')
-var mkdir = require('../mkdirs')
-
-function createLink (srcpath, dstpath, callback) {
- function makeLink (srcpath, dstpath) {
- fs.link(srcpath, dstpath, function (err) {
- if (err) return callback(err)
- callback(null)
- })
- }
-
- fs.exists(dstpath, function (destinationExists) {
- if (destinationExists) return callback(null)
- fs.lstat(srcpath, function (err, stat) {
- if (err) {
- err.message = err.message.replace('lstat', 'ensureLink')
- return callback(err)
- }
- var dir = path.dirname(dstpath)
- fs.exists(dir, function (dirExists) {
- if (dirExists) return makeLink(srcpath, dstpath)
- mkdir.mkdirs(dir, function (err) {
- if (err) return callback(err)
- makeLink(srcpath, dstpath)
- })
- })
- })
- })
-}
-
-function createLinkSync (srcpath, dstpath, callback) {
-
- var destinationExists = fs.existsSync(dstpath)
- if (destinationExists) return undefined
-
- try {
- fs.lstatSync(srcpath)
- } catch (err) {
- err.message = err.message.replace('lstat', 'ensureLink')
- throw err
- }
-
- var dir = path.dirname(dstpath)
- var dirExists = fs.existsSync(dir)
- if (dirExists) return fs.linkSync(srcpath, dstpath)
- mkdir.mkdirsSync(dir)
-
- return fs.linkSync(srcpath, dstpath)
-}
-
-module.exports = {
- createLink: createLink,
- createLinkSync: createLinkSync,
- // alias
- ensureLink: createLink,
- ensureLinkSync: createLinkSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink-paths.js b/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink-paths.js
deleted file mode 100644
index cc27d040c..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink-paths.js
+++ /dev/null
@@ -1,97 +0,0 @@
-var path = require('path')
-// path.isAbsolute shim for Node.js 0.10 support
-path.isAbsolute = (path.isAbsolute) ? path.isAbsolute : require('path-is-absolute')
-var fs = require('graceful-fs')
-
-/**
- * Function that returns two types of paths, one relative to symlink, and one
- * relative to the current working directory. Checks if path is absolute or
- * relative. If the path is relative, this function checks if the path is
- * relative to symlink or relative to current working directory. This is an
- * initiative to find a smarter `srcpath` to supply when building symlinks.
- * This allows you to determine which path to use out of one of three possible
- * types of source paths. The first is an absolute path. This is detected by
- * `path.isAbsolute()`. When an absolute path is provided, it is checked to
- * see if it exists. If it does it's used, if not an error is returned
- * (callback)/ thrown (sync). The other two options for `srcpath` are a
- * relative url. By default Node's `fs.symlink` works by creating a symlink
- * using `dstpath` and expects the `srcpath` to be relative to the newly
- * created symlink. If you provide a `srcpath` that does not exist on the file
- * system it results in a broken symlink. To minimize this, the function
- * checks to see if the 'relative to symlink' source file exists, and if it
- * does it will use it. If it does not, it checks if there's a file that
- * exists that is relative to the current working directory, if does its used.
- * This preserves the expectations of the original fs.symlink spec and adds
- * the ability to pass in `relative to current working direcotry` paths.
- */
-
-function symlinkPaths (srcpath, dstpath, callback) {
- if (path.isAbsolute(srcpath)) {
- return fs.lstat(srcpath, function (err, stat) {
- if (err) {
- err.message = err.message.replace('lstat', 'ensureSymlink')
- return callback(err)
- }
- return callback(null, {
- 'toCwd': srcpath,
- 'toDst': srcpath
- })
- })
- } else {
- var dstdir = path.dirname(dstpath)
- var relativeToDst = path.join(dstdir, srcpath)
- return fs.exists(relativeToDst, function (exists) {
- if (exists) {
- return callback(null, {
- 'toCwd': relativeToDst,
- 'toDst': srcpath
- })
- } else {
- return fs.lstat(srcpath, function (err, stat) {
- if (err) {
- err.message = err.message.replace('lstat', 'ensureSymlink')
- return callback(err)
- }
- return callback(null, {
- 'toCwd': srcpath,
- 'toDst': path.relative(dstdir, srcpath)
- })
- })
- }
- })
- }
-}
-
-function symlinkPathsSync (srcpath, dstpath) {
- var exists
- if (path.isAbsolute(srcpath)) {
- exists = fs.existsSync(srcpath)
- if (!exists) throw new Error('absolute srcpath does not exist')
- return {
- 'toCwd': srcpath,
- 'toDst': srcpath
- }
- } else {
- var dstdir = path.dirname(dstpath)
- var relativeToDst = path.join(dstdir, srcpath)
- exists = fs.existsSync(relativeToDst)
- if (exists) {
- return {
- 'toCwd': relativeToDst,
- 'toDst': srcpath
- }
- } else {
- exists = fs.existsSync(srcpath)
- if (!exists) throw new Error('relative srcpath does not exist')
- return {
- 'toCwd': srcpath,
- 'toDst': path.relative(dstdir, srcpath)
- }
- }
- }
-}
-
-module.exports = {
- 'symlinkPaths': symlinkPaths,
- 'symlinkPathsSync': symlinkPathsSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink-type.js b/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink-type.js
deleted file mode 100644
index 8bca23dd1..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink-type.js
+++ /dev/null
@@ -1,27 +0,0 @@
-var fs = require('graceful-fs')
-
-function symlinkType (srcpath, type, callback) {
- callback = (typeof type === 'function') ? type : callback
- type = (typeof type === 'function') ? false : type
- if (type) return callback(null, type)
- fs.lstat(srcpath, function (err, stats) {
- if (err) return callback(null, 'file')
- type = (stats && stats.isDirectory()) ? 'dir' : 'file'
- callback(null, type)
- })
-}
-
-function symlinkTypeSync (srcpath, type) {
- if (type) return type
- try {
- var stats = fs.lstatSync(srcpath)
- } catch(e) {
- return 'file'
- }
- return (stats && stats.isDirectory()) ? 'dir' : 'file'
-}
-
-module.exports = {
- symlinkType: symlinkType,
- symlinkTypeSync: symlinkTypeSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink.js b/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink.js
deleted file mode 100644
index 62447906e..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/ensure/symlink.js
+++ /dev/null
@@ -1,62 +0,0 @@
-var path = require('path')
-var fs = require('graceful-fs')
-var _mkdirs = require('../mkdirs')
-var mkdirs = _mkdirs.mkdirs
-var mkdirsSync = _mkdirs.mkdirsSync
-
-var _symlinkPaths = require('./symlink-paths')
-var symlinkPaths = _symlinkPaths.symlinkPaths
-var symlinkPathsSync = _symlinkPaths.symlinkPathsSync
-
-var _symlinkType = require('./symlink-type')
-var symlinkType = _symlinkType.symlinkType
-var symlinkTypeSync = _symlinkType.symlinkTypeSync
-
-function createSymlink (srcpath, dstpath, type, callback) {
- callback = (typeof type === 'function') ? type : callback
- type = (typeof type === 'function') ? false : type
-
- fs.exists(dstpath, function (destinationExists) {
- if (destinationExists) return callback(null)
- symlinkPaths(srcpath, dstpath, function (err, relative) {
- if (err) return callback(err)
- srcpath = relative.toDst
- symlinkType(relative.toCwd, type, function (err, type) {
- if (err) return callback(err)
- var dir = path.dirname(dstpath)
- fs.exists(dir, function (dirExists) {
- if (dirExists) return fs.symlink(srcpath, dstpath, type, callback)
- mkdirs(dir, function (err) {
- if (err) return callback(err)
- fs.symlink(srcpath, dstpath, type, callback)
- })
- })
- })
- })
- })
-}
-
-function createSymlinkSync (srcpath, dstpath, type, callback) {
- callback = (typeof type === 'function') ? type : callback
- type = (typeof type === 'function') ? false : type
-
- var destinationExists = fs.existsSync(dstpath)
- if (destinationExists) return undefined
-
- var relative = symlinkPathsSync(srcpath, dstpath)
- srcpath = relative.toDst
- type = symlinkTypeSync(relative.toCwd, type)
- var dir = path.dirname(dstpath)
- var exists = fs.existsSync(dir)
- if (exists) return fs.symlinkSync(srcpath, dstpath, type)
- mkdirsSync(dir)
- return fs.symlinkSync(srcpath, dstpath, type)
-}
-
-module.exports = {
- createSymlink: createSymlink,
- createSymlinkSync: createSymlinkSync,
- // alias
- ensureSymlink: createSymlink,
- ensureSymlinkSync: createSymlinkSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/index.js b/data/node-webkit/node_modules/fs-extra/lib/index.js
deleted file mode 100644
index 873df87ac..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/index.js
+++ /dev/null
@@ -1,37 +0,0 @@
-var assign = require('./util/assign')
-
-var fse = {}
-var gfs = require('graceful-fs')
-
-// attach fs methods to fse
-Object.keys(gfs).forEach(function (key) {
- fse[key] = gfs[key]
-})
-
-var fs = fse
-
-assign(fs, require('./copy'))
-assign(fs, require('./copy-sync'))
-assign(fs, require('./mkdirs'))
-assign(fs, require('./remove'))
-assign(fs, require('./json'))
-assign(fs, require('./move'))
-assign(fs, require('./streams'))
-assign(fs, require('./empty'))
-assign(fs, require('./ensure'))
-assign(fs, require('./output'))
-
-module.exports = fs
-
-// maintain backwards compatibility for awhile
-var jsonfile = {}
-Object.defineProperty(jsonfile, 'spaces', {
- get: function () {
- return fs.spaces // found in ./json
- },
- set: function (val) {
- fs.spaces = val
- }
-})
-
-module.exports.jsonfile = jsonfile // so users of fs-extra can modify jsonFile.spaces
diff --git a/data/node-webkit/node_modules/fs-extra/lib/json/index.js b/data/node-webkit/node_modules/fs-extra/lib/json/index.js
deleted file mode 100644
index 27d8661b8..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/json/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var jsonFile = require('jsonfile')
-
-module.exports = {
- outputJsonSync: require('./output-json-sync'),
- outputJson: require('./output-json'),
- // aliases
- outputJSONSync: require('./output-json-sync'),
- outputJSON: require('./output-json'),
- // jsonfile exports
- readJson: jsonFile.readFile,
- readJSON: jsonFile.readFile,
- readJsonSync: jsonFile.readFileSync,
- readJSONSync: jsonFile.readFileSync,
- writeJson: jsonFile.writeFile,
- writeJSON: jsonFile.writeFile,
- writeJsonSync: jsonFile.writeFileSync,
- writeJSONSync: jsonFile.writeFileSync,
- spaces: 2 // default in fs-extra
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/json/output-json-sync.js b/data/node-webkit/node_modules/fs-extra/lib/json/output-json-sync.js
deleted file mode 100644
index 00827633a..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/json/output-json-sync.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var fs = require('graceful-fs')
-var path = require('path')
-var jsonFile = require('jsonfile')
-var mkdir = require('../mkdirs')
-
-function outputJsonSync (file, data, options) {
- var dir = path.dirname(file)
-
- if (!fs.existsSync(dir)) {
- mkdir.mkdirsSync(dir)
- }
-
- jsonFile.writeFileSync(file, data, options)
-}
-
-module.exports = outputJsonSync
diff --git a/data/node-webkit/node_modules/fs-extra/lib/json/output-json.js b/data/node-webkit/node_modules/fs-extra/lib/json/output-json.js
deleted file mode 100644
index 914e8b2fc..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/json/output-json.js
+++ /dev/null
@@ -1,24 +0,0 @@
-var fs = require('graceful-fs')
-var path = require('path')
-var jsonFile = require('jsonfile')
-var mkdir = require('../mkdirs')
-
-function outputJson (file, data, options, callback) {
- if (typeof options === 'function') {
- callback = options
- options = {}
- }
-
- var dir = path.dirname(file)
-
- fs.exists(dir, function (itDoes) {
- if (itDoes) return jsonFile.writeFile(file, data, options, callback)
-
- mkdir.mkdirs(dir, function (err) {
- if (err) return callback(err)
- jsonFile.writeFile(file, data, options, callback)
- })
- })
-}
-
-module.exports = outputJson
diff --git a/data/node-webkit/node_modules/fs-extra/lib/mkdirs/index.js b/data/node-webkit/node_modules/fs-extra/lib/mkdirs/index.js
deleted file mode 100644
index 2611217c7..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/mkdirs/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-module.exports = {
- mkdirs: require('./mkdirs'),
- mkdirsSync: require('./mkdirs-sync'),
- // alias
- mkdirp: require('./mkdirs'),
- mkdirpSync: require('./mkdirs-sync'),
- ensureDir: require('./mkdirs'),
- ensureDirSync: require('./mkdirs-sync')
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js b/data/node-webkit/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js
deleted file mode 100644
index 2dc4f231b..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js
+++ /dev/null
@@ -1,49 +0,0 @@
-var fs = require('graceful-fs')
-var path = require('path')
-
-var o777 = parseInt('0777', 8)
-
-function mkdirsSync (p, opts, made) {
- if (!opts || typeof opts !== 'object') {
- opts = { mode: opts }
- }
-
- var mode = opts.mode
- var xfs = opts.fs || fs
-
- if (mode === undefined) {
- mode = o777 & (~process.umask())
- }
- if (!made) made = null
-
- p = path.resolve(p)
-
- try {
- xfs.mkdirSync(p, mode)
- made = made || p
- } catch (err0) {
- switch (err0.code) {
- case 'ENOENT' :
- made = mkdirsSync(path.dirname(p), opts, made)
- mkdirsSync(p, opts, made)
- break
-
- // In the case of any other error, just see if there's a dir
- // there already. If so, then hooray! If not, then something
- // is borked.
- default:
- var stat
- try {
- stat = xfs.statSync(p)
- } catch (err1) {
- throw err0
- }
- if (!stat.isDirectory()) throw err0
- break
- }
- }
-
- return made
-}
-
-module.exports = mkdirsSync
diff --git a/data/node-webkit/node_modules/fs-extra/lib/mkdirs/mkdirs.js b/data/node-webkit/node_modules/fs-extra/lib/mkdirs/mkdirs.js
deleted file mode 100644
index 2bdfa0418..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/mkdirs/mkdirs.js
+++ /dev/null
@@ -1,54 +0,0 @@
-var fs = require('graceful-fs')
-var path = require('path')
-
-var o777 = parseInt('0777', 8)
-
-function mkdirs (p, opts, callback, made) {
- if (typeof opts === 'function') {
- callback = opts
- opts = {}
- } else if (!opts || typeof opts !== 'object') {
- opts = { mode: opts }
- }
-
- var mode = opts.mode
- var xfs = opts.fs || fs
-
- if (mode === undefined) {
- mode = o777 & (~process.umask())
- }
- if (!made) made = null
-
- callback = callback || function () {}
- p = path.resolve(p)
-
- xfs.mkdir(p, mode, function (er) {
- if (!er) {
- made = made || p
- return callback(null, made)
- }
- switch (er.code) {
- case 'ENOENT':
- if (path.dirname(p) === p) return callback(er)
- mkdirs(path.dirname(p), opts, function (er, made) {
- if (er) callback(er, made)
- else mkdirs(p, opts, callback, made)
- })
- break
-
- // In the case of any other error, just see if there's a dir
- // there already. If so, then hooray! If not, then something
- // is borked.
- default:
- xfs.stat(p, function (er2, stat) {
- // if the stat fails, then that's super weird.
- // let the original error be the failure reason.
- if (er2 || !stat.isDirectory()) callback(er, made)
- else callback(null, made)
- })
- break
- }
- })
-}
-
-module.exports = mkdirs
diff --git a/data/node-webkit/node_modules/fs-extra/lib/move/index.js b/data/node-webkit/node_modules/fs-extra/lib/move/index.js
deleted file mode 100644
index f28152f1a..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/move/index.js
+++ /dev/null
@@ -1,161 +0,0 @@
-// most of this code was written by Andrew Kelley
-// licensed under the BSD license: see
-// https://github.com/andrewrk/node-mv/blob/master/package.json
-
-// this needs a cleanup
-
-var fs = require('graceful-fs')
-var ncp = require('../copy/ncp')
-var path = require('path')
-var rimraf = require('rimraf')
-var mkdirp = require('../mkdirs').mkdirs
-
-function mv (source, dest, options, callback) {
- if (typeof options === 'function') {
- callback = options
- options = {}
- }
-
- var shouldMkdirp = ('mkdirp' in options) ? options.mkdirp : true
- var clobber = ('clobber' in options) ? options.clobber : false
-
- var limit = options.limit || 16
-
- if (shouldMkdirp) {
- mkdirs()
- } else {
- doRename()
- }
-
- function mkdirs () {
- mkdirp(path.dirname(dest), function (err) {
- if (err) return callback(err)
- doRename()
- })
- }
-
- function doRename () {
- if (clobber) {
- fs.rename(source, dest, function (err) {
- if (!err) return callback()
-
- if (err.code === 'ENOTEMPTY' || err.code === 'EEXIST') {
- rimraf(dest, function (err) {
- if (err) return callback(err)
- options.clobber = false // just clobbered it, no need to do it again
- mv(source, dest, options, callback)
- })
- return
- }
-
- // weird Windows shit
- if (err.code === 'EPERM') {
- setTimeout(function () {
- rimraf(dest, function (err) {
- if (err) return callback(err)
- options.clobber = false
- mv(source, dest, options, callback)
- })
- }, 200)
- return
- }
-
- if (err.code !== 'EXDEV') return callback(err)
- moveAcrossDevice(source, dest, clobber, limit, callback)
- })
- } else {
- fs.link(source, dest, function (err) {
- if (err) {
- if (err.code === 'EXDEV' || err.code === 'EISDIR' || err.code === 'EPERM') {
- moveAcrossDevice(source, dest, clobber, limit, callback)
- return
- }
- callback(err)
- return
- }
- fs.unlink(source, callback)
- })
- }
- }
-}
-
-function moveAcrossDevice (source, dest, clobber, limit, callback) {
- fs.stat(source, function (err, stat) {
- if (err) {
- callback(err)
- return
- }
-
- if (stat.isDirectory()) {
- moveDirAcrossDevice(source, dest, clobber, limit, callback)
- } else {
- moveFileAcrossDevice(source, dest, clobber, limit, callback)
- }
- })
-}
-
-function moveFileAcrossDevice (source, dest, clobber, limit, callback) {
- var outFlags = clobber ? 'w' : 'wx'
- var ins = fs.createReadStream(source)
- var outs = fs.createWriteStream(dest, {flags: outFlags})
-
- ins.on('error', function (err) {
- ins.destroy()
- outs.destroy()
- outs.removeListener('close', onClose)
-
- // may want to create a directory but `out` line above
- // creates an empty file for us: See #108
- // don't care about error here
- fs.unlink(dest, function () {
- // note: `err` here is from the input stream errror
- if (err.code === 'EISDIR' || err.code === 'EPERM') {
- moveDirAcrossDevice(source, dest, clobber, limit, callback)
- } else {
- callback(err)
- }
- })
- })
-
- outs.on('error', function (err) {
- ins.destroy()
- outs.destroy()
- outs.removeListener('close', onClose)
- callback(err)
- })
-
- outs.once('close', onClose)
- ins.pipe(outs)
-
- function onClose () {
- fs.unlink(source, callback)
- }
-}
-
-function moveDirAcrossDevice (source, dest, clobber, limit, callback) {
- var options = {
- stopOnErr: true,
- clobber: false,
- limit: limit
- }
-
- function startNcp () {
- ncp(source, dest, options, function (errList) {
- if (errList) return callback(errList[0])
- rimraf(source, callback)
- })
- }
-
- if (clobber) {
- rimraf(dest, function (err) {
- if (err) return callback(err)
- startNcp()
- })
- } else {
- startNcp()
- }
-}
-
-module.exports = {
- move: mv
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/output/index.js b/data/node-webkit/node_modules/fs-extra/lib/output/index.js
deleted file mode 100644
index e8f45f3ff..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/output/index.js
+++ /dev/null
@@ -1,35 +0,0 @@
-var path = require('path')
-var fs = require('graceful-fs')
-var mkdir = require('../mkdirs')
-
-function outputFile (file, data, encoding, callback) {
- if (typeof encoding === 'function') {
- callback = encoding
- encoding = 'utf8'
- }
-
- var dir = path.dirname(file)
- fs.exists(dir, function (itDoes) {
- if (itDoes) return fs.writeFile(file, data, encoding, callback)
-
- mkdir.mkdirs(dir, function (err) {
- if (err) return callback(err)
-
- fs.writeFile(file, data, encoding, callback)
- })
- })
-}
-
-function outputFileSync (file, data, encoding) {
- var dir = path.dirname(file)
- if (fs.existsSync(dir)) {
- return fs.writeFileSync.apply(fs, arguments)
- }
- mkdir.mkdirsSync(dir)
- fs.writeFileSync.apply(fs, arguments)
-}
-
-module.exports = {
- outputFile: outputFile,
- outputFileSync: outputFileSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/remove/index.js b/data/node-webkit/node_modules/fs-extra/lib/remove/index.js
deleted file mode 100644
index 925de6774..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/remove/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-var rimraf = require('rimraf')
-
-function removeSync (dir) {
- return rimraf.sync(dir)
-}
-
-function remove (dir, callback) {
- return callback ? rimraf(dir, callback) : rimraf(dir, function () {})
-}
-
-module.exports = {
- remove: remove,
- removeSync: removeSync
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/streams/create-output-stream.js b/data/node-webkit/node_modules/fs-extra/lib/streams/create-output-stream.js
deleted file mode 100644
index e6db2dd80..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/streams/create-output-stream.js
+++ /dev/null
@@ -1,43 +0,0 @@
-var path = require('path')
-var fs = require('fs')
-var mkdir = require('../mkdirs')
-var WriteStream = fs.WriteStream
-
-function createOutputStream (file, options) {
- var dirExists = false
- var dir = path.dirname(file)
- options = options || {}
-
- // if fd is set with an actual number, file is created, hence directory is too
- if (options.fd) {
- return fs.createWriteStream(file, options)
- } else {
- // this hacks the WriteStream constructor from calling open()
- options.fd = -1
- }
-
- var ws = new WriteStream(file, options)
-
- var oldOpen = ws.open
- ws.open = function () {
- ws.fd = null // set actual fd
- if (dirExists) return oldOpen.call(ws)
-
- // this only runs once on first write
- mkdir.mkdirs(dir, function (err) {
- if (err) {
- ws.destroy()
- ws.emit('error', err)
- return
- }
- dirExists = true
- oldOpen.call(ws)
- })
- }
-
- ws.open()
-
- return ws
-}
-
-module.exports = createOutputStream
diff --git a/data/node-webkit/node_modules/fs-extra/lib/streams/index.js b/data/node-webkit/node_modules/fs-extra/lib/streams/index.js
deleted file mode 100644
index 33be56e88..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/streams/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = {
- createOutputStream: require('./create-output-stream')
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/util/assign.js b/data/node-webkit/node_modules/fs-extra/lib/util/assign.js
deleted file mode 100644
index 8e41f9a09..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/util/assign.js
+++ /dev/null
@@ -1,14 +0,0 @@
-// simple mutable assign
-function assign () {
- var args = [].slice.call(arguments).filter(function (i) { return i })
- var dest = args.shift()
- args.forEach(function (src) {
- Object.keys(src).forEach(function (key) {
- dest[key] = src[key]
- })
- })
-
- return dest
-}
-
-module.exports = assign
diff --git a/data/node-webkit/node_modules/fs-extra/lib/util/utimes.js b/data/node-webkit/node_modules/fs-extra/lib/util/utimes.js
deleted file mode 100644
index c99b010b4..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/util/utimes.js
+++ /dev/null
@@ -1,69 +0,0 @@
-var fs = require('graceful-fs')
-var path = require('path')
-var os = require('os')
-
-// HFS, ext{2,3}, FAT do not, Node.js v0.10 does not
-function hasMillisResSync () {
- var tmpfile = path.join('millis-test-sync' + Date.now().toString() + Math.random().toString().slice(2))
- tmpfile = path.join(os.tmpdir(), tmpfile)
-
- // 550 millis past UNIX epoch
- var d = new Date(1435410243862)
- fs.writeFileSync(tmpfile, 'https://github.com/jprichardson/node-fs-extra/pull/141')
- var fd = fs.openSync(tmpfile, 'r+')
- fs.futimesSync(fd, d, d)
- fs.closeSync(fd)
- return fs.statSync(tmpfile).mtime > 1435410243000
-}
-
-function hasMillisRes (callback) {
- var tmpfile = path.join('millis-test' + Date.now().toString() + Math.random().toString().slice(2))
- tmpfile = path.join(os.tmpdir(), tmpfile)
-
- // 550 millis past UNIX epoch
- var d = new Date(1435410243862)
- fs.writeFile(tmpfile, 'https://github.com/jprichardson/node-fs-extra/pull/141', function (err) {
- if (err) return callback(err)
- fs.open(tmpfile, 'r+', function (err, fd) {
- if (err) return callback(err)
- fs.futimes(fd, d, d, function (err) {
- if (err) return callback(err)
- fs.close(fd, function (err) {
- if (err) return callback(err)
- fs.stat(tmpfile, function (err, stats) {
- if (err) return callback(err)
- callback(null, stats.mtime > 1435410243000)
- })
- })
- })
- })
- })
-}
-
-function timeRemoveMillis (timestamp) {
- if (typeof timestamp === 'number') {
- return Math.floor(timestamp / 1000) * 1000
- } else if (timestamp instanceof Date) {
- return new Date(Math.floor(timestamp.getTime() / 1000) * 1000)
- } else {
- throw new Error('fs-extra: timeRemoveMillis() unknown parameter type')
- }
-}
-
-function utimesMillis (path, atime, mtime, callback) {
- // if (!HAS_MILLIS_RES) return fs.utimes(path, atime, mtime, callback)
- fs.open(path, 'r+', function (err, fd) {
- if (err) return callback(err)
- fs.futimes(fd, atime, mtime, function (err) {
- if (err) return callback(err)
- fs.close(fd, callback)
- })
- })
-}
-
-module.exports = {
- hasMillisRes: hasMillisRes,
- hasMillisResSync: hasMillisResSync,
- timeRemoveMillis: timeRemoveMillis,
- utimesMillis: utimesMillis
-}
diff --git a/data/node-webkit/node_modules/fs-extra/lib/walk/index.js b/data/node-webkit/node_modules/fs-extra/lib/walk/index.js
deleted file mode 100644
index 3a52a01d5..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/walk/index.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var Walker = require('./walker')
-
-function walk (path, filter) {
- return new Walker(path, filter)// .start()
-}
-
-module.exports = walk
diff --git a/data/node-webkit/node_modules/fs-extra/lib/walk/walker.js b/data/node-webkit/node_modules/fs-extra/lib/walk/walker.js
deleted file mode 100644
index eaf14ad57..000000000
--- a/data/node-webkit/node_modules/fs-extra/lib/walk/walker.js
+++ /dev/null
@@ -1,62 +0,0 @@
-var fs = require('fs')
-var path = require('path')
-var Readable = require('stream').Readable
-var util = require('util')
-var assign = require('../util/assign')
-
-function Walker (dir, filter, streamOptions) {
- Readable.call(this, assign({ objectMode: true }, streamOptions))
- this.path = path.resolve(dir)
- this.filter = filter
- this.pending = 0
- this.start()
-}
-util.inherits(Walker, Readable)
-
-Walker.prototype.start = function () {
- this.visit(this.path)
- return this
-}
-
-Walker.prototype.visit = function (item) {
- this.pending++
- var self = this
-
- fs.lstat(item, function (err, stat) {
- if (err) {
- self.emit('error', err, {path: item, stat: stat})
- return self.finishItem()
- }
-
- if (self.filter && !self.filter({path: item, stat: stat})) return self.finishItem()
-
- if (!stat.isDirectory()) {
- self.push({ path: item, stat: stat })
- return self.finishItem()
- }
-
- fs.readdir(item, function (err, items) {
- if (err) {
- self.emit('error', err, {path: item, stat: stat})
- return self.finishItem()
- }
-
- self.push({path: item, stat: stat})
- items.forEach(function (part) {
- self.visit(path.join(item, part))
- })
- self.finishItem()
- })
- })
- return this
-}
-
-Walker.prototype.finishItem = function () {
- this.pending -= 1
- if (this.pending === 0) this.push(null)
- return this
-}
-
-Walker.prototype._read = function () { }
-
-module.exports = Walker
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/.bin/rimraf b/data/node-webkit/node_modules/fs-extra/node_modules/.bin/rimraf
deleted file mode 120000
index 4cd49a49d..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/.bin/rimraf
+++ /dev/null
@@ -1 +0,0 @@
-../rimraf/bin.js
\ No newline at end of file
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/LICENSE
deleted file mode 100644
index 9d2c80369..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter, Ben Noordhuis, and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/README.md
deleted file mode 100644
index 13a2e8605..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# graceful-fs
-
-graceful-fs functions as a drop-in replacement for the fs module,
-making various improvements.
-
-The improvements are meant to normalize behavior across different
-platforms and environments, and to make filesystem access more
-resilient to errors.
-
-## Improvements over [fs module](http://api.nodejs.org/fs.html)
-
-graceful-fs:
-
-* Queues up `open` and `readdir` calls, and retries them once
- something closes if there is an EMFILE error from too many file
- descriptors.
-* fixes `lchmod` for Node versions prior to 0.6.2.
-* implements `fs.lutimes` if possible. Otherwise it becomes a noop.
-* ignores `EINVAL` and `EPERM` errors in `chown`, `fchown` or
- `lchown` if the user isn't root.
-* makes `lchmod` and `lchown` become noops, if not available.
-* retries reading a file if `read` results in EAGAIN error.
-
-On Windows, it retries renaming a file for up to one second if `EACCESS`
-or `EPERM` error occurs, likely because antivirus software has locked
-the directory.
-
-## USAGE
-
-```javascript
-// use just like fs
-var fs = require('graceful-fs')
-
-// now go and do stuff with it...
-fs.readFileSync('some-file-or-whatever')
-```
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/fs.js b/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/fs.js
deleted file mode 100644
index 8ad4a3839..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/fs.js
+++ /dev/null
@@ -1,21 +0,0 @@
-'use strict'
-
-var fs = require('fs')
-
-module.exports = clone(fs)
-
-function clone (obj) {
- if (obj === null || typeof obj !== 'object')
- return obj
-
- if (obj instanceof Object)
- var copy = { __proto__: obj.__proto__ }
- else
- var copy = Object.create(null)
-
- Object.getOwnPropertyNames(obj).forEach(function (key) {
- Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))
- })
-
- return copy
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js b/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js
deleted file mode 100644
index fe3b17cb6..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/graceful-fs.js
+++ /dev/null
@@ -1,251 +0,0 @@
-var fs = require('fs')
-var polyfills = require('./polyfills.js')
-var legacy = require('./legacy-streams.js')
-var queue = []
-
-var util = require('util')
-
-function noop () {}
-
-var debug = noop
-if (util.debuglog)
- debug = util.debuglog('gfs4')
-else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ''))
- debug = function() {
- var m = util.format.apply(util, arguments)
- m = 'GFS4: ' + m.split(/\n/).join('\nGFS4: ')
- console.error(m)
- }
-
-if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) {
- process.on('exit', function() {
- debug(queue)
- require('assert').equal(queue.length, 0)
- })
-}
-
-module.exports = patch(require('./fs.js'))
-if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH) {
- module.exports = patch(fs)
-}
-
-// Always patch fs.close/closeSync, because we want to
-// retry() whenever a close happens *anywhere* in the program.
-// This is essential when multiple graceful-fs instances are
-// in play at the same time.
-fs.close = (function (fs$close) { return function (fd, cb) {
- return fs$close.call(fs, fd, function (err) {
- if (!err)
- retry()
-
- if (typeof cb === 'function')
- cb.apply(this, arguments)
- })
-}})(fs.close)
-
-fs.closeSync = (function (fs$closeSync) { return function (fd) {
- // Note that graceful-fs also retries when fs.closeSync() fails.
- // Looks like a bug to me, although it's probably a harmless one.
- var rval = fs$closeSync.apply(fs, arguments)
- retry()
- return rval
-}})(fs.closeSync)
-
-function patch (fs) {
- // Everything that references the open() function needs to be in here
- polyfills(fs)
- fs.gracefulify = patch
- fs.FileReadStream = ReadStream; // Legacy name.
- fs.FileWriteStream = WriteStream; // Legacy name.
- fs.createReadStream = createReadStream
- fs.createWriteStream = createWriteStream
- var fs$readFile = fs.readFile
- fs.readFile = readFile
- function readFile (path, options, cb) {
- if (typeof options === 'function')
- cb = options, options = null
-
- return go$readFile(path, options, cb)
-
- function go$readFile (path, options, cb) {
- return fs$readFile(path, options, function (err) {
- if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
- enqueue([go$readFile, [path, options, cb]])
- else {
- if (typeof cb === 'function')
- cb.apply(this, arguments)
- retry()
- }
- })
- }
- }
-
- var fs$writeFile = fs.writeFile
- fs.writeFile = writeFile
- function writeFile (path, data, options, cb) {
- if (typeof options === 'function')
- cb = options, options = null
-
- return go$writeFile(path, data, options, cb)
-
- function go$writeFile (path, data, options, cb) {
- return fs$writeFile(path, data, options, function (err) {
- if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
- enqueue([go$writeFile, [path, data, options, cb]])
- else {
- if (typeof cb === 'function')
- cb.apply(this, arguments)
- retry()
- }
- })
- }
- }
-
- var fs$appendFile = fs.appendFile
- if (fs$appendFile)
- fs.appendFile = appendFile
- function appendFile (path, data, options, cb) {
- if (typeof options === 'function')
- cb = options, options = null
-
- return go$appendFile(path, data, options, cb)
-
- function go$appendFile (path, data, options, cb) {
- return fs$appendFile(path, data, options, function (err) {
- if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
- enqueue([go$appendFile, [path, data, options, cb]])
- else {
- if (typeof cb === 'function')
- cb.apply(this, arguments)
- retry()
- }
- })
- }
- }
-
- var fs$readdir = fs.readdir
- fs.readdir = readdir
- function readdir (path, cb) {
- return go$readdir(path, cb)
-
- function go$readdir () {
- return fs$readdir(path, function (err, files) {
- if (files && files.sort)
- files.sort(); // Backwards compatibility with graceful-fs.
-
- if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
- enqueue([go$readdir, [path, cb]])
- else {
- if (typeof cb === 'function')
- cb.apply(this, arguments)
- retry()
- }
- })
- }
- }
-
-
- if (process.version.substr(0, 4) === 'v0.8') {
- var legStreams = legacy(fs)
- ReadStream = legStreams.ReadStream
- WriteStream = legStreams.WriteStream
- }
-
- var fs$ReadStream = fs.ReadStream
- ReadStream.prototype = Object.create(fs$ReadStream.prototype)
- ReadStream.prototype.open = ReadStream$open
-
- var fs$WriteStream = fs.WriteStream
- WriteStream.prototype = Object.create(fs$WriteStream.prototype)
- WriteStream.prototype.open = WriteStream$open
-
- fs.ReadStream = ReadStream
- fs.WriteStream = WriteStream
-
- function ReadStream (path, options) {
- if (this instanceof ReadStream)
- return fs$ReadStream.apply(this, arguments), this
- else
- return ReadStream.apply(Object.create(ReadStream.prototype), arguments)
- }
-
- function ReadStream$open () {
- var that = this
- open(that.path, that.flags, that.mode, function (err, fd) {
- if (err) {
- if (that.autoClose)
- that.destroy()
-
- that.emit('error', err)
- } else {
- that.fd = fd
- that.emit('open', fd)
- that.read()
- }
- })
- }
-
- function WriteStream (path, options) {
- if (this instanceof WriteStream)
- return fs$WriteStream.apply(this, arguments), this
- else
- return WriteStream.apply(Object.create(WriteStream.prototype), arguments)
- }
-
- function WriteStream$open () {
- var that = this
- open(that.path, that.flags, that.mode, function (err, fd) {
- if (err) {
- that.destroy()
- that.emit('error', err)
- } else {
- that.fd = fd
- that.emit('open', fd)
- }
- })
- }
-
- function createReadStream (path, options) {
- return new ReadStream(path, options)
- }
-
- function createWriteStream (path, options) {
- return new WriteStream(path, options)
- }
-
- var fs$open = fs.open
- fs.open = open
- function open (path, flags, mode, cb) {
- if (typeof mode === 'function')
- cb = mode, mode = null
-
- return go$open(path, flags, mode, cb)
-
- function go$open (path, flags, mode, cb) {
- return fs$open(path, flags, mode, function (err, fd) {
- if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
- enqueue([go$open, [path, flags, mode, cb]])
- else {
- if (typeof cb === 'function')
- cb.apply(this, arguments)
- retry()
- }
- })
- }
- }
-
- return fs
-}
-
-function enqueue (elem) {
- debug('ENQUEUE', elem[0].name, elem[1])
- queue.push(elem)
-}
-
-function retry () {
- var elem = queue.shift()
- if (elem) {
- debug('RETRY', elem[0].name, elem[1])
- elem[0].apply(null, elem[1])
- }
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/legacy-streams.js b/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/legacy-streams.js
deleted file mode 100644
index d617b50fc..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/legacy-streams.js
+++ /dev/null
@@ -1,118 +0,0 @@
-var Stream = require('stream').Stream
-
-module.exports = legacy
-
-function legacy (fs) {
- return {
- ReadStream: ReadStream,
- WriteStream: WriteStream
- }
-
- function ReadStream (path, options) {
- if (!(this instanceof ReadStream)) return new ReadStream(path, options);
-
- Stream.call(this);
-
- var self = this;
-
- this.path = path;
- this.fd = null;
- this.readable = true;
- this.paused = false;
-
- this.flags = 'r';
- this.mode = 438; /*=0666*/
- this.bufferSize = 64 * 1024;
-
- options = options || {};
-
- // Mixin options into this
- var keys = Object.keys(options);
- for (var index = 0, length = keys.length; index < length; index++) {
- var key = keys[index];
- this[key] = options[key];
- }
-
- if (this.encoding) this.setEncoding(this.encoding);
-
- if (this.start !== undefined) {
- if ('number' !== typeof this.start) {
- throw TypeError('start must be a Number');
- }
- if (this.end === undefined) {
- this.end = Infinity;
- } else if ('number' !== typeof this.end) {
- throw TypeError('end must be a Number');
- }
-
- if (this.start > this.end) {
- throw new Error('start must be <= end');
- }
-
- this.pos = this.start;
- }
-
- if (this.fd !== null) {
- process.nextTick(function() {
- self._read();
- });
- return;
- }
-
- fs.open(this.path, this.flags, this.mode, function (err, fd) {
- if (err) {
- self.emit('error', err);
- self.readable = false;
- return;
- }
-
- self.fd = fd;
- self.emit('open', fd);
- self._read();
- })
- }
-
- function WriteStream (path, options) {
- if (!(this instanceof WriteStream)) return new WriteStream(path, options);
-
- Stream.call(this);
-
- this.path = path;
- this.fd = null;
- this.writable = true;
-
- this.flags = 'w';
- this.encoding = 'binary';
- this.mode = 438; /*=0666*/
- this.bytesWritten = 0;
-
- options = options || {};
-
- // Mixin options into this
- var keys = Object.keys(options);
- for (var index = 0, length = keys.length; index < length; index++) {
- var key = keys[index];
- this[key] = options[key];
- }
-
- if (this.start !== undefined) {
- if ('number' !== typeof this.start) {
- throw TypeError('start must be a Number');
- }
- if (this.start < 0) {
- throw new Error('start must be >= zero');
- }
-
- this.pos = this.start;
- }
-
- this.busy = false;
- this._queue = [];
-
- if (this.fd === null) {
- this._open = fs.open;
- this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);
- this.flush();
- }
- }
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/package.json
deleted file mode 100644
index c9df61c72..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "name": "graceful-fs",
- "description": "A drop-in replacement for fs, making various improvements.",
- "version": "4.1.2",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/isaacs/node-graceful-fs.git"
- },
- "main": "graceful-fs.js",
- "engines": {
- "node": ">=0.4.0"
- },
- "directories": {
- "test": "test"
- },
- "scripts": {
- "test": "node test.js | tap -"
- },
- "keywords": [
- "fs",
- "module",
- "reading",
- "retry",
- "retries",
- "queue",
- "error",
- "errors",
- "handling",
- "EMFILE",
- "EAGAIN",
- "EINVAL",
- "EPERM",
- "EACCESS"
- ],
- "license": "ISC",
- "devDependencies": {
- "mkdirp": "^0.5.0",
- "rimraf": "^2.2.8",
- "tap": "^1.2.0"
- },
- "files": [
- "fs.js",
- "graceful-fs.js",
- "legacy-streams.js",
- "polyfills.js"
- ],
- "gitHead": "c286080071b6be9aa9ba108b0bb9b44ff122926d",
- "bugs": {
- "url": "https://github.com/isaacs/node-graceful-fs/issues"
- },
- "homepage": "https://github.com/isaacs/node-graceful-fs#readme",
- "_id": "[email protected]",
- "_shasum": "fe2239b7574972e67e41f808823f9bfa4a991e37",
- "_from": "graceful-fs@>=4.1.2 <5.0.0",
- "_npmVersion": "3.0.0",
- "_nodeVersion": "2.2.1",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "fe2239b7574972e67e41f808823f9bfa4a991e37",
- "tarball": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.2.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/polyfills.js b/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/polyfills.js
deleted file mode 100644
index 5e4f48046..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/graceful-fs/polyfills.js
+++ /dev/null
@@ -1,252 +0,0 @@
-var fs = require('./fs.js')
-var constants = require('constants')
-
-var origCwd = process.cwd
-var cwd = null
-process.cwd = function() {
- if (!cwd)
- cwd = origCwd.call(process)
- return cwd
-}
-try {
- process.cwd()
-} catch (er) {}
-
-var chdir = process.chdir
-process.chdir = function(d) {
- cwd = null
- chdir.call(process, d)
-}
-
-module.exports = patch
-
-function patch (fs) {
- // (re-)implement some things that are known busted or missing.
-
- // lchmod, broken prior to 0.6.2
- // back-port the fix here.
- if (constants.hasOwnProperty('O_SYMLINK') &&
- process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
- patchLchmod(fs)
- }
-
- // lutimes implementation, or no-op
- if (!fs.lutimes) {
- patchLutimes(fs)
- }
-
- // https://github.com/isaacs/node-graceful-fs/issues/4
- // Chown should not fail on einval or eperm if non-root.
- // It should not fail on enosys ever, as this just indicates
- // that a fs doesn't support the intended operation.
-
- fs.chown = chownFix(fs.chown)
- fs.fchown = chownFix(fs.fchown)
- fs.lchown = chownFix(fs.lchown)
-
- fs.chmod = chownFix(fs.chmod)
- fs.fchmod = chownFix(fs.fchmod)
- fs.lchmod = chownFix(fs.lchmod)
-
- fs.chownSync = chownFixSync(fs.chownSync)
- fs.fchownSync = chownFixSync(fs.fchownSync)
- fs.lchownSync = chownFixSync(fs.lchownSync)
-
- fs.chmodSync = chownFix(fs.chmodSync)
- fs.fchmodSync = chownFix(fs.fchmodSync)
- fs.lchmodSync = chownFix(fs.lchmodSync)
-
- // if lchmod/lchown do not exist, then make them no-ops
- if (!fs.lchmod) {
- fs.lchmod = function (path, mode, cb) {
- process.nextTick(cb)
- }
- fs.lchmodSync = function () {}
- }
- if (!fs.lchown) {
- fs.lchown = function (path, uid, gid, cb) {
- process.nextTick(cb)
- }
- fs.lchownSync = function () {}
- }
-
- // on Windows, A/V software can lock the directory, causing this
- // to fail with an EACCES or EPERM if the directory contains newly
- // created files. Try again on failure, for up to 1 second.
- if (process.platform === "win32") {
- fs.rename = (function (fs$rename) { return function (from, to, cb) {
- var start = Date.now()
- fs$rename(from, to, function CB (er) {
- if (er
- && (er.code === "EACCES" || er.code === "EPERM")
- && Date.now() - start < 1000) {
- return fs$rename(from, to, CB)
- }
- if (cb) cb(er)
- })
- }})(fs.rename)
- }
-
- // if read() returns EAGAIN, then just try it again.
- fs.read = (function (fs$read) { return function (fd, buffer, offset, length, position, callback_) {
- var callback
- if (callback_ && typeof callback_ === 'function') {
- var eagCounter = 0
- callback = function (er, _, __) {
- if (er && er.code === 'EAGAIN' && eagCounter < 10) {
- eagCounter ++
- return fs$read.call(fs, fd, buffer, offset, length, position, callback)
- }
- callback_.apply(this, arguments)
- }
- }
- return fs$read.call(fs, fd, buffer, offset, length, position, callback)
- }})(fs.read)
-
- fs.readSync = (function (fs$readSync) { return function (fd, buffer, offset, length, position) {
- var eagCounter = 0
- while (true) {
- try {
- return fs$readSync.call(fs, fd, buffer, offset, length, position)
- } catch (er) {
- if (er.code === 'EAGAIN' && eagCounter < 10) {
- eagCounter ++
- continue
- }
- throw er
- }
- }
- }})(fs.readSync)
-}
-
-function patchLchmod (fs) {
- fs.lchmod = function (path, mode, callback) {
- callback = callback || noop
- fs.open( path
- , constants.O_WRONLY | constants.O_SYMLINK
- , mode
- , function (err, fd) {
- if (err) {
- callback(err)
- return
- }
- // prefer to return the chmod error, if one occurs,
- // but still try to close, and report closing errors if they occur.
- fs.fchmod(fd, mode, function (err) {
- fs.close(fd, function(err2) {
- callback(err || err2)
- })
- })
- })
- }
-
- fs.lchmodSync = function (path, mode) {
- var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)
-
- // prefer to return the chmod error, if one occurs,
- // but still try to close, and report closing errors if they occur.
- var threw = true
- var ret
- try {
- ret = fs.fchmodSync(fd, mode)
- threw = false
- } finally {
- if (threw) {
- try {
- fs.closeSync(fd)
- } catch (er) {}
- } else {
- fs.closeSync(fd)
- }
- }
- return ret
- }
-}
-
-function patchLutimes (fs) {
- if (constants.hasOwnProperty("O_SYMLINK")) {
- fs.lutimes = function (path, at, mt, cb) {
- fs.open(path, constants.O_SYMLINK, function (er, fd) {
- cb = cb || noop
- if (er) return cb(er)
- fs.futimes(fd, at, mt, function (er) {
- fs.close(fd, function (er2) {
- return cb(er || er2)
- })
- })
- })
- }
-
- fs.lutimesSync = function (path, at, mt) {
- var fd = fs.openSync(path, constants.O_SYMLINK)
- var ret
- var threw = true
- try {
- ret = fs.futimesSync(fd, at, mt)
- threw = false
- } finally {
- if (threw) {
- try {
- fs.closeSync(fd)
- } catch (er) {}
- } else {
- fs.closeSync(fd)
- }
- }
- return ret
- }
-
- } else {
- fs.lutimes = function (_a, _b, _c, cb) { process.nextTick(cb) }
- fs.lutimesSync = function () {}
- }
-}
-
-function chownFix (orig) {
- if (!orig) return orig
- return function (target, uid, gid, cb) {
- return orig.call(fs, target, uid, gid, function (er, res) {
- if (chownErOk(er)) er = null
- cb(er, res)
- })
- }
-}
-
-function chownFixSync (orig) {
- if (!orig) return orig
- return function (target, uid, gid) {
- try {
- return orig.call(fs, target, uid, gid)
- } catch (er) {
- if (!chownErOk(er)) throw er
- }
- }
-}
-
-// ENOSYS means that the fs doesn't support the op. Just ignore
-// that, because it doesn't matter.
-//
-// if there's no getuid, or if getuid() is something other
-// than 0, and the error is EINVAL or EPERM, then just ignore
-// it.
-//
-// This specific case is a silent failure in cp, install, tar,
-// and most other unix tools that manage permissions.
-//
-// When running as root, or if other types of errors are
-// encountered, then it's strict.
-function chownErOk (er) {
- if (!er)
- return true
-
- if (er.code === "ENOSYS")
- return true
-
- var nonroot = !process.getuid || process.getuid() !== 0
- if (nonroot) {
- if (er.code === "EINVAL" || er.code === "EPERM")
- return true
- }
-
- return false
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/.npmignore b/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/.npmignore
deleted file mode 100644
index cefaa67a6..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-test/
-.travis.yml
\ No newline at end of file
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/CHANGELOG.md b/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/CHANGELOG.md
deleted file mode 100644
index 127ab9476..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/CHANGELOG.md
+++ /dev/null
@@ -1,62 +0,0 @@
-2.2.2 / 2015-09-16
-------------------
-- split out tests into separate files
-- fixed `throws` when set to `true` in `readFileSync()`. See: https://github.com/jprichardson/node-jsonfile/pull/33
-
-2.2.1 / 2015-06-25
-------------------
-- fixed regression when passing in string as encoding for options in `writeFile()` and `writeFileSync()`. See: https://github.com/jprichardson/node-jsonfile/issues/28
-
-2.2.0 / 2015-06-25
-------------------
-- added `options.spaces` to `writeFile()` and `writeFileSync()`
-
-2.1.2 / 2015-06-22
-------------------
-- fixed if passed `readFileSync(file, 'utf8')`. See: https://github.com/jprichardson/node-jsonfile/issues/25
-
-2.1.1 / 2015-06-19
-------------------
-- fixed regressions if `null` is passed for options. See: https://github.com/jprichardson/node-jsonfile/issues/24
-
-2.1.0 / 2015-06-19
-------------------
-- cleanup: JavaScript Standard Style, rename files, dropped terst for assert
-- methods now support JSON revivers/replacers
-
-2.0.1 / 2015-05-24
-------------------
-- update license attribute https://github.com/jprichardson/node-jsonfile/pull/21
-
-2.0.0 / 2014-07-28
-------------------
-* added `\n` to end of file on write. [#14](https://github.com/jprichardson/node-jsonfile/pull/14)
-* added `options.throws` to `readFileSync()`
-* dropped support for Node v0.8
-
-1.2.0 / 2014-06-29
-------------------
-* removed semicolons
-* bugfix: passed `options` to `fs.readFile` and `fs.readFileSync`. This technically changes behavior, but
-changes it according to docs. #12
-
-1.1.1 / 2013-11-11
-------------------
-* fixed catching of callback bug (ffissore / #5)
-
-1.1.0 / 2013-10-11
-------------------
-* added `options` param to methods, (seanodell / #4)
-
-1.0.1 / 2013-09-05
-------------------
-* removed `homepage` field from package.json to remove NPM warning
-
-1.0.0 / 2013-06-28
-------------------
-* added `.npmignore`, #1
-* changed spacing default from `4` to `2` to follow Node conventions
-
-0.0.1 / 2012-09-10
-------------------
-* Initial release.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/LICENSE
deleted file mode 100644
index cb7e807b9..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2015, JP Richardson <[email protected]>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
-(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
- merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/README.md
deleted file mode 100644
index 0901d824e..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/README.md
+++ /dev/null
@@ -1,165 +0,0 @@
-Node.js - jsonfile
-================
-
-Easily read/write JSON files.
-
-[![build status](https://secure.travis-ci.org/jprichardson/node-jsonfile.svg)](http://travis-ci.org/jprichardson/node-jsonfile)
-
-
-Why?
-----
-
-Writing `JSON.stringify()` and then `fs.writeFile()` and `JSON.parse()` with `fs.readFile()` enclosed in `try/catch` blocks became annoying.
-
-
-
-Installation
-------------
-
- npm install jsonfile --save
-
-
-
-API
----
-
-### readFile(filename, [options], callback)
-
-`options`: Pass in any `fs.readFile` options or set `reviver` for a [JSON reviver](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse).
-
-
-```js
-var jsonfile = require('jsonfile')
-var util = require('util')
-
-var file = '/tmp/data.json'
-jsonfile.readFile(file, function(err, obj) {
- console.dir(obj)
-})
-```
-
-
-### readFileSync(filename, [options])
-
-`options`: Pass in any `fs.readFileSync` options or set `reviver` for a [JSON reviver](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse). Also `throws` set to `false` if you don't ever want this method
-to throw on invalid JSON. Will return `null` instead. Defaults to `true`.
-
-```js
-var jsonfile = require('jsonfile')
-var util = require('util')
-
-var file = '/tmp/data.json'
-
-console.dir(jsonfile.readFileSync(file))
-```
-
-
-### writeFile(filename, [options], callback)
-
-`options`: Pass in any `fs.writeFile` options or set `replacer` for a [JSON replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify). Can also pass in `spaces`.
-
-
-```js
-var jsonfile = require('jsonfile')
-
-var file = '/tmp/data.json'
-var obj = {name: 'JP'}
-
-jsonfile.writeFile(file, obj, function (err) {
- console.error(err)
-})
-```
-
-**formatting with spaces:**
-
-```js
-var jsonfile = require('jsonfile')
-
-var file = '/tmp/data.json'
-var obj = {name: 'JP'}
-
-jsonfile.writeFile(file, obj, {spaces: 2}, function(err) {
- console.error(err)
-})
-```
-
-
-### writeFileSync(filename, [options])
-
-`options`: Pass in any `fs.writeFileSync` options or set `replacer` for a [JSON replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify). Can also pass in `spaces`.
-
-```js
-var jsonfile = require('jsonfile')
-
-var file = '/tmp/data.json'
-var obj = {name: 'JP'}
-
-jsonfile.writeFileSync(file, obj)
-```
-
-**formatting with spaces:**
-
-```js
-var jsonfile = require('jsonfile')
-
-var file = '/tmp/data.json'
-var obj = {name: 'JP'}
-
-jsonfile.writeFileSync(file, obj, {spaces: 2})
-```
-
-
-
-### spaces
-
-Global configuration to set spaces to indent JSON files.
-
-**default:** `null`
-
-```js
-var jsonfile = require('jsonfile')
-
-jsonfile.spaces = 4;
-
-var file = '/tmp/data.json'
-var obj = {name: 'JP'}
-
-// json file has four space indenting now
-jsonfile.writeFile(file, obj, function (err) {
- console.error(err)
-})
-```
-
-Note, it's bound to `this.spaces`. So, if you do this:
-
-```js
-var myObj = {}
-myObj.writeJsonSync = jsonfile.writeFileSync
-// => this.spaces = null
-```
-
-Could do the following:
-
-```js
-var jsonfile = require('jsonfile')
-jsonfile.spaces = 4
-jsonfile.writeFileSync(file, obj) // will have 4 spaces indentation
-
-var myCrazyObj = {spaces: 32}
-myCrazyObj.writeJsonSync = jsonfile.writeFileSync
-myCrazyObj.writeJsonSync(file, obj) // will have 32 space indentation
-myCrazyObj.writeJsonSync(file, obj, {spaces: 2}) // will have only 2
-```
-
-
-License
--------
-
-(MIT License)
-
-Copyright 2012-2015, JP Richardson <[email protected]>
-
-
-
-
-
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/index.js b/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/index.js
deleted file mode 100644
index e5d20020e..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/index.js
+++ /dev/null
@@ -1,84 +0,0 @@
-var fs = require('fs')
-
-function readFile (file, options, callback) {
- if (callback == null) {
- callback = options
- options = {}
- }
-
- fs.readFile(file, options, function (err, data) {
- if (err) return callback(err)
-
- var obj
- try {
- obj = JSON.parse(data, options ? options.reviver : null)
- } catch (err2) {
- return callback(err2)
- }
-
- callback(null, obj)
- })
-}
-
-function readFileSync (file, options) {
- options = options || {}
- if (typeof options === 'string') {
- options = {encoding: options}
- }
-
- var shouldThrow = 'throws' in options ? options.throws : true
-
- if (shouldThrow) { // i.e. throw on invalid JSON
- return JSON.parse(fs.readFileSync(file, options), options.reviver)
- } else {
- try {
- return JSON.parse(fs.readFileSync(file, options), options.reviver)
- } catch (err) {
- return null
- }
- }
-}
-
-function writeFile (file, obj, options, callback) {
- if (callback == null) {
- callback = options
- options = {}
- }
-
- var spaces = typeof options === 'object' && options !== null
- ? 'spaces' in options
- ? options.spaces : this.spaces
- : this.spaces
-
- var str = ''
- try {
- str = JSON.stringify(obj, options ? options.replacer : null, spaces) + '\n'
- } catch (err) {
- if (callback) return callback(err, null)
- }
-
- fs.writeFile(file, str, options, callback)
-}
-
-function writeFileSync (file, obj, options) {
- options = options || {}
-
- var spaces = typeof options === 'object' && options !== null
- ? 'spaces' in options
- ? options.spaces : this.spaces
- : this.spaces
-
- var str = JSON.stringify(obj, options.replacer, spaces) + '\n'
- // not sure if fs.writeFileSync returns anything, but just in case
- return fs.writeFileSync(file, str, options)
-}
-
-var jsonfile = {
- spaces: null,
- readFile: readFile,
- readFileSync: readFileSync,
- writeFile: writeFile,
- writeFileSync: writeFileSync
-}
-
-module.exports = jsonfile
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/package.json
deleted file mode 100644
index 56f0abfd3..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/jsonfile/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "jsonfile",
- "version": "2.2.2",
- "description": "Easily read/write JSON files.",
- "repository": {
- "type": "git",
- "url": "git+ssh://[email protected]/jprichardson/node-jsonfile.git"
- },
- "keywords": [
- "read",
- "write",
- "file",
- "json",
- "fs",
- "fs-extra"
- ],
- "author": {
- "name": "JP Richardson",
- "email": "[email protected]"
- },
- "license": "MIT",
- "dependencies": {},
- "devDependencies": {
- "mocha": "2.x",
- "rimraf": "^2.4.0",
- "standard": "4.x"
- },
- "main": "index.js",
- "scripts": {
- "test": "standard && mocha"
- },
- "gitHead": "9b6d7089b33f95678b418656248c57b8d1989434",
- "bugs": {
- "url": "https://github.com/jprichardson/node-jsonfile/issues"
- },
- "homepage": "https://github.com/jprichardson/node-jsonfile#readme",
- "_id": "[email protected]",
- "_shasum": "07f3861df42175c995aaa4fbd94f90aaa95531cd",
- "_from": "jsonfile@>=2.1.0 <3.0.0",
- "_npmVersion": "2.10.1",
- "_nodeVersion": "2.1.0",
- "_npmUser": {
- "name": "jprichardson",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "jprichardson",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "07f3861df42175c995aaa4fbd94f90aaa95531cd",
- "tarball": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.2.2.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.2.2.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/index.js b/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/index.js
deleted file mode 100644
index 19f103f90..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-'use strict';
-
-function posix(path) {
- return path.charAt(0) === '/';
-};
-
-function win32(path) {
- // https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
- var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
- var result = splitDeviceRe.exec(path);
- var device = result[1] || '';
- var isUnc = !!device && device.charAt(1) !== ':';
-
- // UNC paths are always absolute
- return !!result[2] || isUnc;
-};
-
-module.exports = process.platform === 'win32' ? win32 : posix;
-module.exports.posix = posix;
-module.exports.win32 = win32;
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/license b/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/package.json
deleted file mode 100644
index 301658ffd..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/package.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "name": "path-is-absolute",
- "version": "1.0.0",
- "description": "Node.js 0.12 path.isAbsolute() ponyfill",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/path-is-absolute"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "path",
- "paths",
- "file",
- "dir",
- "absolute",
- "isabsolute",
- "is-absolute",
- "built-in",
- "util",
- "utils",
- "core",
- "ponyfill",
- "polyfill",
- "shim",
- "is",
- "detect",
- "check"
- ],
- "gitHead": "7a76a0c9f2263192beedbe0a820e4d0baee5b7a1",
- "bugs": {
- "url": "https://github.com/sindresorhus/path-is-absolute/issues"
- },
- "homepage": "https://github.com/sindresorhus/path-is-absolute",
- "_id": "[email protected]",
- "_shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912",
- "_from": "path-is-absolute@>=1.0.0 <2.0.0",
- "_npmVersion": "2.5.1",
- "_nodeVersion": "0.12.0",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912",
- "tarball": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/readme.md b/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/readme.md
deleted file mode 100644
index cdf94f430..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/path-is-absolute/readme.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# path-is-absolute [![Build Status](https://travis-ci.org/sindresorhus/path-is-absolute.svg?branch=master)](https://travis-ci.org/sindresorhus/path-is-absolute)
-
-> Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) ponyfill
-
-> Ponyfill: A polyfill that doesn't overwrite the native method
-
-
-## Install
-
-```
-$ npm install --save path-is-absolute
-```
-
-
-## Usage
-
-```js
-var pathIsAbsolute = require('path-is-absolute');
-
-// Linux
-pathIsAbsolute('/home/foo');
-//=> true
-
-// Windows
-pathIsAbsolute('C:/Users/');
-//=> true
-
-// Any OS
-pathIsAbsolute.posix('/home/foo');
-//=> true
-```
-
-
-## API
-
-See the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isabsolute_path).
-
-### pathIsAbsolute(path)
-
-### pathIsAbsolute.posix(path)
-
-The Posix specific version.
-
-### pathIsAbsolute.win32(path)
-
-The Windows specific version.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/README.md
deleted file mode 100644
index 18659f67f..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-[![Build Status](https://travis-ci.org/isaacs/rimraf.svg?branch=master)](https://travis-ci.org/isaacs/rimraf) [![Dependency Status](https://david-dm.org/isaacs/rimraf.svg)](https://david-dm.org/isaacs/rimraf) [![devDependency Status](https://david-dm.org/isaacs/rimraf/dev-status.svg)](https://david-dm.org/isaacs/rimraf#info=devDependencies)
-
-The [UNIX command](http://en.wikipedia.org/wiki/Rm_(Unix)) `rm -rf` for node.
-
-Install with `npm install rimraf`, or just drop rimraf.js somewhere.
-
-## API
-
-`rimraf(f, callback)`
-
-The callback will be called with an error if there is one. Certain
-errors are handled for you:
-
-* Windows: `EBUSY` and `ENOTEMPTY` - rimraf will back off a maximum of
- `opts.maxBusyTries` times before giving up, adding 100ms of wait
- between each attempt. The default `maxBusyTries` is 3.
-* `ENOENT` - If the file doesn't exist, rimraf will return
- successfully, since your desired outcome is already the case.
-* `EMFILE` - Since `readdir` requires opening a file descriptor, it's
- possible to hit `EMFILE` if too many file descriptors are in use.
- In the sync case, there's nothing to be done for this. But in the
- async case, rimraf will gradually back off with timeouts up to
- `opts.emfileWait` ms, which defaults to 1000.
-
-## rimraf.sync
-
-It can remove stuff synchronously, too. But that's not so good. Use
-the async API. It's better.
-
-## CLI
-
-If installed with `npm install rimraf -g` it can be used as a global
-command `rimraf <path> [<path> ...]` which is useful for cross platform support.
-
-## mkdirp
-
-If you need to create a directory recursively, check out
-[mkdirp](https://github.com/substack/node-mkdirp).
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/bin.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/bin.js
deleted file mode 100644
index 1bd5a0d16..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/bin.js
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env node
-
-var rimraf = require('./')
-
-var help = false
-var dashdash = false
-var args = process.argv.slice(2).filter(function(arg) {
- if (dashdash)
- return !!arg
- else if (arg === '--')
- dashdash = true
- else if (arg.match(/^(-+|\/)(h(elp)?|\?)$/))
- help = true
- else
- return !!arg
-});
-
-if (help || args.length === 0) {
- // If they didn't ask for help, then this is not a "success"
- var log = help ? console.log : console.error
- log('Usage: rimraf <path> [<path> ...]')
- log('')
- log(' Deletes all files and folders at "path" recursively.')
- log('')
- log('Options:')
- log('')
- log(' -h, --help Display this usage info')
- process.exit(help ? 0 : 1)
-} else
- go(0)
-
-function go (n) {
- if (n >= args.length)
- return
- rimraf(args[n], function (er) {
- if (er)
- throw er
- go(n+1)
- })
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/README.md
deleted file mode 100644
index 063cf950a..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/README.md
+++ /dev/null
@@ -1,377 +0,0 @@
-[![Build Status](https://travis-ci.org/isaacs/node-glob.svg?branch=master)](https://travis-ci.org/isaacs/node-glob/) [![Dependency Status](https://david-dm.org/isaacs/node-glob.svg)](https://david-dm.org/isaacs/node-glob) [![devDependency Status](https://david-dm.org/isaacs/node-glob/dev-status.svg)](https://david-dm.org/isaacs/node-glob#info=devDependencies) [![optionalDependency Status](https://david-dm.org/isaacs/node-glob/optional-status.svg)](https://david-dm.org/isaacs/node-glob#info=optionalDependencies)
-
-# Glob
-
-Match files using the patterns the shell uses, like stars and stuff.
-
-This is a glob implementation in JavaScript. It uses the `minimatch`
-library to do its matching.
-
-![](oh-my-glob.gif)
-
-## Usage
-
-```javascript
-var glob = require("glob")
-
-// options is optional
-glob("**/*.js", options, function (er, files) {
- // files is an array of filenames.
- // If the `nonull` option is set, and nothing
- // was found, then files is ["**/*.js"]
- // er is an error object or null.
-})
-```
-
-## Glob Primer
-
-"Globs" are the patterns you type when you do stuff like `ls *.js` on
-the command line, or put `build/*` in a `.gitignore` file.
-
-Before parsing the path part patterns, braced sections are expanded
-into a set. Braced sections start with `{` and end with `}`, with any
-number of comma-delimited sections within. Braced sections may contain
-slash characters, so `a{/b/c,bcd}` would expand into `a/b/c` and `abcd`.
-
-The following characters have special magic meaning when used in a
-path portion:
-
-* `*` Matches 0 or more characters in a single path portion
-* `?` Matches 1 character
-* `[...]` Matches a range of characters, similar to a RegExp range.
- If the first character of the range is `!` or `^` then it matches
- any character not in the range.
-* `!(pattern|pattern|pattern)` Matches anything that does not match
- any of the patterns provided.
-* `?(pattern|pattern|pattern)` Matches zero or one occurrence of the
- patterns provided.
-* `+(pattern|pattern|pattern)` Matches one or more occurrences of the
- patterns provided.
-* `*(a|b|c)` Matches zero or more occurrences of the patterns provided
-* `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
- provided
-* `**` If a "globstar" is alone in a path portion, then it matches
- zero or more directories and subdirectories searching for matches.
- It does not crawl symlinked directories.
-
-### Dots
-
-If a file or directory path portion has a `.` as the first character,
-then it will not match any glob pattern unless that pattern's
-corresponding path part also has a `.` as its first character.
-
-For example, the pattern `a/.*/c` would match the file at `a/.b/c`.
-However the pattern `a/*/c` would not, because `*` does not start with
-a dot character.
-
-You can make glob treat dots as normal characters by setting
-`dot:true` in the options.
-
-### Basename Matching
-
-If you set `matchBase:true` in the options, and the pattern has no
-slashes in it, then it will seek for any file anywhere in the tree
-with a matching basename. For example, `*.js` would match
-`test/simple/basic.js`.
-
-### Negation
-
-The intent for negation would be for a pattern starting with `!` to
-match everything that *doesn't* match the supplied pattern. However,
-the implementation is weird, and for the time being, this should be
-avoided. The behavior is deprecated in version 5, and will be removed
-entirely in version 6.
-
-### Empty Sets
-
-If no matching files are found, then an empty array is returned. This
-differs from the shell, where the pattern itself is returned. For
-example:
-
- $ echo a*s*d*f
- a*s*d*f
-
-To get the bash-style behavior, set the `nonull:true` in the options.
-
-### See Also:
-
-* `man sh`
-* `man bash` (Search for "Pattern Matching")
-* `man 3 fnmatch`
-* `man 5 gitignore`
-* [minimatch documentation](https://github.com/isaacs/minimatch)
-
-## glob.hasMagic(pattern, [options])
-
-Returns `true` if there are any special characters in the pattern, and
-`false` otherwise.
-
-Note that the options affect the results. If `noext:true` is set in
-the options object, then `+(a|b)` will not be considered a magic
-pattern. If the pattern has a brace expansion, like `a/{b/c,x/y}`
-then that is considered magical, unless `nobrace:true` is set in the
-options.
-
-## glob(pattern, [options], cb)
-
-* `pattern` {String} Pattern to be matched
-* `options` {Object}
-* `cb` {Function}
- * `err` {Error | null}
- * `matches` {Array<String>} filenames found matching the pattern
-
-Perform an asynchronous glob search.
-
-## glob.sync(pattern, [options])
-
-* `pattern` {String} Pattern to be matched
-* `options` {Object}
-* return: {Array<String>} filenames found matching the pattern
-
-Perform a synchronous glob search.
-
-## Class: glob.Glob
-
-Create a Glob object by instantiating the `glob.Glob` class.
-
-```javascript
-var Glob = require("glob").Glob
-var mg = new Glob(pattern, options, cb)
-```
-
-It's an EventEmitter, and starts walking the filesystem to find matches
-immediately.
-
-### new glob.Glob(pattern, [options], [cb])
-
-* `pattern` {String} pattern to search for
-* `options` {Object}
-* `cb` {Function} Called when an error occurs, or matches are found
- * `err` {Error | null}
- * `matches` {Array<String>} filenames found matching the pattern
-
-Note that if the `sync` flag is set in the options, then matches will
-be immediately available on the `g.found` member.
-
-### Properties
-
-* `minimatch` The minimatch object that the glob uses.
-* `options` The options object passed in.
-* `aborted` Boolean which is set to true when calling `abort()`. There
- is no way at this time to continue a glob search after aborting, but
- you can re-use the statCache to avoid having to duplicate syscalls.
-* `cache` Convenience object. Each field has the following possible
- values:
- * `false` - Path does not exist
- * `true` - Path exists
- * `'DIR'` - Path exists, and is not a directory
- * `'FILE'` - Path exists, and is a directory
- * `[file, entries, ...]` - Path exists, is a directory, and the
- array value is the results of `fs.readdir`
-* `statCache` Cache of `fs.stat` results, to prevent statting the same
- path multiple times.
-* `symlinks` A record of which paths are symbolic links, which is
- relevant in resolving `**` patterns.
-* `realpathCache` An optional object which is passed to `fs.realpath`
- to minimize unnecessary syscalls. It is stored on the instantiated
- Glob object, and may be re-used.
-
-### Events
-
-* `end` When the matching is finished, this is emitted with all the
- matches found. If the `nonull` option is set, and no match was found,
- then the `matches` list contains the original pattern. The matches
- are sorted, unless the `nosort` flag is set.
-* `match` Every time a match is found, this is emitted with the matched.
-* `error` Emitted when an unexpected error is encountered, or whenever
- any fs error occurs if `options.strict` is set.
-* `abort` When `abort()` is called, this event is raised.
-
-### Methods
-
-* `pause` Temporarily stop the search
-* `resume` Resume the search
-* `abort` Stop the search forever
-
-### Options
-
-All the options that can be passed to Minimatch can also be passed to
-Glob to change pattern matching behavior. Also, some have been added,
-or have glob-specific ramifications.
-
-All options are false by default, unless otherwise noted.
-
-All options are added to the Glob object, as well.
-
-If you are running many `glob` operations, you can pass a Glob object
-as the `options` argument to a subsequent operation to shortcut some
-`stat` and `readdir` calls. At the very least, you may pass in shared
-`symlinks`, `statCache`, `realpathCache`, and `cache` options, so that
-parallel glob operations will be sped up by sharing information about
-the filesystem.
-
-* `cwd` The current working directory in which to search. Defaults
- to `process.cwd()`.
-* `root` The place where patterns starting with `/` will be mounted
- onto. Defaults to `path.resolve(options.cwd, "/")` (`/` on Unix
- systems, and `C:\` or some such on Windows.)
-* `dot` Include `.dot` files in normal matches and `globstar` matches.
- Note that an explicit dot in a portion of the pattern will always
- match dot files.
-* `nomount` By default, a pattern starting with a forward-slash will be
- "mounted" onto the root setting, so that a valid filesystem path is
- returned. Set this flag to disable that behavior.
-* `mark` Add a `/` character to directory matches. Note that this
- requires additional stat calls.
-* `nosort` Don't sort the results.
-* `stat` Set to true to stat *all* results. This reduces performance
- somewhat, and is completely unnecessary, unless `readdir` is presumed
- to be an untrustworthy indicator of file existence.
-* `silent` When an unusual error is encountered when attempting to
- read a directory, a warning will be printed to stderr. Set the
- `silent` option to true to suppress these warnings.
-* `strict` When an unusual error is encountered when attempting to
- read a directory, the process will just continue on in search of
- other matches. Set the `strict` option to raise an error in these
- cases.
-* `cache` See `cache` property above. Pass in a previously generated
- cache object to save some fs calls.
-* `statCache` A cache of results of filesystem information, to prevent
- unnecessary stat calls. While it should not normally be necessary
- to set this, you may pass the statCache from one glob() call to the
- options object of another, if you know that the filesystem will not
- change between calls. (See "Race Conditions" below.)
-* `symlinks` A cache of known symbolic links. You may pass in a
- previously generated `symlinks` object to save `lstat` calls when
- resolving `**` matches.
-* `sync` DEPRECATED: use `glob.sync(pattern, opts)` instead.
-* `nounique` In some cases, brace-expanded patterns can result in the
- same file showing up multiple times in the result set. By default,
- this implementation prevents duplicates in the result set. Set this
- flag to disable that behavior.
-* `nonull` Set to never return an empty set, instead returning a set
- containing the pattern itself. This is the default in glob(3).
-* `debug` Set to enable debug logging in minimatch and glob.
-* `nobrace` Do not expand `{a,b}` and `{1..3}` brace sets.
-* `noglobstar` Do not match `**` against multiple filenames. (Ie,
- treat it as a normal `*` instead.)
-* `noext` Do not match `+(a|b)` "extglob" patterns.
-* `nocase` Perform a case-insensitive match. Note: on
- case-insensitive filesystems, non-magic patterns will match by
- default, since `stat` and `readdir` will not raise errors.
-* `matchBase` Perform a basename-only match if the pattern does not
- contain any slash characters. That is, `*.js` would be treated as
- equivalent to `**/*.js`, matching all js files in all directories.
-* `nodir` Do not match directories, only files. (Note: to match
- *only* directories, simply put a `/` at the end of the pattern.)
-* `ignore` Add a pattern or an array of patterns to exclude matches.
-* `follow` Follow symlinked directories when expanding `**` patterns.
- Note that this can result in a lot of duplicate references in the
- presence of cyclic links.
-* `realpath` Set to true to call `fs.realpath` on all of the results.
- In the case of a symlink that cannot be resolved, the full absolute
- path to the matched entry is returned (though it will usually be a
- broken symlink)
-* `nonegate` Suppress deprecated `negate` behavior. (See below.)
- Default=true
-* `nocomment` Suppress deprecated `comment` behavior. (See below.)
- Default=true
-
-## Comparisons to other fnmatch/glob implementations
-
-While strict compliance with the existing standards is a worthwhile
-goal, some discrepancies exist between node-glob and other
-implementations, and are intentional.
-
-The double-star character `**` is supported by default, unless the
-`noglobstar` flag is set. This is supported in the manner of bsdglob
-and bash 4.3, where `**` only has special significance if it is the only
-thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
-`a/**b` will not.
-
-Note that symlinked directories are not crawled as part of a `**`,
-though their contents may match against subsequent portions of the
-pattern. This prevents infinite loops and duplicates and the like.
-
-If an escaped pattern has no matches, and the `nonull` flag is set,
-then glob returns the pattern as-provided, rather than
-interpreting the character escapes. For example,
-`glob.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
-`"*a?"`. This is akin to setting the `nullglob` option in bash, except
-that it does not resolve escaped pattern characters.
-
-If brace expansion is not disabled, then it is performed before any
-other interpretation of the glob pattern. Thus, a pattern like
-`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
-**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
-checked for validity. Since those two are valid, matching proceeds.
-
-### Comments and Negation
-
-**Note**: In version 5 of this module, negation and comments are
-**disabled** by default. You can explicitly set `nonegate:false` or
-`nocomment:false` to re-enable them. They are going away entirely in
-version 6.
-
-The intent for negation would be for a pattern starting with `!` to
-match everything that *doesn't* match the supplied pattern. However,
-the implementation is weird. It is better to use the `ignore` option
-to set a pattern or set of patterns to exclude from matches. If you
-want the "everything except *x*" type of behavior, you can use `**` as
-the main pattern, and set an `ignore` for the things to exclude.
-
-The comments feature is added in minimatch, primarily to more easily
-support use cases like ignore files, where a `#` at the start of a
-line makes the pattern "empty". However, in the context of a
-straightforward filesystem globber, "comments" don't make much sense.
-
-## Windows
-
-**Please only use forward-slashes in glob expressions.**
-
-Though windows uses either `/` or `\` as its path separator, only `/`
-characters are used by this glob implementation. You must use
-forward-slashes **only** in glob expressions. Back-slashes will always
-be interpreted as escape characters, not path separators.
-
-Results from absolute patterns such as `/foo/*` are mounted onto the
-root setting using `path.join`. On windows, this will by default result
-in `/foo/*` matching `C:\foo\bar.txt`.
-
-## Race Conditions
-
-Glob searching, by its very nature, is susceptible to race conditions,
-since it relies on directory walking and such.
-
-As a result, it is possible that a file that exists when glob looks for
-it may have been deleted or modified by the time it returns the result.
-
-As part of its internal implementation, this program caches all stat
-and readdir calls that it makes, in order to cut down on system
-overhead. However, this also makes it even more susceptible to races,
-especially if the cache or statCache objects are reused between glob
-calls.
-
-Users are thus advised not to use a glob result as a guarantee of
-filesystem state in the face of rapid changes. For the vast majority
-of operations, this is never a problem.
-
-## Contributing
-
-Any change to behavior (including bugfixes) must come with a test.
-
-Patches that fail tests or reduce performance will be rejected.
-
-```
-# to run tests
-npm test
-
-# to re-generate test fixtures
-npm run test-regen
-
-# to benchmark against bash/zsh
-npm run bench
-
-# to profile javascript
-npm run prof
-```
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/common.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/common.js
deleted file mode 100644
index e36a631ca..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/common.js
+++ /dev/null
@@ -1,245 +0,0 @@
-exports.alphasort = alphasort
-exports.alphasorti = alphasorti
-exports.setopts = setopts
-exports.ownProp = ownProp
-exports.makeAbs = makeAbs
-exports.finish = finish
-exports.mark = mark
-exports.isIgnored = isIgnored
-exports.childrenIgnored = childrenIgnored
-
-function ownProp (obj, field) {
- return Object.prototype.hasOwnProperty.call(obj, field)
-}
-
-var path = require("path")
-var minimatch = require("minimatch")
-var isAbsolute = require("path-is-absolute")
-var Minimatch = minimatch.Minimatch
-
-function alphasorti (a, b) {
- return a.toLowerCase().localeCompare(b.toLowerCase())
-}
-
-function alphasort (a, b) {
- return a.localeCompare(b)
-}
-
-function setupIgnores (self, options) {
- self.ignore = options.ignore || []
-
- if (!Array.isArray(self.ignore))
- self.ignore = [self.ignore]
-
- if (self.ignore.length) {
- self.ignore = self.ignore.map(ignoreMap)
- }
-}
-
-function ignoreMap (pattern) {
- var gmatcher = null
- if (pattern.slice(-3) === '/**') {
- var gpattern = pattern.replace(/(\/\*\*)+$/, '')
- gmatcher = new Minimatch(gpattern)
- }
-
- return {
- matcher: new Minimatch(pattern),
- gmatcher: gmatcher
- }
-}
-
-function setopts (self, pattern, options) {
- if (!options)
- options = {}
-
- // base-matching: just use globstar for that.
- if (options.matchBase && -1 === pattern.indexOf("/")) {
- if (options.noglobstar) {
- throw new Error("base matching requires globstar")
- }
- pattern = "**/" + pattern
- }
-
- self.silent = !!options.silent
- self.pattern = pattern
- self.strict = options.strict !== false
- self.realpath = !!options.realpath
- self.realpathCache = options.realpathCache || Object.create(null)
- self.follow = !!options.follow
- self.dot = !!options.dot
- self.mark = !!options.mark
- self.nodir = !!options.nodir
- if (self.nodir)
- self.mark = true
- self.sync = !!options.sync
- self.nounique = !!options.nounique
- self.nonull = !!options.nonull
- self.nosort = !!options.nosort
- self.nocase = !!options.nocase
- self.stat = !!options.stat
- self.noprocess = !!options.noprocess
-
- self.maxLength = options.maxLength || Infinity
- self.cache = options.cache || Object.create(null)
- self.statCache = options.statCache || Object.create(null)
- self.symlinks = options.symlinks || Object.create(null)
-
- setupIgnores(self, options)
-
- self.changedCwd = false
- var cwd = process.cwd()
- if (!ownProp(options, "cwd"))
- self.cwd = cwd
- else {
- self.cwd = options.cwd
- self.changedCwd = path.resolve(options.cwd) !== cwd
- }
-
- self.root = options.root || path.resolve(self.cwd, "/")
- self.root = path.resolve(self.root)
- if (process.platform === "win32")
- self.root = self.root.replace(/\\/g, "/")
-
- self.nomount = !!options.nomount
-
- // disable comments and negation unless the user explicitly
- // passes in false as the option.
- options.nonegate = options.nonegate === false ? false : true
- options.nocomment = options.nocomment === false ? false : true
- deprecationWarning(options)
-
- self.minimatch = new Minimatch(pattern, options)
- self.options = self.minimatch.options
-}
-
-// TODO(isaacs): remove entirely in v6
-// exported to reset in tests
-exports.deprecationWarned
-function deprecationWarning(options) {
- if (!options.nonegate || !options.nocomment) {
- if (process.noDeprecation !== true && !exports.deprecationWarned) {
- var msg = 'glob WARNING: comments and negation will be disabled in v6'
- if (process.throwDeprecation)
- throw new Error(msg)
- else if (process.traceDeprecation)
- console.trace(msg)
- else
- console.error(msg)
-
- exports.deprecationWarned = true
- }
- }
-}
-
-function finish (self) {
- var nou = self.nounique
- var all = nou ? [] : Object.create(null)
-
- for (var i = 0, l = self.matches.length; i < l; i ++) {
- var matches = self.matches[i]
- if (!matches || Object.keys(matches).length === 0) {
- if (self.nonull) {
- // do like the shell, and spit out the literal glob
- var literal = self.minimatch.globSet[i]
- if (nou)
- all.push(literal)
- else
- all[literal] = true
- }
- } else {
- // had matches
- var m = Object.keys(matches)
- if (nou)
- all.push.apply(all, m)
- else
- m.forEach(function (m) {
- all[m] = true
- })
- }
- }
-
- if (!nou)
- all = Object.keys(all)
-
- if (!self.nosort)
- all = all.sort(self.nocase ? alphasorti : alphasort)
-
- // at *some* point we statted all of these
- if (self.mark) {
- for (var i = 0; i < all.length; i++) {
- all[i] = self._mark(all[i])
- }
- if (self.nodir) {
- all = all.filter(function (e) {
- return !(/\/$/.test(e))
- })
- }
- }
-
- if (self.ignore.length)
- all = all.filter(function(m) {
- return !isIgnored(self, m)
- })
-
- self.found = all
-}
-
-function mark (self, p) {
- var abs = makeAbs(self, p)
- var c = self.cache[abs]
- var m = p
- if (c) {
- var isDir = c === 'DIR' || Array.isArray(c)
- var slash = p.slice(-1) === '/'
-
- if (isDir && !slash)
- m += '/'
- else if (!isDir && slash)
- m = m.slice(0, -1)
-
- if (m !== p) {
- var mabs = makeAbs(self, m)
- self.statCache[mabs] = self.statCache[abs]
- self.cache[mabs] = self.cache[abs]
- }
- }
-
- return m
-}
-
-// lotta situps...
-function makeAbs (self, f) {
- var abs = f
- if (f.charAt(0) === '/') {
- abs = path.join(self.root, f)
- } else if (isAbsolute(f) || f === '') {
- abs = f
- } else if (self.changedCwd) {
- abs = path.resolve(self.cwd, f)
- } else {
- abs = path.resolve(f)
- }
- return abs
-}
-
-
-// Return true, if pattern ends with globstar '**', for the accompanying parent directory.
-// Ex:- If node_modules/** is the pattern, add 'node_modules' to ignore list along with it's contents
-function isIgnored (self, path) {
- if (!self.ignore.length)
- return false
-
- return self.ignore.some(function(item) {
- return item.matcher.match(path) || !!(item.gmatcher && item.gmatcher.match(path))
- })
-}
-
-function childrenIgnored (self, path) {
- if (!self.ignore.length)
- return false
-
- return self.ignore.some(function(item) {
- return !!(item.gmatcher && item.gmatcher.match(path))
- })
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/glob.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/glob.js
deleted file mode 100644
index 022d2ac8c..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/glob.js
+++ /dev/null
@@ -1,752 +0,0 @@
-// Approach:
-//
-// 1. Get the minimatch set
-// 2. For each pattern in the set, PROCESS(pattern, false)
-// 3. Store matches per-set, then uniq them
-//
-// PROCESS(pattern, inGlobStar)
-// Get the first [n] items from pattern that are all strings
-// Join these together. This is PREFIX.
-// If there is no more remaining, then stat(PREFIX) and
-// add to matches if it succeeds. END.
-//
-// If inGlobStar and PREFIX is symlink and points to dir
-// set ENTRIES = []
-// else readdir(PREFIX) as ENTRIES
-// If fail, END
-//
-// with ENTRIES
-// If pattern[n] is GLOBSTAR
-// // handle the case where the globstar match is empty
-// // by pruning it out, and testing the resulting pattern
-// PROCESS(pattern[0..n] + pattern[n+1 .. $], false)
-// // handle other cases.
-// for ENTRY in ENTRIES (not dotfiles)
-// // attach globstar + tail onto the entry
-// // Mark that this entry is a globstar match
-// PROCESS(pattern[0..n] + ENTRY + pattern[n .. $], true)
-//
-// else // not globstar
-// for ENTRY in ENTRIES (not dotfiles, unless pattern[n] is dot)
-// Test ENTRY against pattern[n]
-// If fails, continue
-// If passes, PROCESS(pattern[0..n] + item + pattern[n+1 .. $])
-//
-// Caveat:
-// Cache all stats and readdirs results to minimize syscall. Since all
-// we ever care about is existence and directory-ness, we can just keep
-// `true` for files, and [children,...] for directories, or `false` for
-// things that don't exist.
-
-module.exports = glob
-
-var fs = require('fs')
-var minimatch = require('minimatch')
-var Minimatch = minimatch.Minimatch
-var inherits = require('inherits')
-var EE = require('events').EventEmitter
-var path = require('path')
-var assert = require('assert')
-var isAbsolute = require('path-is-absolute')
-var globSync = require('./sync.js')
-var common = require('./common.js')
-var alphasort = common.alphasort
-var alphasorti = common.alphasorti
-var setopts = common.setopts
-var ownProp = common.ownProp
-var inflight = require('inflight')
-var util = require('util')
-var childrenIgnored = common.childrenIgnored
-var isIgnored = common.isIgnored
-
-var once = require('once')
-
-function glob (pattern, options, cb) {
- if (typeof options === 'function') cb = options, options = {}
- if (!options) options = {}
-
- if (options.sync) {
- if (cb)
- throw new TypeError('callback provided to sync glob')
- return globSync(pattern, options)
- }
-
- return new Glob(pattern, options, cb)
-}
-
-glob.sync = globSync
-var GlobSync = glob.GlobSync = globSync.GlobSync
-
-// old api surface
-glob.glob = glob
-
-glob.hasMagic = function (pattern, options_) {
- var options = util._extend({}, options_)
- options.noprocess = true
-
- var g = new Glob(pattern, options)
- var set = g.minimatch.set
- if (set.length > 1)
- return true
-
- for (var j = 0; j < set[0].length; j++) {
- if (typeof set[0][j] !== 'string')
- return true
- }
-
- return false
-}
-
-glob.Glob = Glob
-inherits(Glob, EE)
-function Glob (pattern, options, cb) {
- if (typeof options === 'function') {
- cb = options
- options = null
- }
-
- if (options && options.sync) {
- if (cb)
- throw new TypeError('callback provided to sync glob')
- return new GlobSync(pattern, options)
- }
-
- if (!(this instanceof Glob))
- return new Glob(pattern, options, cb)
-
- setopts(this, pattern, options)
- this._didRealPath = false
-
- // process each pattern in the minimatch set
- var n = this.minimatch.set.length
-
- // The matches are stored as {<filename>: true,...} so that
- // duplicates are automagically pruned.
- // Later, we do an Object.keys() on these.
- // Keep them as a list so we can fill in when nonull is set.
- this.matches = new Array(n)
-
- if (typeof cb === 'function') {
- cb = once(cb)
- this.on('error', cb)
- this.on('end', function (matches) {
- cb(null, matches)
- })
- }
-
- var self = this
- var n = this.minimatch.set.length
- this._processing = 0
- this.matches = new Array(n)
-
- this._emitQueue = []
- this._processQueue = []
- this.paused = false
-
- if (this.noprocess)
- return this
-
- if (n === 0)
- return done()
-
- for (var i = 0; i < n; i ++) {
- this._process(this.minimatch.set[i], i, false, done)
- }
-
- function done () {
- --self._processing
- if (self._processing <= 0)
- self._finish()
- }
-}
-
-Glob.prototype._finish = function () {
- assert(this instanceof Glob)
- if (this.aborted)
- return
-
- if (this.realpath && !this._didRealpath)
- return this._realpath()
-
- common.finish(this)
- this.emit('end', this.found)
-}
-
-Glob.prototype._realpath = function () {
- if (this._didRealpath)
- return
-
- this._didRealpath = true
-
- var n = this.matches.length
- if (n === 0)
- return this._finish()
-
- var self = this
- for (var i = 0; i < this.matches.length; i++)
- this._realpathSet(i, next)
-
- function next () {
- if (--n === 0)
- self._finish()
- }
-}
-
-Glob.prototype._realpathSet = function (index, cb) {
- var matchset = this.matches[index]
- if (!matchset)
- return cb()
-
- var found = Object.keys(matchset)
- var self = this
- var n = found.length
-
- if (n === 0)
- return cb()
-
- var set = this.matches[index] = Object.create(null)
- found.forEach(function (p, i) {
- // If there's a problem with the stat, then it means that
- // one or more of the links in the realpath couldn't be
- // resolved. just return the abs value in that case.
- p = self._makeAbs(p)
- fs.realpath(p, self.realpathCache, function (er, real) {
- if (!er)
- set[real] = true
- else if (er.syscall === 'stat')
- set[p] = true
- else
- self.emit('error', er) // srsly wtf right here
-
- if (--n === 0) {
- self.matches[index] = set
- cb()
- }
- })
- })
-}
-
-Glob.prototype._mark = function (p) {
- return common.mark(this, p)
-}
-
-Glob.prototype._makeAbs = function (f) {
- return common.makeAbs(this, f)
-}
-
-Glob.prototype.abort = function () {
- this.aborted = true
- this.emit('abort')
-}
-
-Glob.prototype.pause = function () {
- if (!this.paused) {
- this.paused = true
- this.emit('pause')
- }
-}
-
-Glob.prototype.resume = function () {
- if (this.paused) {
- this.emit('resume')
- this.paused = false
- if (this._emitQueue.length) {
- var eq = this._emitQueue.slice(0)
- this._emitQueue.length = 0
- for (var i = 0; i < eq.length; i ++) {
- var e = eq[i]
- this._emitMatch(e[0], e[1])
- }
- }
- if (this._processQueue.length) {
- var pq = this._processQueue.slice(0)
- this._processQueue.length = 0
- for (var i = 0; i < pq.length; i ++) {
- var p = pq[i]
- this._processing--
- this._process(p[0], p[1], p[2], p[3])
- }
- }
- }
-}
-
-Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
- assert(this instanceof Glob)
- assert(typeof cb === 'function')
-
- if (this.aborted)
- return
-
- this._processing++
- if (this.paused) {
- this._processQueue.push([pattern, index, inGlobStar, cb])
- return
- }
-
- //console.error('PROCESS %d', this._processing, pattern)
-
- // Get the first [n] parts of pattern that are all strings.
- var n = 0
- while (typeof pattern[n] === 'string') {
- n ++
- }
- // now n is the index of the first one that is *not* a string.
-
- // see if there's anything else
- var prefix
- switch (n) {
- // if not, then this is rather simple
- case pattern.length:
- this._processSimple(pattern.join('/'), index, cb)
- return
-
- case 0:
- // pattern *starts* with some non-trivial item.
- // going to readdir(cwd), but not include the prefix in matches.
- prefix = null
- break
-
- default:
- // pattern has some string bits in the front.
- // whatever it starts with, whether that's 'absolute' like /foo/bar,
- // or 'relative' like '../baz'
- prefix = pattern.slice(0, n).join('/')
- break
- }
-
- var remain = pattern.slice(n)
-
- // get the list of entries.
- var read
- if (prefix === null)
- read = '.'
- else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
- if (!prefix || !isAbsolute(prefix))
- prefix = '/' + prefix
- read = prefix
- } else
- read = prefix
-
- var abs = this._makeAbs(read)
-
- //if ignored, skip _processing
- if (childrenIgnored(this, read))
- return cb()
-
- var isGlobStar = remain[0] === minimatch.GLOBSTAR
- if (isGlobStar)
- this._processGlobStar(prefix, read, abs, remain, index, inGlobStar, cb)
- else
- this._processReaddir(prefix, read, abs, remain, index, inGlobStar, cb)
-}
-
-Glob.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar, cb) {
- var self = this
- this._readdir(abs, inGlobStar, function (er, entries) {
- return self._processReaddir2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
- })
-}
-
-Glob.prototype._processReaddir2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
-
- // if the abs isn't a dir, then nothing can match!
- if (!entries)
- return cb()
-
- // It will only match dot entries if it starts with a dot, or if
- // dot is set. Stuff like @(.foo|.bar) isn't allowed.
- var pn = remain[0]
- var negate = !!this.minimatch.negate
- var rawGlob = pn._glob
- var dotOk = this.dot || rawGlob.charAt(0) === '.'
-
- var matchedEntries = []
- for (var i = 0; i < entries.length; i++) {
- var e = entries[i]
- if (e.charAt(0) !== '.' || dotOk) {
- var m
- if (negate && !prefix) {
- m = !e.match(pn)
- } else {
- m = e.match(pn)
- }
- if (m)
- matchedEntries.push(e)
- }
- }
-
- //console.error('prd2', prefix, entries, remain[0]._glob, matchedEntries)
-
- var len = matchedEntries.length
- // If there are no matched entries, then nothing matches.
- if (len === 0)
- return cb()
-
- // if this is the last remaining pattern bit, then no need for
- // an additional stat *unless* the user has specified mark or
- // stat explicitly. We know they exist, since readdir returned
- // them.
-
- if (remain.length === 1 && !this.mark && !this.stat) {
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- if (prefix) {
- if (prefix !== '/')
- e = prefix + '/' + e
- else
- e = prefix + e
- }
-
- if (e.charAt(0) === '/' && !this.nomount) {
- e = path.join(this.root, e)
- }
- this._emitMatch(index, e)
- }
- // This was the last one, and no stats were needed
- return cb()
- }
-
- // now test all matched entries as stand-ins for that part
- // of the pattern.
- remain.shift()
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- var newPattern
- if (prefix) {
- if (prefix !== '/')
- e = prefix + '/' + e
- else
- e = prefix + e
- }
- this._process([e].concat(remain), index, inGlobStar, cb)
- }
- cb()
-}
-
-Glob.prototype._emitMatch = function (index, e) {
- if (this.aborted)
- return
-
- if (this.matches[index][e])
- return
-
- if (isIgnored(this, e))
- return
-
- if (this.paused) {
- this._emitQueue.push([index, e])
- return
- }
-
- var abs = this._makeAbs(e)
-
- if (this.nodir) {
- var c = this.cache[abs]
- if (c === 'DIR' || Array.isArray(c))
- return
- }
-
- if (this.mark)
- e = this._mark(e)
-
- this.matches[index][e] = true
-
- var st = this.statCache[abs]
- if (st)
- this.emit('stat', e, st)
-
- this.emit('match', e)
-}
-
-Glob.prototype._readdirInGlobStar = function (abs, cb) {
- if (this.aborted)
- return
-
- // follow all symlinked directories forever
- // just proceed as if this is a non-globstar situation
- if (this.follow)
- return this._readdir(abs, false, cb)
-
- var lstatkey = 'lstat\0' + abs
- var self = this
- var lstatcb = inflight(lstatkey, lstatcb_)
-
- if (lstatcb)
- fs.lstat(abs, lstatcb)
-
- function lstatcb_ (er, lstat) {
- if (er)
- return cb()
-
- var isSym = lstat.isSymbolicLink()
- self.symlinks[abs] = isSym
-
- // If it's not a symlink or a dir, then it's definitely a regular file.
- // don't bother doing a readdir in that case.
- if (!isSym && !lstat.isDirectory()) {
- self.cache[abs] = 'FILE'
- cb()
- } else
- self._readdir(abs, false, cb)
- }
-}
-
-Glob.prototype._readdir = function (abs, inGlobStar, cb) {
- if (this.aborted)
- return
-
- cb = inflight('readdir\0'+abs+'\0'+inGlobStar, cb)
- if (!cb)
- return
-
- //console.error('RD %j %j', +inGlobStar, abs)
- if (inGlobStar && !ownProp(this.symlinks, abs))
- return this._readdirInGlobStar(abs, cb)
-
- if (ownProp(this.cache, abs)) {
- var c = this.cache[abs]
- if (!c || c === 'FILE')
- return cb()
-
- if (Array.isArray(c))
- return cb(null, c)
- }
-
- var self = this
- fs.readdir(abs, readdirCb(this, abs, cb))
-}
-
-function readdirCb (self, abs, cb) {
- return function (er, entries) {
- if (er)
- self._readdirError(abs, er, cb)
- else
- self._readdirEntries(abs, entries, cb)
- }
-}
-
-Glob.prototype._readdirEntries = function (abs, entries, cb) {
- if (this.aborted)
- return
-
- // if we haven't asked to stat everything, then just
- // assume that everything in there exists, so we can avoid
- // having to stat it a second time.
- if (!this.mark && !this.stat) {
- for (var i = 0; i < entries.length; i ++) {
- var e = entries[i]
- if (abs === '/')
- e = abs + e
- else
- e = abs + '/' + e
- this.cache[e] = true
- }
- }
-
- this.cache[abs] = entries
- return cb(null, entries)
-}
-
-Glob.prototype._readdirError = function (f, er, cb) {
- if (this.aborted)
- return
-
- // handle errors, and cache the information
- switch (er.code) {
- case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
- case 'ENOTDIR': // totally normal. means it *does* exist.
- this.cache[this._makeAbs(f)] = 'FILE'
- break
-
- case 'ENOENT': // not terribly unusual
- case 'ELOOP':
- case 'ENAMETOOLONG':
- case 'UNKNOWN':
- this.cache[this._makeAbs(f)] = false
- break
-
- default: // some unusual error. Treat as failure.
- this.cache[this._makeAbs(f)] = false
- if (this.strict) {
- this.emit('error', er)
- // If the error is handled, then we abort
- // if not, we threw out of here
- this.abort()
- }
- if (!this.silent)
- console.error('glob error', er)
- break
- }
-
- return cb()
-}
-
-Glob.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar, cb) {
- var self = this
- this._readdir(abs, inGlobStar, function (er, entries) {
- self._processGlobStar2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
- })
-}
-
-
-Glob.prototype._processGlobStar2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
- //console.error('pgs2', prefix, remain[0], entries)
-
- // no entries means not a dir, so it can never have matches
- // foo.txt/** doesn't match foo.txt
- if (!entries)
- return cb()
-
- // test without the globstar, and with every child both below
- // and replacing the globstar.
- var remainWithoutGlobStar = remain.slice(1)
- var gspref = prefix ? [ prefix ] : []
- var noGlobStar = gspref.concat(remainWithoutGlobStar)
-
- // the noGlobStar pattern exits the inGlobStar state
- this._process(noGlobStar, index, false, cb)
-
- var isSym = this.symlinks[abs]
- var len = entries.length
-
- // If it's a symlink, and we're in a globstar, then stop
- if (isSym && inGlobStar)
- return cb()
-
- for (var i = 0; i < len; i++) {
- var e = entries[i]
- if (e.charAt(0) === '.' && !this.dot)
- continue
-
- // these two cases enter the inGlobStar state
- var instead = gspref.concat(entries[i], remainWithoutGlobStar)
- this._process(instead, index, true, cb)
-
- var below = gspref.concat(entries[i], remain)
- this._process(below, index, true, cb)
- }
-
- cb()
-}
-
-Glob.prototype._processSimple = function (prefix, index, cb) {
- // XXX review this. Shouldn't it be doing the mounting etc
- // before doing stat? kinda weird?
- var self = this
- this._stat(prefix, function (er, exists) {
- self._processSimple2(prefix, index, er, exists, cb)
- })
-}
-Glob.prototype._processSimple2 = function (prefix, index, er, exists, cb) {
-
- //console.error('ps2', prefix, exists)
-
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- // If it doesn't exist, then just mark the lack of results
- if (!exists)
- return cb()
-
- if (prefix && isAbsolute(prefix) && !this.nomount) {
- var trail = /[\/\\]$/.test(prefix)
- if (prefix.charAt(0) === '/') {
- prefix = path.join(this.root, prefix)
- } else {
- prefix = path.resolve(this.root, prefix)
- if (trail)
- prefix += '/'
- }
- }
-
- if (process.platform === 'win32')
- prefix = prefix.replace(/\\/g, '/')
-
- // Mark this as a match
- this._emitMatch(index, prefix)
- cb()
-}
-
-// Returns either 'DIR', 'FILE', or false
-Glob.prototype._stat = function (f, cb) {
- var abs = this._makeAbs(f)
- var needDir = f.slice(-1) === '/'
-
- if (f.length > this.maxLength)
- return cb()
-
- if (!this.stat && ownProp(this.cache, abs)) {
- var c = this.cache[abs]
-
- if (Array.isArray(c))
- c = 'DIR'
-
- // It exists, but maybe not how we need it
- if (!needDir || c === 'DIR')
- return cb(null, c)
-
- if (needDir && c === 'FILE')
- return cb()
-
- // otherwise we have to stat, because maybe c=true
- // if we know it exists, but not what it is.
- }
-
- var exists
- var stat = this.statCache[abs]
- if (stat !== undefined) {
- if (stat === false)
- return cb(null, stat)
- else {
- var type = stat.isDirectory() ? 'DIR' : 'FILE'
- if (needDir && type === 'FILE')
- return cb()
- else
- return cb(null, type, stat)
- }
- }
-
- var self = this
- var statcb = inflight('stat\0' + abs, lstatcb_)
- if (statcb)
- fs.lstat(abs, statcb)
-
- function lstatcb_ (er, lstat) {
- if (lstat && lstat.isSymbolicLink()) {
- // If it's a symlink, then treat it as the target, unless
- // the target does not exist, then treat it as a file.
- return fs.stat(abs, function (er, stat) {
- if (er)
- self._stat2(f, abs, null, lstat, cb)
- else
- self._stat2(f, abs, er, stat, cb)
- })
- } else {
- self._stat2(f, abs, er, lstat, cb)
- }
- }
-}
-
-Glob.prototype._stat2 = function (f, abs, er, stat, cb) {
- if (er) {
- this.statCache[abs] = false
- return cb()
- }
-
- var needDir = f.slice(-1) === '/'
- this.statCache[abs] = stat
-
- if (abs.slice(-1) === '/' && !stat.isDirectory())
- return cb(null, false, stat)
-
- var c = stat.isDirectory() ? 'DIR' : 'FILE'
- this.cache[abs] = this.cache[abs] || c
-
- if (needDir && c !== 'DIR')
- return cb()
-
- return cb(null, c, stat)
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc
deleted file mode 100644
index b7a1550ef..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "env" : {
- "node" : true
- },
- "rules" : {
- "semi": [2, "never"],
- "strict": 0,
- "quotes": [1, "single", "avoid-escape"],
- "no-use-before-define": 0,
- "curly": 0,
- "no-underscore-dangle": 0,
- "no-lonely-if": 1,
- "no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}],
- "no-mixed-requires": 0,
- "space-infix-ops": 0
- }
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE
deleted file mode 100644
index 05eeeb88c..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md
deleted file mode 100644
index 6dc892917..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# inflight
-
-Add callbacks to requests in flight to avoid async duplication
-
-## USAGE
-
-```javascript
-var inflight = require('inflight')
-
-// some request that does some stuff
-function req(key, callback) {
- // key is any random string. like a url or filename or whatever.
- //
- // will return either a falsey value, indicating that the
- // request for this key is already in flight, or a new callback
- // which when called will call all callbacks passed to inflightk
- // with the same key
- callback = inflight(key, callback)
-
- // If we got a falsey value back, then there's already a req going
- if (!callback) return
-
- // this is where you'd fetch the url or whatever
- // callback is also once()-ified, so it can safely be assigned
- // to multiple events etc. First call wins.
- setTimeout(function() {
- callback(null, key)
- }, 100)
-}
-
-// only assigns a single setTimeout
-// when it dings, all cbs get called
-req('foo', cb1)
-req('foo', cb2)
-req('foo', cb3)
-req('foo', cb4)
-```
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js
deleted file mode 100644
index 8bc96cbd3..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js
+++ /dev/null
@@ -1,44 +0,0 @@
-var wrappy = require('wrappy')
-var reqs = Object.create(null)
-var once = require('once')
-
-module.exports = wrappy(inflight)
-
-function inflight (key, cb) {
- if (reqs[key]) {
- reqs[key].push(cb)
- return null
- } else {
- reqs[key] = [cb]
- return makeres(key)
- }
-}
-
-function makeres (key) {
- return once(function RES () {
- var cbs = reqs[key]
- var len = cbs.length
- var args = slice(arguments)
- for (var i = 0; i < len; i++) {
- cbs[i].apply(null, args)
- }
- if (cbs.length > len) {
- // added more in the interim.
- // de-zalgo, just in case, but don't call again.
- cbs.splice(0, len)
- process.nextTick(function () {
- RES.apply(null, args)
- })
- } else {
- delete reqs[key]
- }
- })
-}
-
-function slice (args) {
- var length = args.length
- var array = []
-
- for (var i = 0; i < length; i++) array[i] = args[i]
- return array
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md
deleted file mode 100644
index 98eab2522..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# wrappy
-
-Callback wrapping utility
-
-## USAGE
-
-```javascript
-var wrappy = require("wrappy")
-
-// var wrapper = wrappy(wrapperFunction)
-
-// make sure a cb is called only once
-// See also: http://npm.im/once for this specific use case
-var once = wrappy(function (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
-})
-
-function printBoo () {
- console.log('boo')
-}
-// has some rando property
-printBoo.iAmBooPrinter = true
-
-var onlyPrintOnce = once(printBoo)
-
-onlyPrintOnce() // prints 'boo'
-onlyPrintOnce() // does nothing
-
-// random property is retained!
-assert.equal(onlyPrintOnce.iAmBooPrinter, true)
-```
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json
deleted file mode 100644
index 8145dc8c4..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "wrappy",
- "version": "1.0.1",
- "description": "Callback wrapping utility",
- "main": "wrappy.js",
- "directories": {
- "test": "test"
- },
- "dependencies": {},
- "devDependencies": {
- "tap": "^0.4.12"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/npm/wrappy"
- },
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "license": "ISC",
- "bugs": {
- "url": "https://github.com/npm/wrappy/issues"
- },
- "homepage": "https://github.com/npm/wrappy",
- "gitHead": "006a8cbac6b99988315834c207896eed71fd069a",
- "_id": "[email protected]",
- "_shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "_from": "wrappy@>=1.0.0 <2.0.0",
- "_npmVersion": "2.0.0",
- "_nodeVersion": "0.10.31",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "tarball": "http://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
- },
- "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js
deleted file mode 100644
index 5ed0fcdfd..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js
+++ /dev/null
@@ -1,51 +0,0 @@
-var test = require('tap').test
-var wrappy = require('../wrappy.js')
-
-test('basic', function (t) {
- function onceifier (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
- }
- onceifier.iAmOnce = {}
- var once = wrappy(onceifier)
- t.equal(once.iAmOnce, onceifier.iAmOnce)
-
- var called = 0
- function boo () {
- t.equal(called, 0)
- called++
- }
- // has some rando property
- boo.iAmBoo = true
-
- var onlyPrintOnce = once(boo)
-
- onlyPrintOnce() // prints 'boo'
- onlyPrintOnce() // does nothing
- t.equal(called, 1)
-
- // random property is retained!
- t.equal(onlyPrintOnce.iAmBoo, true)
-
- var logs = []
- var logwrap = wrappy(function (msg, cb) {
- logs.push(msg + ' wrapping cb')
- return function () {
- logs.push(msg + ' before cb')
- var ret = cb.apply(this, arguments)
- logs.push(msg + ' after cb')
- }
- })
-
- var c = logwrap('foo', function () {
- t.same(logs, [ 'foo wrapping cb', 'foo before cb' ])
- })
- c()
- t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ])
-
- t.end()
-})
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js
deleted file mode 100644
index bb7e7d6fc..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// Returns a wrapper function that returns a wrapped callback
-// The wrapper function should do some stuff, and return a
-// presumably different callback function.
-// This makes sure that own properties are retained, so that
-// decorations and such are not lost along the way.
-module.exports = wrappy
-function wrappy (fn, cb) {
- if (fn && cb) return wrappy(fn)(cb)
-
- if (typeof fn !== 'function')
- throw new TypeError('need wrapper function')
-
- Object.keys(fn).forEach(function (k) {
- wrapper[k] = fn[k]
- })
-
- return wrapper
-
- function wrapper() {
- var args = new Array(arguments.length)
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i]
- }
- var ret = fn.apply(this, args)
- var cb = args[args.length-1]
- if (typeof ret === 'function' && ret !== cb) {
- Object.keys(cb).forEach(function (k) {
- ret[k] = cb[k]
- })
- }
- return ret
- }
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json
deleted file mode 100644
index a6645bc54..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "inflight",
- "version": "1.0.4",
- "description": "Add callbacks to requests in flight to avoid async duplication",
- "main": "inflight.js",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- },
- "devDependencies": {
- "tap": "^0.4.10"
- },
- "scripts": {
- "test": "tap test.js"
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/inflight"
- },
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "bugs": {
- "url": "https://github.com/isaacs/inflight/issues"
- },
- "homepage": "https://github.com/isaacs/inflight",
- "license": "ISC",
- "gitHead": "c7b5531d572a867064d4a1da9e013e8910b7d1ba",
- "_id": "[email protected]",
- "_shasum": "6cbb4521ebd51ce0ec0a936bfd7657ef7e9b172a",
- "_from": "inflight@>=1.0.4 <2.0.0",
- "_npmVersion": "2.1.3",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "othiym23",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- },
- {
- "name": "othiym23",
- "email": "[email protected]"
- },
- {
- "name": "iarna",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "6cbb4521ebd51ce0ec0a936bfd7657ef7e9b172a",
- "tarball": "http://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js
deleted file mode 100644
index 2bb75b388..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js
+++ /dev/null
@@ -1,97 +0,0 @@
-var test = require('tap').test
-var inf = require('./inflight.js')
-
-
-function req (key, cb) {
- cb = inf(key, cb)
- if (cb) setTimeout(function () {
- cb(key)
- cb(key)
- })
- return cb
-}
-
-test('basic', function (t) {
- var calleda = false
- var a = req('key', function (k) {
- t.notOk(calleda)
- calleda = true
- t.equal(k, 'key')
- if (calledb) t.end()
- })
- t.ok(a, 'first returned cb function')
-
- var calledb = false
- var b = req('key', function (k) {
- t.notOk(calledb)
- calledb = true
- t.equal(k, 'key')
- if (calleda) t.end()
- })
-
- t.notOk(b, 'second should get falsey inflight response')
-})
-
-test('timing', function (t) {
- var expect = [
- 'method one',
- 'start one',
- 'end one',
- 'two',
- 'tick',
- 'three'
- ]
- var i = 0
-
- function log (m) {
- t.equal(m, expect[i], m + ' === ' + expect[i])
- ++i
- if (i === expect.length)
- t.end()
- }
-
- function method (name, cb) {
- log('method ' + name)
- process.nextTick(cb)
- }
-
- var one = inf('foo', function () {
- log('start one')
- var three = inf('foo', function () {
- log('three')
- })
- if (three) method('three', three)
- log('end one')
- })
-
- method('one', one)
-
- var two = inf('foo', function () {
- log('two')
- })
- if (two) method('one', two)
-
- process.nextTick(log.bind(null, 'tick'))
-})
-
-test('parameters', function (t) {
- t.plan(8)
-
- var a = inf('key', function (first, second, third) {
- t.equal(first, 1)
- t.equal(second, 2)
- t.equal(third, 3)
- })
- t.ok(a, 'first returned cb function')
-
- var b = inf('key', function (first, second, third) {
- t.equal(first, 1)
- t.equal(second, 2)
- t.equal(third, 3)
- })
- t.notOk(b, 'second should get falsey inflight response')
-
- setTimeout(function () {
- a(1, 2, 3)
- })
-})
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE
deleted file mode 100644
index dea3013d6..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE
+++ /dev/null
@@ -1,16 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md
deleted file mode 100644
index b1c566585..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md
+++ /dev/null
@@ -1,42 +0,0 @@
-Browser-friendly inheritance fully compatible with standard node.js
-[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).
-
-This package exports standard `inherits` from node.js `util` module in
-node environment, but also provides alternative browser-friendly
-implementation through [browser
-field](https://gist.github.com/shtylman/4339901). Alternative
-implementation is a literal copy of standard one located in standalone
-module to avoid requiring of `util`. It also has a shim for old
-browsers with no `Object.create` support.
-
-While keeping you sure you are using standard `inherits`
-implementation in node.js environment, it allows bundlers such as
-[browserify](https://github.com/substack/node-browserify) to not
-include full `util` package to your client code if all you need is
-just `inherits` function. It worth, because browser shim for `util`
-package is large and `inherits` is often the single function you need
-from it.
-
-It's recommended to use this package instead of
-`require('util').inherits` for any code that has chances to be used
-not only in node.js but in browser too.
-
-## usage
-
-```js
-var inherits = require('inherits');
-// then use exactly as the standard one
-```
-
-## note on version ~1.0
-
-Version ~1.0 had completely different motivation and is not compatible
-neither with 2.0 nor with standard node.js `inherits`.
-
-If you are using version ~1.0 and planning to switch to ~2.0, be
-careful:
-
-* new version uses `super_` instead of `super` for referencing
- superclass
-* new version overwrites current prototype while old one preserves any
- existing fields on it
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js
deleted file mode 100644
index 29f5e24f5..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('util').inherits
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js
deleted file mode 100644
index c1e78a75e..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js
+++ /dev/null
@@ -1,23 +0,0 @@
-if (typeof Object.create === 'function') {
- // implementation from standard node.js 'util' module
- module.exports = function inherits(ctor, superCtor) {
- ctor.super_ = superCtor
- ctor.prototype = Object.create(superCtor.prototype, {
- constructor: {
- value: ctor,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
- };
-} else {
- // old school shim for old browsers
- module.exports = function inherits(ctor, superCtor) {
- ctor.super_ = superCtor
- var TempCtor = function () {}
- TempCtor.prototype = superCtor.prototype
- ctor.prototype = new TempCtor()
- ctor.prototype.constructor = ctor
- }
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json
deleted file mode 100644
index a703bddd5..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "name": "inherits",
- "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
- "version": "2.0.1",
- "keywords": [
- "inheritance",
- "class",
- "klass",
- "oop",
- "object-oriented",
- "inherits",
- "browser",
- "browserify"
- ],
- "main": "./inherits.js",
- "browser": "./inherits_browser.js",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/inherits"
- },
- "license": "ISC",
- "scripts": {
- "test": "node test"
- },
- "bugs": {
- "url": "https://github.com/isaacs/inherits/issues"
- },
- "_id": "[email protected]",
- "dist": {
- "shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
- "tarball": "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
- },
- "_from": "inherits@>=2.0.0 <3.0.0",
- "_npmVersion": "1.3.8",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
- "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/isaacs/inherits"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js
deleted file mode 100644
index fc53012d3..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js
+++ /dev/null
@@ -1,25 +0,0 @@
-var inherits = require('./inherits.js')
-var assert = require('assert')
-
-function test(c) {
- assert(c.constructor === Child)
- assert(c.constructor.super_ === Parent)
- assert(Object.getPrototypeOf(c) === Child.prototype)
- assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype)
- assert(c instanceof Child)
- assert(c instanceof Parent)
-}
-
-function Child() {
- Parent.call(this)
- test(this)
-}
-
-function Parent() {}
-
-inherits(Child, Parent)
-
-var c = new Child
-test(c)
-
-console.log('ok')
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md
deleted file mode 100644
index d458bc2e0..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md
+++ /dev/null
@@ -1,216 +0,0 @@
-# minimatch
-
-A minimal matching utility.
-
-[![Build Status](https://secure.travis-ci.org/isaacs/minimatch.png)](http://travis-ci.org/isaacs/minimatch)
-
-
-This is the matching library used internally by npm.
-
-It works by converting glob expressions into JavaScript `RegExp`
-objects.
-
-## Usage
-
-```javascript
-var minimatch = require("minimatch")
-
-minimatch("bar.foo", "*.foo") // true!
-minimatch("bar.foo", "*.bar") // false!
-minimatch("bar.foo", "*.+(bar|foo)", { debug: true }) // true, and noisy!
-```
-
-## Features
-
-Supports these glob features:
-
-* Brace Expansion
-* Extended glob matching
-* "Globstar" `**` matching
-
-See:
-
-* `man sh`
-* `man bash`
-* `man 3 fnmatch`
-* `man 5 gitignore`
-
-## Minimatch Class
-
-Create a minimatch object by instanting the `minimatch.Minimatch` class.
-
-```javascript
-var Minimatch = require("minimatch").Minimatch
-var mm = new Minimatch(pattern, options)
-```
-
-### Properties
-
-* `pattern` The original pattern the minimatch object represents.
-* `options` The options supplied to the constructor.
-* `set` A 2-dimensional array of regexp or string expressions.
- Each row in the
- array corresponds to a brace-expanded pattern. Each item in the row
- corresponds to a single path-part. For example, the pattern
- `{a,b/c}/d` would expand to a set of patterns like:
-
- [ [ a, d ]
- , [ b, c, d ] ]
-
- If a portion of the pattern doesn't have any "magic" in it
- (that is, it's something like `"foo"` rather than `fo*o?`), then it
- will be left as a string rather than converted to a regular
- expression.
-
-* `regexp` Created by the `makeRe` method. A single regular expression
- expressing the entire pattern. This is useful in cases where you wish
- to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
-* `negate` True if the pattern is negated.
-* `comment` True if the pattern is a comment.
-* `empty` True if the pattern is `""`.
-
-### Methods
-
-* `makeRe` Generate the `regexp` member if necessary, and return it.
- Will return `false` if the pattern is invalid.
-* `match(fname)` Return true if the filename matches the pattern, or
- false otherwise.
-* `matchOne(fileArray, patternArray, partial)` Take a `/`-split
- filename, and match it against a single row in the `regExpSet`. This
- method is mainly for internal use, but is exposed so that it can be
- used by a glob-walker that needs to avoid excessive filesystem calls.
-
-All other methods are internal, and will be called as necessary.
-
-## Functions
-
-The top-level exported function has a `cache` property, which is an LRU
-cache set to store 100 items. So, calling these methods repeatedly
-with the same pattern and options will use the same Minimatch object,
-saving the cost of parsing it multiple times.
-
-### minimatch(path, pattern, options)
-
-Main export. Tests a path against the pattern using the options.
-
-```javascript
-var isJS = minimatch(file, "*.js", { matchBase: true })
-```
-
-### minimatch.filter(pattern, options)
-
-Returns a function that tests its
-supplied argument, suitable for use with `Array.filter`. Example:
-
-```javascript
-var javascripts = fileList.filter(minimatch.filter("*.js", {matchBase: true}))
-```
-
-### minimatch.match(list, pattern, options)
-
-Match against the list of
-files, in the style of fnmatch or glob. If nothing is matched, and
-options.nonull is set, then return a list containing the pattern itself.
-
-```javascript
-var javascripts = minimatch.match(fileList, "*.js", {matchBase: true}))
-```
-
-### minimatch.makeRe(pattern, options)
-
-Make a regular expression object from the pattern.
-
-## Options
-
-All options are `false` by default.
-
-### debug
-
-Dump a ton of stuff to stderr.
-
-### nobrace
-
-Do not expand `{a,b}` and `{1..3}` brace sets.
-
-### noglobstar
-
-Disable `**` matching against multiple folder names.
-
-### dot
-
-Allow patterns to match filenames starting with a period, even if
-the pattern does not explicitly have a period in that spot.
-
-Note that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`
-is set.
-
-### noext
-
-Disable "extglob" style patterns like `+(a|b)`.
-
-### nocase
-
-Perform a case-insensitive match.
-
-### nonull
-
-When a match is not found by `minimatch.match`, return a list containing
-the pattern itself if this option is set. When not set, an empty list
-is returned if there are no matches.
-
-### matchBase
-
-If set, then patterns without slashes will be matched
-against the basename of the path if it contains slashes. For example,
-`a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.
-
-### nocomment
-
-Suppress the behavior of treating `#` at the start of a pattern as a
-comment.
-
-### nonegate
-
-Suppress the behavior of treating a leading `!` character as negation.
-
-### flipNegate
-
-Returns from negate expressions the same as if they were not negated.
-(Ie, true on a hit, false on a miss.)
-
-
-## Comparisons to other fnmatch/glob implementations
-
-While strict compliance with the existing standards is a worthwhile
-goal, some discrepancies exist between minimatch and other
-implementations, and are intentional.
-
-If the pattern starts with a `!` character, then it is negated. Set the
-`nonegate` flag to suppress this behavior, and treat leading `!`
-characters normally. This is perhaps relevant if you wish to start the
-pattern with a negative extglob pattern like `!(a|B)`. Multiple `!`
-characters at the start of a pattern will negate the pattern multiple
-times.
-
-If a pattern starts with `#`, then it is treated as a comment, and
-will not match anything. Use `\#` to match a literal `#` at the
-start of a line, or set the `nocomment` flag to suppress this behavior.
-
-The double-star character `**` is supported by default, unless the
-`noglobstar` flag is set. This is supported in the manner of bsdglob
-and bash 4.1, where `**` only has special significance if it is the only
-thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
-`a/**b` will not.
-
-If an escaped pattern has no matches, and the `nonull` flag is set,
-then minimatch.match returns the pattern as-provided, rather than
-interpreting the character escapes. For example,
-`minimatch.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
-`"*a?"`. This is akin to setting the `nullglob` option in bash, except
-that it does not resolve escaped pattern characters.
-
-If brace expansion is not disabled, then it is performed before any
-other interpretation of the glob pattern. Thus, a pattern like
-`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
-**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
-checked for validity. Since those two are valid, matching proceeds.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js
deleted file mode 100644
index ec4c05c57..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js
+++ /dev/null
@@ -1,912 +0,0 @@
-module.exports = minimatch
-minimatch.Minimatch = Minimatch
-
-var path = { sep: '/' }
-try {
- path = require('path')
-} catch (er) {}
-
-var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
-var expand = require('brace-expansion')
-
-// any single thing other than /
-// don't need to escape / when using new RegExp()
-var qmark = '[^/]'
-
-// * => any number of characters
-var star = qmark + '*?'
-
-// ** when dots are allowed. Anything goes, except .. and .
-// not (^ or / followed by one or two dots followed by $ or /),
-// followed by anything, any number of times.
-var twoStarDot = '(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?'
-
-// not a ^ or / followed by a dot,
-// followed by anything, any number of times.
-var twoStarNoDot = '(?:(?!(?:\\\/|^)\\.).)*?'
-
-// characters that need to be escaped in RegExp.
-var reSpecials = charSet('().*{}+?[]^$\\!')
-
-// "abc" -> { a:true, b:true, c:true }
-function charSet (s) {
- return s.split('').reduce(function (set, c) {
- set[c] = true
- return set
- }, {})
-}
-
-// normalizes slashes.
-var slashSplit = /\/+/
-
-minimatch.filter = filter
-function filter (pattern, options) {
- options = options || {}
- return function (p, i, list) {
- return minimatch(p, pattern, options)
- }
-}
-
-function ext (a, b) {
- a = a || {}
- b = b || {}
- var t = {}
- Object.keys(b).forEach(function (k) {
- t[k] = b[k]
- })
- Object.keys(a).forEach(function (k) {
- t[k] = a[k]
- })
- return t
-}
-
-minimatch.defaults = function (def) {
- if (!def || !Object.keys(def).length) return minimatch
-
- var orig = minimatch
-
- var m = function minimatch (p, pattern, options) {
- return orig.minimatch(p, pattern, ext(def, options))
- }
-
- m.Minimatch = function Minimatch (pattern, options) {
- return new orig.Minimatch(pattern, ext(def, options))
- }
-
- return m
-}
-
-Minimatch.defaults = function (def) {
- if (!def || !Object.keys(def).length) return Minimatch
- return minimatch.defaults(def).Minimatch
-}
-
-function minimatch (p, pattern, options) {
- if (typeof pattern !== 'string') {
- throw new TypeError('glob pattern string required')
- }
-
- if (!options) options = {}
-
- // shortcut: comments match nothing.
- if (!options.nocomment && pattern.charAt(0) === '#') {
- return false
- }
-
- // "" only matches ""
- if (pattern.trim() === '') return p === ''
-
- return new Minimatch(pattern, options).match(p)
-}
-
-function Minimatch (pattern, options) {
- if (!(this instanceof Minimatch)) {
- return new Minimatch(pattern, options)
- }
-
- if (typeof pattern !== 'string') {
- throw new TypeError('glob pattern string required')
- }
-
- if (!options) options = {}
- pattern = pattern.trim()
-
- // windows support: need to use /, not \
- if (path.sep !== '/') {
- pattern = pattern.split(path.sep).join('/')
- }
-
- this.options = options
- this.set = []
- this.pattern = pattern
- this.regexp = null
- this.negate = false
- this.comment = false
- this.empty = false
-
- // make the set of regexps etc.
- this.make()
-}
-
-Minimatch.prototype.debug = function () {}
-
-Minimatch.prototype.make = make
-function make () {
- // don't do it more than once.
- if (this._made) return
-
- var pattern = this.pattern
- var options = this.options
-
- // empty patterns and comments match nothing.
- if (!options.nocomment && pattern.charAt(0) === '#') {
- this.comment = true
- return
- }
- if (!pattern) {
- this.empty = true
- return
- }
-
- // step 1: figure out negation, etc.
- this.parseNegate()
-
- // step 2: expand braces
- var set = this.globSet = this.braceExpand()
-
- if (options.debug) this.debug = console.error
-
- this.debug(this.pattern, set)
-
- // step 3: now we have a set, so turn each one into a series of path-portion
- // matching patterns.
- // These will be regexps, except in the case of "**", which is
- // set to the GLOBSTAR object for globstar behavior,
- // and will not contain any / characters
- set = this.globParts = set.map(function (s) {
- return s.split(slashSplit)
- })
-
- this.debug(this.pattern, set)
-
- // glob --> regexps
- set = set.map(function (s, si, set) {
- return s.map(this.parse, this)
- }, this)
-
- this.debug(this.pattern, set)
-
- // filter out everything that didn't compile properly.
- set = set.filter(function (s) {
- return s.indexOf(false) === -1
- })
-
- this.debug(this.pattern, set)
-
- this.set = set
-}
-
-Minimatch.prototype.parseNegate = parseNegate
-function parseNegate () {
- var pattern = this.pattern
- var negate = false
- var options = this.options
- var negateOffset = 0
-
- if (options.nonegate) return
-
- for (var i = 0, l = pattern.length
- ; i < l && pattern.charAt(i) === '!'
- ; i++) {
- negate = !negate
- negateOffset++
- }
-
- if (negateOffset) this.pattern = pattern.substr(negateOffset)
- this.negate = negate
-}
-
-// Brace expansion:
-// a{b,c}d -> abd acd
-// a{b,}c -> abc ac
-// a{0..3}d -> a0d a1d a2d a3d
-// a{b,c{d,e}f}g -> abg acdfg acefg
-// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
-//
-// Invalid sets are not expanded.
-// a{2..}b -> a{2..}b
-// a{b}c -> a{b}c
-minimatch.braceExpand = function (pattern, options) {
- return braceExpand(pattern, options)
-}
-
-Minimatch.prototype.braceExpand = braceExpand
-
-function braceExpand (pattern, options) {
- if (!options) {
- if (this instanceof Minimatch) {
- options = this.options
- } else {
- options = {}
- }
- }
-
- pattern = typeof pattern === 'undefined'
- ? this.pattern : pattern
-
- if (typeof pattern === 'undefined') {
- throw new Error('undefined pattern')
- }
-
- if (options.nobrace ||
- !pattern.match(/\{.*\}/)) {
- // shortcut. no need to expand.
- return [pattern]
- }
-
- return expand(pattern)
-}
-
-// parse a component of the expanded set.
-// At this point, no pattern may contain "/" in it
-// so we're going to return a 2d array, where each entry is the full
-// pattern, split on '/', and then turned into a regular expression.
-// A regexp is made at the end which joins each array with an
-// escaped /, and another full one which joins each regexp with |.
-//
-// Following the lead of Bash 4.1, note that "**" only has special meaning
-// when it is the *only* thing in a path portion. Otherwise, any series
-// of * is equivalent to a single *. Globstar behavior is enabled by
-// default, and can be disabled by setting options.noglobstar.
-Minimatch.prototype.parse = parse
-var SUBPARSE = {}
-function parse (pattern, isSub) {
- var options = this.options
-
- // shortcuts
- if (!options.noglobstar && pattern === '**') return GLOBSTAR
- if (pattern === '') return ''
-
- var re = ''
- var hasMagic = !!options.nocase
- var escaping = false
- // ? => one single character
- var patternListStack = []
- var negativeLists = []
- var plType
- var stateChar
- var inClass = false
- var reClassStart = -1
- var classStart = -1
- // . and .. never match anything that doesn't start with .,
- // even when options.dot is set.
- var patternStart = pattern.charAt(0) === '.' ? '' // anything
- // not (start or / followed by . or .. followed by / or end)
- : options.dot ? '(?!(?:^|\\\/)\\.{1,2}(?:$|\\\/))'
- : '(?!\\.)'
- var self = this
-
- function clearStateChar () {
- if (stateChar) {
- // we had some state-tracking character
- // that wasn't consumed by this pass.
- switch (stateChar) {
- case '*':
- re += star
- hasMagic = true
- break
- case '?':
- re += qmark
- hasMagic = true
- break
- default:
- re += '\\' + stateChar
- break
- }
- self.debug('clearStateChar %j %j', stateChar, re)
- stateChar = false
- }
- }
-
- for (var i = 0, len = pattern.length, c
- ; (i < len) && (c = pattern.charAt(i))
- ; i++) {
- this.debug('%s\t%s %s %j', pattern, i, re, c)
-
- // skip over any that are escaped.
- if (escaping && reSpecials[c]) {
- re += '\\' + c
- escaping = false
- continue
- }
-
- switch (c) {
- case '/':
- // completely not allowed, even escaped.
- // Should already be path-split by now.
- return false
-
- case '\\':
- clearStateChar()
- escaping = true
- continue
-
- // the various stateChar values
- // for the "extglob" stuff.
- case '?':
- case '*':
- case '+':
- case '@':
- case '!':
- this.debug('%s\t%s %s %j <-- stateChar', pattern, i, re, c)
-
- // all of those are literals inside a class, except that
- // the glob [!a] means [^a] in regexp
- if (inClass) {
- this.debug(' in class')
- if (c === '!' && i === classStart + 1) c = '^'
- re += c
- continue
- }
-
- // if we already have a stateChar, then it means
- // that there was something like ** or +? in there.
- // Handle the stateChar, then proceed with this one.
- self.debug('call clearStateChar %j', stateChar)
- clearStateChar()
- stateChar = c
- // if extglob is disabled, then +(asdf|foo) isn't a thing.
- // just clear the statechar *now*, rather than even diving into
- // the patternList stuff.
- if (options.noext) clearStateChar()
- continue
-
- case '(':
- if (inClass) {
- re += '('
- continue
- }
-
- if (!stateChar) {
- re += '\\('
- continue
- }
-
- plType = stateChar
- patternListStack.push({
- type: plType,
- start: i - 1,
- reStart: re.length
- })
- // negation is (?:(?!js)[^/]*)
- re += stateChar === '!' ? '(?:(?!(?:' : '(?:'
- this.debug('plType %j %j', stateChar, re)
- stateChar = false
- continue
-
- case ')':
- if (inClass || !patternListStack.length) {
- re += '\\)'
- continue
- }
-
- clearStateChar()
- hasMagic = true
- re += ')'
- var pl = patternListStack.pop()
- plType = pl.type
- // negation is (?:(?!js)[^/]*)
- // The others are (?:<pattern>)<type>
- switch (plType) {
- case '!':
- negativeLists.push(pl)
- re += ')[^/]*?)'
- pl.reEnd = re.length
- break
- case '?':
- case '+':
- case '*':
- re += plType
- break
- case '@': break // the default anyway
- }
- continue
-
- case '|':
- if (inClass || !patternListStack.length || escaping) {
- re += '\\|'
- escaping = false
- continue
- }
-
- clearStateChar()
- re += '|'
- continue
-
- // these are mostly the same in regexp and glob
- case '[':
- // swallow any state-tracking char before the [
- clearStateChar()
-
- if (inClass) {
- re += '\\' + c
- continue
- }
-
- inClass = true
- classStart = i
- reClassStart = re.length
- re += c
- continue
-
- case ']':
- // a right bracket shall lose its special
- // meaning and represent itself in
- // a bracket expression if it occurs
- // first in the list. -- POSIX.2 2.8.3.2
- if (i === classStart + 1 || !inClass) {
- re += '\\' + c
- escaping = false
- continue
- }
-
- // handle the case where we left a class open.
- // "[z-a]" is valid, equivalent to "\[z-a\]"
- if (inClass) {
- // split where the last [ was, make sure we don't have
- // an invalid re. if so, re-walk the contents of the
- // would-be class to re-translate any characters that
- // were passed through as-is
- // TODO: It would probably be faster to determine this
- // without a try/catch and a new RegExp, but it's tricky
- // to do safely. For now, this is safe and works.
- var cs = pattern.substring(classStart + 1, i)
- try {
- RegExp('[' + cs + ']')
- } catch (er) {
- // not a valid class!
- var sp = this.parse(cs, SUBPARSE)
- re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]'
- hasMagic = hasMagic || sp[1]
- inClass = false
- continue
- }
- }
-
- // finish up the class.
- hasMagic = true
- inClass = false
- re += c
- continue
-
- default:
- // swallow any state char that wasn't consumed
- clearStateChar()
-
- if (escaping) {
- // no need
- escaping = false
- } else if (reSpecials[c]
- && !(c === '^' && inClass)) {
- re += '\\'
- }
-
- re += c
-
- } // switch
- } // for
-
- // handle the case where we left a class open.
- // "[abc" is valid, equivalent to "\[abc"
- if (inClass) {
- // split where the last [ was, and escape it
- // this is a huge pita. We now have to re-walk
- // the contents of the would-be class to re-translate
- // any characters that were passed through as-is
- cs = pattern.substr(classStart + 1)
- sp = this.parse(cs, SUBPARSE)
- re = re.substr(0, reClassStart) + '\\[' + sp[0]
- hasMagic = hasMagic || sp[1]
- }
-
- // handle the case where we had a +( thing at the *end*
- // of the pattern.
- // each pattern list stack adds 3 chars, and we need to go through
- // and escape any | chars that were passed through as-is for the regexp.
- // Go through and escape them, taking care not to double-escape any
- // | chars that were already escaped.
- for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
- var tail = re.slice(pl.reStart + 3)
- // maybe some even number of \, then maybe 1 \, followed by a |
- tail = tail.replace(/((?:\\{2})*)(\\?)\|/g, function (_, $1, $2) {
- if (!$2) {
- // the | isn't already escaped, so escape it.
- $2 = '\\'
- }
-
- // need to escape all those slashes *again*, without escaping the
- // one that we need for escaping the | character. As it works out,
- // escaping an even number of slashes can be done by simply repeating
- // it exactly after itself. That's why this trick works.
- //
- // I am sorry that you have to see this.
- return $1 + $1 + $2 + '|'
- })
-
- this.debug('tail=%j\n %s', tail, tail)
- var t = pl.type === '*' ? star
- : pl.type === '?' ? qmark
- : '\\' + pl.type
-
- hasMagic = true
- re = re.slice(0, pl.reStart) + t + '\\(' + tail
- }
-
- // handle trailing things that only matter at the very end.
- clearStateChar()
- if (escaping) {
- // trailing \\
- re += '\\\\'
- }
-
- // only need to apply the nodot start if the re starts with
- // something that could conceivably capture a dot
- var addPatternStart = false
- switch (re.charAt(0)) {
- case '.':
- case '[':
- case '(': addPatternStart = true
- }
-
- // Hack to work around lack of negative lookbehind in JS
- // A pattern like: *.!(x).!(y|z) needs to ensure that a name
- // like 'a.xyz.yz' doesn't match. So, the first negative
- // lookahead, has to look ALL the way ahead, to the end of
- // the pattern.
- for (var n = negativeLists.length - 1; n > -1; n--) {
- var nl = negativeLists[n]
-
- var nlBefore = re.slice(0, nl.reStart)
- var nlFirst = re.slice(nl.reStart, nl.reEnd - 8)
- var nlLast = re.slice(nl.reEnd - 8, nl.reEnd)
- var nlAfter = re.slice(nl.reEnd)
-
- nlLast += nlAfter
-
- // Handle nested stuff like *(*.js|!(*.json)), where open parens
- // mean that we should *not* include the ) in the bit that is considered
- // "after" the negated section.
- var openParensBefore = nlBefore.split('(').length - 1
- var cleanAfter = nlAfter
- for (i = 0; i < openParensBefore; i++) {
- cleanAfter = cleanAfter.replace(/\)[+*?]?/, '')
- }
- nlAfter = cleanAfter
-
- var dollar = ''
- if (nlAfter === '' && isSub !== SUBPARSE) {
- dollar = '$'
- }
- var newRe = nlBefore + nlFirst + nlAfter + dollar + nlLast
- re = newRe
- }
-
- // if the re is not "" at this point, then we need to make sure
- // it doesn't match against an empty path part.
- // Otherwise a/* will match a/, which it should not.
- if (re !== '' && hasMagic) {
- re = '(?=.)' + re
- }
-
- if (addPatternStart) {
- re = patternStart + re
- }
-
- // parsing just a piece of a larger pattern.
- if (isSub === SUBPARSE) {
- return [re, hasMagic]
- }
-
- // skip the regexp for non-magical patterns
- // unescape anything in it, though, so that it'll be
- // an exact match against a file etc.
- if (!hasMagic) {
- return globUnescape(pattern)
- }
-
- var flags = options.nocase ? 'i' : ''
- var regExp = new RegExp('^' + re + '$', flags)
-
- regExp._glob = pattern
- regExp._src = re
-
- return regExp
-}
-
-minimatch.makeRe = function (pattern, options) {
- return new Minimatch(pattern, options || {}).makeRe()
-}
-
-Minimatch.prototype.makeRe = makeRe
-function makeRe () {
- if (this.regexp || this.regexp === false) return this.regexp
-
- // at this point, this.set is a 2d array of partial
- // pattern strings, or "**".
- //
- // It's better to use .match(). This function shouldn't
- // be used, really, but it's pretty convenient sometimes,
- // when you just want to work with a regex.
- var set = this.set
-
- if (!set.length) {
- this.regexp = false
- return this.regexp
- }
- var options = this.options
-
- var twoStar = options.noglobstar ? star
- : options.dot ? twoStarDot
- : twoStarNoDot
- var flags = options.nocase ? 'i' : ''
-
- var re = set.map(function (pattern) {
- return pattern.map(function (p) {
- return (p === GLOBSTAR) ? twoStar
- : (typeof p === 'string') ? regExpEscape(p)
- : p._src
- }).join('\\\/')
- }).join('|')
-
- // must match entire pattern
- // ending in a * or ** will make it less strict.
- re = '^(?:' + re + ')$'
-
- // can match anything, as long as it's not this.
- if (this.negate) re = '^(?!' + re + ').*$'
-
- try {
- this.regexp = new RegExp(re, flags)
- } catch (ex) {
- this.regexp = false
- }
- return this.regexp
-}
-
-minimatch.match = function (list, pattern, options) {
- options = options || {}
- var mm = new Minimatch(pattern, options)
- list = list.filter(function (f) {
- return mm.match(f)
- })
- if (mm.options.nonull && !list.length) {
- list.push(pattern)
- }
- return list
-}
-
-Minimatch.prototype.match = match
-function match (f, partial) {
- this.debug('match', f, this.pattern)
- // short-circuit in the case of busted things.
- // comments, etc.
- if (this.comment) return false
- if (this.empty) return f === ''
-
- if (f === '/' && partial) return true
-
- var options = this.options
-
- // windows: need to use /, not \
- if (path.sep !== '/') {
- f = f.split(path.sep).join('/')
- }
-
- // treat the test path as a set of pathparts.
- f = f.split(slashSplit)
- this.debug(this.pattern, 'split', f)
-
- // just ONE of the pattern sets in this.set needs to match
- // in order for it to be valid. If negating, then just one
- // match means that we have failed.
- // Either way, return on the first hit.
-
- var set = this.set
- this.debug(this.pattern, 'set', set)
-
- // Find the basename of the path by looking for the last non-empty segment
- var filename
- var i
- for (i = f.length - 1; i >= 0; i--) {
- filename = f[i]
- if (filename) break
- }
-
- for (i = 0; i < set.length; i++) {
- var pattern = set[i]
- var file = f
- if (options.matchBase && pattern.length === 1) {
- file = [filename]
- }
- var hit = this.matchOne(file, pattern, partial)
- if (hit) {
- if (options.flipNegate) return true
- return !this.negate
- }
- }
-
- // didn't get any hits. this is success if it's a negative
- // pattern, failure otherwise.
- if (options.flipNegate) return false
- return this.negate
-}
-
-// set partial to true to test if, for example,
-// "/a/b" matches the start of "/*/b/*/d"
-// Partial means, if you run out of file before you run
-// out of pattern, then that's fine, as long as all
-// the parts match.
-Minimatch.prototype.matchOne = function (file, pattern, partial) {
- var options = this.options
-
- this.debug('matchOne',
- { 'this': this, file: file, pattern: pattern })
-
- this.debug('matchOne', file.length, pattern.length)
-
- for (var fi = 0,
- pi = 0,
- fl = file.length,
- pl = pattern.length
- ; (fi < fl) && (pi < pl)
- ; fi++, pi++) {
- this.debug('matchOne loop')
- var p = pattern[pi]
- var f = file[fi]
-
- this.debug(pattern, p, f)
-
- // should be impossible.
- // some invalid regexp stuff in the set.
- if (p === false) return false
-
- if (p === GLOBSTAR) {
- this.debug('GLOBSTAR', [pattern, p, f])
-
- // "**"
- // a/**/b/**/c would match the following:
- // a/b/x/y/z/c
- // a/x/y/z/b/c
- // a/b/x/b/x/c
- // a/b/c
- // To do this, take the rest of the pattern after
- // the **, and see if it would match the file remainder.
- // If so, return success.
- // If not, the ** "swallows" a segment, and try again.
- // This is recursively awful.
- //
- // a/**/b/**/c matching a/b/x/y/z/c
- // - a matches a
- // - doublestar
- // - matchOne(b/x/y/z/c, b/**/c)
- // - b matches b
- // - doublestar
- // - matchOne(x/y/z/c, c) -> no
- // - matchOne(y/z/c, c) -> no
- // - matchOne(z/c, c) -> no
- // - matchOne(c, c) yes, hit
- var fr = fi
- var pr = pi + 1
- if (pr === pl) {
- this.debug('** at the end')
- // a ** at the end will just swallow the rest.
- // We have found a match.
- // however, it will not swallow /.x, unless
- // options.dot is set.
- // . and .. are *never* matched by **, for explosively
- // exponential reasons.
- for (; fi < fl; fi++) {
- if (file[fi] === '.' || file[fi] === '..' ||
- (!options.dot && file[fi].charAt(0) === '.')) return false
- }
- return true
- }
-
- // ok, let's see if we can swallow whatever we can.
- while (fr < fl) {
- var swallowee = file[fr]
-
- this.debug('\nglobstar while', file, fr, pattern, pr, swallowee)
-
- // XXX remove this slice. Just pass the start index.
- if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
- this.debug('globstar found match!', fr, fl, swallowee)
- // found a match.
- return true
- } else {
- // can't swallow "." or ".." ever.
- // can only swallow ".foo" when explicitly asked.
- if (swallowee === '.' || swallowee === '..' ||
- (!options.dot && swallowee.charAt(0) === '.')) {
- this.debug('dot detected!', file, fr, pattern, pr)
- break
- }
-
- // ** swallows a segment, and continue.
- this.debug('globstar swallow a segment, and continue')
- fr++
- }
- }
-
- // no match was found.
- // However, in partial mode, we can't say this is necessarily over.
- // If there's more *pattern* left, then
- if (partial) {
- // ran out of file
- this.debug('\n>>> no match, partial?', file, fr, pattern, pr)
- if (fr === fl) return true
- }
- return false
- }
-
- // something other than **
- // non-magic patterns just have to match exactly
- // patterns with magic have been turned into regexps.
- var hit
- if (typeof p === 'string') {
- if (options.nocase) {
- hit = f.toLowerCase() === p.toLowerCase()
- } else {
- hit = f === p
- }
- this.debug('string match', p, f, hit)
- } else {
- hit = f.match(p)
- this.debug('pattern match', p, f, hit)
- }
-
- if (!hit) return false
- }
-
- // Note: ending in / means that we'll get a final ""
- // at the end of the pattern. This can only match a
- // corresponding "" at the end of the file.
- // If the file ends in /, then it can only match a
- // a pattern that ends in /, unless the pattern just
- // doesn't have any more for it. But, a/b/ should *not*
- // match "a/b/*", even though "" matches against the
- // [^/]*? pattern, except in partial mode, where it might
- // simply not be reached yet.
- // However, a/b/ should still satisfy a/*
-
- // now either we fell off the end of the pattern, or we're done.
- if (fi === fl && pi === pl) {
- // ran out of pattern and filename at the same time.
- // an exact hit!
- return true
- } else if (fi === fl) {
- // ran out of file, but still had pattern left.
- // this is ok if we're doing the match as part of
- // a glob fs traversal.
- return partial
- } else if (pi === pl) {
- // ran out of pattern, still have file left.
- // this is only acceptable if we're on the very last
- // empty segment of a file with a trailing slash.
- // a/* should match a/b/
- var emptyFileEnd = (fi === fl - 1) && (file[fi] === '')
- return emptyFileEnd
- }
-
- // should be unreachable.
- throw new Error('wtf?')
-}
-
-// replace stuff like \* with *
-function globUnescape (s) {
- return s.replace(/\\(.)/g, '$1')
-}
-
-function regExpEscape (s) {
- return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore
deleted file mode 100644
index 353546af2..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore
+++ /dev/null
@@ -1,3 +0,0 @@
-test
-.gitignore
-.travis.yml
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md
deleted file mode 100644
index 179392978..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md
+++ /dev/null
@@ -1,122 +0,0 @@
-# brace-expansion
-
-[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html),
-as known from sh/bash, in JavaScript.
-
-[![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion)
-[![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion)
-
-[![testling badge](https://ci.testling.com/juliangruber/brace-expansion.png)](https://ci.testling.com/juliangruber/brace-expansion)
-
-## Example
-
-```js
-var expand = require('brace-expansion');
-
-expand('file-{a,b,c}.jpg')
-// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
-
-expand('-v{,,}')
-// => ['-v', '-v', '-v']
-
-expand('file{0..2}.jpg')
-// => ['file0.jpg', 'file1.jpg', 'file2.jpg']
-
-expand('file-{a..c}.jpg')
-// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
-
-expand('file{2..0}.jpg')
-// => ['file2.jpg', 'file1.jpg', 'file0.jpg']
-
-expand('file{0..4..2}.jpg')
-// => ['file0.jpg', 'file2.jpg', 'file4.jpg']
-
-expand('file-{a..e..2}.jpg')
-// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg']
-
-expand('file{00..10..5}.jpg')
-// => ['file00.jpg', 'file05.jpg', 'file10.jpg']
-
-expand('{{A..C},{a..c}}')
-// => ['A', 'B', 'C', 'a', 'b', 'c']
-
-expand('ppp{,config,oe{,conf}}')
-// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf']
-```
-
-## API
-
-```js
-var expand = require('brace-expansion');
-```
-
-### var expanded = expand(str)
-
-Return an array of all possible and valid expansions of `str`. If none are
-found, `[str]` is returned.
-
-Valid expansions are:
-
-```js
-/^(.*,)+(.+)?$/
-// {a,b,...}
-```
-
-A comma seperated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`.
-
-```js
-/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
-// {x..y[..incr]}
-```
-
-A numeric sequence from `x` to `y` inclusive, with optional increment.
-If `x` or `y` start with a leading `0`, all the numbers will be padded
-to have equal length. Negative numbers and backwards iteration work too.
-
-```js
-/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
-// {x..y[..incr]}
-```
-
-An alphabetic sequence from `x` to `y` inclusive, with optional increment.
-`x` and `y` must be exactly one character, and if given, `incr` must be a
-number.
-
-For compatibility reasons, the string `${` is not eligible for brace expansion.
-
-## Installation
-
-With [npm](https://npmjs.org) do:
-
-```bash
-npm install brace-expansion
-```
-
-## Contributors
-
-- [Julian Gruber](https://github.com/juliangruber)
-- [Isaac Z. Schlueter](https://github.com/isaacs)
-
-## License
-
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;[email protected]&gt;
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js
deleted file mode 100644
index 60ecfc74d..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js
+++ /dev/null
@@ -1,8 +0,0 @@
-var expand = require('./');
-
-console.log(expand('http://any.org/archive{1996..1999}/vol{1..4}/part{a,b,c}.html'));
-console.log(expand('http://www.numericals.com/file{1..100..10}.txt'));
-console.log(expand('http://www.letters.com/file{a..z..2}.txt'));
-console.log(expand('mkdir /usr/local/src/bash/{old,new,dist,bugs}'));
-console.log(expand('chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}'));
-
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js
deleted file mode 100644
index a23104e95..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js
+++ /dev/null
@@ -1,191 +0,0 @@
-var concatMap = require('concat-map');
-var balanced = require('balanced-match');
-
-module.exports = expandTop;
-
-var escSlash = '\0SLASH'+Math.random()+'\0';
-var escOpen = '\0OPEN'+Math.random()+'\0';
-var escClose = '\0CLOSE'+Math.random()+'\0';
-var escComma = '\0COMMA'+Math.random()+'\0';
-var escPeriod = '\0PERIOD'+Math.random()+'\0';
-
-function numeric(str) {
- return parseInt(str, 10) == str
- ? parseInt(str, 10)
- : str.charCodeAt(0);
-}
-
-function escapeBraces(str) {
- return str.split('\\\\').join(escSlash)
- .split('\\{').join(escOpen)
- .split('\\}').join(escClose)
- .split('\\,').join(escComma)
- .split('\\.').join(escPeriod);
-}
-
-function unescapeBraces(str) {
- return str.split(escSlash).join('\\')
- .split(escOpen).join('{')
- .split(escClose).join('}')
- .split(escComma).join(',')
- .split(escPeriod).join('.');
-}
-
-
-// Basically just str.split(","), but handling cases
-// where we have nested braced sections, which should be
-// treated as individual members, like {a,{b,c},d}
-function parseCommaParts(str) {
- if (!str)
- return [''];
-
- var parts = [];
- var m = balanced('{', '}', str);
-
- if (!m)
- return str.split(',');
-
- var pre = m.pre;
- var body = m.body;
- var post = m.post;
- var p = pre.split(',');
-
- p[p.length-1] += '{' + body + '}';
- var postParts = parseCommaParts(post);
- if (post.length) {
- p[p.length-1] += postParts.shift();
- p.push.apply(p, postParts);
- }
-
- parts.push.apply(parts, p);
-
- return parts;
-}
-
-function expandTop(str) {
- if (!str)
- return [];
-
- return expand(escapeBraces(str), true).map(unescapeBraces);
-}
-
-function identity(e) {
- return e;
-}
-
-function embrace(str) {
- return '{' + str + '}';
-}
-function isPadded(el) {
- return /^-?0\d/.test(el);
-}
-
-function lte(i, y) {
- return i <= y;
-}
-function gte(i, y) {
- return i >= y;
-}
-
-function expand(str, isTop) {
- var expansions = [];
-
- var m = balanced('{', '}', str);
- if (!m || /\$$/.test(m.pre)) return [str];
-
- var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
- var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
- var isSequence = isNumericSequence || isAlphaSequence;
- var isOptions = /^(.*,)+(.+)?$/.test(m.body);
- if (!isSequence && !isOptions) {
- // {a},b}
- if (m.post.match(/,.*}/)) {
- str = m.pre + '{' + m.body + escClose + m.post;
- return expand(str);
- }
- return [str];
- }
-
- var n;
- if (isSequence) {
- n = m.body.split(/\.\./);
- } else {
- n = parseCommaParts(m.body);
- if (n.length === 1) {
- // x{{a,b}}y ==> x{a}y x{b}y
- n = expand(n[0], false).map(embrace);
- if (n.length === 1) {
- var post = m.post.length
- ? expand(m.post, false)
- : [''];
- return post.map(function(p) {
- return m.pre + n[0] + p;
- });
- }
- }
- }
-
- // at this point, n is the parts, and we know it's not a comma set
- // with a single entry.
-
- // no need to expand pre, since it is guaranteed to be free of brace-sets
- var pre = m.pre;
- var post = m.post.length
- ? expand(m.post, false)
- : [''];
-
- var N;
-
- if (isSequence) {
- var x = numeric(n[0]);
- var y = numeric(n[1]);
- var width = Math.max(n[0].length, n[1].length)
- var incr = n.length == 3
- ? Math.abs(numeric(n[2]))
- : 1;
- var test = lte;
- var reverse = y < x;
- if (reverse) {
- incr *= -1;
- test = gte;
- }
- var pad = n.some(isPadded);
-
- N = [];
-
- for (var i = x; test(i, y); i += incr) {
- var c;
- if (isAlphaSequence) {
- c = String.fromCharCode(i);
- if (c === '\\')
- c = '';
- } else {
- c = String(i);
- if (pad) {
- var need = width - c.length;
- if (need > 0) {
- var z = new Array(need + 1).join('0');
- if (i < 0)
- c = '-' + z + c.slice(1);
- else
- c = z + c;
- }
- }
- }
- N.push(c);
- }
- } else {
- N = concatMap(n, function(el) { return expand(el, false) });
- }
-
- for (var j = 0; j < N.length; j++) {
- for (var k = 0; k < post.length; k++) {
- var expansion = pre + N[j] + post[k];
- if (!isTop || isSequence || expansion)
- expansions.push(expansion);
- }
- }
-
- return expansions;
-}
-
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore
deleted file mode 100644
index fd4f2b066..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules
-.DS_Store
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml
deleted file mode 100644
index cc4dba29d..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-language: node_js
-node_js:
- - "0.8"
- - "0.10"
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile
deleted file mode 100644
index fa5da71a6..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-
-test:
- @node_modules/.bin/tape test/*.js
-
-.PHONY: test
-
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md
deleted file mode 100644
index 2aff0ebff..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md
+++ /dev/null
@@ -1,80 +0,0 @@
-# balanced-match
-
-Match balanced string pairs, like `{` and `}` or `<b>` and `</b>`.
-
-[![build status](https://secure.travis-ci.org/juliangruber/balanced-match.svg)](http://travis-ci.org/juliangruber/balanced-match)
-[![downloads](https://img.shields.io/npm/dm/balanced-match.svg)](https://www.npmjs.org/package/balanced-match)
-
-[![testling badge](https://ci.testling.com/juliangruber/balanced-match.png)](https://ci.testling.com/juliangruber/balanced-match)
-
-## Example
-
-Get the first matching pair of braces:
-
-```js
-var balanced = require('balanced-match');
-
-console.log(balanced('{', '}', 'pre{in{nested}}post'));
-console.log(balanced('{', '}', 'pre{first}between{second}post'));
-```
-
-The matches are:
-
-```bash
-$ node example.js
-{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' }
-{ start: 3,
- end: 9,
- pre: 'pre',
- body: 'first',
- post: 'between{second}post' }
-```
-
-## API
-
-### var m = balanced(a, b, str)
-
-For the first non-nested matching pair of `a` and `b` in `str`, return an
-object with those keys:
-
-* **start** the index of the first match of `a`
-* **end** the index of the matching `b`
-* **pre** the preamble, `a` and `b` not included
-* **body** the match, `a` and `b` not included
-* **post** the postscript, `a` and `b` not included
-
-If there's no match, `undefined` will be returned.
-
-If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']`.
-
-## Installation
-
-With [npm](https://npmjs.org) do:
-
-```bash
-npm install balanced-match
-```
-
-## License
-
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;[email protected]&gt;
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js
deleted file mode 100644
index c02ad348e..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var balanced = require('./');
-
-console.log(balanced('{', '}', 'pre{in{nested}}post'));
-console.log(balanced('{', '}', 'pre{first}between{second}post'));
-
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js
deleted file mode 100644
index d165ae817..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js
+++ /dev/null
@@ -1,38 +0,0 @@
-module.exports = balanced;
-function balanced(a, b, str) {
- var bal = 0;
- var m = {};
- var ended = false;
-
- for (var i = 0; i < str.length; i++) {
- if (a == str.substr(i, a.length)) {
- if (!('start' in m)) m.start = i;
- bal++;
- }
- else if (b == str.substr(i, b.length) && 'start' in m) {
- ended = true;
- bal--;
- if (!bal) {
- m.end = i;
- m.pre = str.substr(0, m.start);
- m.body = (m.end - m.start > 1)
- ? str.substring(m.start + a.length, m.end)
- : '';
- m.post = str.slice(m.end + b.length);
- return m;
- }
- }
- }
-
- // if we opened more than we closed, find the one we closed
- if (bal && ended) {
- var start = m.start + a.length;
- m = balanced(a, b, str.substr(start));
- if (m) {
- m.start += start;
- m.end += start;
- m.pre = str.slice(0, start) + m.pre;
- }
- return m;
- }
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json
deleted file mode 100644
index ede6efefa..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "name": "balanced-match",
- "description": "Match balanced character pairs, like \"{\" and \"}\"",
- "version": "0.2.0",
- "repository": {
- "type": "git",
- "url": "git://github.com/juliangruber/balanced-match.git"
- },
- "homepage": "https://github.com/juliangruber/balanced-match",
- "main": "index.js",
- "scripts": {
- "test": "make test"
- },
- "dependencies": {},
- "devDependencies": {
- "tape": "~1.1.1"
- },
- "keywords": [
- "match",
- "regexp",
- "test",
- "balanced",
- "parse"
- ],
- "author": {
- "name": "Julian Gruber",
- "email": "[email protected]",
- "url": "http://juliangruber.com"
- },
- "license": "MIT",
- "testling": {
- "files": "test/*.js",
- "browsers": [
- "ie/8..latest",
- "firefox/20..latest",
- "firefox/nightly",
- "chrome/25..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest",
- "android-browser/4.2..latest"
- ]
- },
- "gitHead": "ba40ed78e7114a4a67c51da768a100184dead39c",
- "bugs": {
- "url": "https://github.com/juliangruber/balanced-match/issues"
- },
- "_id": "[email protected]",
- "_shasum": "38f6730c03aab6d5edbb52bd934885e756d71674",
- "_from": "balanced-match@>=0.2.0 <0.3.0",
- "_npmVersion": "2.1.8",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "juliangruber",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "juliangruber",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "38f6730c03aab6d5edbb52bd934885e756d71674",
- "tarball": "http://registry.npmjs.org/balanced-match/-/balanced-match-0.2.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.2.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js
deleted file mode 100644
index 36bfd3995..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js
+++ /dev/null
@@ -1,56 +0,0 @@
-var test = require('tape');
-var balanced = require('..');
-
-test('balanced', function(t) {
- t.deepEqual(balanced('{', '}', 'pre{in{nest}}post'), {
- start: 3,
- end: 12,
- pre: 'pre',
- body: 'in{nest}',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', '{{{{{{{{{in}post'), {
- start: 8,
- end: 11,
- pre: '{{{{{{{{',
- body: 'in',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', 'pre{body{in}post'), {
- start: 8,
- end: 11,
- pre: 'pre{body',
- body: 'in',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', 'pre}{in{nest}}post'), {
- start: 4,
- end: 13,
- pre: 'pre}',
- body: 'in{nest}',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', 'pre{body}between{body2}post'), {
- start: 3,
- end: 8,
- pre: 'pre',
- body: 'body',
- post: 'between{body2}post'
- });
- t.notOk(balanced('{', '}', 'nope'), 'should be notOk');
- t.deepEqual(balanced('<b>', '</b>', 'pre<b>in<b>nest</b></b>post'), {
- start: 3,
- end: 19,
- pre: 'pre',
- body: 'in<b>nest</b>',
- post: 'post'
- });
- t.deepEqual(balanced('<b>', '</b>', 'pre</b><b>in<b>nest</b></b>post'), {
- start: 7,
- end: 23,
- pre: 'pre</b>',
- body: 'in<b>nest</b>',
- post: 'post'
- });
- t.end();
-});
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml
deleted file mode 100644
index f1d0f13c8..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-language: node_js
-node_js:
- - 0.4
- - 0.6
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE
deleted file mode 100644
index ee27ba4b4..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE
+++ /dev/null
@@ -1,18 +0,0 @@
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown
deleted file mode 100644
index 408f70a1b..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown
+++ /dev/null
@@ -1,62 +0,0 @@
-concat-map
-==========
-
-Concatenative mapdashery.
-
-[![browser support](http://ci.testling.com/substack/node-concat-map.png)](http://ci.testling.com/substack/node-concat-map)
-
-[![build status](https://secure.travis-ci.org/substack/node-concat-map.png)](http://travis-ci.org/substack/node-concat-map)
-
-example
-=======
-
-``` js
-var concatMap = require('concat-map');
-var xs = [ 1, 2, 3, 4, 5, 6 ];
-var ys = concatMap(xs, function (x) {
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
-});
-console.dir(ys);
-```
-
-***
-
-```
-[ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]
-```
-
-methods
-=======
-
-``` js
-var concatMap = require('concat-map')
-```
-
-concatMap(xs, fn)
------------------
-
-Return an array of concatenated elements by calling `fn(x, i)` for each element
-`x` and each index `i` in the array `xs`.
-
-When `fn(x, i)` returns an array, its result will be concatenated with the
-result array. If `fn(x, i)` returns anything else, that value will be pushed
-onto the end of the result array.
-
-install
-=======
-
-With [npm](http://npmjs.org) do:
-
-```
-npm install concat-map
-```
-
-license
-=======
-
-MIT
-
-notes
-=====
-
-This module was written while sitting high above the ground in a tree.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js
deleted file mode 100644
index 33656217b..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js
+++ /dev/null
@@ -1,6 +0,0 @@
-var concatMap = require('../');
-var xs = [ 1, 2, 3, 4, 5, 6 ];
-var ys = concatMap(xs, function (x) {
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
-});
-console.dir(ys);
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js
deleted file mode 100644
index b29a7812e..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = function (xs, fn) {
- var res = [];
- for (var i = 0; i < xs.length; i++) {
- var x = fn(xs[i], i);
- if (isArray(x)) res.push.apply(res, x);
- else res.push(x);
- }
- return res;
-};
-
-var isArray = Array.isArray || function (xs) {
- return Object.prototype.toString.call(xs) === '[object Array]';
-};
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json
deleted file mode 100644
index b51613809..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json
+++ /dev/null
@@ -1,83 +0,0 @@
-{
- "name": "concat-map",
- "description": "concatenative mapdashery",
- "version": "0.0.1",
- "repository": {
- "type": "git",
- "url": "git://github.com/substack/node-concat-map.git"
- },
- "main": "index.js",
- "keywords": [
- "concat",
- "concatMap",
- "map",
- "functional",
- "higher-order"
- ],
- "directories": {
- "example": "example",
- "test": "test"
- },
- "scripts": {
- "test": "tape test/*.js"
- },
- "devDependencies": {
- "tape": "~2.4.0"
- },
- "license": "MIT",
- "author": {
- "name": "James Halliday",
- "email": "[email protected]",
- "url": "http://substack.net"
- },
- "testling": {
- "files": "test/*.js",
- "browsers": {
- "ie": [
- 6,
- 7,
- 8,
- 9
- ],
- "ff": [
- 3.5,
- 10,
- 15
- ],
- "chrome": [
- 10,
- 22
- ],
- "safari": [
- 5.1
- ],
- "opera": [
- 12
- ]
- }
- },
- "bugs": {
- "url": "https://github.com/substack/node-concat-map/issues"
- },
- "homepage": "https://github.com/substack/node-concat-map",
- "_id": "[email protected]",
- "dist": {
- "shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
- "tarball": "http://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
- },
- "_from": "[email protected]",
- "_npmVersion": "1.3.21",
- "_npmUser": {
- "name": "substack",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "substack",
- "email": "[email protected]"
- }
- ],
- "_shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
- "_resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js
deleted file mode 100644
index fdbd7022f..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js
+++ /dev/null
@@ -1,39 +0,0 @@
-var concatMap = require('../');
-var test = require('tape');
-
-test('empty or not', function (t) {
- var xs = [ 1, 2, 3, 4, 5, 6 ];
- var ixes = [];
- var ys = concatMap(xs, function (x, ix) {
- ixes.push(ix);
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
- });
- t.same(ys, [ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]);
- t.same(ixes, [ 0, 1, 2, 3, 4, 5 ]);
- t.end();
-});
-
-test('always something', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function (x) {
- return x === 'b' ? [ 'B', 'B', 'B' ] : [ x ];
- });
- t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
- t.end();
-});
-
-test('scalars', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function (x) {
- return x === 'b' ? [ 'B', 'B', 'B' ] : x;
- });
- t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
- t.end();
-});
-
-test('undefs', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function () {});
- t.same(ys, [ undefined, undefined, undefined, undefined ]);
- t.end();
-});
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json
deleted file mode 100644
index 4cb3e05d7..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "name": "brace-expansion",
- "description": "Brace expansion as known from sh/bash",
- "version": "1.1.1",
- "repository": {
- "type": "git",
- "url": "git://github.com/juliangruber/brace-expansion.git"
- },
- "homepage": "https://github.com/juliangruber/brace-expansion",
- "main": "index.js",
- "scripts": {
- "test": "tape test/*.js",
- "gentest": "bash test/generate.sh"
- },
- "dependencies": {
- "balanced-match": "^0.2.0",
- "concat-map": "0.0.1"
- },
- "devDependencies": {
- "tape": "^3.0.3"
- },
- "keywords": [],
- "author": {
- "name": "Julian Gruber",
- "email": "[email protected]",
- "url": "http://juliangruber.com"
- },
- "license": "MIT",
- "testling": {
- "files": "test/*.js",
- "browsers": [
- "ie/8..latest",
- "firefox/20..latest",
- "firefox/nightly",
- "chrome/25..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest",
- "android-browser/4.2..latest"
- ]
- },
- "gitHead": "f50da498166d76ea570cf3b30179f01f0f119612",
- "bugs": {
- "url": "https://github.com/juliangruber/brace-expansion/issues"
- },
- "_id": "[email protected]",
- "_shasum": "da5fb78aef4c44c9e4acf525064fb3208ebab045",
- "_from": "brace-expansion@>=1.0.0 <2.0.0",
- "_npmVersion": "2.6.1",
- "_nodeVersion": "0.10.36",
- "_npmUser": {
- "name": "juliangruber",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "juliangruber",
- "email": "[email protected]"
- },
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "da5fb78aef4c44c9e4acf525064fb3208ebab045",
- "tarball": "http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json
deleted file mode 100644
index 4944eb0bc..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me"
- },
- "name": "minimatch",
- "description": "a glob matcher in javascript",
- "version": "3.0.0",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/minimatch.git"
- },
- "main": "minimatch.js",
- "scripts": {
- "posttest": "standard minimatch.js test/*.js",
- "test": "tap test/*.js"
- },
- "engines": {
- "node": "*"
- },
- "dependencies": {
- "brace-expansion": "^1.0.0"
- },
- "devDependencies": {
- "standard": "^3.7.2",
- "tap": "^1.2.0"
- },
- "license": "ISC",
- "files": [
- "minimatch.js"
- ],
- "gitHead": "270dbea567f0af6918cb18103e98c612aa717a20",
- "bugs": {
- "url": "https://github.com/isaacs/minimatch/issues"
- },
- "homepage": "https://github.com/isaacs/minimatch#readme",
- "_id": "[email protected]",
- "_shasum": "5236157a51e4f004c177fb3c527ff7dd78f0ef83",
- "_from": "minimatch@>=2.0.0 <3.0.0||>=3.0.0 <4.0.0",
- "_npmVersion": "3.3.2",
- "_nodeVersion": "4.0.0",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "5236157a51e4f004c177fb3c527ff7dd78f0ef83",
- "tarball": "http://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/README.md
deleted file mode 100644
index a2981ea07..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/README.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# once
-
-Only call a function once.
-
-## usage
-
-```javascript
-var once = require('once')
-
-function load (file, cb) {
- cb = once(cb)
- loader.load('file')
- loader.once('load', cb)
- loader.once('error', cb)
-}
-```
-
-Or add to the Function.prototype in a responsible way:
-
-```javascript
-// only has to be done once
-require('once').proto()
-
-function load (file, cb) {
- cb = cb.once()
- loader.load('file')
- loader.once('load', cb)
- loader.once('error', cb)
-}
-```
-
-Ironically, the prototype feature makes this module twice as
-complicated as necessary.
-
-To check whether you function has been called, use `fn.called`. Once the
-function is called for the first time the return value of the original
-function is saved in `fn.value` and subsequent calls will continue to
-return this value.
-
-```javascript
-var once = require('once')
-
-function load (cb) {
- cb = once(cb)
- var stream = createStream()
- stream.once('data', cb)
- stream.once('end', function () {
- if (!cb.called) cb(new Error('not found'))
- })
-}
-```
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md
deleted file mode 100644
index 98eab2522..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# wrappy
-
-Callback wrapping utility
-
-## USAGE
-
-```javascript
-var wrappy = require("wrappy")
-
-// var wrapper = wrappy(wrapperFunction)
-
-// make sure a cb is called only once
-// See also: http://npm.im/once for this specific use case
-var once = wrappy(function (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
-})
-
-function printBoo () {
- console.log('boo')
-}
-// has some rando property
-printBoo.iAmBooPrinter = true
-
-var onlyPrintOnce = once(printBoo)
-
-onlyPrintOnce() // prints 'boo'
-onlyPrintOnce() // does nothing
-
-// random property is retained!
-assert.equal(onlyPrintOnce.iAmBooPrinter, true)
-```
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json
deleted file mode 100644
index 8145dc8c4..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "wrappy",
- "version": "1.0.1",
- "description": "Callback wrapping utility",
- "main": "wrappy.js",
- "directories": {
- "test": "test"
- },
- "dependencies": {},
- "devDependencies": {
- "tap": "^0.4.12"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/npm/wrappy"
- },
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "license": "ISC",
- "bugs": {
- "url": "https://github.com/npm/wrappy/issues"
- },
- "homepage": "https://github.com/npm/wrappy",
- "gitHead": "006a8cbac6b99988315834c207896eed71fd069a",
- "_id": "[email protected]",
- "_shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "_from": "wrappy@>=1.0.0 <2.0.0",
- "_npmVersion": "2.0.0",
- "_nodeVersion": "0.10.31",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "tarball": "http://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
- },
- "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js
deleted file mode 100644
index 5ed0fcdfd..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js
+++ /dev/null
@@ -1,51 +0,0 @@
-var test = require('tap').test
-var wrappy = require('../wrappy.js')
-
-test('basic', function (t) {
- function onceifier (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
- }
- onceifier.iAmOnce = {}
- var once = wrappy(onceifier)
- t.equal(once.iAmOnce, onceifier.iAmOnce)
-
- var called = 0
- function boo () {
- t.equal(called, 0)
- called++
- }
- // has some rando property
- boo.iAmBoo = true
-
- var onlyPrintOnce = once(boo)
-
- onlyPrintOnce() // prints 'boo'
- onlyPrintOnce() // does nothing
- t.equal(called, 1)
-
- // random property is retained!
- t.equal(onlyPrintOnce.iAmBoo, true)
-
- var logs = []
- var logwrap = wrappy(function (msg, cb) {
- logs.push(msg + ' wrapping cb')
- return function () {
- logs.push(msg + ' before cb')
- var ret = cb.apply(this, arguments)
- logs.push(msg + ' after cb')
- }
- })
-
- var c = logwrap('foo', function () {
- t.same(logs, [ 'foo wrapping cb', 'foo before cb' ])
- })
- c()
- t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ])
-
- t.end()
-})
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js
deleted file mode 100644
index bb7e7d6fc..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// Returns a wrapper function that returns a wrapped callback
-// The wrapper function should do some stuff, and return a
-// presumably different callback function.
-// This makes sure that own properties are retained, so that
-// decorations and such are not lost along the way.
-module.exports = wrappy
-function wrappy (fn, cb) {
- if (fn && cb) return wrappy(fn)(cb)
-
- if (typeof fn !== 'function')
- throw new TypeError('need wrapper function')
-
- Object.keys(fn).forEach(function (k) {
- wrapper[k] = fn[k]
- })
-
- return wrapper
-
- function wrapper() {
- var args = new Array(arguments.length)
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i]
- }
- var ret = fn.apply(this, args)
- var cb = args[args.length-1]
- if (typeof ret === 'function' && ret !== cb) {
- Object.keys(cb).forEach(function (k) {
- ret[k] = cb[k]
- })
- }
- return ret
- }
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/once.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/once.js
deleted file mode 100644
index 2e1e721bf..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/once.js
+++ /dev/null
@@ -1,21 +0,0 @@
-var wrappy = require('wrappy')
-module.exports = wrappy(once)
-
-once.proto = once(function () {
- Object.defineProperty(Function.prototype, 'once', {
- value: function () {
- return once(this)
- },
- configurable: true
- })
-})
-
-function once (fn) {
- var f = function () {
- if (f.called) return f.value
- f.called = true
- return f.value = fn.apply(this, arguments)
- }
- f.called = false
- return f
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/package.json
deleted file mode 100644
index 8f46e507c..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "name": "once",
- "version": "1.3.2",
- "description": "Run a function exactly one time",
- "main": "once.js",
- "directories": {
- "test": "test"
- },
- "dependencies": {
- "wrappy": "1"
- },
- "devDependencies": {
- "tap": "~0.3.0"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/once.git"
- },
- "keywords": [
- "once",
- "function",
- "one",
- "single"
- ],
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "license": "ISC",
- "gitHead": "e35eed5a7867574e2bf2260a1ba23970958b22f2",
- "bugs": {
- "url": "https://github.com/isaacs/once/issues"
- },
- "homepage": "https://github.com/isaacs/once#readme",
- "_id": "[email protected]",
- "_shasum": "d8feeca93b039ec1dcdee7741c92bdac5e28081b",
- "_from": "once@>=1.3.0 <2.0.0",
- "_npmVersion": "2.9.1",
- "_nodeVersion": "2.0.0",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "d8feeca93b039ec1dcdee7741c92bdac5e28081b",
- "tarball": "http://registry.npmjs.org/once/-/once-1.3.2.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "_resolved": "https://registry.npmjs.org/once/-/once-1.3.2.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/test/once.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/test/once.js
deleted file mode 100644
index c618360df..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/test/once.js
+++ /dev/null
@@ -1,23 +0,0 @@
-var test = require('tap').test
-var once = require('../once.js')
-
-test('once', function (t) {
- var f = 0
- function fn (g) {
- t.equal(f, 0)
- f ++
- return f + g + this
- }
- fn.ownProperty = {}
- var foo = once(fn)
- t.equal(fn.ownProperty, foo.ownProperty)
- t.notOk(foo.called)
- for (var i = 0; i < 1E3; i++) {
- t.same(f, i === 0 ? 0 : 1)
- var g = foo.call(1, 1)
- t.ok(foo.called)
- t.same(g, 3)
- t.same(f, 1)
- }
- t.end()
-})
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/package.json
deleted file mode 100644
index bc3581060..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "name": "glob",
- "description": "a little globber",
- "version": "5.0.15",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/node-glob.git"
- },
- "main": "glob.js",
- "files": [
- "glob.js",
- "sync.js",
- "common.js"
- ],
- "engines": {
- "node": "*"
- },
- "dependencies": {
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "2 || 3",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "devDependencies": {
- "mkdirp": "0",
- "rimraf": "^2.2.8",
- "tap": "^1.1.4",
- "tick": "0.0.6"
- },
- "scripts": {
- "prepublish": "npm run benchclean",
- "profclean": "rm -f v8.log profile.txt",
- "test": "tap test/*.js --cov",
- "test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js",
- "bench": "bash benchmark.sh",
- "prof": "bash prof.sh && cat profile.txt",
- "benchclean": "node benchclean.js"
- },
- "license": "ISC",
- "gitHead": "3a7e71d453dd80e75b196fd262dd23ed54beeceb",
- "bugs": {
- "url": "https://github.com/isaacs/node-glob/issues"
- },
- "homepage": "https://github.com/isaacs/node-glob#readme",
- "_id": "[email protected]",
- "_shasum": "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1",
- "_from": "glob@>=5.0.14 <6.0.0",
- "_npmVersion": "3.3.2",
- "_nodeVersion": "4.0.0",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "1bc936b9e02f4a603fcc222ecf7633d30b8b93b1",
- "tarball": "http://registry.npmjs.org/glob/-/glob-5.0.15.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/sync.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/sync.js
deleted file mode 100644
index 09883d2ce..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/sync.js
+++ /dev/null
@@ -1,460 +0,0 @@
-module.exports = globSync
-globSync.GlobSync = GlobSync
-
-var fs = require('fs')
-var minimatch = require('minimatch')
-var Minimatch = minimatch.Minimatch
-var Glob = require('./glob.js').Glob
-var util = require('util')
-var path = require('path')
-var assert = require('assert')
-var isAbsolute = require('path-is-absolute')
-var common = require('./common.js')
-var alphasort = common.alphasort
-var alphasorti = common.alphasorti
-var setopts = common.setopts
-var ownProp = common.ownProp
-var childrenIgnored = common.childrenIgnored
-
-function globSync (pattern, options) {
- if (typeof options === 'function' || arguments.length === 3)
- throw new TypeError('callback provided to sync glob\n'+
- 'See: https://github.com/isaacs/node-glob/issues/167')
-
- return new GlobSync(pattern, options).found
-}
-
-function GlobSync (pattern, options) {
- if (!pattern)
- throw new Error('must provide pattern')
-
- if (typeof options === 'function' || arguments.length === 3)
- throw new TypeError('callback provided to sync glob\n'+
- 'See: https://github.com/isaacs/node-glob/issues/167')
-
- if (!(this instanceof GlobSync))
- return new GlobSync(pattern, options)
-
- setopts(this, pattern, options)
-
- if (this.noprocess)
- return this
-
- var n = this.minimatch.set.length
- this.matches = new Array(n)
- for (var i = 0; i < n; i ++) {
- this._process(this.minimatch.set[i], i, false)
- }
- this._finish()
-}
-
-GlobSync.prototype._finish = function () {
- assert(this instanceof GlobSync)
- if (this.realpath) {
- var self = this
- this.matches.forEach(function (matchset, index) {
- var set = self.matches[index] = Object.create(null)
- for (var p in matchset) {
- try {
- p = self._makeAbs(p)
- var real = fs.realpathSync(p, self.realpathCache)
- set[real] = true
- } catch (er) {
- if (er.syscall === 'stat')
- set[self._makeAbs(p)] = true
- else
- throw er
- }
- }
- })
- }
- common.finish(this)
-}
-
-
-GlobSync.prototype._process = function (pattern, index, inGlobStar) {
- assert(this instanceof GlobSync)
-
- // Get the first [n] parts of pattern that are all strings.
- var n = 0
- while (typeof pattern[n] === 'string') {
- n ++
- }
- // now n is the index of the first one that is *not* a string.
-
- // See if there's anything else
- var prefix
- switch (n) {
- // if not, then this is rather simple
- case pattern.length:
- this._processSimple(pattern.join('/'), index)
- return
-
- case 0:
- // pattern *starts* with some non-trivial item.
- // going to readdir(cwd), but not include the prefix in matches.
- prefix = null
- break
-
- default:
- // pattern has some string bits in the front.
- // whatever it starts with, whether that's 'absolute' like /foo/bar,
- // or 'relative' like '../baz'
- prefix = pattern.slice(0, n).join('/')
- break
- }
-
- var remain = pattern.slice(n)
-
- // get the list of entries.
- var read
- if (prefix === null)
- read = '.'
- else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
- if (!prefix || !isAbsolute(prefix))
- prefix = '/' + prefix
- read = prefix
- } else
- read = prefix
-
- var abs = this._makeAbs(read)
-
- //if ignored, skip processing
- if (childrenIgnored(this, read))
- return
-
- var isGlobStar = remain[0] === minimatch.GLOBSTAR
- if (isGlobStar)
- this._processGlobStar(prefix, read, abs, remain, index, inGlobStar)
- else
- this._processReaddir(prefix, read, abs, remain, index, inGlobStar)
-}
-
-
-GlobSync.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar) {
- var entries = this._readdir(abs, inGlobStar)
-
- // if the abs isn't a dir, then nothing can match!
- if (!entries)
- return
-
- // It will only match dot entries if it starts with a dot, or if
- // dot is set. Stuff like @(.foo|.bar) isn't allowed.
- var pn = remain[0]
- var negate = !!this.minimatch.negate
- var rawGlob = pn._glob
- var dotOk = this.dot || rawGlob.charAt(0) === '.'
-
- var matchedEntries = []
- for (var i = 0; i < entries.length; i++) {
- var e = entries[i]
- if (e.charAt(0) !== '.' || dotOk) {
- var m
- if (negate && !prefix) {
- m = !e.match(pn)
- } else {
- m = e.match(pn)
- }
- if (m)
- matchedEntries.push(e)
- }
- }
-
- var len = matchedEntries.length
- // If there are no matched entries, then nothing matches.
- if (len === 0)
- return
-
- // if this is the last remaining pattern bit, then no need for
- // an additional stat *unless* the user has specified mark or
- // stat explicitly. We know they exist, since readdir returned
- // them.
-
- if (remain.length === 1 && !this.mark && !this.stat) {
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- if (prefix) {
- if (prefix.slice(-1) !== '/')
- e = prefix + '/' + e
- else
- e = prefix + e
- }
-
- if (e.charAt(0) === '/' && !this.nomount) {
- e = path.join(this.root, e)
- }
- this.matches[index][e] = true
- }
- // This was the last one, and no stats were needed
- return
- }
-
- // now test all matched entries as stand-ins for that part
- // of the pattern.
- remain.shift()
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- var newPattern
- if (prefix)
- newPattern = [prefix, e]
- else
- newPattern = [e]
- this._process(newPattern.concat(remain), index, inGlobStar)
- }
-}
-
-
-GlobSync.prototype._emitMatch = function (index, e) {
- var abs = this._makeAbs(e)
- if (this.mark)
- e = this._mark(e)
-
- if (this.matches[index][e])
- return
-
- if (this.nodir) {
- var c = this.cache[this._makeAbs(e)]
- if (c === 'DIR' || Array.isArray(c))
- return
- }
-
- this.matches[index][e] = true
- if (this.stat)
- this._stat(e)
-}
-
-
-GlobSync.prototype._readdirInGlobStar = function (abs) {
- // follow all symlinked directories forever
- // just proceed as if this is a non-globstar situation
- if (this.follow)
- return this._readdir(abs, false)
-
- var entries
- var lstat
- var stat
- try {
- lstat = fs.lstatSync(abs)
- } catch (er) {
- // lstat failed, doesn't exist
- return null
- }
-
- var isSym = lstat.isSymbolicLink()
- this.symlinks[abs] = isSym
-
- // If it's not a symlink or a dir, then it's definitely a regular file.
- // don't bother doing a readdir in that case.
- if (!isSym && !lstat.isDirectory())
- this.cache[abs] = 'FILE'
- else
- entries = this._readdir(abs, false)
-
- return entries
-}
-
-GlobSync.prototype._readdir = function (abs, inGlobStar) {
- var entries
-
- if (inGlobStar && !ownProp(this.symlinks, abs))
- return this._readdirInGlobStar(abs)
-
- if (ownProp(this.cache, abs)) {
- var c = this.cache[abs]
- if (!c || c === 'FILE')
- return null
-
- if (Array.isArray(c))
- return c
- }
-
- try {
- return this._readdirEntries(abs, fs.readdirSync(abs))
- } catch (er) {
- this._readdirError(abs, er)
- return null
- }
-}
-
-GlobSync.prototype._readdirEntries = function (abs, entries) {
- // if we haven't asked to stat everything, then just
- // assume that everything in there exists, so we can avoid
- // having to stat it a second time.
- if (!this.mark && !this.stat) {
- for (var i = 0; i < entries.length; i ++) {
- var e = entries[i]
- if (abs === '/')
- e = abs + e
- else
- e = abs + '/' + e
- this.cache[e] = true
- }
- }
-
- this.cache[abs] = entries
-
- // mark and cache dir-ness
- return entries
-}
-
-GlobSync.prototype._readdirError = function (f, er) {
- // handle errors, and cache the information
- switch (er.code) {
- case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
- case 'ENOTDIR': // totally normal. means it *does* exist.
- this.cache[this._makeAbs(f)] = 'FILE'
- break
-
- case 'ENOENT': // not terribly unusual
- case 'ELOOP':
- case 'ENAMETOOLONG':
- case 'UNKNOWN':
- this.cache[this._makeAbs(f)] = false
- break
-
- default: // some unusual error. Treat as failure.
- this.cache[this._makeAbs(f)] = false
- if (this.strict)
- throw er
- if (!this.silent)
- console.error('glob error', er)
- break
- }
-}
-
-GlobSync.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar) {
-
- var entries = this._readdir(abs, inGlobStar)
-
- // no entries means not a dir, so it can never have matches
- // foo.txt/** doesn't match foo.txt
- if (!entries)
- return
-
- // test without the globstar, and with every child both below
- // and replacing the globstar.
- var remainWithoutGlobStar = remain.slice(1)
- var gspref = prefix ? [ prefix ] : []
- var noGlobStar = gspref.concat(remainWithoutGlobStar)
-
- // the noGlobStar pattern exits the inGlobStar state
- this._process(noGlobStar, index, false)
-
- var len = entries.length
- var isSym = this.symlinks[abs]
-
- // If it's a symlink, and we're in a globstar, then stop
- if (isSym && inGlobStar)
- return
-
- for (var i = 0; i < len; i++) {
- var e = entries[i]
- if (e.charAt(0) === '.' && !this.dot)
- continue
-
- // these two cases enter the inGlobStar state
- var instead = gspref.concat(entries[i], remainWithoutGlobStar)
- this._process(instead, index, true)
-
- var below = gspref.concat(entries[i], remain)
- this._process(below, index, true)
- }
-}
-
-GlobSync.prototype._processSimple = function (prefix, index) {
- // XXX review this. Shouldn't it be doing the mounting etc
- // before doing stat? kinda weird?
- var exists = this._stat(prefix)
-
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- // If it doesn't exist, then just mark the lack of results
- if (!exists)
- return
-
- if (prefix && isAbsolute(prefix) && !this.nomount) {
- var trail = /[\/\\]$/.test(prefix)
- if (prefix.charAt(0) === '/') {
- prefix = path.join(this.root, prefix)
- } else {
- prefix = path.resolve(this.root, prefix)
- if (trail)
- prefix += '/'
- }
- }
-
- if (process.platform === 'win32')
- prefix = prefix.replace(/\\/g, '/')
-
- // Mark this as a match
- this.matches[index][prefix] = true
-}
-
-// Returns either 'DIR', 'FILE', or false
-GlobSync.prototype._stat = function (f) {
- var abs = this._makeAbs(f)
- var needDir = f.slice(-1) === '/'
-
- if (f.length > this.maxLength)
- return false
-
- if (!this.stat && ownProp(this.cache, abs)) {
- var c = this.cache[abs]
-
- if (Array.isArray(c))
- c = 'DIR'
-
- // It exists, but maybe not how we need it
- if (!needDir || c === 'DIR')
- return c
-
- if (needDir && c === 'FILE')
- return false
-
- // otherwise we have to stat, because maybe c=true
- // if we know it exists, but not what it is.
- }
-
- var exists
- var stat = this.statCache[abs]
- if (!stat) {
- var lstat
- try {
- lstat = fs.lstatSync(abs)
- } catch (er) {
- return false
- }
-
- if (lstat.isSymbolicLink()) {
- try {
- stat = fs.statSync(abs)
- } catch (er) {
- stat = lstat
- }
- } else {
- stat = lstat
- }
- }
-
- this.statCache[abs] = stat
-
- var c = stat.isDirectory() ? 'DIR' : 'FILE'
- this.cache[abs] = this.cache[abs] || c
-
- if (needDir && c !== 'DIR')
- return false
-
- return c
-}
-
-GlobSync.prototype._mark = function (p) {
- return common.mark(this, p)
-}
-
-GlobSync.prototype._makeAbs = function (f) {
- return common.makeAbs(this, f)
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/package.json b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/package.json
deleted file mode 100644
index 40a8c9a9e..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/package.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "name": "rimraf",
- "version": "2.4.3",
- "main": "rimraf.js",
- "description": "A deep deletion module for node (like `rm -rf`)",
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "license": "ISC",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/rimraf.git"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "bin": {
- "rimraf": "./bin.js"
- },
- "dependencies": {
- "glob": "^5.0.14"
- },
- "files": [
- "LICENSE",
- "README.md",
- "bin.js",
- "rimraf.js"
- ],
- "devDependencies": {
- "mkdirp": "^0.5.1",
- "tap": "^1.3.1"
- },
- "gitHead": "ec7050f8ca14c931b847414f18466e601ca7c02e",
- "bugs": {
- "url": "https://github.com/isaacs/rimraf/issues"
- },
- "homepage": "https://github.com/isaacs/rimraf#readme",
- "_id": "[email protected]",
- "_shasum": "e5b51c9437a4c582adb955e9f28cf8d945e272af",
- "_from": "rimraf@>=2.2.8 <3.0.0",
- "_npmVersion": "3.2.2",
- "_nodeVersion": "2.2.1",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "e5b51c9437a4c582adb955e9f28cf8d945e272af",
- "tarball": "http://registry.npmjs.org/rimraf/-/rimraf-2.4.3.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.3.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/rimraf.js b/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/rimraf.js
deleted file mode 100644
index 7771b530c..000000000
--- a/data/node-webkit/node_modules/fs-extra/node_modules/rimraf/rimraf.js
+++ /dev/null
@@ -1,333 +0,0 @@
-module.exports = rimraf
-rimraf.sync = rimrafSync
-
-var assert = require("assert")
-var path = require("path")
-var fs = require("fs")
-var glob = require("glob")
-
-var globOpts = {
- nosort: true,
- nocomment: true,
- nonegate: true,
- silent: true
-}
-
-// for EMFILE handling
-var timeout = 0
-
-var isWindows = (process.platform === "win32")
-
-function defaults (options) {
- var methods = [
- 'unlink',
- 'chmod',
- 'stat',
- 'lstat',
- 'rmdir',
- 'readdir'
- ]
- methods.forEach(function(m) {
- options[m] = options[m] || fs[m]
- m = m + 'Sync'
- options[m] = options[m] || fs[m]
- })
-
- options.maxBusyTries = options.maxBusyTries || 3
- options.emfileWait = options.emfileWait || 1000
- options.disableGlob = options.disableGlob || false
-}
-
-function rimraf (p, options, cb) {
- if (typeof options === 'function') {
- cb = options
- options = {}
- }
-
- assert(p, 'rimraf: missing path')
- assert.equal(typeof p, 'string', 'rimraf: path should be a string')
- assert(options, 'rimraf: missing options')
- assert.equal(typeof options, 'object', 'rimraf: options should be object')
- assert.equal(typeof cb, 'function', 'rimraf: callback function required')
-
- defaults(options)
-
- var busyTries = 0
- var errState = null
- var n = 0
-
- if (options.disableGlob || !glob.hasMagic(p))
- return afterGlob(null, [p])
-
- fs.lstat(p, function (er, stat) {
- if (!er)
- return afterGlob(null, [p])
-
- glob(p, globOpts, afterGlob)
- })
-
- function next (er) {
- errState = errState || er
- if (--n === 0)
- cb(errState)
- }
-
- function afterGlob (er, results) {
- if (er)
- return cb(er)
-
- n = results.length
- if (n === 0)
- return cb()
-
- results.forEach(function (p) {
- rimraf_(p, options, function CB (er) {
- if (er) {
- if (isWindows && (er.code === "EBUSY" || er.code === "ENOTEMPTY" || er.code === "EPERM") &&
- busyTries < options.maxBusyTries) {
- busyTries ++
- var time = busyTries * 100
- // try again, with the same exact callback as this one.
- return setTimeout(function () {
- rimraf_(p, options, CB)
- }, time)
- }
-
- // this one won't happen if graceful-fs is used.
- if (er.code === "EMFILE" && timeout < options.emfileWait) {
- return setTimeout(function () {
- rimraf_(p, options, CB)
- }, timeout ++)
- }
-
- // already gone
- if (er.code === "ENOENT") er = null
- }
-
- timeout = 0
- next(er)
- })
- })
- }
-}
-
-// Two possible strategies.
-// 1. Assume it's a file. unlink it, then do the dir stuff on EPERM or EISDIR
-// 2. Assume it's a directory. readdir, then do the file stuff on ENOTDIR
-//
-// Both result in an extra syscall when you guess wrong. However, there
-// are likely far more normal files in the world than directories. This
-// is based on the assumption that a the average number of files per
-// directory is >= 1.
-//
-// If anyone ever complains about this, then I guess the strategy could
-// be made configurable somehow. But until then, YAGNI.
-function rimraf_ (p, options, cb) {
- assert(p)
- assert(options)
- assert(typeof cb === 'function')
-
- // sunos lets the root user unlink directories, which is... weird.
- // so we have to lstat here and make sure it's not a dir.
- options.lstat(p, function (er, st) {
- if (er && er.code === "ENOENT")
- return cb(null)
-
- if (st && st.isDirectory())
- return rmdir(p, options, er, cb)
-
- options.unlink(p, function (er) {
- if (er) {
- if (er.code === "ENOENT")
- return cb(null)
- if (er.code === "EPERM")
- return (isWindows)
- ? fixWinEPERM(p, options, er, cb)
- : rmdir(p, options, er, cb)
- if (er.code === "EISDIR")
- return rmdir(p, options, er, cb)
- }
- return cb(er)
- })
- })
-}
-
-function fixWinEPERM (p, options, er, cb) {
- assert(p)
- assert(options)
- assert(typeof cb === 'function')
- if (er)
- assert(er instanceof Error)
-
- options.chmod(p, 666, function (er2) {
- if (er2)
- cb(er2.code === "ENOENT" ? null : er)
- else
- options.stat(p, function(er3, stats) {
- if (er3)
- cb(er3.code === "ENOENT" ? null : er)
- else if (stats.isDirectory())
- rmdir(p, options, er, cb)
- else
- options.unlink(p, cb)
- })
- })
-}
-
-function fixWinEPERMSync (p, options, er) {
- assert(p)
- assert(options)
- if (er)
- assert(er instanceof Error)
-
- try {
- options.chmodSync(p, 666)
- } catch (er2) {
- if (er2.code === "ENOENT")
- return
- else
- throw er
- }
-
- try {
- var stats = options.statSync(p)
- } catch (er3) {
- if (er3.code === "ENOENT")
- return
- else
- throw er
- }
-
- if (stats.isDirectory())
- rmdirSync(p, options, er)
- else
- options.unlinkSync(p)
-}
-
-function rmdir (p, options, originalEr, cb) {
- assert(p)
- assert(options)
- if (originalEr)
- assert(originalEr instanceof Error)
- assert(typeof cb === 'function')
-
- // try to rmdir first, and only readdir on ENOTEMPTY or EEXIST (SunOS)
- // if we guessed wrong, and it's not a directory, then
- // raise the original error.
- options.rmdir(p, function (er) {
- if (er && (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM"))
- rmkids(p, options, cb)
- else if (er && er.code === "ENOTDIR")
- cb(originalEr)
- else
- cb(er)
- })
-}
-
-function rmkids(p, options, cb) {
- assert(p)
- assert(options)
- assert(typeof cb === 'function')
-
- options.readdir(p, function (er, files) {
- if (er)
- return cb(er)
- var n = files.length
- if (n === 0)
- return options.rmdir(p, cb)
- var errState
- files.forEach(function (f) {
- rimraf(path.join(p, f), options, function (er) {
- if (errState)
- return
- if (er)
- return cb(errState = er)
- if (--n === 0)
- options.rmdir(p, cb)
- })
- })
- })
-}
-
-// this looks simpler, and is strictly *faster*, but will
-// tie up the JavaScript thread and fail on excessively
-// deep directory trees.
-function rimrafSync (p, options) {
- options = options || {}
- defaults(options)
-
- assert(p, 'rimraf: missing path')
- assert.equal(typeof p, 'string', 'rimraf: path should be a string')
- assert(options, 'rimraf: missing options')
- assert.equal(typeof options, 'object', 'rimraf: options should be object')
-
- var results
-
- if (options.disableGlob || !glob.hasMagic(p)) {
- results = [p]
- } else {
- try {
- fs.lstatSync(p)
- results = [p]
- } catch (er) {
- results = glob.sync(p, globOpts)
- }
- }
-
- if (!results.length)
- return
-
- for (var i = 0; i < results.length; i++) {
- var p = results[i]
-
- try {
- var st = options.lstatSync(p)
- } catch (er) {
- if (er.code === "ENOENT")
- return
- }
-
- try {
- // sunos lets the root user unlink directories, which is... weird.
- if (st && st.isDirectory())
- rmdirSync(p, options, null)
- else
- options.unlinkSync(p)
- } catch (er) {
- if (er.code === "ENOENT")
- return
- if (er.code === "EPERM")
- return isWindows ? fixWinEPERMSync(p, options, er) : rmdirSync(p, options, er)
- if (er.code !== "EISDIR")
- throw er
- rmdirSync(p, options, er)
- }
- }
-}
-
-function rmdirSync (p, options, originalEr) {
- assert(p)
- assert(options)
- if (originalEr)
- assert(originalEr instanceof Error)
-
- try {
- options.rmdirSync(p)
- } catch (er) {
- if (er.code === "ENOENT")
- return
- if (er.code === "ENOTDIR")
- throw originalEr
- if (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM")
- rmkidsSync(p, options)
- }
-}
-
-function rmkidsSync (p, options) {
- assert(p)
- assert(options)
- options.readdirSync(p).forEach(function (f) {
- rimrafSync(path.join(p, f), options)
- })
- options.rmdirSync(p, options)
-}
diff --git a/data/node-webkit/node_modules/fs-extra/package.json b/data/node-webkit/node_modules/fs-extra/package.json
deleted file mode 100644
index 1cca1b129..000000000
--- a/data/node-webkit/node_modules/fs-extra/package.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "name": "fs-extra",
- "version": "0.24.0",
- "description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.",
- "homepage": "https://github.com/jprichardson/node-fs-extra",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jprichardson/node-fs-extra.git"
- },
- "keywords": [
- "fs",
- "file",
- "file system",
- "copy",
- "directory",
- "extra",
- "mkdirp",
- "mkdir",
- "mkdirs",
- "recursive",
- "json",
- "read",
- "write",
- "extra",
- "delete",
- "remove",
- "touch",
- "create",
- "text",
- "output",
- "move"
- ],
- "author": {
- "name": "JP Richardson",
- "email": "[email protected]"
- },
- "license": "MIT",
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "jsonfile": "^2.1.0",
- "path-is-absolute": "^1.0.0",
- "rimraf": "^2.2.8"
- },
- "devDependencies": {
- "coveralls": "^2.11.2",
- "istanbul": "^0.3.5",
- "minimist": "^1.1.1",
- "mocha": "^2.1.0",
- "read-dir-files": "^0.1.1",
- "secure-random": "^1.1.1",
- "semver": "^4.3.6",
- "standard": "5.x"
- },
- "main": "./lib/index",
- "scripts": {
- "coverage": "istanbul cover test.js",
- "coveralls": "npm run coverage && coveralls < coverage/lcov.info",
- "test-find": "find ./lib/**/__tests__ -name *.test.js | xargs mocha",
- "test": "standard && node test.js"
- },
- "gitHead": "2022ff8e547bc49569c2b57692ea47bd789a4c70",
- "bugs": {
- "url": "https://github.com/jprichardson/node-fs-extra/issues"
- },
- "_id": "[email protected]",
- "_shasum": "d4e4342a96675cb7846633a6099249332b539952",
- "_from": "fs-extra@>=0.24.0 <0.25.0",
- "_npmVersion": "2.10.1",
- "_nodeVersion": "2.1.0",
- "_npmUser": {
- "name": "jprichardson",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "jprichardson",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "d4e4342a96675cb7846633a6099249332b539952",
- "tarball": "http://registry.npmjs.org/fs-extra/-/fs-extra-0.24.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.24.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/index.js b/data/node-webkit/node_modules/trash/index.js
deleted file mode 100644
index 9fc5ce11c..000000000
--- a/data/node-webkit/node_modules/trash/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-'use strict';
-var path = require('path');
-var pathExists = require('path-exists');
-var globby = require('globby');
-
-module.exports = function (paths) {
- if (!Array.isArray(paths)) {
- return Promise.reject(new TypeError('Expected an array'));
- }
-
- paths = globby.sync(paths.map(String), {nonull: true})
- .map(function (x) {
- return path.resolve(x);
- })
- .filter(pathExists.sync);
-
- if (paths.length === 0) {
- return Promise.resolve();
- }
-
- switch (process.platform) {
- case 'darwin': return require('./lib/osx')(paths);
- case 'win32': return require('./lib/win')(paths);
- default: return require('./lib/linux')(paths);
- }
-};
diff --git a/data/node-webkit/node_modules/trash/lib/linux.js b/data/node-webkit/node_modules/trash/lib/linux.js
deleted file mode 100644
index 4b53c602d..000000000
--- a/data/node-webkit/node_modules/trash/lib/linux.js
+++ /dev/null
@@ -1,35 +0,0 @@
-'use strict';
-var path = require('path');
-var fsExtra = require('fs-extra');
-var pify = require('pify');
-var Promise = require('pinkie-promise');
-var uuid = require('uuid');
-var xdgTrashdir = require('xdg-trashdir');
-var fs = pify(fsExtra, Promise);
-
-function trash(src) {
- return xdgTrashdir(src).then(function (dir) {
- var name = uuid.v4();
- var dest = path.join(dir, 'files', name);
- var info = path.join(dir, 'info', name + '.trashinfo');
- var msg = [
- '[Trash Info]',
- 'Path=' + src.replace(/\s/g, '%20'),
- 'DeletionDate=' + new Date().toISOString()
- ].join('\n');
-
- return Promise.all([
- fs.move(src, dest, {mkdirp: true}),
- fs.outputFile(info, msg)
- ]).then(function () {
- return {
- path: dest,
- info: info
- };
- });
- });
-}
-
-module.exports = function (paths) {
- return Promise.all(paths.map(trash));
-};
diff --git a/data/node-webkit/node_modules/trash/lib/osx-trash b/data/node-webkit/node_modules/trash/lib/osx-trash
deleted file mode 100644
index fd62c5276..000000000
Binary files a/data/node-webkit/node_modules/trash/lib/osx-trash and /dev/null differ
diff --git a/data/node-webkit/node_modules/trash/lib/osx.js b/data/node-webkit/node_modules/trash/lib/osx.js
deleted file mode 100644
index 433ccded2..000000000
--- a/data/node-webkit/node_modules/trash/lib/osx.js
+++ /dev/null
@@ -1,38 +0,0 @@
-'use strict';
-var os = require('os');
-var path = require('path');
-var execFile = require('child_process').execFile;
-var escapeStringApplescript = require('escape-string-applescript');
-var runApplescript = require('run-applescript');
-var pify = require('pify');
-var Promise = require('pinkie-promise');
-var olderThanMountainLion = Number(os.release().split('.')[0]) < 12;
-var bin = path.join(__dirname, 'osx-trash');
-
-function legacy(paths) {
- var script =
- 'set deleteList to {}\n' +
- 'repeat with currentPath in {' + paths.map(function (el) {
- return '"' + escapeStringApplescript(el) + '"';
- }).join(',') + '}\n' +
- 'set end of deleteList to POSIX file currentPath\n' +
- 'end repeat\n' +
- 'tell app "Finder" to delete deleteList';
-
- return runApplescript(script)
- .catch(function (err) {
- if (/10010/.test(err.message)) {
- throw new Error('Item doesn\'t exist');
- }
-
- throw err;
- });
-}
-
-module.exports = function (paths) {
- if (olderThanMountainLion) {
- return legacy(paths);
- }
-
- return pify(execFile, Promise)(bin, paths);
-};
diff --git a/data/node-webkit/node_modules/trash/lib/win-trash.exe b/data/node-webkit/node_modules/trash/lib/win-trash.exe
deleted file mode 100644
index f3fa69c6e..000000000
Binary files a/data/node-webkit/node_modules/trash/lib/win-trash.exe and /dev/null differ
diff --git a/data/node-webkit/node_modules/trash/lib/win.js b/data/node-webkit/node_modules/trash/lib/win.js
deleted file mode 100644
index d1c867604..000000000
--- a/data/node-webkit/node_modules/trash/lib/win.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'use strict';
-var path = require('path');
-var execFile = require('child_process').execFile;
-var Promise = require('pinkie-promise');
-var pify = require('pify');
-var bin = path.join(__dirname, 'win-trash.exe');
-
-module.exports = function (paths) {
- return pify(execFile, Promise)(bin, paths);
-};
diff --git a/data/node-webkit/node_modules/trash/license b/data/node-webkit/node_modules/trash/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/index.js b/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/index.js
deleted file mode 100644
index e3588a52c..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-module.exports = function (str) {
- return typeof str === 'string' ? str.replace(/[\\"]/g, '\\$&') : str;
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/package.json b/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/package.json
deleted file mode 100644
index 1467571a7..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/package.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "name": "escape-string-applescript",
- "version": "1.0.0",
- "description": "Escape a string for use in AppleScript",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git://github.com/sindresorhus/escape-string-applescript"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "http://sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "escape",
- "string",
- "str",
- "applescript",
- "osascript",
- "quote",
- "quotes",
- "backslash"
- ],
- "devDependencies": {
- "ava": "0.0.3"
- },
- "gitHead": "e8e7f575ecbe6cc862f9b46e07049cffaba367a1",
- "bugs": {
- "url": "https://github.com/sindresorhus/escape-string-applescript/issues"
- },
- "homepage": "https://github.com/sindresorhus/escape-string-applescript",
- "_id": "[email protected]",
- "_shasum": "6f1c2294245d82c63bc03338dc19a94aa8428892",
- "_from": "escape-string-applescript@>=1.0.0 <2.0.0",
- "_npmVersion": "1.4.14",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "6f1c2294245d82c63bc03338dc19a94aa8428892",
- "tarball": "http://registry.npmjs.org/escape-string-applescript/-/escape-string-applescript-1.0.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/escape-string-applescript/-/escape-string-applescript-1.0.0.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/readme.md b/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/readme.md
deleted file mode 100644
index 3f697269f..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/escape-string-applescript/readme.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# escape-string-applescript [![Build Status](https://travis-ci.org/sindresorhus/escape-string-applescript.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-applescript)
-
-> Escape a string for use in AppleScript
-
-According to the AppleScript [docs](https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_classes.html#//apple_ref/doc/uid/TP40000983-CH1g-DontLinkElementID_57) `\` and `"` have special meaning and should be escaped.
-
-
-## Install
-
-```sh
-$ npm install --save escape-string-applescript
-```
-
-
-## Usage
-
-```js
-var execFile = require('child_process').execFile;
-var escapeString = require('escape-string-applescript');
-
-var str = escapeString('"i like unicorns"');
-//=> \"i like unicorns\"
-
-var script = 'set unicornMessage to "' + str + '"';
-
-execFile('osascript', ['-e', script]);
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/index.js
deleted file mode 100644
index 8f20018ff..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/index.js
+++ /dev/null
@@ -1,68 +0,0 @@
-'use strict';
-var Promise = require('pinkie-promise');
-var arrayUnion = require('array-union');
-var objectAssign = require('object-assign');
-var glob = require('glob');
-var arrify = require('arrify');
-var pify = require('pify');
-
-function sortPatterns(patterns) {
- patterns = arrify(patterns);
-
- var positives = [];
- var negatives = [];
-
- patterns.forEach(function (pattern, index) {
- var isNegative = pattern[0] === '!';
- (isNegative ? negatives : positives).push({
- index: index,
- pattern: isNegative ? pattern.slice(1) : pattern
- });
- });
-
- return {
- positives: positives,
- negatives: negatives
- };
-}
-
-function setIgnore(opts, negatives, positiveIndex) {
- opts = objectAssign({}, opts);
-
- var negativePatterns = negatives.filter(function (negative) {
- return negative.index > positiveIndex;
- }).map(function (negative) {
- return negative.pattern;
- });
-
- opts.ignore = (opts.ignore || []).concat(negativePatterns);
- return opts;
-}
-
-module.exports = function (patterns, opts) {
- var sortedPatterns = sortPatterns(patterns);
- opts = opts || {};
-
- if (sortedPatterns.positives.length === 0) {
- return Promise.resolve([]);
- }
-
- return Promise.all(sortedPatterns.positives.map(function (positive) {
- var globOpts = setIgnore(opts, sortedPatterns.negatives, positive.index);
- return pify(glob, Promise)(positive.pattern, globOpts);
- })).then(function (paths) {
- return arrayUnion.apply(null, paths);
- });
-};
-
-module.exports.sync = function (patterns, opts) {
- var sortedPatterns = sortPatterns(patterns);
-
- if (sortedPatterns.positives.length === 0) {
- return [];
- }
-
- return sortedPatterns.positives.reduce(function (ret, positive) {
- return arrayUnion(ret, glob.sync(positive.pattern, setIgnore(opts, sortedPatterns.negatives, positive.index)));
- }, []);
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/license b/data/node-webkit/node_modules/trash/node_modules/globby/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/index.js
deleted file mode 100644
index e33f38a1e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/index.js
+++ /dev/null
@@ -1,6 +0,0 @@
-'use strict';
-var arrayUniq = require('array-uniq');
-
-module.exports = function () {
- return arrayUniq([].concat.apply([], arguments));
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/index.js
deleted file mode 100644
index 40f81b8a0..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/index.js
+++ /dev/null
@@ -1,60 +0,0 @@
-'use strict';
-
-// there's 3 implementations written in increasing order of efficiency
-
-// 1 - no Set type is defined
-function uniqNoSet(arr) {
- var ret = [];
-
- for (var i = 0; i < arr.length; i++) {
- if (ret.indexOf(arr[i]) === -1) {
- ret.push(arr[i]);
- }
- }
-
- return ret;
-}
-
-// 2 - a simple Set type is defined
-function uniqSet(arr) {
- var seen = new Set();
- return arr.filter(function (el) {
- if (!seen.has(el)) {
- seen.add(el);
- return true;
- }
- });
-}
-
-// 3 - a standard Set type is defined and it has a forEach method
-function uniqSetWithForEach(arr) {
- var ret = [];
-
- (new Set(arr)).forEach(function (el) {
- ret.push(el);
- });
-
- return ret;
-}
-
-// V8 currently has a broken implementation
-// https://github.com/joyent/node/issues/8449
-function doesForEachActuallyWork() {
- var ret = false;
-
- (new Set([true])).forEach(function (el) {
- ret = el;
- });
-
- return ret === true;
-}
-
-if ('Set' in global) {
- if (typeof Set.prototype.forEach === 'function' && doesForEachActuallyWork()) {
- module.exports = uniqSetWithForEach;
- } else {
- module.exports = uniqSet;
- }
-} else {
- module.exports = uniqNoSet;
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/package.json
deleted file mode 100644
index f65f4fa74..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/package.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "name": "array-uniq",
- "version": "1.0.2",
- "description": "Create an array without duplicates",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/array-uniq"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "http://sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "mocha"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "array",
- "arr",
- "set",
- "uniq",
- "unique",
- "es6",
- "duplicate",
- "remove"
- ],
- "devDependencies": {
- "es6-set": "^0.1.0",
- "mocha": "*",
- "require-uncached": "^1.0.2"
- },
- "gitHead": "d5e311f37692dfd25ec216490df10632ce5f69f3",
- "bugs": {
- "url": "https://github.com/sindresorhus/array-uniq/issues"
- },
- "homepage": "https://github.com/sindresorhus/array-uniq",
- "_id": "[email protected]",
- "_shasum": "5fcc373920775723cfd64d65c64bef53bf9eba6d",
- "_from": "array-uniq@>=1.0.1 <2.0.0",
- "_npmVersion": "2.1.5",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "5fcc373920775723cfd64d65c64bef53bf9eba6d",
- "tarball": "http://registry.npmjs.org/array-uniq/-/array-uniq-1.0.2.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.2.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/readme.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/readme.md
deleted file mode 100644
index 5183d07ec..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/node_modules/array-uniq/readme.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# array-uniq [![Build Status](https://travis-ci.org/sindresorhus/array-uniq.svg?branch=master)](https://travis-ci.org/sindresorhus/array-uniq)
-
-> Create an array without duplicates
-
-It's already pretty fast, but will be much faster when [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) becomes available in V8 (especially with large arrays).
-
-
-## Install
-
-```sh
-$ npm install --save array-uniq
-```
-
-
-## Usage
-
-```js
-var arrayUniq = require('array-uniq');
-
-arrayUniq([1, 1, 2, 3, 3]);
-//=> [1, 2, 3]
-
-arrayUniq(['foo', 'foo', 'bar', 'foo']);
-//=> ['foo', 'bar']
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/package.json
deleted file mode 100644
index 196c09d9f..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/package.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "name": "array-union",
- "version": "1.0.1",
- "description": "Create an array of unique values, in order, from the input arrays",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/array-union"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "http://sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "mocha"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "array",
- "arr",
- "set",
- "uniq",
- "unique",
- "duplicate",
- "remove",
- "union",
- "combine",
- "merge"
- ],
- "dependencies": {
- "array-uniq": "^1.0.1"
- },
- "devDependencies": {
- "mocha": "*"
- },
- "gitHead": "d0e72cc6fbff57273032e45050c51ff44c8e137c",
- "bugs": {
- "url": "https://github.com/sindresorhus/array-union/issues"
- },
- "homepage": "https://github.com/sindresorhus/array-union",
- "_id": "[email protected]",
- "_shasum": "4d410fc8395cb247637124bade9e3f547d5d55f2",
- "_from": "array-union@>=1.0.1 <2.0.0",
- "_npmVersion": "2.1.5",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "4d410fc8395cb247637124bade9e3f547d5d55f2",
- "tarball": "http://registry.npmjs.org/array-union/-/array-union-1.0.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/readme.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/readme.md
deleted file mode 100644
index dbae3615e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/array-union/readme.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# array-union [![Build Status](https://travis-ci.org/sindresorhus/array-union.svg?branch=master)](https://travis-ci.org/sindresorhus/array-union)
-
-> Create an array of unique values, in order, from the input arrays
-
-
-## Install
-
-```sh
-$ npm install --save array-union
-```
-
-
-## Usage
-
-```js
-var arrayUnion = require('array-union');
-
-arrayUnion([1, 1, 2, 3], [2, 3]);
-//=> [1, 2, 3]
-
-arrayUnion(['foo', 'foo', 'bar'], ['foo']);
-//=> ['foo', 'bar']
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/index.js
deleted file mode 100644
index 2a2fdeeb1..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/index.js
+++ /dev/null
@@ -1,8 +0,0 @@
-'use strict';
-module.exports = function (val) {
- if (val === null || val === undefined) {
- return [];
- }
-
- return Array.isArray(val) ? val : [val];
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/license b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/package.json
deleted file mode 100644
index d1818acc3..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "name": "arrify",
- "version": "1.0.1",
- "description": "Convert a value to an array",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/arrify.git"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "array",
- "arr",
- "arrify",
- "arrayify",
- "convert",
- "value"
- ],
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "gitHead": "087edee1a58d5adaac6cae5a107886121ef43783",
- "bugs": {
- "url": "https://github.com/sindresorhus/arrify/issues"
- },
- "homepage": "https://github.com/sindresorhus/arrify#readme",
- "_id": "[email protected]",
- "_shasum": "898508da2226f380df904728456849c1501a4b0d",
- "_from": "arrify@>=1.0.0 <2.0.0",
- "_npmVersion": "3.5.2",
- "_nodeVersion": "4.2.1",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "898508da2226f380df904728456849c1501a4b0d",
- "tarball": "http://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/readme.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/readme.md
deleted file mode 100644
index 183d07576..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/arrify/readme.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# arrify [![Build Status](https://travis-ci.org/sindresorhus/arrify.svg?branch=master)](https://travis-ci.org/sindresorhus/arrify)
-
-> Convert a value to an array
-
-
-## Install
-
-```
-$ npm install --save arrify
-```
-
-
-## Usage
-
-```js
-const arrify = require('arrify');
-
-arrify('unicorn');
-//=> ['unicorn']
-
-arrify(['unicorn']);
-//=> ['unicorn']
-
-arrify(null);
-//=> []
-
-arrify(undefined);
-//=> []
-```
-
-*Supplying `null` or `undefined` results in an empty array.*
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/README.md
deleted file mode 100644
index 92066834c..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/README.md
+++ /dev/null
@@ -1,359 +0,0 @@
-[![Build Status](https://travis-ci.org/isaacs/node-glob.svg?branch=master)](https://travis-ci.org/isaacs/node-glob/) [![Dependency Status](https://david-dm.org/isaacs/node-glob.svg)](https://david-dm.org/isaacs/node-glob) [![devDependency Status](https://david-dm.org/isaacs/node-glob/dev-status.svg)](https://david-dm.org/isaacs/node-glob#info=devDependencies) [![optionalDependency Status](https://david-dm.org/isaacs/node-glob/optional-status.svg)](https://david-dm.org/isaacs/node-glob#info=optionalDependencies)
-
-# Glob
-
-Match files using the patterns the shell uses, like stars and stuff.
-
-This is a glob implementation in JavaScript. It uses the `minimatch`
-library to do its matching.
-
-![](oh-my-glob.gif)
-
-## Usage
-
-```javascript
-var glob = require("glob")
-
-// options is optional
-glob("**/*.js", options, function (er, files) {
- // files is an array of filenames.
- // If the `nonull` option is set, and nothing
- // was found, then files is ["**/*.js"]
- // er is an error object or null.
-})
-```
-
-## Glob Primer
-
-"Globs" are the patterns you type when you do stuff like `ls *.js` on
-the command line, or put `build/*` in a `.gitignore` file.
-
-Before parsing the path part patterns, braced sections are expanded
-into a set. Braced sections start with `{` and end with `}`, with any
-number of comma-delimited sections within. Braced sections may contain
-slash characters, so `a{/b/c,bcd}` would expand into `a/b/c` and `abcd`.
-
-The following characters have special magic meaning when used in a
-path portion:
-
-* `*` Matches 0 or more characters in a single path portion
-* `?` Matches 1 character
-* `[...]` Matches a range of characters, similar to a RegExp range.
- If the first character of the range is `!` or `^` then it matches
- any character not in the range.
-* `!(pattern|pattern|pattern)` Matches anything that does not match
- any of the patterns provided.
-* `?(pattern|pattern|pattern)` Matches zero or one occurrence of the
- patterns provided.
-* `+(pattern|pattern|pattern)` Matches one or more occurrences of the
- patterns provided.
-* `*(a|b|c)` Matches zero or more occurrences of the patterns provided
-* `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
- provided
-* `**` If a "globstar" is alone in a path portion, then it matches
- zero or more directories and subdirectories searching for matches.
- It does not crawl symlinked directories.
-
-### Dots
-
-If a file or directory path portion has a `.` as the first character,
-then it will not match any glob pattern unless that pattern's
-corresponding path part also has a `.` as its first character.
-
-For example, the pattern `a/.*/c` would match the file at `a/.b/c`.
-However the pattern `a/*/c` would not, because `*` does not start with
-a dot character.
-
-You can make glob treat dots as normal characters by setting
-`dot:true` in the options.
-
-### Basename Matching
-
-If you set `matchBase:true` in the options, and the pattern has no
-slashes in it, then it will seek for any file anywhere in the tree
-with a matching basename. For example, `*.js` would match
-`test/simple/basic.js`.
-
-### Empty Sets
-
-If no matching files are found, then an empty array is returned. This
-differs from the shell, where the pattern itself is returned. For
-example:
-
- $ echo a*s*d*f
- a*s*d*f
-
-To get the bash-style behavior, set the `nonull:true` in the options.
-
-### See Also:
-
-* `man sh`
-* `man bash` (Search for "Pattern Matching")
-* `man 3 fnmatch`
-* `man 5 gitignore`
-* [minimatch documentation](https://github.com/isaacs/minimatch)
-
-## glob.hasMagic(pattern, [options])
-
-Returns `true` if there are any special characters in the pattern, and
-`false` otherwise.
-
-Note that the options affect the results. If `noext:true` is set in
-the options object, then `+(a|b)` will not be considered a magic
-pattern. If the pattern has a brace expansion, like `a/{b/c,x/y}`
-then that is considered magical, unless `nobrace:true` is set in the
-options.
-
-## glob(pattern, [options], cb)
-
-* `pattern` `{String}` Pattern to be matched
-* `options` `{Object}`
-* `cb` `{Function}`
- * `err` `{Error | null}`
- * `matches` `{Array<String>}` filenames found matching the pattern
-
-Perform an asynchronous glob search.
-
-## glob.sync(pattern, [options])
-
-* `pattern` `{String}` Pattern to be matched
-* `options` `{Object}`
-* return: `{Array<String>}` filenames found matching the pattern
-
-Perform a synchronous glob search.
-
-## Class: glob.Glob
-
-Create a Glob object by instantiating the `glob.Glob` class.
-
-```javascript
-var Glob = require("glob").Glob
-var mg = new Glob(pattern, options, cb)
-```
-
-It's an EventEmitter, and starts walking the filesystem to find matches
-immediately.
-
-### new glob.Glob(pattern, [options], [cb])
-
-* `pattern` `{String}` pattern to search for
-* `options` `{Object}`
-* `cb` `{Function}` Called when an error occurs, or matches are found
- * `err` `{Error | null}`
- * `matches` `{Array<String>}` filenames found matching the pattern
-
-Note that if the `sync` flag is set in the options, then matches will
-be immediately available on the `g.found` member.
-
-### Properties
-
-* `minimatch` The minimatch object that the glob uses.
-* `options` The options object passed in.
-* `aborted` Boolean which is set to true when calling `abort()`. There
- is no way at this time to continue a glob search after aborting, but
- you can re-use the statCache to avoid having to duplicate syscalls.
-* `cache` Convenience object. Each field has the following possible
- values:
- * `false` - Path does not exist
- * `true` - Path exists
- * `'FILE'` - Path exists, and is not a directory
- * `'DIR'` - Path exists, and is a directory
- * `[file, entries, ...]` - Path exists, is a directory, and the
- array value is the results of `fs.readdir`
-* `statCache` Cache of `fs.stat` results, to prevent statting the same
- path multiple times.
-* `symlinks` A record of which paths are symbolic links, which is
- relevant in resolving `**` patterns.
-* `realpathCache` An optional object which is passed to `fs.realpath`
- to minimize unnecessary syscalls. It is stored on the instantiated
- Glob object, and may be re-used.
-
-### Events
-
-* `end` When the matching is finished, this is emitted with all the
- matches found. If the `nonull` option is set, and no match was found,
- then the `matches` list contains the original pattern. The matches
- are sorted, unless the `nosort` flag is set.
-* `match` Every time a match is found, this is emitted with the specific
- thing that matched. It is not deduplicated or resolved to a realpath.
-* `error` Emitted when an unexpected error is encountered, or whenever
- any fs error occurs if `options.strict` is set.
-* `abort` When `abort()` is called, this event is raised.
-
-### Methods
-
-* `pause` Temporarily stop the search
-* `resume` Resume the search
-* `abort` Stop the search forever
-
-### Options
-
-All the options that can be passed to Minimatch can also be passed to
-Glob to change pattern matching behavior. Also, some have been added,
-or have glob-specific ramifications.
-
-All options are false by default, unless otherwise noted.
-
-All options are added to the Glob object, as well.
-
-If you are running many `glob` operations, you can pass a Glob object
-as the `options` argument to a subsequent operation to shortcut some
-`stat` and `readdir` calls. At the very least, you may pass in shared
-`symlinks`, `statCache`, `realpathCache`, and `cache` options, so that
-parallel glob operations will be sped up by sharing information about
-the filesystem.
-
-* `cwd` The current working directory in which to search. Defaults
- to `process.cwd()`.
-* `root` The place where patterns starting with `/` will be mounted
- onto. Defaults to `path.resolve(options.cwd, "/")` (`/` on Unix
- systems, and `C:\` or some such on Windows.)
-* `dot` Include `.dot` files in normal matches and `globstar` matches.
- Note that an explicit dot in a portion of the pattern will always
- match dot files.
-* `nomount` By default, a pattern starting with a forward-slash will be
- "mounted" onto the root setting, so that a valid filesystem path is
- returned. Set this flag to disable that behavior.
-* `mark` Add a `/` character to directory matches. Note that this
- requires additional stat calls.
-* `nosort` Don't sort the results.
-* `stat` Set to true to stat *all* results. This reduces performance
- somewhat, and is completely unnecessary, unless `readdir` is presumed
- to be an untrustworthy indicator of file existence.
-* `silent` When an unusual error is encountered when attempting to
- read a directory, a warning will be printed to stderr. Set the
- `silent` option to true to suppress these warnings.
-* `strict` When an unusual error is encountered when attempting to
- read a directory, the process will just continue on in search of
- other matches. Set the `strict` option to raise an error in these
- cases.
-* `cache` See `cache` property above. Pass in a previously generated
- cache object to save some fs calls.
-* `statCache` A cache of results of filesystem information, to prevent
- unnecessary stat calls. While it should not normally be necessary
- to set this, you may pass the statCache from one glob() call to the
- options object of another, if you know that the filesystem will not
- change between calls. (See "Race Conditions" below.)
-* `symlinks` A cache of known symbolic links. You may pass in a
- previously generated `symlinks` object to save `lstat` calls when
- resolving `**` matches.
-* `sync` DEPRECATED: use `glob.sync(pattern, opts)` instead.
-* `nounique` In some cases, brace-expanded patterns can result in the
- same file showing up multiple times in the result set. By default,
- this implementation prevents duplicates in the result set. Set this
- flag to disable that behavior.
-* `nonull` Set to never return an empty set, instead returning a set
- containing the pattern itself. This is the default in glob(3).
-* `debug` Set to enable debug logging in minimatch and glob.
-* `nobrace` Do not expand `{a,b}` and `{1..3}` brace sets.
-* `noglobstar` Do not match `**` against multiple filenames. (Ie,
- treat it as a normal `*` instead.)
-* `noext` Do not match `+(a|b)` "extglob" patterns.
-* `nocase` Perform a case-insensitive match. Note: on
- case-insensitive filesystems, non-magic patterns will match by
- default, since `stat` and `readdir` will not raise errors.
-* `matchBase` Perform a basename-only match if the pattern does not
- contain any slash characters. That is, `*.js` would be treated as
- equivalent to `**/*.js`, matching all js files in all directories.
-* `nodir` Do not match directories, only files. (Note: to match
- *only* directories, simply put a `/` at the end of the pattern.)
-* `ignore` Add a pattern or an array of glob patterns to exclude matches.
- Note: `ignore` patterns are *always* in `dot:true` mode, regardless
- of any other settings.
-* `follow` Follow symlinked directories when expanding `**` patterns.
- Note that this can result in a lot of duplicate references in the
- presence of cyclic links.
-* `realpath` Set to true to call `fs.realpath` on all of the results.
- In the case of a symlink that cannot be resolved, the full absolute
- path to the matched entry is returned (though it will usually be a
- broken symlink)
-
-## Comparisons to other fnmatch/glob implementations
-
-While strict compliance with the existing standards is a worthwhile
-goal, some discrepancies exist between node-glob and other
-implementations, and are intentional.
-
-The double-star character `**` is supported by default, unless the
-`noglobstar` flag is set. This is supported in the manner of bsdglob
-and bash 4.3, where `**` only has special significance if it is the only
-thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
-`a/**b` will not.
-
-Note that symlinked directories are not crawled as part of a `**`,
-though their contents may match against subsequent portions of the
-pattern. This prevents infinite loops and duplicates and the like.
-
-If an escaped pattern has no matches, and the `nonull` flag is set,
-then glob returns the pattern as-provided, rather than
-interpreting the character escapes. For example,
-`glob.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
-`"*a?"`. This is akin to setting the `nullglob` option in bash, except
-that it does not resolve escaped pattern characters.
-
-If brace expansion is not disabled, then it is performed before any
-other interpretation of the glob pattern. Thus, a pattern like
-`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
-**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
-checked for validity. Since those two are valid, matching proceeds.
-
-### Comments and Negation
-
-Previously, this module let you mark a pattern as a "comment" if it
-started with a `#` character, or a "negated" pattern if it started
-with a `!` character.
-
-These options were deprecated in version 5, and removed in version 6.
-
-To specify things that should not match, use the `ignore` option.
-
-## Windows
-
-**Please only use forward-slashes in glob expressions.**
-
-Though windows uses either `/` or `\` as its path separator, only `/`
-characters are used by this glob implementation. You must use
-forward-slashes **only** in glob expressions. Back-slashes will always
-be interpreted as escape characters, not path separators.
-
-Results from absolute patterns such as `/foo/*` are mounted onto the
-root setting using `path.join`. On windows, this will by default result
-in `/foo/*` matching `C:\foo\bar.txt`.
-
-## Race Conditions
-
-Glob searching, by its very nature, is susceptible to race conditions,
-since it relies on directory walking and such.
-
-As a result, it is possible that a file that exists when glob looks for
-it may have been deleted or modified by the time it returns the result.
-
-As part of its internal implementation, this program caches all stat
-and readdir calls that it makes, in order to cut down on system
-overhead. However, this also makes it even more susceptible to races,
-especially if the cache or statCache objects are reused between glob
-calls.
-
-Users are thus advised not to use a glob result as a guarantee of
-filesystem state in the face of rapid changes. For the vast majority
-of operations, this is never a problem.
-
-## Contributing
-
-Any change to behavior (including bugfixes) must come with a test.
-
-Patches that fail tests or reduce performance will be rejected.
-
-```
-# to run tests
-npm test
-
-# to re-generate test fixtures
-npm run test-regen
-
-# to benchmark against bash/zsh
-npm run bench
-
-# to profile javascript
-npm run prof
-```
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/common.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/common.js
deleted file mode 100644
index c9127eb33..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/common.js
+++ /dev/null
@@ -1,226 +0,0 @@
-exports.alphasort = alphasort
-exports.alphasorti = alphasorti
-exports.setopts = setopts
-exports.ownProp = ownProp
-exports.makeAbs = makeAbs
-exports.finish = finish
-exports.mark = mark
-exports.isIgnored = isIgnored
-exports.childrenIgnored = childrenIgnored
-
-function ownProp (obj, field) {
- return Object.prototype.hasOwnProperty.call(obj, field)
-}
-
-var path = require("path")
-var minimatch = require("minimatch")
-var isAbsolute = require("path-is-absolute")
-var Minimatch = minimatch.Minimatch
-
-function alphasorti (a, b) {
- return a.toLowerCase().localeCompare(b.toLowerCase())
-}
-
-function alphasort (a, b) {
- return a.localeCompare(b)
-}
-
-function setupIgnores (self, options) {
- self.ignore = options.ignore || []
-
- if (!Array.isArray(self.ignore))
- self.ignore = [self.ignore]
-
- if (self.ignore.length) {
- self.ignore = self.ignore.map(ignoreMap)
- }
-}
-
-// ignore patterns are always in dot:true mode.
-function ignoreMap (pattern) {
- var gmatcher = null
- if (pattern.slice(-3) === '/**') {
- var gpattern = pattern.replace(/(\/\*\*)+$/, '')
- gmatcher = new Minimatch(gpattern, { dot: true })
- }
-
- return {
- matcher: new Minimatch(pattern, { dot: true }),
- gmatcher: gmatcher
- }
-}
-
-function setopts (self, pattern, options) {
- if (!options)
- options = {}
-
- // base-matching: just use globstar for that.
- if (options.matchBase && -1 === pattern.indexOf("/")) {
- if (options.noglobstar) {
- throw new Error("base matching requires globstar")
- }
- pattern = "**/" + pattern
- }
-
- self.silent = !!options.silent
- self.pattern = pattern
- self.strict = options.strict !== false
- self.realpath = !!options.realpath
- self.realpathCache = options.realpathCache || Object.create(null)
- self.follow = !!options.follow
- self.dot = !!options.dot
- self.mark = !!options.mark
- self.nodir = !!options.nodir
- if (self.nodir)
- self.mark = true
- self.sync = !!options.sync
- self.nounique = !!options.nounique
- self.nonull = !!options.nonull
- self.nosort = !!options.nosort
- self.nocase = !!options.nocase
- self.stat = !!options.stat
- self.noprocess = !!options.noprocess
-
- self.maxLength = options.maxLength || Infinity
- self.cache = options.cache || Object.create(null)
- self.statCache = options.statCache || Object.create(null)
- self.symlinks = options.symlinks || Object.create(null)
-
- setupIgnores(self, options)
-
- self.changedCwd = false
- var cwd = process.cwd()
- if (!ownProp(options, "cwd"))
- self.cwd = cwd
- else {
- self.cwd = options.cwd
- self.changedCwd = path.resolve(options.cwd) !== cwd
- }
-
- self.root = options.root || path.resolve(self.cwd, "/")
- self.root = path.resolve(self.root)
- if (process.platform === "win32")
- self.root = self.root.replace(/\\/g, "/")
-
- self.nomount = !!options.nomount
-
- // disable comments and negation in Minimatch.
- // Note that they are not supported in Glob itself anyway.
- options.nonegate = true
- options.nocomment = true
-
- self.minimatch = new Minimatch(pattern, options)
- self.options = self.minimatch.options
-}
-
-function finish (self) {
- var nou = self.nounique
- var all = nou ? [] : Object.create(null)
-
- for (var i = 0, l = self.matches.length; i < l; i ++) {
- var matches = self.matches[i]
- if (!matches || Object.keys(matches).length === 0) {
- if (self.nonull) {
- // do like the shell, and spit out the literal glob
- var literal = self.minimatch.globSet[i]
- if (nou)
- all.push(literal)
- else
- all[literal] = true
- }
- } else {
- // had matches
- var m = Object.keys(matches)
- if (nou)
- all.push.apply(all, m)
- else
- m.forEach(function (m) {
- all[m] = true
- })
- }
- }
-
- if (!nou)
- all = Object.keys(all)
-
- if (!self.nosort)
- all = all.sort(self.nocase ? alphasorti : alphasort)
-
- // at *some* point we statted all of these
- if (self.mark) {
- for (var i = 0; i < all.length; i++) {
- all[i] = self._mark(all[i])
- }
- if (self.nodir) {
- all = all.filter(function (e) {
- return !(/\/$/.test(e))
- })
- }
- }
-
- if (self.ignore.length)
- all = all.filter(function(m) {
- return !isIgnored(self, m)
- })
-
- self.found = all
-}
-
-function mark (self, p) {
- var abs = makeAbs(self, p)
- var c = self.cache[abs]
- var m = p
- if (c) {
- var isDir = c === 'DIR' || Array.isArray(c)
- var slash = p.slice(-1) === '/'
-
- if (isDir && !slash)
- m += '/'
- else if (!isDir && slash)
- m = m.slice(0, -1)
-
- if (m !== p) {
- var mabs = makeAbs(self, m)
- self.statCache[mabs] = self.statCache[abs]
- self.cache[mabs] = self.cache[abs]
- }
- }
-
- return m
-}
-
-// lotta situps...
-function makeAbs (self, f) {
- var abs = f
- if (f.charAt(0) === '/') {
- abs = path.join(self.root, f)
- } else if (isAbsolute(f) || f === '') {
- abs = f
- } else if (self.changedCwd) {
- abs = path.resolve(self.cwd, f)
- } else {
- abs = path.resolve(f)
- }
- return abs
-}
-
-
-// Return true, if pattern ends with globstar '**', for the accompanying parent directory.
-// Ex:- If node_modules/** is the pattern, add 'node_modules' to ignore list along with it's contents
-function isIgnored (self, path) {
- if (!self.ignore.length)
- return false
-
- return self.ignore.some(function(item) {
- return item.matcher.match(path) || !!(item.gmatcher && item.gmatcher.match(path))
- })
-}
-
-function childrenIgnored (self, path) {
- if (!self.ignore.length)
- return false
-
- return self.ignore.some(function(item) {
- return !!(item.gmatcher && item.gmatcher.match(path))
- })
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/glob.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/glob.js
deleted file mode 100644
index 022d2ac8c..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/glob.js
+++ /dev/null
@@ -1,752 +0,0 @@
-// Approach:
-//
-// 1. Get the minimatch set
-// 2. For each pattern in the set, PROCESS(pattern, false)
-// 3. Store matches per-set, then uniq them
-//
-// PROCESS(pattern, inGlobStar)
-// Get the first [n] items from pattern that are all strings
-// Join these together. This is PREFIX.
-// If there is no more remaining, then stat(PREFIX) and
-// add to matches if it succeeds. END.
-//
-// If inGlobStar and PREFIX is symlink and points to dir
-// set ENTRIES = []
-// else readdir(PREFIX) as ENTRIES
-// If fail, END
-//
-// with ENTRIES
-// If pattern[n] is GLOBSTAR
-// // handle the case where the globstar match is empty
-// // by pruning it out, and testing the resulting pattern
-// PROCESS(pattern[0..n] + pattern[n+1 .. $], false)
-// // handle other cases.
-// for ENTRY in ENTRIES (not dotfiles)
-// // attach globstar + tail onto the entry
-// // Mark that this entry is a globstar match
-// PROCESS(pattern[0..n] + ENTRY + pattern[n .. $], true)
-//
-// else // not globstar
-// for ENTRY in ENTRIES (not dotfiles, unless pattern[n] is dot)
-// Test ENTRY against pattern[n]
-// If fails, continue
-// If passes, PROCESS(pattern[0..n] + item + pattern[n+1 .. $])
-//
-// Caveat:
-// Cache all stats and readdirs results to minimize syscall. Since all
-// we ever care about is existence and directory-ness, we can just keep
-// `true` for files, and [children,...] for directories, or `false` for
-// things that don't exist.
-
-module.exports = glob
-
-var fs = require('fs')
-var minimatch = require('minimatch')
-var Minimatch = minimatch.Minimatch
-var inherits = require('inherits')
-var EE = require('events').EventEmitter
-var path = require('path')
-var assert = require('assert')
-var isAbsolute = require('path-is-absolute')
-var globSync = require('./sync.js')
-var common = require('./common.js')
-var alphasort = common.alphasort
-var alphasorti = common.alphasorti
-var setopts = common.setopts
-var ownProp = common.ownProp
-var inflight = require('inflight')
-var util = require('util')
-var childrenIgnored = common.childrenIgnored
-var isIgnored = common.isIgnored
-
-var once = require('once')
-
-function glob (pattern, options, cb) {
- if (typeof options === 'function') cb = options, options = {}
- if (!options) options = {}
-
- if (options.sync) {
- if (cb)
- throw new TypeError('callback provided to sync glob')
- return globSync(pattern, options)
- }
-
- return new Glob(pattern, options, cb)
-}
-
-glob.sync = globSync
-var GlobSync = glob.GlobSync = globSync.GlobSync
-
-// old api surface
-glob.glob = glob
-
-glob.hasMagic = function (pattern, options_) {
- var options = util._extend({}, options_)
- options.noprocess = true
-
- var g = new Glob(pattern, options)
- var set = g.minimatch.set
- if (set.length > 1)
- return true
-
- for (var j = 0; j < set[0].length; j++) {
- if (typeof set[0][j] !== 'string')
- return true
- }
-
- return false
-}
-
-glob.Glob = Glob
-inherits(Glob, EE)
-function Glob (pattern, options, cb) {
- if (typeof options === 'function') {
- cb = options
- options = null
- }
-
- if (options && options.sync) {
- if (cb)
- throw new TypeError('callback provided to sync glob')
- return new GlobSync(pattern, options)
- }
-
- if (!(this instanceof Glob))
- return new Glob(pattern, options, cb)
-
- setopts(this, pattern, options)
- this._didRealPath = false
-
- // process each pattern in the minimatch set
- var n = this.minimatch.set.length
-
- // The matches are stored as {<filename>: true,...} so that
- // duplicates are automagically pruned.
- // Later, we do an Object.keys() on these.
- // Keep them as a list so we can fill in when nonull is set.
- this.matches = new Array(n)
-
- if (typeof cb === 'function') {
- cb = once(cb)
- this.on('error', cb)
- this.on('end', function (matches) {
- cb(null, matches)
- })
- }
-
- var self = this
- var n = this.minimatch.set.length
- this._processing = 0
- this.matches = new Array(n)
-
- this._emitQueue = []
- this._processQueue = []
- this.paused = false
-
- if (this.noprocess)
- return this
-
- if (n === 0)
- return done()
-
- for (var i = 0; i < n; i ++) {
- this._process(this.minimatch.set[i], i, false, done)
- }
-
- function done () {
- --self._processing
- if (self._processing <= 0)
- self._finish()
- }
-}
-
-Glob.prototype._finish = function () {
- assert(this instanceof Glob)
- if (this.aborted)
- return
-
- if (this.realpath && !this._didRealpath)
- return this._realpath()
-
- common.finish(this)
- this.emit('end', this.found)
-}
-
-Glob.prototype._realpath = function () {
- if (this._didRealpath)
- return
-
- this._didRealpath = true
-
- var n = this.matches.length
- if (n === 0)
- return this._finish()
-
- var self = this
- for (var i = 0; i < this.matches.length; i++)
- this._realpathSet(i, next)
-
- function next () {
- if (--n === 0)
- self._finish()
- }
-}
-
-Glob.prototype._realpathSet = function (index, cb) {
- var matchset = this.matches[index]
- if (!matchset)
- return cb()
-
- var found = Object.keys(matchset)
- var self = this
- var n = found.length
-
- if (n === 0)
- return cb()
-
- var set = this.matches[index] = Object.create(null)
- found.forEach(function (p, i) {
- // If there's a problem with the stat, then it means that
- // one or more of the links in the realpath couldn't be
- // resolved. just return the abs value in that case.
- p = self._makeAbs(p)
- fs.realpath(p, self.realpathCache, function (er, real) {
- if (!er)
- set[real] = true
- else if (er.syscall === 'stat')
- set[p] = true
- else
- self.emit('error', er) // srsly wtf right here
-
- if (--n === 0) {
- self.matches[index] = set
- cb()
- }
- })
- })
-}
-
-Glob.prototype._mark = function (p) {
- return common.mark(this, p)
-}
-
-Glob.prototype._makeAbs = function (f) {
- return common.makeAbs(this, f)
-}
-
-Glob.prototype.abort = function () {
- this.aborted = true
- this.emit('abort')
-}
-
-Glob.prototype.pause = function () {
- if (!this.paused) {
- this.paused = true
- this.emit('pause')
- }
-}
-
-Glob.prototype.resume = function () {
- if (this.paused) {
- this.emit('resume')
- this.paused = false
- if (this._emitQueue.length) {
- var eq = this._emitQueue.slice(0)
- this._emitQueue.length = 0
- for (var i = 0; i < eq.length; i ++) {
- var e = eq[i]
- this._emitMatch(e[0], e[1])
- }
- }
- if (this._processQueue.length) {
- var pq = this._processQueue.slice(0)
- this._processQueue.length = 0
- for (var i = 0; i < pq.length; i ++) {
- var p = pq[i]
- this._processing--
- this._process(p[0], p[1], p[2], p[3])
- }
- }
- }
-}
-
-Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
- assert(this instanceof Glob)
- assert(typeof cb === 'function')
-
- if (this.aborted)
- return
-
- this._processing++
- if (this.paused) {
- this._processQueue.push([pattern, index, inGlobStar, cb])
- return
- }
-
- //console.error('PROCESS %d', this._processing, pattern)
-
- // Get the first [n] parts of pattern that are all strings.
- var n = 0
- while (typeof pattern[n] === 'string') {
- n ++
- }
- // now n is the index of the first one that is *not* a string.
-
- // see if there's anything else
- var prefix
- switch (n) {
- // if not, then this is rather simple
- case pattern.length:
- this._processSimple(pattern.join('/'), index, cb)
- return
-
- case 0:
- // pattern *starts* with some non-trivial item.
- // going to readdir(cwd), but not include the prefix in matches.
- prefix = null
- break
-
- default:
- // pattern has some string bits in the front.
- // whatever it starts with, whether that's 'absolute' like /foo/bar,
- // or 'relative' like '../baz'
- prefix = pattern.slice(0, n).join('/')
- break
- }
-
- var remain = pattern.slice(n)
-
- // get the list of entries.
- var read
- if (prefix === null)
- read = '.'
- else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
- if (!prefix || !isAbsolute(prefix))
- prefix = '/' + prefix
- read = prefix
- } else
- read = prefix
-
- var abs = this._makeAbs(read)
-
- //if ignored, skip _processing
- if (childrenIgnored(this, read))
- return cb()
-
- var isGlobStar = remain[0] === minimatch.GLOBSTAR
- if (isGlobStar)
- this._processGlobStar(prefix, read, abs, remain, index, inGlobStar, cb)
- else
- this._processReaddir(prefix, read, abs, remain, index, inGlobStar, cb)
-}
-
-Glob.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar, cb) {
- var self = this
- this._readdir(abs, inGlobStar, function (er, entries) {
- return self._processReaddir2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
- })
-}
-
-Glob.prototype._processReaddir2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
-
- // if the abs isn't a dir, then nothing can match!
- if (!entries)
- return cb()
-
- // It will only match dot entries if it starts with a dot, or if
- // dot is set. Stuff like @(.foo|.bar) isn't allowed.
- var pn = remain[0]
- var negate = !!this.minimatch.negate
- var rawGlob = pn._glob
- var dotOk = this.dot || rawGlob.charAt(0) === '.'
-
- var matchedEntries = []
- for (var i = 0; i < entries.length; i++) {
- var e = entries[i]
- if (e.charAt(0) !== '.' || dotOk) {
- var m
- if (negate && !prefix) {
- m = !e.match(pn)
- } else {
- m = e.match(pn)
- }
- if (m)
- matchedEntries.push(e)
- }
- }
-
- //console.error('prd2', prefix, entries, remain[0]._glob, matchedEntries)
-
- var len = matchedEntries.length
- // If there are no matched entries, then nothing matches.
- if (len === 0)
- return cb()
-
- // if this is the last remaining pattern bit, then no need for
- // an additional stat *unless* the user has specified mark or
- // stat explicitly. We know they exist, since readdir returned
- // them.
-
- if (remain.length === 1 && !this.mark && !this.stat) {
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- if (prefix) {
- if (prefix !== '/')
- e = prefix + '/' + e
- else
- e = prefix + e
- }
-
- if (e.charAt(0) === '/' && !this.nomount) {
- e = path.join(this.root, e)
- }
- this._emitMatch(index, e)
- }
- // This was the last one, and no stats were needed
- return cb()
- }
-
- // now test all matched entries as stand-ins for that part
- // of the pattern.
- remain.shift()
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- var newPattern
- if (prefix) {
- if (prefix !== '/')
- e = prefix + '/' + e
- else
- e = prefix + e
- }
- this._process([e].concat(remain), index, inGlobStar, cb)
- }
- cb()
-}
-
-Glob.prototype._emitMatch = function (index, e) {
- if (this.aborted)
- return
-
- if (this.matches[index][e])
- return
-
- if (isIgnored(this, e))
- return
-
- if (this.paused) {
- this._emitQueue.push([index, e])
- return
- }
-
- var abs = this._makeAbs(e)
-
- if (this.nodir) {
- var c = this.cache[abs]
- if (c === 'DIR' || Array.isArray(c))
- return
- }
-
- if (this.mark)
- e = this._mark(e)
-
- this.matches[index][e] = true
-
- var st = this.statCache[abs]
- if (st)
- this.emit('stat', e, st)
-
- this.emit('match', e)
-}
-
-Glob.prototype._readdirInGlobStar = function (abs, cb) {
- if (this.aborted)
- return
-
- // follow all symlinked directories forever
- // just proceed as if this is a non-globstar situation
- if (this.follow)
- return this._readdir(abs, false, cb)
-
- var lstatkey = 'lstat\0' + abs
- var self = this
- var lstatcb = inflight(lstatkey, lstatcb_)
-
- if (lstatcb)
- fs.lstat(abs, lstatcb)
-
- function lstatcb_ (er, lstat) {
- if (er)
- return cb()
-
- var isSym = lstat.isSymbolicLink()
- self.symlinks[abs] = isSym
-
- // If it's not a symlink or a dir, then it's definitely a regular file.
- // don't bother doing a readdir in that case.
- if (!isSym && !lstat.isDirectory()) {
- self.cache[abs] = 'FILE'
- cb()
- } else
- self._readdir(abs, false, cb)
- }
-}
-
-Glob.prototype._readdir = function (abs, inGlobStar, cb) {
- if (this.aborted)
- return
-
- cb = inflight('readdir\0'+abs+'\0'+inGlobStar, cb)
- if (!cb)
- return
-
- //console.error('RD %j %j', +inGlobStar, abs)
- if (inGlobStar && !ownProp(this.symlinks, abs))
- return this._readdirInGlobStar(abs, cb)
-
- if (ownProp(this.cache, abs)) {
- var c = this.cache[abs]
- if (!c || c === 'FILE')
- return cb()
-
- if (Array.isArray(c))
- return cb(null, c)
- }
-
- var self = this
- fs.readdir(abs, readdirCb(this, abs, cb))
-}
-
-function readdirCb (self, abs, cb) {
- return function (er, entries) {
- if (er)
- self._readdirError(abs, er, cb)
- else
- self._readdirEntries(abs, entries, cb)
- }
-}
-
-Glob.prototype._readdirEntries = function (abs, entries, cb) {
- if (this.aborted)
- return
-
- // if we haven't asked to stat everything, then just
- // assume that everything in there exists, so we can avoid
- // having to stat it a second time.
- if (!this.mark && !this.stat) {
- for (var i = 0; i < entries.length; i ++) {
- var e = entries[i]
- if (abs === '/')
- e = abs + e
- else
- e = abs + '/' + e
- this.cache[e] = true
- }
- }
-
- this.cache[abs] = entries
- return cb(null, entries)
-}
-
-Glob.prototype._readdirError = function (f, er, cb) {
- if (this.aborted)
- return
-
- // handle errors, and cache the information
- switch (er.code) {
- case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
- case 'ENOTDIR': // totally normal. means it *does* exist.
- this.cache[this._makeAbs(f)] = 'FILE'
- break
-
- case 'ENOENT': // not terribly unusual
- case 'ELOOP':
- case 'ENAMETOOLONG':
- case 'UNKNOWN':
- this.cache[this._makeAbs(f)] = false
- break
-
- default: // some unusual error. Treat as failure.
- this.cache[this._makeAbs(f)] = false
- if (this.strict) {
- this.emit('error', er)
- // If the error is handled, then we abort
- // if not, we threw out of here
- this.abort()
- }
- if (!this.silent)
- console.error('glob error', er)
- break
- }
-
- return cb()
-}
-
-Glob.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar, cb) {
- var self = this
- this._readdir(abs, inGlobStar, function (er, entries) {
- self._processGlobStar2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
- })
-}
-
-
-Glob.prototype._processGlobStar2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
- //console.error('pgs2', prefix, remain[0], entries)
-
- // no entries means not a dir, so it can never have matches
- // foo.txt/** doesn't match foo.txt
- if (!entries)
- return cb()
-
- // test without the globstar, and with every child both below
- // and replacing the globstar.
- var remainWithoutGlobStar = remain.slice(1)
- var gspref = prefix ? [ prefix ] : []
- var noGlobStar = gspref.concat(remainWithoutGlobStar)
-
- // the noGlobStar pattern exits the inGlobStar state
- this._process(noGlobStar, index, false, cb)
-
- var isSym = this.symlinks[abs]
- var len = entries.length
-
- // If it's a symlink, and we're in a globstar, then stop
- if (isSym && inGlobStar)
- return cb()
-
- for (var i = 0; i < len; i++) {
- var e = entries[i]
- if (e.charAt(0) === '.' && !this.dot)
- continue
-
- // these two cases enter the inGlobStar state
- var instead = gspref.concat(entries[i], remainWithoutGlobStar)
- this._process(instead, index, true, cb)
-
- var below = gspref.concat(entries[i], remain)
- this._process(below, index, true, cb)
- }
-
- cb()
-}
-
-Glob.prototype._processSimple = function (prefix, index, cb) {
- // XXX review this. Shouldn't it be doing the mounting etc
- // before doing stat? kinda weird?
- var self = this
- this._stat(prefix, function (er, exists) {
- self._processSimple2(prefix, index, er, exists, cb)
- })
-}
-Glob.prototype._processSimple2 = function (prefix, index, er, exists, cb) {
-
- //console.error('ps2', prefix, exists)
-
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- // If it doesn't exist, then just mark the lack of results
- if (!exists)
- return cb()
-
- if (prefix && isAbsolute(prefix) && !this.nomount) {
- var trail = /[\/\\]$/.test(prefix)
- if (prefix.charAt(0) === '/') {
- prefix = path.join(this.root, prefix)
- } else {
- prefix = path.resolve(this.root, prefix)
- if (trail)
- prefix += '/'
- }
- }
-
- if (process.platform === 'win32')
- prefix = prefix.replace(/\\/g, '/')
-
- // Mark this as a match
- this._emitMatch(index, prefix)
- cb()
-}
-
-// Returns either 'DIR', 'FILE', or false
-Glob.prototype._stat = function (f, cb) {
- var abs = this._makeAbs(f)
- var needDir = f.slice(-1) === '/'
-
- if (f.length > this.maxLength)
- return cb()
-
- if (!this.stat && ownProp(this.cache, abs)) {
- var c = this.cache[abs]
-
- if (Array.isArray(c))
- c = 'DIR'
-
- // It exists, but maybe not how we need it
- if (!needDir || c === 'DIR')
- return cb(null, c)
-
- if (needDir && c === 'FILE')
- return cb()
-
- // otherwise we have to stat, because maybe c=true
- // if we know it exists, but not what it is.
- }
-
- var exists
- var stat = this.statCache[abs]
- if (stat !== undefined) {
- if (stat === false)
- return cb(null, stat)
- else {
- var type = stat.isDirectory() ? 'DIR' : 'FILE'
- if (needDir && type === 'FILE')
- return cb()
- else
- return cb(null, type, stat)
- }
- }
-
- var self = this
- var statcb = inflight('stat\0' + abs, lstatcb_)
- if (statcb)
- fs.lstat(abs, statcb)
-
- function lstatcb_ (er, lstat) {
- if (lstat && lstat.isSymbolicLink()) {
- // If it's a symlink, then treat it as the target, unless
- // the target does not exist, then treat it as a file.
- return fs.stat(abs, function (er, stat) {
- if (er)
- self._stat2(f, abs, null, lstat, cb)
- else
- self._stat2(f, abs, er, stat, cb)
- })
- } else {
- self._stat2(f, abs, er, lstat, cb)
- }
- }
-}
-
-Glob.prototype._stat2 = function (f, abs, er, stat, cb) {
- if (er) {
- this.statCache[abs] = false
- return cb()
- }
-
- var needDir = f.slice(-1) === '/'
- this.statCache[abs] = stat
-
- if (abs.slice(-1) === '/' && !stat.isDirectory())
- return cb(null, false, stat)
-
- var c = stat.isDirectory() ? 'DIR' : 'FILE'
- this.cache[abs] = this.cache[abs] || c
-
- if (needDir && c !== 'DIR')
- return cb()
-
- return cb(null, c, stat)
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/.eslintrc b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/.eslintrc
deleted file mode 100644
index b7a1550ef..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/.eslintrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "env" : {
- "node" : true
- },
- "rules" : {
- "semi": [2, "never"],
- "strict": 0,
- "quotes": [1, "single", "avoid-escape"],
- "no-use-before-define": 0,
- "curly": 0,
- "no-underscore-dangle": 0,
- "no-lonely-if": 1,
- "no-unused-vars": [2, {"vars" : "all", "args" : "after-used"}],
- "no-mixed-requires": 0,
- "space-infix-ops": 0
- }
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/LICENSE
deleted file mode 100644
index 05eeeb88c..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/README.md
deleted file mode 100644
index 6dc892917..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/README.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# inflight
-
-Add callbacks to requests in flight to avoid async duplication
-
-## USAGE
-
-```javascript
-var inflight = require('inflight')
-
-// some request that does some stuff
-function req(key, callback) {
- // key is any random string. like a url or filename or whatever.
- //
- // will return either a falsey value, indicating that the
- // request for this key is already in flight, or a new callback
- // which when called will call all callbacks passed to inflightk
- // with the same key
- callback = inflight(key, callback)
-
- // If we got a falsey value back, then there's already a req going
- if (!callback) return
-
- // this is where you'd fetch the url or whatever
- // callback is also once()-ified, so it can safely be assigned
- // to multiple events etc. First call wins.
- setTimeout(function() {
- callback(null, key)
- }, 100)
-}
-
-// only assigns a single setTimeout
-// when it dings, all cbs get called
-req('foo', cb1)
-req('foo', cb2)
-req('foo', cb3)
-req('foo', cb4)
-```
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/inflight.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/inflight.js
deleted file mode 100644
index 8bc96cbd3..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/inflight.js
+++ /dev/null
@@ -1,44 +0,0 @@
-var wrappy = require('wrappy')
-var reqs = Object.create(null)
-var once = require('once')
-
-module.exports = wrappy(inflight)
-
-function inflight (key, cb) {
- if (reqs[key]) {
- reqs[key].push(cb)
- return null
- } else {
- reqs[key] = [cb]
- return makeres(key)
- }
-}
-
-function makeres (key) {
- return once(function RES () {
- var cbs = reqs[key]
- var len = cbs.length
- var args = slice(arguments)
- for (var i = 0; i < len; i++) {
- cbs[i].apply(null, args)
- }
- if (cbs.length > len) {
- // added more in the interim.
- // de-zalgo, just in case, but don't call again.
- cbs.splice(0, len)
- process.nextTick(function () {
- RES.apply(null, args)
- })
- } else {
- delete reqs[key]
- }
- })
-}
-
-function slice (args) {
- var length = args.length
- var array = []
-
- for (var i = 0; i < length; i++) array[i] = args[i]
- return array
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md
deleted file mode 100644
index 98eab2522..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# wrappy
-
-Callback wrapping utility
-
-## USAGE
-
-```javascript
-var wrappy = require("wrappy")
-
-// var wrapper = wrappy(wrapperFunction)
-
-// make sure a cb is called only once
-// See also: http://npm.im/once for this specific use case
-var once = wrappy(function (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
-})
-
-function printBoo () {
- console.log('boo')
-}
-// has some rando property
-printBoo.iAmBooPrinter = true
-
-var onlyPrintOnce = once(printBoo)
-
-onlyPrintOnce() // prints 'boo'
-onlyPrintOnce() // does nothing
-
-// random property is retained!
-assert.equal(onlyPrintOnce.iAmBooPrinter, true)
-```
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json
deleted file mode 100644
index 8145dc8c4..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "wrappy",
- "version": "1.0.1",
- "description": "Callback wrapping utility",
- "main": "wrappy.js",
- "directories": {
- "test": "test"
- },
- "dependencies": {},
- "devDependencies": {
- "tap": "^0.4.12"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/npm/wrappy"
- },
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "license": "ISC",
- "bugs": {
- "url": "https://github.com/npm/wrappy/issues"
- },
- "homepage": "https://github.com/npm/wrappy",
- "gitHead": "006a8cbac6b99988315834c207896eed71fd069a",
- "_id": "[email protected]",
- "_shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "_from": "wrappy@>=1.0.0 <2.0.0",
- "_npmVersion": "2.0.0",
- "_nodeVersion": "0.10.31",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "tarball": "http://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
- },
- "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js
deleted file mode 100644
index 5ed0fcdfd..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js
+++ /dev/null
@@ -1,51 +0,0 @@
-var test = require('tap').test
-var wrappy = require('../wrappy.js')
-
-test('basic', function (t) {
- function onceifier (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
- }
- onceifier.iAmOnce = {}
- var once = wrappy(onceifier)
- t.equal(once.iAmOnce, onceifier.iAmOnce)
-
- var called = 0
- function boo () {
- t.equal(called, 0)
- called++
- }
- // has some rando property
- boo.iAmBoo = true
-
- var onlyPrintOnce = once(boo)
-
- onlyPrintOnce() // prints 'boo'
- onlyPrintOnce() // does nothing
- t.equal(called, 1)
-
- // random property is retained!
- t.equal(onlyPrintOnce.iAmBoo, true)
-
- var logs = []
- var logwrap = wrappy(function (msg, cb) {
- logs.push(msg + ' wrapping cb')
- return function () {
- logs.push(msg + ' before cb')
- var ret = cb.apply(this, arguments)
- logs.push(msg + ' after cb')
- }
- })
-
- var c = logwrap('foo', function () {
- t.same(logs, [ 'foo wrapping cb', 'foo before cb' ])
- })
- c()
- t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ])
-
- t.end()
-})
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js
deleted file mode 100644
index bb7e7d6fc..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// Returns a wrapper function that returns a wrapped callback
-// The wrapper function should do some stuff, and return a
-// presumably different callback function.
-// This makes sure that own properties are retained, so that
-// decorations and such are not lost along the way.
-module.exports = wrappy
-function wrappy (fn, cb) {
- if (fn && cb) return wrappy(fn)(cb)
-
- if (typeof fn !== 'function')
- throw new TypeError('need wrapper function')
-
- Object.keys(fn).forEach(function (k) {
- wrapper[k] = fn[k]
- })
-
- return wrapper
-
- function wrapper() {
- var args = new Array(arguments.length)
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i]
- }
- var ret = fn.apply(this, args)
- var cb = args[args.length-1]
- if (typeof ret === 'function' && ret !== cb) {
- Object.keys(cb).forEach(function (k) {
- ret[k] = cb[k]
- })
- }
- return ret
- }
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/package.json
deleted file mode 100644
index a6645bc54..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "inflight",
- "version": "1.0.4",
- "description": "Add callbacks to requests in flight to avoid async duplication",
- "main": "inflight.js",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- },
- "devDependencies": {
- "tap": "^0.4.10"
- },
- "scripts": {
- "test": "tap test.js"
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/inflight"
- },
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "bugs": {
- "url": "https://github.com/isaacs/inflight/issues"
- },
- "homepage": "https://github.com/isaacs/inflight",
- "license": "ISC",
- "gitHead": "c7b5531d572a867064d4a1da9e013e8910b7d1ba",
- "_id": "[email protected]",
- "_shasum": "6cbb4521ebd51ce0ec0a936bfd7657ef7e9b172a",
- "_from": "inflight@>=1.0.4 <2.0.0",
- "_npmVersion": "2.1.3",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "othiym23",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- },
- {
- "name": "othiym23",
- "email": "[email protected]"
- },
- {
- "name": "iarna",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "6cbb4521ebd51ce0ec0a936bfd7657ef7e9b172a",
- "tarball": "http://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/test.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/test.js
deleted file mode 100644
index 2bb75b388..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inflight/test.js
+++ /dev/null
@@ -1,97 +0,0 @@
-var test = require('tap').test
-var inf = require('./inflight.js')
-
-
-function req (key, cb) {
- cb = inf(key, cb)
- if (cb) setTimeout(function () {
- cb(key)
- cb(key)
- })
- return cb
-}
-
-test('basic', function (t) {
- var calleda = false
- var a = req('key', function (k) {
- t.notOk(calleda)
- calleda = true
- t.equal(k, 'key')
- if (calledb) t.end()
- })
- t.ok(a, 'first returned cb function')
-
- var calledb = false
- var b = req('key', function (k) {
- t.notOk(calledb)
- calledb = true
- t.equal(k, 'key')
- if (calleda) t.end()
- })
-
- t.notOk(b, 'second should get falsey inflight response')
-})
-
-test('timing', function (t) {
- var expect = [
- 'method one',
- 'start one',
- 'end one',
- 'two',
- 'tick',
- 'three'
- ]
- var i = 0
-
- function log (m) {
- t.equal(m, expect[i], m + ' === ' + expect[i])
- ++i
- if (i === expect.length)
- t.end()
- }
-
- function method (name, cb) {
- log('method ' + name)
- process.nextTick(cb)
- }
-
- var one = inf('foo', function () {
- log('start one')
- var three = inf('foo', function () {
- log('three')
- })
- if (three) method('three', three)
- log('end one')
- })
-
- method('one', one)
-
- var two = inf('foo', function () {
- log('two')
- })
- if (two) method('one', two)
-
- process.nextTick(log.bind(null, 'tick'))
-})
-
-test('parameters', function (t) {
- t.plan(8)
-
- var a = inf('key', function (first, second, third) {
- t.equal(first, 1)
- t.equal(second, 2)
- t.equal(third, 3)
- })
- t.ok(a, 'first returned cb function')
-
- var b = inf('key', function (first, second, third) {
- t.equal(first, 1)
- t.equal(second, 2)
- t.equal(third, 3)
- })
- t.notOk(b, 'second should get falsey inflight response')
-
- setTimeout(function () {
- a(1, 2, 3)
- })
-})
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/LICENSE
deleted file mode 100644
index dea3013d6..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/LICENSE
+++ /dev/null
@@ -1,16 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/README.md
deleted file mode 100644
index b1c566585..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/README.md
+++ /dev/null
@@ -1,42 +0,0 @@
-Browser-friendly inheritance fully compatible with standard node.js
-[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).
-
-This package exports standard `inherits` from node.js `util` module in
-node environment, but also provides alternative browser-friendly
-implementation through [browser
-field](https://gist.github.com/shtylman/4339901). Alternative
-implementation is a literal copy of standard one located in standalone
-module to avoid requiring of `util`. It also has a shim for old
-browsers with no `Object.create` support.
-
-While keeping you sure you are using standard `inherits`
-implementation in node.js environment, it allows bundlers such as
-[browserify](https://github.com/substack/node-browserify) to not
-include full `util` package to your client code if all you need is
-just `inherits` function. It worth, because browser shim for `util`
-package is large and `inherits` is often the single function you need
-from it.
-
-It's recommended to use this package instead of
-`require('util').inherits` for any code that has chances to be used
-not only in node.js but in browser too.
-
-## usage
-
-```js
-var inherits = require('inherits');
-// then use exactly as the standard one
-```
-
-## note on version ~1.0
-
-Version ~1.0 had completely different motivation and is not compatible
-neither with 2.0 nor with standard node.js `inherits`.
-
-If you are using version ~1.0 and planning to switch to ~2.0, be
-careful:
-
-* new version uses `super_` instead of `super` for referencing
- superclass
-* new version overwrites current prototype while old one preserves any
- existing fields on it
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/inherits.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/inherits.js
deleted file mode 100644
index 29f5e24f5..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/inherits.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('util').inherits
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/inherits_browser.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/inherits_browser.js
deleted file mode 100644
index c1e78a75e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/inherits_browser.js
+++ /dev/null
@@ -1,23 +0,0 @@
-if (typeof Object.create === 'function') {
- // implementation from standard node.js 'util' module
- module.exports = function inherits(ctor, superCtor) {
- ctor.super_ = superCtor
- ctor.prototype = Object.create(superCtor.prototype, {
- constructor: {
- value: ctor,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
- };
-} else {
- // old school shim for old browsers
- module.exports = function inherits(ctor, superCtor) {
- ctor.super_ = superCtor
- var TempCtor = function () {}
- TempCtor.prototype = superCtor.prototype
- ctor.prototype = new TempCtor()
- ctor.prototype.constructor = ctor
- }
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/package.json
deleted file mode 100644
index a703bddd5..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/package.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "name": "inherits",
- "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
- "version": "2.0.1",
- "keywords": [
- "inheritance",
- "class",
- "klass",
- "oop",
- "object-oriented",
- "inherits",
- "browser",
- "browserify"
- ],
- "main": "./inherits.js",
- "browser": "./inherits_browser.js",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/inherits"
- },
- "license": "ISC",
- "scripts": {
- "test": "node test"
- },
- "bugs": {
- "url": "https://github.com/isaacs/inherits/issues"
- },
- "_id": "[email protected]",
- "dist": {
- "shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
- "tarball": "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
- },
- "_from": "inherits@>=2.0.0 <3.0.0",
- "_npmVersion": "1.3.8",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
- "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
- "readme": "ERROR: No README data found!",
- "homepage": "https://github.com/isaacs/inherits"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/test.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/test.js
deleted file mode 100644
index fc53012d3..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/inherits/test.js
+++ /dev/null
@@ -1,25 +0,0 @@
-var inherits = require('./inherits.js')
-var assert = require('assert')
-
-function test(c) {
- assert(c.constructor === Child)
- assert(c.constructor.super_ === Parent)
- assert(Object.getPrototypeOf(c) === Child.prototype)
- assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype)
- assert(c instanceof Child)
- assert(c instanceof Parent)
-}
-
-function Child() {
- Parent.call(this)
- test(this)
-}
-
-function Parent() {}
-
-inherits(Child, Parent)
-
-var c = new Child
-test(c)
-
-console.log('ok')
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/README.md
deleted file mode 100644
index d458bc2e0..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/README.md
+++ /dev/null
@@ -1,216 +0,0 @@
-# minimatch
-
-A minimal matching utility.
-
-[![Build Status](https://secure.travis-ci.org/isaacs/minimatch.png)](http://travis-ci.org/isaacs/minimatch)
-
-
-This is the matching library used internally by npm.
-
-It works by converting glob expressions into JavaScript `RegExp`
-objects.
-
-## Usage
-
-```javascript
-var minimatch = require("minimatch")
-
-minimatch("bar.foo", "*.foo") // true!
-minimatch("bar.foo", "*.bar") // false!
-minimatch("bar.foo", "*.+(bar|foo)", { debug: true }) // true, and noisy!
-```
-
-## Features
-
-Supports these glob features:
-
-* Brace Expansion
-* Extended glob matching
-* "Globstar" `**` matching
-
-See:
-
-* `man sh`
-* `man bash`
-* `man 3 fnmatch`
-* `man 5 gitignore`
-
-## Minimatch Class
-
-Create a minimatch object by instanting the `minimatch.Minimatch` class.
-
-```javascript
-var Minimatch = require("minimatch").Minimatch
-var mm = new Minimatch(pattern, options)
-```
-
-### Properties
-
-* `pattern` The original pattern the minimatch object represents.
-* `options` The options supplied to the constructor.
-* `set` A 2-dimensional array of regexp or string expressions.
- Each row in the
- array corresponds to a brace-expanded pattern. Each item in the row
- corresponds to a single path-part. For example, the pattern
- `{a,b/c}/d` would expand to a set of patterns like:
-
- [ [ a, d ]
- , [ b, c, d ] ]
-
- If a portion of the pattern doesn't have any "magic" in it
- (that is, it's something like `"foo"` rather than `fo*o?`), then it
- will be left as a string rather than converted to a regular
- expression.
-
-* `regexp` Created by the `makeRe` method. A single regular expression
- expressing the entire pattern. This is useful in cases where you wish
- to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
-* `negate` True if the pattern is negated.
-* `comment` True if the pattern is a comment.
-* `empty` True if the pattern is `""`.
-
-### Methods
-
-* `makeRe` Generate the `regexp` member if necessary, and return it.
- Will return `false` if the pattern is invalid.
-* `match(fname)` Return true if the filename matches the pattern, or
- false otherwise.
-* `matchOne(fileArray, patternArray, partial)` Take a `/`-split
- filename, and match it against a single row in the `regExpSet`. This
- method is mainly for internal use, but is exposed so that it can be
- used by a glob-walker that needs to avoid excessive filesystem calls.
-
-All other methods are internal, and will be called as necessary.
-
-## Functions
-
-The top-level exported function has a `cache` property, which is an LRU
-cache set to store 100 items. So, calling these methods repeatedly
-with the same pattern and options will use the same Minimatch object,
-saving the cost of parsing it multiple times.
-
-### minimatch(path, pattern, options)
-
-Main export. Tests a path against the pattern using the options.
-
-```javascript
-var isJS = minimatch(file, "*.js", { matchBase: true })
-```
-
-### minimatch.filter(pattern, options)
-
-Returns a function that tests its
-supplied argument, suitable for use with `Array.filter`. Example:
-
-```javascript
-var javascripts = fileList.filter(minimatch.filter("*.js", {matchBase: true}))
-```
-
-### minimatch.match(list, pattern, options)
-
-Match against the list of
-files, in the style of fnmatch or glob. If nothing is matched, and
-options.nonull is set, then return a list containing the pattern itself.
-
-```javascript
-var javascripts = minimatch.match(fileList, "*.js", {matchBase: true}))
-```
-
-### minimatch.makeRe(pattern, options)
-
-Make a regular expression object from the pattern.
-
-## Options
-
-All options are `false` by default.
-
-### debug
-
-Dump a ton of stuff to stderr.
-
-### nobrace
-
-Do not expand `{a,b}` and `{1..3}` brace sets.
-
-### noglobstar
-
-Disable `**` matching against multiple folder names.
-
-### dot
-
-Allow patterns to match filenames starting with a period, even if
-the pattern does not explicitly have a period in that spot.
-
-Note that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`
-is set.
-
-### noext
-
-Disable "extglob" style patterns like `+(a|b)`.
-
-### nocase
-
-Perform a case-insensitive match.
-
-### nonull
-
-When a match is not found by `minimatch.match`, return a list containing
-the pattern itself if this option is set. When not set, an empty list
-is returned if there are no matches.
-
-### matchBase
-
-If set, then patterns without slashes will be matched
-against the basename of the path if it contains slashes. For example,
-`a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.
-
-### nocomment
-
-Suppress the behavior of treating `#` at the start of a pattern as a
-comment.
-
-### nonegate
-
-Suppress the behavior of treating a leading `!` character as negation.
-
-### flipNegate
-
-Returns from negate expressions the same as if they were not negated.
-(Ie, true on a hit, false on a miss.)
-
-
-## Comparisons to other fnmatch/glob implementations
-
-While strict compliance with the existing standards is a worthwhile
-goal, some discrepancies exist between minimatch and other
-implementations, and are intentional.
-
-If the pattern starts with a `!` character, then it is negated. Set the
-`nonegate` flag to suppress this behavior, and treat leading `!`
-characters normally. This is perhaps relevant if you wish to start the
-pattern with a negative extglob pattern like `!(a|B)`. Multiple `!`
-characters at the start of a pattern will negate the pattern multiple
-times.
-
-If a pattern starts with `#`, then it is treated as a comment, and
-will not match anything. Use `\#` to match a literal `#` at the
-start of a line, or set the `nocomment` flag to suppress this behavior.
-
-The double-star character `**` is supported by default, unless the
-`noglobstar` flag is set. This is supported in the manner of bsdglob
-and bash 4.1, where `**` only has special significance if it is the only
-thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
-`a/**b` will not.
-
-If an escaped pattern has no matches, and the `nonull` flag is set,
-then minimatch.match returns the pattern as-provided, rather than
-interpreting the character escapes. For example,
-`minimatch.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
-`"*a?"`. This is akin to setting the `nullglob` option in bash, except
-that it does not resolve escaped pattern characters.
-
-If brace expansion is not disabled, then it is performed before any
-other interpretation of the glob pattern. Thus, a pattern like
-`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
-**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
-checked for validity. Since those two are valid, matching proceeds.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/minimatch.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/minimatch.js
deleted file mode 100644
index ec4c05c57..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/minimatch.js
+++ /dev/null
@@ -1,912 +0,0 @@
-module.exports = minimatch
-minimatch.Minimatch = Minimatch
-
-var path = { sep: '/' }
-try {
- path = require('path')
-} catch (er) {}
-
-var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
-var expand = require('brace-expansion')
-
-// any single thing other than /
-// don't need to escape / when using new RegExp()
-var qmark = '[^/]'
-
-// * => any number of characters
-var star = qmark + '*?'
-
-// ** when dots are allowed. Anything goes, except .. and .
-// not (^ or / followed by one or two dots followed by $ or /),
-// followed by anything, any number of times.
-var twoStarDot = '(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?'
-
-// not a ^ or / followed by a dot,
-// followed by anything, any number of times.
-var twoStarNoDot = '(?:(?!(?:\\\/|^)\\.).)*?'
-
-// characters that need to be escaped in RegExp.
-var reSpecials = charSet('().*{}+?[]^$\\!')
-
-// "abc" -> { a:true, b:true, c:true }
-function charSet (s) {
- return s.split('').reduce(function (set, c) {
- set[c] = true
- return set
- }, {})
-}
-
-// normalizes slashes.
-var slashSplit = /\/+/
-
-minimatch.filter = filter
-function filter (pattern, options) {
- options = options || {}
- return function (p, i, list) {
- return minimatch(p, pattern, options)
- }
-}
-
-function ext (a, b) {
- a = a || {}
- b = b || {}
- var t = {}
- Object.keys(b).forEach(function (k) {
- t[k] = b[k]
- })
- Object.keys(a).forEach(function (k) {
- t[k] = a[k]
- })
- return t
-}
-
-minimatch.defaults = function (def) {
- if (!def || !Object.keys(def).length) return minimatch
-
- var orig = minimatch
-
- var m = function minimatch (p, pattern, options) {
- return orig.minimatch(p, pattern, ext(def, options))
- }
-
- m.Minimatch = function Minimatch (pattern, options) {
- return new orig.Minimatch(pattern, ext(def, options))
- }
-
- return m
-}
-
-Minimatch.defaults = function (def) {
- if (!def || !Object.keys(def).length) return Minimatch
- return minimatch.defaults(def).Minimatch
-}
-
-function minimatch (p, pattern, options) {
- if (typeof pattern !== 'string') {
- throw new TypeError('glob pattern string required')
- }
-
- if (!options) options = {}
-
- // shortcut: comments match nothing.
- if (!options.nocomment && pattern.charAt(0) === '#') {
- return false
- }
-
- // "" only matches ""
- if (pattern.trim() === '') return p === ''
-
- return new Minimatch(pattern, options).match(p)
-}
-
-function Minimatch (pattern, options) {
- if (!(this instanceof Minimatch)) {
- return new Minimatch(pattern, options)
- }
-
- if (typeof pattern !== 'string') {
- throw new TypeError('glob pattern string required')
- }
-
- if (!options) options = {}
- pattern = pattern.trim()
-
- // windows support: need to use /, not \
- if (path.sep !== '/') {
- pattern = pattern.split(path.sep).join('/')
- }
-
- this.options = options
- this.set = []
- this.pattern = pattern
- this.regexp = null
- this.negate = false
- this.comment = false
- this.empty = false
-
- // make the set of regexps etc.
- this.make()
-}
-
-Minimatch.prototype.debug = function () {}
-
-Minimatch.prototype.make = make
-function make () {
- // don't do it more than once.
- if (this._made) return
-
- var pattern = this.pattern
- var options = this.options
-
- // empty patterns and comments match nothing.
- if (!options.nocomment && pattern.charAt(0) === '#') {
- this.comment = true
- return
- }
- if (!pattern) {
- this.empty = true
- return
- }
-
- // step 1: figure out negation, etc.
- this.parseNegate()
-
- // step 2: expand braces
- var set = this.globSet = this.braceExpand()
-
- if (options.debug) this.debug = console.error
-
- this.debug(this.pattern, set)
-
- // step 3: now we have a set, so turn each one into a series of path-portion
- // matching patterns.
- // These will be regexps, except in the case of "**", which is
- // set to the GLOBSTAR object for globstar behavior,
- // and will not contain any / characters
- set = this.globParts = set.map(function (s) {
- return s.split(slashSplit)
- })
-
- this.debug(this.pattern, set)
-
- // glob --> regexps
- set = set.map(function (s, si, set) {
- return s.map(this.parse, this)
- }, this)
-
- this.debug(this.pattern, set)
-
- // filter out everything that didn't compile properly.
- set = set.filter(function (s) {
- return s.indexOf(false) === -1
- })
-
- this.debug(this.pattern, set)
-
- this.set = set
-}
-
-Minimatch.prototype.parseNegate = parseNegate
-function parseNegate () {
- var pattern = this.pattern
- var negate = false
- var options = this.options
- var negateOffset = 0
-
- if (options.nonegate) return
-
- for (var i = 0, l = pattern.length
- ; i < l && pattern.charAt(i) === '!'
- ; i++) {
- negate = !negate
- negateOffset++
- }
-
- if (negateOffset) this.pattern = pattern.substr(negateOffset)
- this.negate = negate
-}
-
-// Brace expansion:
-// a{b,c}d -> abd acd
-// a{b,}c -> abc ac
-// a{0..3}d -> a0d a1d a2d a3d
-// a{b,c{d,e}f}g -> abg acdfg acefg
-// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
-//
-// Invalid sets are not expanded.
-// a{2..}b -> a{2..}b
-// a{b}c -> a{b}c
-minimatch.braceExpand = function (pattern, options) {
- return braceExpand(pattern, options)
-}
-
-Minimatch.prototype.braceExpand = braceExpand
-
-function braceExpand (pattern, options) {
- if (!options) {
- if (this instanceof Minimatch) {
- options = this.options
- } else {
- options = {}
- }
- }
-
- pattern = typeof pattern === 'undefined'
- ? this.pattern : pattern
-
- if (typeof pattern === 'undefined') {
- throw new Error('undefined pattern')
- }
-
- if (options.nobrace ||
- !pattern.match(/\{.*\}/)) {
- // shortcut. no need to expand.
- return [pattern]
- }
-
- return expand(pattern)
-}
-
-// parse a component of the expanded set.
-// At this point, no pattern may contain "/" in it
-// so we're going to return a 2d array, where each entry is the full
-// pattern, split on '/', and then turned into a regular expression.
-// A regexp is made at the end which joins each array with an
-// escaped /, and another full one which joins each regexp with |.
-//
-// Following the lead of Bash 4.1, note that "**" only has special meaning
-// when it is the *only* thing in a path portion. Otherwise, any series
-// of * is equivalent to a single *. Globstar behavior is enabled by
-// default, and can be disabled by setting options.noglobstar.
-Minimatch.prototype.parse = parse
-var SUBPARSE = {}
-function parse (pattern, isSub) {
- var options = this.options
-
- // shortcuts
- if (!options.noglobstar && pattern === '**') return GLOBSTAR
- if (pattern === '') return ''
-
- var re = ''
- var hasMagic = !!options.nocase
- var escaping = false
- // ? => one single character
- var patternListStack = []
- var negativeLists = []
- var plType
- var stateChar
- var inClass = false
- var reClassStart = -1
- var classStart = -1
- // . and .. never match anything that doesn't start with .,
- // even when options.dot is set.
- var patternStart = pattern.charAt(0) === '.' ? '' // anything
- // not (start or / followed by . or .. followed by / or end)
- : options.dot ? '(?!(?:^|\\\/)\\.{1,2}(?:$|\\\/))'
- : '(?!\\.)'
- var self = this
-
- function clearStateChar () {
- if (stateChar) {
- // we had some state-tracking character
- // that wasn't consumed by this pass.
- switch (stateChar) {
- case '*':
- re += star
- hasMagic = true
- break
- case '?':
- re += qmark
- hasMagic = true
- break
- default:
- re += '\\' + stateChar
- break
- }
- self.debug('clearStateChar %j %j', stateChar, re)
- stateChar = false
- }
- }
-
- for (var i = 0, len = pattern.length, c
- ; (i < len) && (c = pattern.charAt(i))
- ; i++) {
- this.debug('%s\t%s %s %j', pattern, i, re, c)
-
- // skip over any that are escaped.
- if (escaping && reSpecials[c]) {
- re += '\\' + c
- escaping = false
- continue
- }
-
- switch (c) {
- case '/':
- // completely not allowed, even escaped.
- // Should already be path-split by now.
- return false
-
- case '\\':
- clearStateChar()
- escaping = true
- continue
-
- // the various stateChar values
- // for the "extglob" stuff.
- case '?':
- case '*':
- case '+':
- case '@':
- case '!':
- this.debug('%s\t%s %s %j <-- stateChar', pattern, i, re, c)
-
- // all of those are literals inside a class, except that
- // the glob [!a] means [^a] in regexp
- if (inClass) {
- this.debug(' in class')
- if (c === '!' && i === classStart + 1) c = '^'
- re += c
- continue
- }
-
- // if we already have a stateChar, then it means
- // that there was something like ** or +? in there.
- // Handle the stateChar, then proceed with this one.
- self.debug('call clearStateChar %j', stateChar)
- clearStateChar()
- stateChar = c
- // if extglob is disabled, then +(asdf|foo) isn't a thing.
- // just clear the statechar *now*, rather than even diving into
- // the patternList stuff.
- if (options.noext) clearStateChar()
- continue
-
- case '(':
- if (inClass) {
- re += '('
- continue
- }
-
- if (!stateChar) {
- re += '\\('
- continue
- }
-
- plType = stateChar
- patternListStack.push({
- type: plType,
- start: i - 1,
- reStart: re.length
- })
- // negation is (?:(?!js)[^/]*)
- re += stateChar === '!' ? '(?:(?!(?:' : '(?:'
- this.debug('plType %j %j', stateChar, re)
- stateChar = false
- continue
-
- case ')':
- if (inClass || !patternListStack.length) {
- re += '\\)'
- continue
- }
-
- clearStateChar()
- hasMagic = true
- re += ')'
- var pl = patternListStack.pop()
- plType = pl.type
- // negation is (?:(?!js)[^/]*)
- // The others are (?:<pattern>)<type>
- switch (plType) {
- case '!':
- negativeLists.push(pl)
- re += ')[^/]*?)'
- pl.reEnd = re.length
- break
- case '?':
- case '+':
- case '*':
- re += plType
- break
- case '@': break // the default anyway
- }
- continue
-
- case '|':
- if (inClass || !patternListStack.length || escaping) {
- re += '\\|'
- escaping = false
- continue
- }
-
- clearStateChar()
- re += '|'
- continue
-
- // these are mostly the same in regexp and glob
- case '[':
- // swallow any state-tracking char before the [
- clearStateChar()
-
- if (inClass) {
- re += '\\' + c
- continue
- }
-
- inClass = true
- classStart = i
- reClassStart = re.length
- re += c
- continue
-
- case ']':
- // a right bracket shall lose its special
- // meaning and represent itself in
- // a bracket expression if it occurs
- // first in the list. -- POSIX.2 2.8.3.2
- if (i === classStart + 1 || !inClass) {
- re += '\\' + c
- escaping = false
- continue
- }
-
- // handle the case where we left a class open.
- // "[z-a]" is valid, equivalent to "\[z-a\]"
- if (inClass) {
- // split where the last [ was, make sure we don't have
- // an invalid re. if so, re-walk the contents of the
- // would-be class to re-translate any characters that
- // were passed through as-is
- // TODO: It would probably be faster to determine this
- // without a try/catch and a new RegExp, but it's tricky
- // to do safely. For now, this is safe and works.
- var cs = pattern.substring(classStart + 1, i)
- try {
- RegExp('[' + cs + ']')
- } catch (er) {
- // not a valid class!
- var sp = this.parse(cs, SUBPARSE)
- re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]'
- hasMagic = hasMagic || sp[1]
- inClass = false
- continue
- }
- }
-
- // finish up the class.
- hasMagic = true
- inClass = false
- re += c
- continue
-
- default:
- // swallow any state char that wasn't consumed
- clearStateChar()
-
- if (escaping) {
- // no need
- escaping = false
- } else if (reSpecials[c]
- && !(c === '^' && inClass)) {
- re += '\\'
- }
-
- re += c
-
- } // switch
- } // for
-
- // handle the case where we left a class open.
- // "[abc" is valid, equivalent to "\[abc"
- if (inClass) {
- // split where the last [ was, and escape it
- // this is a huge pita. We now have to re-walk
- // the contents of the would-be class to re-translate
- // any characters that were passed through as-is
- cs = pattern.substr(classStart + 1)
- sp = this.parse(cs, SUBPARSE)
- re = re.substr(0, reClassStart) + '\\[' + sp[0]
- hasMagic = hasMagic || sp[1]
- }
-
- // handle the case where we had a +( thing at the *end*
- // of the pattern.
- // each pattern list stack adds 3 chars, and we need to go through
- // and escape any | chars that were passed through as-is for the regexp.
- // Go through and escape them, taking care not to double-escape any
- // | chars that were already escaped.
- for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
- var tail = re.slice(pl.reStart + 3)
- // maybe some even number of \, then maybe 1 \, followed by a |
- tail = tail.replace(/((?:\\{2})*)(\\?)\|/g, function (_, $1, $2) {
- if (!$2) {
- // the | isn't already escaped, so escape it.
- $2 = '\\'
- }
-
- // need to escape all those slashes *again*, without escaping the
- // one that we need for escaping the | character. As it works out,
- // escaping an even number of slashes can be done by simply repeating
- // it exactly after itself. That's why this trick works.
- //
- // I am sorry that you have to see this.
- return $1 + $1 + $2 + '|'
- })
-
- this.debug('tail=%j\n %s', tail, tail)
- var t = pl.type === '*' ? star
- : pl.type === '?' ? qmark
- : '\\' + pl.type
-
- hasMagic = true
- re = re.slice(0, pl.reStart) + t + '\\(' + tail
- }
-
- // handle trailing things that only matter at the very end.
- clearStateChar()
- if (escaping) {
- // trailing \\
- re += '\\\\'
- }
-
- // only need to apply the nodot start if the re starts with
- // something that could conceivably capture a dot
- var addPatternStart = false
- switch (re.charAt(0)) {
- case '.':
- case '[':
- case '(': addPatternStart = true
- }
-
- // Hack to work around lack of negative lookbehind in JS
- // A pattern like: *.!(x).!(y|z) needs to ensure that a name
- // like 'a.xyz.yz' doesn't match. So, the first negative
- // lookahead, has to look ALL the way ahead, to the end of
- // the pattern.
- for (var n = negativeLists.length - 1; n > -1; n--) {
- var nl = negativeLists[n]
-
- var nlBefore = re.slice(0, nl.reStart)
- var nlFirst = re.slice(nl.reStart, nl.reEnd - 8)
- var nlLast = re.slice(nl.reEnd - 8, nl.reEnd)
- var nlAfter = re.slice(nl.reEnd)
-
- nlLast += nlAfter
-
- // Handle nested stuff like *(*.js|!(*.json)), where open parens
- // mean that we should *not* include the ) in the bit that is considered
- // "after" the negated section.
- var openParensBefore = nlBefore.split('(').length - 1
- var cleanAfter = nlAfter
- for (i = 0; i < openParensBefore; i++) {
- cleanAfter = cleanAfter.replace(/\)[+*?]?/, '')
- }
- nlAfter = cleanAfter
-
- var dollar = ''
- if (nlAfter === '' && isSub !== SUBPARSE) {
- dollar = '$'
- }
- var newRe = nlBefore + nlFirst + nlAfter + dollar + nlLast
- re = newRe
- }
-
- // if the re is not "" at this point, then we need to make sure
- // it doesn't match against an empty path part.
- // Otherwise a/* will match a/, which it should not.
- if (re !== '' && hasMagic) {
- re = '(?=.)' + re
- }
-
- if (addPatternStart) {
- re = patternStart + re
- }
-
- // parsing just a piece of a larger pattern.
- if (isSub === SUBPARSE) {
- return [re, hasMagic]
- }
-
- // skip the regexp for non-magical patterns
- // unescape anything in it, though, so that it'll be
- // an exact match against a file etc.
- if (!hasMagic) {
- return globUnescape(pattern)
- }
-
- var flags = options.nocase ? 'i' : ''
- var regExp = new RegExp('^' + re + '$', flags)
-
- regExp._glob = pattern
- regExp._src = re
-
- return regExp
-}
-
-minimatch.makeRe = function (pattern, options) {
- return new Minimatch(pattern, options || {}).makeRe()
-}
-
-Minimatch.prototype.makeRe = makeRe
-function makeRe () {
- if (this.regexp || this.regexp === false) return this.regexp
-
- // at this point, this.set is a 2d array of partial
- // pattern strings, or "**".
- //
- // It's better to use .match(). This function shouldn't
- // be used, really, but it's pretty convenient sometimes,
- // when you just want to work with a regex.
- var set = this.set
-
- if (!set.length) {
- this.regexp = false
- return this.regexp
- }
- var options = this.options
-
- var twoStar = options.noglobstar ? star
- : options.dot ? twoStarDot
- : twoStarNoDot
- var flags = options.nocase ? 'i' : ''
-
- var re = set.map(function (pattern) {
- return pattern.map(function (p) {
- return (p === GLOBSTAR) ? twoStar
- : (typeof p === 'string') ? regExpEscape(p)
- : p._src
- }).join('\\\/')
- }).join('|')
-
- // must match entire pattern
- // ending in a * or ** will make it less strict.
- re = '^(?:' + re + ')$'
-
- // can match anything, as long as it's not this.
- if (this.negate) re = '^(?!' + re + ').*$'
-
- try {
- this.regexp = new RegExp(re, flags)
- } catch (ex) {
- this.regexp = false
- }
- return this.regexp
-}
-
-minimatch.match = function (list, pattern, options) {
- options = options || {}
- var mm = new Minimatch(pattern, options)
- list = list.filter(function (f) {
- return mm.match(f)
- })
- if (mm.options.nonull && !list.length) {
- list.push(pattern)
- }
- return list
-}
-
-Minimatch.prototype.match = match
-function match (f, partial) {
- this.debug('match', f, this.pattern)
- // short-circuit in the case of busted things.
- // comments, etc.
- if (this.comment) return false
- if (this.empty) return f === ''
-
- if (f === '/' && partial) return true
-
- var options = this.options
-
- // windows: need to use /, not \
- if (path.sep !== '/') {
- f = f.split(path.sep).join('/')
- }
-
- // treat the test path as a set of pathparts.
- f = f.split(slashSplit)
- this.debug(this.pattern, 'split', f)
-
- // just ONE of the pattern sets in this.set needs to match
- // in order for it to be valid. If negating, then just one
- // match means that we have failed.
- // Either way, return on the first hit.
-
- var set = this.set
- this.debug(this.pattern, 'set', set)
-
- // Find the basename of the path by looking for the last non-empty segment
- var filename
- var i
- for (i = f.length - 1; i >= 0; i--) {
- filename = f[i]
- if (filename) break
- }
-
- for (i = 0; i < set.length; i++) {
- var pattern = set[i]
- var file = f
- if (options.matchBase && pattern.length === 1) {
- file = [filename]
- }
- var hit = this.matchOne(file, pattern, partial)
- if (hit) {
- if (options.flipNegate) return true
- return !this.negate
- }
- }
-
- // didn't get any hits. this is success if it's a negative
- // pattern, failure otherwise.
- if (options.flipNegate) return false
- return this.negate
-}
-
-// set partial to true to test if, for example,
-// "/a/b" matches the start of "/*/b/*/d"
-// Partial means, if you run out of file before you run
-// out of pattern, then that's fine, as long as all
-// the parts match.
-Minimatch.prototype.matchOne = function (file, pattern, partial) {
- var options = this.options
-
- this.debug('matchOne',
- { 'this': this, file: file, pattern: pattern })
-
- this.debug('matchOne', file.length, pattern.length)
-
- for (var fi = 0,
- pi = 0,
- fl = file.length,
- pl = pattern.length
- ; (fi < fl) && (pi < pl)
- ; fi++, pi++) {
- this.debug('matchOne loop')
- var p = pattern[pi]
- var f = file[fi]
-
- this.debug(pattern, p, f)
-
- // should be impossible.
- // some invalid regexp stuff in the set.
- if (p === false) return false
-
- if (p === GLOBSTAR) {
- this.debug('GLOBSTAR', [pattern, p, f])
-
- // "**"
- // a/**/b/**/c would match the following:
- // a/b/x/y/z/c
- // a/x/y/z/b/c
- // a/b/x/b/x/c
- // a/b/c
- // To do this, take the rest of the pattern after
- // the **, and see if it would match the file remainder.
- // If so, return success.
- // If not, the ** "swallows" a segment, and try again.
- // This is recursively awful.
- //
- // a/**/b/**/c matching a/b/x/y/z/c
- // - a matches a
- // - doublestar
- // - matchOne(b/x/y/z/c, b/**/c)
- // - b matches b
- // - doublestar
- // - matchOne(x/y/z/c, c) -> no
- // - matchOne(y/z/c, c) -> no
- // - matchOne(z/c, c) -> no
- // - matchOne(c, c) yes, hit
- var fr = fi
- var pr = pi + 1
- if (pr === pl) {
- this.debug('** at the end')
- // a ** at the end will just swallow the rest.
- // We have found a match.
- // however, it will not swallow /.x, unless
- // options.dot is set.
- // . and .. are *never* matched by **, for explosively
- // exponential reasons.
- for (; fi < fl; fi++) {
- if (file[fi] === '.' || file[fi] === '..' ||
- (!options.dot && file[fi].charAt(0) === '.')) return false
- }
- return true
- }
-
- // ok, let's see if we can swallow whatever we can.
- while (fr < fl) {
- var swallowee = file[fr]
-
- this.debug('\nglobstar while', file, fr, pattern, pr, swallowee)
-
- // XXX remove this slice. Just pass the start index.
- if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
- this.debug('globstar found match!', fr, fl, swallowee)
- // found a match.
- return true
- } else {
- // can't swallow "." or ".." ever.
- // can only swallow ".foo" when explicitly asked.
- if (swallowee === '.' || swallowee === '..' ||
- (!options.dot && swallowee.charAt(0) === '.')) {
- this.debug('dot detected!', file, fr, pattern, pr)
- break
- }
-
- // ** swallows a segment, and continue.
- this.debug('globstar swallow a segment, and continue')
- fr++
- }
- }
-
- // no match was found.
- // However, in partial mode, we can't say this is necessarily over.
- // If there's more *pattern* left, then
- if (partial) {
- // ran out of file
- this.debug('\n>>> no match, partial?', file, fr, pattern, pr)
- if (fr === fl) return true
- }
- return false
- }
-
- // something other than **
- // non-magic patterns just have to match exactly
- // patterns with magic have been turned into regexps.
- var hit
- if (typeof p === 'string') {
- if (options.nocase) {
- hit = f.toLowerCase() === p.toLowerCase()
- } else {
- hit = f === p
- }
- this.debug('string match', p, f, hit)
- } else {
- hit = f.match(p)
- this.debug('pattern match', p, f, hit)
- }
-
- if (!hit) return false
- }
-
- // Note: ending in / means that we'll get a final ""
- // at the end of the pattern. This can only match a
- // corresponding "" at the end of the file.
- // If the file ends in /, then it can only match a
- // a pattern that ends in /, unless the pattern just
- // doesn't have any more for it. But, a/b/ should *not*
- // match "a/b/*", even though "" matches against the
- // [^/]*? pattern, except in partial mode, where it might
- // simply not be reached yet.
- // However, a/b/ should still satisfy a/*
-
- // now either we fell off the end of the pattern, or we're done.
- if (fi === fl && pi === pl) {
- // ran out of pattern and filename at the same time.
- // an exact hit!
- return true
- } else if (fi === fl) {
- // ran out of file, but still had pattern left.
- // this is ok if we're doing the match as part of
- // a glob fs traversal.
- return partial
- } else if (pi === pl) {
- // ran out of pattern, still have file left.
- // this is only acceptable if we're on the very last
- // empty segment of a file with a trailing slash.
- // a/* should match a/b/
- var emptyFileEnd = (fi === fl - 1) && (file[fi] === '')
- return emptyFileEnd
- }
-
- // should be unreachable.
- throw new Error('wtf?')
-}
-
-// replace stuff like \* with *
-function globUnescape (s) {
- return s.replace(/\\(.)/g, '$1')
-}
-
-function regExpEscape (s) {
- return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore
deleted file mode 100644
index 353546af2..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore
+++ /dev/null
@@ -1,3 +0,0 @@
-test
-.gitignore
-.travis.yml
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md
deleted file mode 100644
index 179392978..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md
+++ /dev/null
@@ -1,122 +0,0 @@
-# brace-expansion
-
-[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html),
-as known from sh/bash, in JavaScript.
-
-[![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion)
-[![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion)
-
-[![testling badge](https://ci.testling.com/juliangruber/brace-expansion.png)](https://ci.testling.com/juliangruber/brace-expansion)
-
-## Example
-
-```js
-var expand = require('brace-expansion');
-
-expand('file-{a,b,c}.jpg')
-// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
-
-expand('-v{,,}')
-// => ['-v', '-v', '-v']
-
-expand('file{0..2}.jpg')
-// => ['file0.jpg', 'file1.jpg', 'file2.jpg']
-
-expand('file-{a..c}.jpg')
-// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
-
-expand('file{2..0}.jpg')
-// => ['file2.jpg', 'file1.jpg', 'file0.jpg']
-
-expand('file{0..4..2}.jpg')
-// => ['file0.jpg', 'file2.jpg', 'file4.jpg']
-
-expand('file-{a..e..2}.jpg')
-// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg']
-
-expand('file{00..10..5}.jpg')
-// => ['file00.jpg', 'file05.jpg', 'file10.jpg']
-
-expand('{{A..C},{a..c}}')
-// => ['A', 'B', 'C', 'a', 'b', 'c']
-
-expand('ppp{,config,oe{,conf}}')
-// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf']
-```
-
-## API
-
-```js
-var expand = require('brace-expansion');
-```
-
-### var expanded = expand(str)
-
-Return an array of all possible and valid expansions of `str`. If none are
-found, `[str]` is returned.
-
-Valid expansions are:
-
-```js
-/^(.*,)+(.+)?$/
-// {a,b,...}
-```
-
-A comma seperated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`.
-
-```js
-/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
-// {x..y[..incr]}
-```
-
-A numeric sequence from `x` to `y` inclusive, with optional increment.
-If `x` or `y` start with a leading `0`, all the numbers will be padded
-to have equal length. Negative numbers and backwards iteration work too.
-
-```js
-/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
-// {x..y[..incr]}
-```
-
-An alphabetic sequence from `x` to `y` inclusive, with optional increment.
-`x` and `y` must be exactly one character, and if given, `incr` must be a
-number.
-
-For compatibility reasons, the string `${` is not eligible for brace expansion.
-
-## Installation
-
-With [npm](https://npmjs.org) do:
-
-```bash
-npm install brace-expansion
-```
-
-## Contributors
-
-- [Julian Gruber](https://github.com/juliangruber)
-- [Isaac Z. Schlueter](https://github.com/isaacs)
-
-## License
-
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;[email protected]&gt;
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js
deleted file mode 100644
index 60ecfc74d..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js
+++ /dev/null
@@ -1,8 +0,0 @@
-var expand = require('./');
-
-console.log(expand('http://any.org/archive{1996..1999}/vol{1..4}/part{a,b,c}.html'));
-console.log(expand('http://www.numericals.com/file{1..100..10}.txt'));
-console.log(expand('http://www.letters.com/file{a..z..2}.txt'));
-console.log(expand('mkdir /usr/local/src/bash/{old,new,dist,bugs}'));
-console.log(expand('chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}'));
-
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js
deleted file mode 100644
index a23104e95..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js
+++ /dev/null
@@ -1,191 +0,0 @@
-var concatMap = require('concat-map');
-var balanced = require('balanced-match');
-
-module.exports = expandTop;
-
-var escSlash = '\0SLASH'+Math.random()+'\0';
-var escOpen = '\0OPEN'+Math.random()+'\0';
-var escClose = '\0CLOSE'+Math.random()+'\0';
-var escComma = '\0COMMA'+Math.random()+'\0';
-var escPeriod = '\0PERIOD'+Math.random()+'\0';
-
-function numeric(str) {
- return parseInt(str, 10) == str
- ? parseInt(str, 10)
- : str.charCodeAt(0);
-}
-
-function escapeBraces(str) {
- return str.split('\\\\').join(escSlash)
- .split('\\{').join(escOpen)
- .split('\\}').join(escClose)
- .split('\\,').join(escComma)
- .split('\\.').join(escPeriod);
-}
-
-function unescapeBraces(str) {
- return str.split(escSlash).join('\\')
- .split(escOpen).join('{')
- .split(escClose).join('}')
- .split(escComma).join(',')
- .split(escPeriod).join('.');
-}
-
-
-// Basically just str.split(","), but handling cases
-// where we have nested braced sections, which should be
-// treated as individual members, like {a,{b,c},d}
-function parseCommaParts(str) {
- if (!str)
- return [''];
-
- var parts = [];
- var m = balanced('{', '}', str);
-
- if (!m)
- return str.split(',');
-
- var pre = m.pre;
- var body = m.body;
- var post = m.post;
- var p = pre.split(',');
-
- p[p.length-1] += '{' + body + '}';
- var postParts = parseCommaParts(post);
- if (post.length) {
- p[p.length-1] += postParts.shift();
- p.push.apply(p, postParts);
- }
-
- parts.push.apply(parts, p);
-
- return parts;
-}
-
-function expandTop(str) {
- if (!str)
- return [];
-
- return expand(escapeBraces(str), true).map(unescapeBraces);
-}
-
-function identity(e) {
- return e;
-}
-
-function embrace(str) {
- return '{' + str + '}';
-}
-function isPadded(el) {
- return /^-?0\d/.test(el);
-}
-
-function lte(i, y) {
- return i <= y;
-}
-function gte(i, y) {
- return i >= y;
-}
-
-function expand(str, isTop) {
- var expansions = [];
-
- var m = balanced('{', '}', str);
- if (!m || /\$$/.test(m.pre)) return [str];
-
- var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
- var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
- var isSequence = isNumericSequence || isAlphaSequence;
- var isOptions = /^(.*,)+(.+)?$/.test(m.body);
- if (!isSequence && !isOptions) {
- // {a},b}
- if (m.post.match(/,.*}/)) {
- str = m.pre + '{' + m.body + escClose + m.post;
- return expand(str);
- }
- return [str];
- }
-
- var n;
- if (isSequence) {
- n = m.body.split(/\.\./);
- } else {
- n = parseCommaParts(m.body);
- if (n.length === 1) {
- // x{{a,b}}y ==> x{a}y x{b}y
- n = expand(n[0], false).map(embrace);
- if (n.length === 1) {
- var post = m.post.length
- ? expand(m.post, false)
- : [''];
- return post.map(function(p) {
- return m.pre + n[0] + p;
- });
- }
- }
- }
-
- // at this point, n is the parts, and we know it's not a comma set
- // with a single entry.
-
- // no need to expand pre, since it is guaranteed to be free of brace-sets
- var pre = m.pre;
- var post = m.post.length
- ? expand(m.post, false)
- : [''];
-
- var N;
-
- if (isSequence) {
- var x = numeric(n[0]);
- var y = numeric(n[1]);
- var width = Math.max(n[0].length, n[1].length)
- var incr = n.length == 3
- ? Math.abs(numeric(n[2]))
- : 1;
- var test = lte;
- var reverse = y < x;
- if (reverse) {
- incr *= -1;
- test = gte;
- }
- var pad = n.some(isPadded);
-
- N = [];
-
- for (var i = x; test(i, y); i += incr) {
- var c;
- if (isAlphaSequence) {
- c = String.fromCharCode(i);
- if (c === '\\')
- c = '';
- } else {
- c = String(i);
- if (pad) {
- var need = width - c.length;
- if (need > 0) {
- var z = new Array(need + 1).join('0');
- if (i < 0)
- c = '-' + z + c.slice(1);
- else
- c = z + c;
- }
- }
- }
- N.push(c);
- }
- } else {
- N = concatMap(n, function(el) { return expand(el, false) });
- }
-
- for (var j = 0; j < N.length; j++) {
- for (var k = 0; k < post.length; k++) {
- var expansion = pre + N[j] + post[k];
- if (!isTop || isSequence || expansion)
- expansions.push(expansion);
- }
- }
-
- return expansions;
-}
-
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore
deleted file mode 100644
index fd4f2b066..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules
-.DS_Store
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml
deleted file mode 100644
index 6e5919de3..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-language: node_js
-node_js:
- - "0.10"
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md
deleted file mode 100644
index 2cdc8e414..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md
+++ /dev/null
@@ -1,21 +0,0 @@
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;[email protected]&gt;
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile
deleted file mode 100644
index fa5da71a6..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-
-test:
- @node_modules/.bin/tape test/*.js
-
-.PHONY: test
-
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md
deleted file mode 100644
index 421f3aa5f..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md
+++ /dev/null
@@ -1,89 +0,0 @@
-# balanced-match
-
-Match balanced string pairs, like `{` and `}` or `<b>` and `</b>`.
-
-[![build status](https://secure.travis-ci.org/juliangruber/balanced-match.svg)](http://travis-ci.org/juliangruber/balanced-match)
-[![downloads](https://img.shields.io/npm/dm/balanced-match.svg)](https://www.npmjs.org/package/balanced-match)
-
-[![testling badge](https://ci.testling.com/juliangruber/balanced-match.png)](https://ci.testling.com/juliangruber/balanced-match)
-
-## Example
-
-Get the first matching pair of braces:
-
-```js
-var balanced = require('balanced-match');
-
-console.log(balanced('{', '}', 'pre{in{nested}}post'));
-console.log(balanced('{', '}', 'pre{first}between{second}post'));
-```
-
-The matches are:
-
-```bash
-$ node example.js
-{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' }
-{ start: 3,
- end: 9,
- pre: 'pre',
- body: 'first',
- post: 'between{second}post' }
-```
-
-## API
-
-### var m = balanced(a, b, str)
-
-For the first non-nested matching pair of `a` and `b` in `str`, return an
-object with those keys:
-
-* **start** the index of the first match of `a`
-* **end** the index of the matching `b`
-* **pre** the preamble, `a` and `b` not included
-* **body** the match, `a` and `b` not included
-* **post** the postscript, `a` and `b` not included
-
-If there's no match, `undefined` will be returned.
-
-If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']`.
-
-### var r = balanced.range(a, b, str)
-
-For the first non-nested matching pair of `a` and `b` in `str`, return an
-array with indexes: `[ <a index>, <b index> ]`.
-
-If there's no match, `undefined` will be returned.
-
-If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `[ 1, 3 ]`.
-
-## Installation
-
-With [npm](https://npmjs.org) do:
-
-```bash
-npm install balanced-match
-```
-
-## License
-
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;[email protected]&gt;
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js
deleted file mode 100644
index c02ad348e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var balanced = require('./');
-
-console.log(balanced('{', '}', 'pre{in{nested}}post'));
-console.log(balanced('{', '}', 'pre{first}between{second}post'));
-
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js
deleted file mode 100644
index 75f3d71cb..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js
+++ /dev/null
@@ -1,50 +0,0 @@
-module.exports = balanced;
-function balanced(a, b, str) {
- var r = range(a, b, str);
-
- return r && {
- start: r[0],
- end: r[1],
- pre: str.slice(0, r[0]),
- body: str.slice(r[0] + a.length, r[1]),
- post: str.slice(r[1] + b.length)
- };
-}
-
-balanced.range = range;
-function range(a, b, str) {
- var begs, beg, left, right, result;
- var ai = str.indexOf(a);
- var bi = str.indexOf(b, ai + 1);
- var i = ai;
-
- if (ai >= 0 && bi > 0) {
- begs = [];
- left = str.length;
-
- while (i < str.length && i >= 0 && ! result) {
- if (i == ai) {
- begs.push(i);
- ai = str.indexOf(a, i + 1);
- } else if (begs.length == 1) {
- result = [ begs.pop(), bi ];
- } else {
- beg = begs.pop();
- if (beg < left) {
- left = beg;
- right = bi;
- }
-
- bi = str.indexOf(b, i + 1);
- }
-
- i = ai < bi && ai >= 0 ? ai : bi;
- }
-
- if (begs.length) {
- result = [ left, right ];
- }
- }
-
- return result;
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json
deleted file mode 100644
index 7eb345779..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "name": "balanced-match",
- "description": "Match balanced character pairs, like \"{\" and \"}\"",
- "version": "0.3.0",
- "repository": {
- "type": "git",
- "url": "git://github.com/juliangruber/balanced-match.git"
- },
- "homepage": "https://github.com/juliangruber/balanced-match",
- "main": "index.js",
- "scripts": {
- "test": "make test"
- },
- "dependencies": {},
- "devDependencies": {
- "tape": "~4.2.2"
- },
- "keywords": [
- "match",
- "regexp",
- "test",
- "balanced",
- "parse"
- ],
- "author": {
- "name": "Julian Gruber",
- "email": "[email protected]",
- "url": "http://juliangruber.com"
- },
- "license": "MIT",
- "testling": {
- "files": "test/*.js",
- "browsers": [
- "ie/8..latest",
- "firefox/20..latest",
- "firefox/nightly",
- "chrome/25..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest",
- "android-browser/4.2..latest"
- ]
- },
- "gitHead": "a7114b0986554787e90b7ac595a043ca75ea77e5",
- "bugs": {
- "url": "https://github.com/juliangruber/balanced-match/issues"
- },
- "_id": "[email protected]",
- "_shasum": "a91cdd1ebef1a86659e70ff4def01625fc2d6756",
- "_from": "balanced-match@>=0.3.0 <0.4.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.1",
- "_npmUser": {
- "name": "juliangruber",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "a91cdd1ebef1a86659e70ff4def01625fc2d6756",
- "tarball": "http://registry.npmjs.org/balanced-match/-/balanced-match-0.3.0.tgz"
- },
- "maintainers": [
- {
- "name": "juliangruber",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.3.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js
deleted file mode 100644
index f5e98e3f2..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js
+++ /dev/null
@@ -1,84 +0,0 @@
-var test = require('tape');
-var balanced = require('..');
-
-test('balanced', function(t) {
- t.deepEqual(balanced('{', '}', 'pre{in{nest}}post'), {
- start: 3,
- end: 12,
- pre: 'pre',
- body: 'in{nest}',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', '{{{{{{{{{in}post'), {
- start: 8,
- end: 11,
- pre: '{{{{{{{{',
- body: 'in',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', 'pre{body{in}post'), {
- start: 8,
- end: 11,
- pre: 'pre{body',
- body: 'in',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', 'pre}{in{nest}}post'), {
- start: 4,
- end: 13,
- pre: 'pre}',
- body: 'in{nest}',
- post: 'post'
- });
- t.deepEqual(balanced('{', '}', 'pre{body}between{body2}post'), {
- start: 3,
- end: 8,
- pre: 'pre',
- body: 'body',
- post: 'between{body2}post'
- });
- t.notOk(balanced('{', '}', 'nope'), 'should be notOk');
- t.deepEqual(balanced('<b>', '</b>', 'pre<b>in<b>nest</b></b>post'), {
- start: 3,
- end: 19,
- pre: 'pre',
- body: 'in<b>nest</b>',
- post: 'post'
- });
- t.deepEqual(balanced('<b>', '</b>', 'pre</b><b>in<b>nest</b></b>post'), {
- start: 7,
- end: 23,
- pre: 'pre</b>',
- body: 'in<b>nest</b>',
- post: 'post'
- });
- t.deepEqual(balanced('{{', '}}', 'pre{{{in}}}post'), {
- start: 3,
- end: 9,
- pre: 'pre',
- body: '{in}',
- post: 'post'
- });
- t.deepEqual(balanced('{{{', '}}', 'pre{{{in}}}post'), {
- start: 3,
- end: 8,
- pre: 'pre',
- body: 'in',
- post: '}post'
- });
- t.deepEqual(balanced('{', '}', 'pre{{first}in{second}post'), {
- start: 4,
- end: 10,
- pre: 'pre{',
- body: 'first',
- post: 'in{second}post'
- });
- t.deepEqual(balanced('<?', '?>', 'pre<?>post'), {
- start: 3,
- end: 4,
- pre: 'pre',
- body: '',
- post: 'post'
- });
- t.end();
-});
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml
deleted file mode 100644
index f1d0f13c8..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-language: node_js
-node_js:
- - 0.4
- - 0.6
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE
deleted file mode 100644
index ee27ba4b4..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE
+++ /dev/null
@@ -1,18 +0,0 @@
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown
deleted file mode 100644
index 408f70a1b..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown
+++ /dev/null
@@ -1,62 +0,0 @@
-concat-map
-==========
-
-Concatenative mapdashery.
-
-[![browser support](http://ci.testling.com/substack/node-concat-map.png)](http://ci.testling.com/substack/node-concat-map)
-
-[![build status](https://secure.travis-ci.org/substack/node-concat-map.png)](http://travis-ci.org/substack/node-concat-map)
-
-example
-=======
-
-``` js
-var concatMap = require('concat-map');
-var xs = [ 1, 2, 3, 4, 5, 6 ];
-var ys = concatMap(xs, function (x) {
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
-});
-console.dir(ys);
-```
-
-***
-
-```
-[ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]
-```
-
-methods
-=======
-
-``` js
-var concatMap = require('concat-map')
-```
-
-concatMap(xs, fn)
------------------
-
-Return an array of concatenated elements by calling `fn(x, i)` for each element
-`x` and each index `i` in the array `xs`.
-
-When `fn(x, i)` returns an array, its result will be concatenated with the
-result array. If `fn(x, i)` returns anything else, that value will be pushed
-onto the end of the result array.
-
-install
-=======
-
-With [npm](http://npmjs.org) do:
-
-```
-npm install concat-map
-```
-
-license
-=======
-
-MIT
-
-notes
-=====
-
-This module was written while sitting high above the ground in a tree.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js
deleted file mode 100644
index 33656217b..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js
+++ /dev/null
@@ -1,6 +0,0 @@
-var concatMap = require('../');
-var xs = [ 1, 2, 3, 4, 5, 6 ];
-var ys = concatMap(xs, function (x) {
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
-});
-console.dir(ys);
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js
deleted file mode 100644
index b29a7812e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = function (xs, fn) {
- var res = [];
- for (var i = 0; i < xs.length; i++) {
- var x = fn(xs[i], i);
- if (isArray(x)) res.push.apply(res, x);
- else res.push(x);
- }
- return res;
-};
-
-var isArray = Array.isArray || function (xs) {
- return Object.prototype.toString.call(xs) === '[object Array]';
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json
deleted file mode 100644
index b51613809..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json
+++ /dev/null
@@ -1,83 +0,0 @@
-{
- "name": "concat-map",
- "description": "concatenative mapdashery",
- "version": "0.0.1",
- "repository": {
- "type": "git",
- "url": "git://github.com/substack/node-concat-map.git"
- },
- "main": "index.js",
- "keywords": [
- "concat",
- "concatMap",
- "map",
- "functional",
- "higher-order"
- ],
- "directories": {
- "example": "example",
- "test": "test"
- },
- "scripts": {
- "test": "tape test/*.js"
- },
- "devDependencies": {
- "tape": "~2.4.0"
- },
- "license": "MIT",
- "author": {
- "name": "James Halliday",
- "email": "[email protected]",
- "url": "http://substack.net"
- },
- "testling": {
- "files": "test/*.js",
- "browsers": {
- "ie": [
- 6,
- 7,
- 8,
- 9
- ],
- "ff": [
- 3.5,
- 10,
- 15
- ],
- "chrome": [
- 10,
- 22
- ],
- "safari": [
- 5.1
- ],
- "opera": [
- 12
- ]
- }
- },
- "bugs": {
- "url": "https://github.com/substack/node-concat-map/issues"
- },
- "homepage": "https://github.com/substack/node-concat-map",
- "_id": "[email protected]",
- "dist": {
- "shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
- "tarball": "http://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
- },
- "_from": "[email protected]",
- "_npmVersion": "1.3.21",
- "_npmUser": {
- "name": "substack",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "substack",
- "email": "[email protected]"
- }
- ],
- "_shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
- "_resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js
deleted file mode 100644
index fdbd7022f..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js
+++ /dev/null
@@ -1,39 +0,0 @@
-var concatMap = require('../');
-var test = require('tape');
-
-test('empty or not', function (t) {
- var xs = [ 1, 2, 3, 4, 5, 6 ];
- var ixes = [];
- var ys = concatMap(xs, function (x, ix) {
- ixes.push(ix);
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
- });
- t.same(ys, [ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]);
- t.same(ixes, [ 0, 1, 2, 3, 4, 5 ]);
- t.end();
-});
-
-test('always something', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function (x) {
- return x === 'b' ? [ 'B', 'B', 'B' ] : [ x ];
- });
- t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
- t.end();
-});
-
-test('scalars', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function (x) {
- return x === 'b' ? [ 'B', 'B', 'B' ] : x;
- });
- t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
- t.end();
-});
-
-test('undefs', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function () {});
- t.same(ys, [ undefined, undefined, undefined, undefined ]);
- t.end();
-});
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json
deleted file mode 100644
index fe96726d7..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "name": "brace-expansion",
- "description": "Brace expansion as known from sh/bash",
- "version": "1.1.2",
- "repository": {
- "type": "git",
- "url": "git://github.com/juliangruber/brace-expansion.git"
- },
- "homepage": "https://github.com/juliangruber/brace-expansion",
- "main": "index.js",
- "scripts": {
- "test": "tape test/*.js",
- "gentest": "bash test/generate.sh"
- },
- "dependencies": {
- "balanced-match": "^0.3.0",
- "concat-map": "0.0.1"
- },
- "devDependencies": {
- "tape": "4.2.2"
- },
- "keywords": [],
- "author": {
- "name": "Julian Gruber",
- "email": "[email protected]",
- "url": "http://juliangruber.com"
- },
- "license": "MIT",
- "testling": {
- "files": "test/*.js",
- "browsers": [
- "ie/8..latest",
- "firefox/20..latest",
- "firefox/nightly",
- "chrome/25..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest",
- "android-browser/4.2..latest"
- ]
- },
- "gitHead": "b03773a30fa516b1374945b68e9acb6253d595fa",
- "bugs": {
- "url": "https://github.com/juliangruber/brace-expansion/issues"
- },
- "_id": "[email protected]",
- "_shasum": "f21445d0488b658e2771efd870eff51df29f04ef",
- "_from": "brace-expansion@>=1.0.0 <2.0.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.1",
- "_npmUser": {
- "name": "juliangruber",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "f21445d0488b658e2771efd870eff51df29f04ef",
- "tarball": "http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.2.tgz"
- },
- "maintainers": [
- {
- "name": "juliangruber",
- "email": "[email protected]"
- },
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.2.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/package.json
deleted file mode 100644
index 4944eb0bc..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/minimatch/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me"
- },
- "name": "minimatch",
- "description": "a glob matcher in javascript",
- "version": "3.0.0",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/minimatch.git"
- },
- "main": "minimatch.js",
- "scripts": {
- "posttest": "standard minimatch.js test/*.js",
- "test": "tap test/*.js"
- },
- "engines": {
- "node": "*"
- },
- "dependencies": {
- "brace-expansion": "^1.0.0"
- },
- "devDependencies": {
- "standard": "^3.7.2",
- "tap": "^1.2.0"
- },
- "license": "ISC",
- "files": [
- "minimatch.js"
- ],
- "gitHead": "270dbea567f0af6918cb18103e98c612aa717a20",
- "bugs": {
- "url": "https://github.com/isaacs/minimatch/issues"
- },
- "homepage": "https://github.com/isaacs/minimatch#readme",
- "_id": "[email protected]",
- "_shasum": "5236157a51e4f004c177fb3c527ff7dd78f0ef83",
- "_from": "minimatch@>=2.0.0 <3.0.0||>=3.0.0 <4.0.0",
- "_npmVersion": "3.3.2",
- "_nodeVersion": "4.0.0",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "5236157a51e4f004c177fb3c527ff7dd78f0ef83",
- "tarball": "http://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/README.md
deleted file mode 100644
index a2981ea07..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/README.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# once
-
-Only call a function once.
-
-## usage
-
-```javascript
-var once = require('once')
-
-function load (file, cb) {
- cb = once(cb)
- loader.load('file')
- loader.once('load', cb)
- loader.once('error', cb)
-}
-```
-
-Or add to the Function.prototype in a responsible way:
-
-```javascript
-// only has to be done once
-require('once').proto()
-
-function load (file, cb) {
- cb = cb.once()
- loader.load('file')
- loader.once('load', cb)
- loader.once('error', cb)
-}
-```
-
-Ironically, the prototype feature makes this module twice as
-complicated as necessary.
-
-To check whether you function has been called, use `fn.called`. Once the
-function is called for the first time the return value of the original
-function is saved in `fn.value` and subsequent calls will continue to
-return this value.
-
-```javascript
-var once = require('once')
-
-function load (cb) {
- cb = once(cb)
- var stream = createStream()
- stream.once('data', cb)
- stream.once('end', function () {
- if (!cb.called) cb(new Error('not found'))
- })
-}
-```
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE
deleted file mode 100644
index 19129e315..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/README.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/README.md
deleted file mode 100644
index 98eab2522..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# wrappy
-
-Callback wrapping utility
-
-## USAGE
-
-```javascript
-var wrappy = require("wrappy")
-
-// var wrapper = wrappy(wrapperFunction)
-
-// make sure a cb is called only once
-// See also: http://npm.im/once for this specific use case
-var once = wrappy(function (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
-})
-
-function printBoo () {
- console.log('boo')
-}
-// has some rando property
-printBoo.iAmBooPrinter = true
-
-var onlyPrintOnce = once(printBoo)
-
-onlyPrintOnce() // prints 'boo'
-onlyPrintOnce() // does nothing
-
-// random property is retained!
-assert.equal(onlyPrintOnce.iAmBooPrinter, true)
-```
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/package.json
deleted file mode 100644
index 8145dc8c4..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/package.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "name": "wrappy",
- "version": "1.0.1",
- "description": "Callback wrapping utility",
- "main": "wrappy.js",
- "directories": {
- "test": "test"
- },
- "dependencies": {},
- "devDependencies": {
- "tap": "^0.4.12"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/npm/wrappy"
- },
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "license": "ISC",
- "bugs": {
- "url": "https://github.com/npm/wrappy/issues"
- },
- "homepage": "https://github.com/npm/wrappy",
- "gitHead": "006a8cbac6b99988315834c207896eed71fd069a",
- "_id": "[email protected]",
- "_shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "_from": "wrappy@>=1.0.0 <2.0.0",
- "_npmVersion": "2.0.0",
- "_nodeVersion": "0.10.31",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
- "tarball": "http://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
- },
- "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js
deleted file mode 100644
index 5ed0fcdfd..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js
+++ /dev/null
@@ -1,51 +0,0 @@
-var test = require('tap').test
-var wrappy = require('../wrappy.js')
-
-test('basic', function (t) {
- function onceifier (cb) {
- var called = false
- return function () {
- if (called) return
- called = true
- return cb.apply(this, arguments)
- }
- }
- onceifier.iAmOnce = {}
- var once = wrappy(onceifier)
- t.equal(once.iAmOnce, onceifier.iAmOnce)
-
- var called = 0
- function boo () {
- t.equal(called, 0)
- called++
- }
- // has some rando property
- boo.iAmBoo = true
-
- var onlyPrintOnce = once(boo)
-
- onlyPrintOnce() // prints 'boo'
- onlyPrintOnce() // does nothing
- t.equal(called, 1)
-
- // random property is retained!
- t.equal(onlyPrintOnce.iAmBoo, true)
-
- var logs = []
- var logwrap = wrappy(function (msg, cb) {
- logs.push(msg + ' wrapping cb')
- return function () {
- logs.push(msg + ' before cb')
- var ret = cb.apply(this, arguments)
- logs.push(msg + ' after cb')
- }
- })
-
- var c = logwrap('foo', function () {
- t.same(logs, [ 'foo wrapping cb', 'foo before cb' ])
- })
- c()
- t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ])
-
- t.end()
-})
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js
deleted file mode 100644
index bb7e7d6fc..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// Returns a wrapper function that returns a wrapped callback
-// The wrapper function should do some stuff, and return a
-// presumably different callback function.
-// This makes sure that own properties are retained, so that
-// decorations and such are not lost along the way.
-module.exports = wrappy
-function wrappy (fn, cb) {
- if (fn && cb) return wrappy(fn)(cb)
-
- if (typeof fn !== 'function')
- throw new TypeError('need wrapper function')
-
- Object.keys(fn).forEach(function (k) {
- wrapper[k] = fn[k]
- })
-
- return wrapper
-
- function wrapper() {
- var args = new Array(arguments.length)
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i]
- }
- var ret = fn.apply(this, args)
- var cb = args[args.length-1]
- if (typeof ret === 'function' && ret !== cb) {
- Object.keys(cb).forEach(function (k) {
- ret[k] = cb[k]
- })
- }
- return ret
- }
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/once.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/once.js
deleted file mode 100644
index 2e1e721bf..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/once.js
+++ /dev/null
@@ -1,21 +0,0 @@
-var wrappy = require('wrappy')
-module.exports = wrappy(once)
-
-once.proto = once(function () {
- Object.defineProperty(Function.prototype, 'once', {
- value: function () {
- return once(this)
- },
- configurable: true
- })
-})
-
-function once (fn) {
- var f = function () {
- if (f.called) return f.value
- f.called = true
- return f.value = fn.apply(this, arguments)
- }
- f.called = false
- return f
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/package.json
deleted file mode 100644
index 72f138862..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/once/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "name": "once",
- "version": "1.3.3",
- "description": "Run a function exactly one time",
- "main": "once.js",
- "directories": {
- "test": "test"
- },
- "dependencies": {
- "wrappy": "1"
- },
- "devDependencies": {
- "tap": "^1.2.0"
- },
- "scripts": {
- "test": "tap test/*.js"
- },
- "files": [
- "once.js"
- ],
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/once.git"
- },
- "keywords": [
- "once",
- "function",
- "one",
- "single"
- ],
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "license": "ISC",
- "gitHead": "2ad558657e17fafd24803217ba854762842e4178",
- "bugs": {
- "url": "https://github.com/isaacs/once/issues"
- },
- "homepage": "https://github.com/isaacs/once#readme",
- "_id": "[email protected]",
- "_shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
- "_from": "once@>=1.3.0 <2.0.0",
- "_npmVersion": "3.3.2",
- "_nodeVersion": "4.0.0",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
- "tarball": "http://registry.npmjs.org/once/-/once-1.3.3.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "_resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/index.js
deleted file mode 100644
index 19f103f90..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-'use strict';
-
-function posix(path) {
- return path.charAt(0) === '/';
-};
-
-function win32(path) {
- // https://github.com/joyent/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
- var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
- var result = splitDeviceRe.exec(path);
- var device = result[1] || '';
- var isUnc = !!device && device.charAt(1) !== ':';
-
- // UNC paths are always absolute
- return !!result[2] || isUnc;
-};
-
-module.exports = process.platform === 'win32' ? win32 : posix;
-module.exports.posix = posix;
-module.exports.win32 = win32;
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/license b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/package.json
deleted file mode 100644
index 301658ffd..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/package.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "name": "path-is-absolute",
- "version": "1.0.0",
- "description": "Node.js 0.12 path.isAbsolute() ponyfill",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/path-is-absolute"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "path",
- "paths",
- "file",
- "dir",
- "absolute",
- "isabsolute",
- "is-absolute",
- "built-in",
- "util",
- "utils",
- "core",
- "ponyfill",
- "polyfill",
- "shim",
- "is",
- "detect",
- "check"
- ],
- "gitHead": "7a76a0c9f2263192beedbe0a820e4d0baee5b7a1",
- "bugs": {
- "url": "https://github.com/sindresorhus/path-is-absolute/issues"
- },
- "homepage": "https://github.com/sindresorhus/path-is-absolute",
- "_id": "[email protected]",
- "_shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912",
- "_from": "path-is-absolute@>=1.0.0 <2.0.0",
- "_npmVersion": "2.5.1",
- "_nodeVersion": "0.12.0",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "263dada66ab3f2fb10bf7f9d24dd8f3e570ef912",
- "tarball": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/readme.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/readme.md
deleted file mode 100644
index cdf94f430..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/node_modules/path-is-absolute/readme.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# path-is-absolute [![Build Status](https://travis-ci.org/sindresorhus/path-is-absolute.svg?branch=master)](https://travis-ci.org/sindresorhus/path-is-absolute)
-
-> Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) ponyfill
-
-> Ponyfill: A polyfill that doesn't overwrite the native method
-
-
-## Install
-
-```
-$ npm install --save path-is-absolute
-```
-
-
-## Usage
-
-```js
-var pathIsAbsolute = require('path-is-absolute');
-
-// Linux
-pathIsAbsolute('/home/foo');
-//=> true
-
-// Windows
-pathIsAbsolute('C:/Users/');
-//=> true
-
-// Any OS
-pathIsAbsolute.posix('/home/foo');
-//=> true
-```
-
-
-## API
-
-See the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isabsolute_path).
-
-### pathIsAbsolute(path)
-
-### pathIsAbsolute.posix(path)
-
-The Posix specific version.
-
-### pathIsAbsolute.win32(path)
-
-The Windows specific version.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/package.json
deleted file mode 100644
index 2512d5c64..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/package.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "[email protected]",
- "url": "http://blog.izs.me/"
- },
- "name": "glob",
- "description": "a little globber",
- "version": "6.0.3",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/node-glob.git"
- },
- "main": "glob.js",
- "files": [
- "glob.js",
- "sync.js",
- "common.js"
- ],
- "engines": {
- "node": "*"
- },
- "dependencies": {
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "2 || 3",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "devDependencies": {
- "mkdirp": "0",
- "rimraf": "^2.2.8",
- "tap": "^1.1.4",
- "tick": "0.0.6"
- },
- "scripts": {
- "prepublish": "npm run benchclean",
- "profclean": "rm -f v8.log profile.txt",
- "test": "tap test/*.js --cov",
- "test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js",
- "bench": "bash benchmark.sh",
- "prof": "bash prof.sh && cat profile.txt",
- "benchclean": "node benchclean.js"
- },
- "license": "ISC",
- "gitHead": "dd5b255ff9b161d23f81c4d0a381ca46a97d049a",
- "bugs": {
- "url": "https://github.com/isaacs/node-glob/issues"
- },
- "homepage": "https://github.com/isaacs/node-glob#readme",
- "_id": "[email protected]",
- "_shasum": "5f02cd89587ce58b154ae0855de02a2e63986fca",
- "_from": "glob@>=6.0.1 <7.0.0",
- "_npmVersion": "3.3.2",
- "_nodeVersion": "4.0.0",
- "_npmUser": {
- "name": "isaacs",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "5f02cd89587ce58b154ae0855de02a2e63986fca",
- "tarball": "http://registry.npmjs.org/glob/-/glob-6.0.3.tgz"
- },
- "maintainers": [
- {
- "name": "isaacs",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/glob/-/glob-6.0.3.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/sync.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/sync.js
deleted file mode 100644
index 09883d2ce..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/glob/sync.js
+++ /dev/null
@@ -1,460 +0,0 @@
-module.exports = globSync
-globSync.GlobSync = GlobSync
-
-var fs = require('fs')
-var minimatch = require('minimatch')
-var Minimatch = minimatch.Minimatch
-var Glob = require('./glob.js').Glob
-var util = require('util')
-var path = require('path')
-var assert = require('assert')
-var isAbsolute = require('path-is-absolute')
-var common = require('./common.js')
-var alphasort = common.alphasort
-var alphasorti = common.alphasorti
-var setopts = common.setopts
-var ownProp = common.ownProp
-var childrenIgnored = common.childrenIgnored
-
-function globSync (pattern, options) {
- if (typeof options === 'function' || arguments.length === 3)
- throw new TypeError('callback provided to sync glob\n'+
- 'See: https://github.com/isaacs/node-glob/issues/167')
-
- return new GlobSync(pattern, options).found
-}
-
-function GlobSync (pattern, options) {
- if (!pattern)
- throw new Error('must provide pattern')
-
- if (typeof options === 'function' || arguments.length === 3)
- throw new TypeError('callback provided to sync glob\n'+
- 'See: https://github.com/isaacs/node-glob/issues/167')
-
- if (!(this instanceof GlobSync))
- return new GlobSync(pattern, options)
-
- setopts(this, pattern, options)
-
- if (this.noprocess)
- return this
-
- var n = this.minimatch.set.length
- this.matches = new Array(n)
- for (var i = 0; i < n; i ++) {
- this._process(this.minimatch.set[i], i, false)
- }
- this._finish()
-}
-
-GlobSync.prototype._finish = function () {
- assert(this instanceof GlobSync)
- if (this.realpath) {
- var self = this
- this.matches.forEach(function (matchset, index) {
- var set = self.matches[index] = Object.create(null)
- for (var p in matchset) {
- try {
- p = self._makeAbs(p)
- var real = fs.realpathSync(p, self.realpathCache)
- set[real] = true
- } catch (er) {
- if (er.syscall === 'stat')
- set[self._makeAbs(p)] = true
- else
- throw er
- }
- }
- })
- }
- common.finish(this)
-}
-
-
-GlobSync.prototype._process = function (pattern, index, inGlobStar) {
- assert(this instanceof GlobSync)
-
- // Get the first [n] parts of pattern that are all strings.
- var n = 0
- while (typeof pattern[n] === 'string') {
- n ++
- }
- // now n is the index of the first one that is *not* a string.
-
- // See if there's anything else
- var prefix
- switch (n) {
- // if not, then this is rather simple
- case pattern.length:
- this._processSimple(pattern.join('/'), index)
- return
-
- case 0:
- // pattern *starts* with some non-trivial item.
- // going to readdir(cwd), but not include the prefix in matches.
- prefix = null
- break
-
- default:
- // pattern has some string bits in the front.
- // whatever it starts with, whether that's 'absolute' like /foo/bar,
- // or 'relative' like '../baz'
- prefix = pattern.slice(0, n).join('/')
- break
- }
-
- var remain = pattern.slice(n)
-
- // get the list of entries.
- var read
- if (prefix === null)
- read = '.'
- else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
- if (!prefix || !isAbsolute(prefix))
- prefix = '/' + prefix
- read = prefix
- } else
- read = prefix
-
- var abs = this._makeAbs(read)
-
- //if ignored, skip processing
- if (childrenIgnored(this, read))
- return
-
- var isGlobStar = remain[0] === minimatch.GLOBSTAR
- if (isGlobStar)
- this._processGlobStar(prefix, read, abs, remain, index, inGlobStar)
- else
- this._processReaddir(prefix, read, abs, remain, index, inGlobStar)
-}
-
-
-GlobSync.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar) {
- var entries = this._readdir(abs, inGlobStar)
-
- // if the abs isn't a dir, then nothing can match!
- if (!entries)
- return
-
- // It will only match dot entries if it starts with a dot, or if
- // dot is set. Stuff like @(.foo|.bar) isn't allowed.
- var pn = remain[0]
- var negate = !!this.minimatch.negate
- var rawGlob = pn._glob
- var dotOk = this.dot || rawGlob.charAt(0) === '.'
-
- var matchedEntries = []
- for (var i = 0; i < entries.length; i++) {
- var e = entries[i]
- if (e.charAt(0) !== '.' || dotOk) {
- var m
- if (negate && !prefix) {
- m = !e.match(pn)
- } else {
- m = e.match(pn)
- }
- if (m)
- matchedEntries.push(e)
- }
- }
-
- var len = matchedEntries.length
- // If there are no matched entries, then nothing matches.
- if (len === 0)
- return
-
- // if this is the last remaining pattern bit, then no need for
- // an additional stat *unless* the user has specified mark or
- // stat explicitly. We know they exist, since readdir returned
- // them.
-
- if (remain.length === 1 && !this.mark && !this.stat) {
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- if (prefix) {
- if (prefix.slice(-1) !== '/')
- e = prefix + '/' + e
- else
- e = prefix + e
- }
-
- if (e.charAt(0) === '/' && !this.nomount) {
- e = path.join(this.root, e)
- }
- this.matches[index][e] = true
- }
- // This was the last one, and no stats were needed
- return
- }
-
- // now test all matched entries as stand-ins for that part
- // of the pattern.
- remain.shift()
- for (var i = 0; i < len; i ++) {
- var e = matchedEntries[i]
- var newPattern
- if (prefix)
- newPattern = [prefix, e]
- else
- newPattern = [e]
- this._process(newPattern.concat(remain), index, inGlobStar)
- }
-}
-
-
-GlobSync.prototype._emitMatch = function (index, e) {
- var abs = this._makeAbs(e)
- if (this.mark)
- e = this._mark(e)
-
- if (this.matches[index][e])
- return
-
- if (this.nodir) {
- var c = this.cache[this._makeAbs(e)]
- if (c === 'DIR' || Array.isArray(c))
- return
- }
-
- this.matches[index][e] = true
- if (this.stat)
- this._stat(e)
-}
-
-
-GlobSync.prototype._readdirInGlobStar = function (abs) {
- // follow all symlinked directories forever
- // just proceed as if this is a non-globstar situation
- if (this.follow)
- return this._readdir(abs, false)
-
- var entries
- var lstat
- var stat
- try {
- lstat = fs.lstatSync(abs)
- } catch (er) {
- // lstat failed, doesn't exist
- return null
- }
-
- var isSym = lstat.isSymbolicLink()
- this.symlinks[abs] = isSym
-
- // If it's not a symlink or a dir, then it's definitely a regular file.
- // don't bother doing a readdir in that case.
- if (!isSym && !lstat.isDirectory())
- this.cache[abs] = 'FILE'
- else
- entries = this._readdir(abs, false)
-
- return entries
-}
-
-GlobSync.prototype._readdir = function (abs, inGlobStar) {
- var entries
-
- if (inGlobStar && !ownProp(this.symlinks, abs))
- return this._readdirInGlobStar(abs)
-
- if (ownProp(this.cache, abs)) {
- var c = this.cache[abs]
- if (!c || c === 'FILE')
- return null
-
- if (Array.isArray(c))
- return c
- }
-
- try {
- return this._readdirEntries(abs, fs.readdirSync(abs))
- } catch (er) {
- this._readdirError(abs, er)
- return null
- }
-}
-
-GlobSync.prototype._readdirEntries = function (abs, entries) {
- // if we haven't asked to stat everything, then just
- // assume that everything in there exists, so we can avoid
- // having to stat it a second time.
- if (!this.mark && !this.stat) {
- for (var i = 0; i < entries.length; i ++) {
- var e = entries[i]
- if (abs === '/')
- e = abs + e
- else
- e = abs + '/' + e
- this.cache[e] = true
- }
- }
-
- this.cache[abs] = entries
-
- // mark and cache dir-ness
- return entries
-}
-
-GlobSync.prototype._readdirError = function (f, er) {
- // handle errors, and cache the information
- switch (er.code) {
- case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
- case 'ENOTDIR': // totally normal. means it *does* exist.
- this.cache[this._makeAbs(f)] = 'FILE'
- break
-
- case 'ENOENT': // not terribly unusual
- case 'ELOOP':
- case 'ENAMETOOLONG':
- case 'UNKNOWN':
- this.cache[this._makeAbs(f)] = false
- break
-
- default: // some unusual error. Treat as failure.
- this.cache[this._makeAbs(f)] = false
- if (this.strict)
- throw er
- if (!this.silent)
- console.error('glob error', er)
- break
- }
-}
-
-GlobSync.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar) {
-
- var entries = this._readdir(abs, inGlobStar)
-
- // no entries means not a dir, so it can never have matches
- // foo.txt/** doesn't match foo.txt
- if (!entries)
- return
-
- // test without the globstar, and with every child both below
- // and replacing the globstar.
- var remainWithoutGlobStar = remain.slice(1)
- var gspref = prefix ? [ prefix ] : []
- var noGlobStar = gspref.concat(remainWithoutGlobStar)
-
- // the noGlobStar pattern exits the inGlobStar state
- this._process(noGlobStar, index, false)
-
- var len = entries.length
- var isSym = this.symlinks[abs]
-
- // If it's a symlink, and we're in a globstar, then stop
- if (isSym && inGlobStar)
- return
-
- for (var i = 0; i < len; i++) {
- var e = entries[i]
- if (e.charAt(0) === '.' && !this.dot)
- continue
-
- // these two cases enter the inGlobStar state
- var instead = gspref.concat(entries[i], remainWithoutGlobStar)
- this._process(instead, index, true)
-
- var below = gspref.concat(entries[i], remain)
- this._process(below, index, true)
- }
-}
-
-GlobSync.prototype._processSimple = function (prefix, index) {
- // XXX review this. Shouldn't it be doing the mounting etc
- // before doing stat? kinda weird?
- var exists = this._stat(prefix)
-
- if (!this.matches[index])
- this.matches[index] = Object.create(null)
-
- // If it doesn't exist, then just mark the lack of results
- if (!exists)
- return
-
- if (prefix && isAbsolute(prefix) && !this.nomount) {
- var trail = /[\/\\]$/.test(prefix)
- if (prefix.charAt(0) === '/') {
- prefix = path.join(this.root, prefix)
- } else {
- prefix = path.resolve(this.root, prefix)
- if (trail)
- prefix += '/'
- }
- }
-
- if (process.platform === 'win32')
- prefix = prefix.replace(/\\/g, '/')
-
- // Mark this as a match
- this.matches[index][prefix] = true
-}
-
-// Returns either 'DIR', 'FILE', or false
-GlobSync.prototype._stat = function (f) {
- var abs = this._makeAbs(f)
- var needDir = f.slice(-1) === '/'
-
- if (f.length > this.maxLength)
- return false
-
- if (!this.stat && ownProp(this.cache, abs)) {
- var c = this.cache[abs]
-
- if (Array.isArray(c))
- c = 'DIR'
-
- // It exists, but maybe not how we need it
- if (!needDir || c === 'DIR')
- return c
-
- if (needDir && c === 'FILE')
- return false
-
- // otherwise we have to stat, because maybe c=true
- // if we know it exists, but not what it is.
- }
-
- var exists
- var stat = this.statCache[abs]
- if (!stat) {
- var lstat
- try {
- lstat = fs.lstatSync(abs)
- } catch (er) {
- return false
- }
-
- if (lstat.isSymbolicLink()) {
- try {
- stat = fs.statSync(abs)
- } catch (er) {
- stat = lstat
- }
- } else {
- stat = lstat
- }
- }
-
- this.statCache[abs] = stat
-
- var c = stat.isDirectory() ? 'DIR' : 'FILE'
- this.cache[abs] = this.cache[abs] || c
-
- if (needDir && c !== 'DIR')
- return false
-
- return c
-}
-
-GlobSync.prototype._mark = function (p) {
- return common.mark(this, p)
-}
-
-GlobSync.prototype._makeAbs = function (f) {
- return common.makeAbs(this, f)
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/index.js b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/index.js
deleted file mode 100644
index c097d8758..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/index.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/* eslint-disable no-unused-vars */
-'use strict';
-var hasOwnProperty = Object.prototype.hasOwnProperty;
-var propIsEnumerable = Object.prototype.propertyIsEnumerable;
-
-function toObject(val) {
- if (val === null || val === undefined) {
- throw new TypeError('Object.assign cannot be called with null or undefined');
- }
-
- return Object(val);
-}
-
-module.exports = Object.assign || function (target, source) {
- var from;
- var to = toObject(target);
- var symbols;
-
- for (var s = 1; s < arguments.length; s++) {
- from = Object(arguments[s]);
-
- for (var key in from) {
- if (hasOwnProperty.call(from, key)) {
- to[key] = from[key];
- }
- }
-
- if (Object.getOwnPropertySymbols) {
- symbols = Object.getOwnPropertySymbols(from);
- for (var i = 0; i < symbols.length; i++) {
- if (propIsEnumerable.call(from, symbols[i])) {
- to[symbols[i]] = from[symbols[i]];
- }
- }
- }
- }
-
- return to;
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/license b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/package.json
deleted file mode 100644
index 81d9866c4..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "name": "object-assign",
- "version": "4.0.1",
- "description": "ES6 Object.assign() ponyfill",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/object-assign.git"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "http://sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && mocha",
- "bench": "matcha bench.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "object",
- "assign",
- "extend",
- "properties",
- "es6",
- "ecmascript",
- "harmony",
- "ponyfill",
- "prollyfill",
- "polyfill",
- "shim",
- "browser"
- ],
- "devDependencies": {
- "lodash": "^3.10.1",
- "matcha": "^0.6.0",
- "mocha": "*",
- "xo": "*"
- },
- "xo": {
- "envs": [
- "node",
- "mocha"
- ]
- },
- "gitHead": "b0c40d37cbc43e89ad3326a9bad4c6b3133ba6d3",
- "bugs": {
- "url": "https://github.com/sindresorhus/object-assign/issues"
- },
- "homepage": "https://github.com/sindresorhus/object-assign#readme",
- "_id": "[email protected]",
- "_shasum": "99504456c3598b5cad4fc59c26e8a9bb107fe0bd",
- "_from": "object-assign@>=4.0.1 <5.0.0",
- "_npmVersion": "2.13.3",
- "_nodeVersion": "3.0.0",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "99504456c3598b5cad4fc59c26e8a9bb107fe0bd",
- "tarball": "http://registry.npmjs.org/object-assign/-/object-assign-4.0.1.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/readme.md b/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/readme.md
deleted file mode 100644
index aee51c12b..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/node_modules/object-assign/readme.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# object-assign [![Build Status](https://travis-ci.org/sindresorhus/object-assign.svg?branch=master)](https://travis-ci.org/sindresorhus/object-assign)
-
-> ES6 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) ponyfill
-
-> Ponyfill: A polyfill that doesn't overwrite the native method
-
-
-## Install
-
-```sh
-$ npm install --save object-assign
-```
-
-
-## Usage
-
-```js
-var objectAssign = require('object-assign');
-
-objectAssign({foo: 0}, {bar: 1});
-//=> {foo: 0, bar: 1}
-
-// multiple sources
-objectAssign({foo: 0}, {bar: 1}, {baz: 2});
-//=> {foo: 0, bar: 1, baz: 2}
-
-// overwrites equal keys
-objectAssign({foo: 0}, {foo: 1}, {foo: 2});
-//=> {foo: 2}
-
-// ignores null and undefined sources
-objectAssign({foo: 0}, null, {bar: 1}, undefined);
-//=> {foo: 0, bar: 1}
-```
-
-
-## API
-
-### objectAssign(target, source, [source, ...])
-
-Assigns enumerable own properties of `source` objects to the `target` object and returns the `target` object. Additional `source` objects will overwrite previous ones.
-
-
-## Resources
-
-- [ES6 spec - Object.assign](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign)
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/package.json b/data/node-webkit/node_modules/trash/node_modules/globby/package.json
deleted file mode 100644
index 641afeeca..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/package.json
+++ /dev/null
@@ -1,105 +0,0 @@
-{
- "name": "globby",
- "version": "4.0.0",
- "description": "Extends `glob` with support for multiple patterns and exposes a Promise API",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/globby"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "bench": "npm update globby glob-stream && matcha bench.js",
- "test": "xo && mocha"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "all",
- "array",
- "directories",
- "dirs",
- "expand",
- "files",
- "filesystem",
- "filter",
- "find",
- "fnmatch",
- "folders",
- "fs",
- "glob",
- "globbing",
- "globs",
- "gulpfriendly",
- "match",
- "matcher",
- "minimatch",
- "multi",
- "multiple",
- "paths",
- "pattern",
- "patterns",
- "traverse",
- "util",
- "utility",
- "wildcard",
- "wildcards",
- "promise"
- ],
- "dependencies": {
- "array-union": "^1.0.1",
- "arrify": "^1.0.0",
- "glob": "^6.0.1",
- "object-assign": "^4.0.1",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- },
- "devDependencies": {
- "glob-stream": "git+https://github.com/wearefractal/glob-stream#master",
- "globby": "git+https://github.com/sindresorhus/globby#master",
- "matcha": "^0.6.0",
- "mocha": "*",
- "rimraf": "^2.2.8",
- "xo": "*"
- },
- "xo": {
- "envs": [
- "node",
- "mocha"
- ]
- },
- "gitHead": "70389b06d4633868ea016ce38956d0a86aa90a23",
- "bugs": {
- "url": "https://github.com/sindresorhus/globby/issues"
- },
- "homepage": "https://github.com/sindresorhus/globby",
- "_id": "[email protected]",
- "_shasum": "36ff06c5a9dc1dbc201f700074992882857e9817",
- "_from": "globby@>=4.0.0 <5.0.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.1",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "36ff06c5a9dc1dbc201f700074992882857e9817",
- "tarball": "http://registry.npmjs.org/globby/-/globby-4.0.0.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/globby/-/globby-4.0.0.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/globby/readme.md b/data/node-webkit/node_modules/trash/node_modules/globby/readme.md
deleted file mode 100644
index e0881d54f..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/globby/readme.md
+++ /dev/null
@@ -1,75 +0,0 @@
-# globby [![Build Status](https://travis-ci.org/sindresorhus/globby.svg?branch=master)](https://travis-ci.org/sindresorhus/globby)
-
-> Extends [glob](https://github.com/isaacs/node-glob) with support for multiple patterns and exposes a Promise API
-
-
-## Install
-
-```
-$ npm install --save globby
-```
-
-
-## Usage
-
-```
-├── unicorn
-├── cake
-└── rainbow
-```
-
-```js
-const globby = require('globby');
-
-globby(['*', '!cake']).then(paths => {
- console.log(paths);
- //=> ['unicorn', 'rainbow']
-});
-```
-
-
-## API
-
-### globby(patterns, [options])
-
-Returns a promise that resolves to an array of matching paths.
-
-### globby.sync(patterns, [options])
-
-Returns an array of matching paths.
-
-#### patterns
-
-Type: `string`, `array`
-
-See supported `minimatch` [patterns](https://github.com/isaacs/minimatch#usage).
-
-#### options
-
-Type: `object`
-
-See the `node-glob` [options](https://github.com/isaacs/node-glob#options).
-
-
-## Globbing patterns
-
-Just a quick overview.
-
-- `*` matches any number of characters, but not `/`
-- `?` matches a single character, but not `/`
-- `**` matches any number of characters, including `/`, as long as it's the only thing in a path part
-- `{}` allows for a comma-separated list of "or" expressions
-- `!` at the beginning of a pattern will negate the match
-
-[Various patterns and expected matches](https://github.com/sindresorhus/multimatch/blob/master/test.js).
-
-
-## Related
-
-- [multimatch](https://github.com/sindresorhus/multimatch) - Match against a list instead of the filesystem.
-- [glob-stream](https://github.com/wearefractal/glob-stream) - Streaming alternative.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/path-exists/index.js b/data/node-webkit/node_modules/trash/node_modules/path-exists/index.js
deleted file mode 100644
index a7e680a76..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/path-exists/index.js
+++ /dev/null
@@ -1,24 +0,0 @@
-'use strict';
-var fs = require('fs');
-var Promise = require('pinkie-promise');
-
-module.exports = function (fp) {
- var fn = typeof fs.access === 'function' ? fs.access : fs.stat;
-
- return new Promise(function (resolve) {
- fn(fp, function (err) {
- resolve(!err);
- });
- });
-};
-
-module.exports.sync = function (fp) {
- var fn = typeof fs.accessSync === 'function' ? fs.accessSync : fs.statSync;
-
- try {
- fn(fp);
- return true;
- } catch (err) {
- return false;
- }
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/path-exists/license b/data/node-webkit/node_modules/trash/node_modules/path-exists/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/path-exists/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/path-exists/package.json b/data/node-webkit/node_modules/trash/node_modules/path-exists/package.json
deleted file mode 100644
index 3e89f6b39..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/path-exists/package.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "name": "path-exists",
- "version": "2.1.0",
- "description": "Check if a path exists",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/path-exists"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "path",
- "exists",
- "exist",
- "file",
- "filepath",
- "fs",
- "filesystem",
- "file-system",
- "access",
- "stat"
- ],
- "dependencies": {
- "pinkie-promise": "^2.0.0"
- },
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "gitHead": "3af423661e78466764f87c5712263c5d7a1ce5b7",
- "bugs": {
- "url": "https://github.com/sindresorhus/path-exists/issues"
- },
- "homepage": "https://github.com/sindresorhus/path-exists",
- "_id": "[email protected]",
- "_shasum": "0feb6c64f0fc518d9a754dd5efb62c7022761f4b",
- "_from": "path-exists@>=2.0.0 <3.0.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.1",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "0feb6c64f0fc518d9a754dd5efb62c7022761f4b",
- "tarball": "http://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/path-exists/readme.md b/data/node-webkit/node_modules/trash/node_modules/path-exists/readme.md
deleted file mode 100644
index 8fbcd68df..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/path-exists/readme.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# path-exists [![Build Status](https://travis-ci.org/sindresorhus/path-exists.svg?branch=master)](https://travis-ci.org/sindresorhus/path-exists)
-
-> Check if a path exists
-
-Because [`fs.exists()`](https://nodejs.org/api/fs.html#fs_fs_exists_path_callback) is being [deprecated](https://github.com/iojs/io.js/issues/103), but there's still a genuine use-case of being able to check if a path exists for other purposes than doing IO with it.
-
-Never use this before handling a file though:
-
-> In particular, checking if a file exists before opening it is an anti-pattern that leaves you vulnerable to race conditions: another process may remove the file between the calls to `fs.exists()` and `fs.open()`. Just open the file and handle the error when it's not there.
-
-
-## Install
-
-```
-$ npm install --save path-exists
-```
-
-
-## Usage
-
-```js
-// foo.js
-var pathExists = require('path-exists');
-
-pathExists('foo.js').then(function (exists) {
- console.log(exists);
- //=> true
-});
-```
-
-
-## API
-
-### pathExists(path)
-
-Returns a promise that resolves to a boolean of whether the path exists.
-
-### pathExists.sync(path)
-
-Returns a boolean of whether the path exists.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/pify/index.js b/data/node-webkit/node_modules/trash/node_modules/pify/index.js
deleted file mode 100644
index 7c720ebee..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pify/index.js
+++ /dev/null
@@ -1,68 +0,0 @@
-'use strict';
-
-var processFn = function (fn, P, opts) {
- return function () {
- var that = this;
- var args = new Array(arguments.length);
-
- for (var i = 0; i < arguments.length; i++) {
- args[i] = arguments[i];
- }
-
- return new P(function (resolve, reject) {
- args.push(function (err, result) {
- if (err) {
- reject(err);
- } else if (opts.multiArgs) {
- var results = new Array(arguments.length - 1);
-
- for (var i = 1; i < arguments.length; i++) {
- results[i - 1] = arguments[i];
- }
-
- resolve(results);
- } else {
- resolve(result);
- }
- });
-
- fn.apply(that, args);
- });
- };
-};
-
-var pify = module.exports = function (obj, P, opts) {
- if (typeof P !== 'function') {
- opts = P;
- P = Promise;
- }
-
- opts = opts || {};
- opts.exclude = opts.exclude || [/.+Sync$/];
-
- var filter = function (key) {
- var match = function (pattern) {
- return typeof pattern === 'string' ? key === pattern : pattern.test(key);
- };
-
- return opts.include ? opts.include.some(match) : !opts.exclude.some(match);
- };
-
- var ret = typeof obj === 'function' ? function () {
- if (opts.excludeMain) {
- return obj.apply(this, arguments);
- }
-
- return processFn(obj, P, opts).apply(this, arguments);
- } : {};
-
- return Object.keys(obj).reduce(function (ret, key) {
- var x = obj[key];
-
- ret[key] = typeof x === 'function' && filter(key) ? processFn(x, P, opts) : x;
-
- return ret;
- }, ret);
-};
-
-pify.all = pify;
diff --git a/data/node-webkit/node_modules/trash/node_modules/pify/license b/data/node-webkit/node_modules/trash/node_modules/pify/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pify/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/pify/package.json b/data/node-webkit/node_modules/trash/node_modules/pify/package.json
deleted file mode 100644
index 7ec3e1072..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pify/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "name": "pify",
- "version": "2.3.0",
- "description": "Promisify a callback-style function",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/pify"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && ava && npm run optimization-test",
- "optimization-test": "node --allow-natives-syntax optimization-test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "promise",
- "promises",
- "promisify",
- "denodify",
- "denodeify",
- "callback",
- "cb",
- "node",
- "then",
- "thenify",
- "convert",
- "transform",
- "wrap",
- "wrapper",
- "bind",
- "to",
- "async",
- "es2015"
- ],
- "devDependencies": {
- "ava": "*",
- "pinkie-promise": "^1.0.0",
- "v8-natives": "0.0.2",
- "xo": "*"
- },
- "gitHead": "2dd0d8b880e4ebcc5cc33ae126b02647418e4440",
- "bugs": {
- "url": "https://github.com/sindresorhus/pify/issues"
- },
- "homepage": "https://github.com/sindresorhus/pify",
- "_id": "[email protected]",
- "_shasum": "ed141a6ac043a849ea588498e7dca8b15330e90c",
- "_from": "pify@>=2.3.0 <3.0.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.1",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "ed141a6ac043a849ea588498e7dca8b15330e90c",
- "tarball": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/pify/readme.md b/data/node-webkit/node_modules/trash/node_modules/pify/readme.md
deleted file mode 100644
index c79ca8bf6..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pify/readme.md
+++ /dev/null
@@ -1,119 +0,0 @@
-# pify [![Build Status](https://travis-ci.org/sindresorhus/pify.svg?branch=master)](https://travis-ci.org/sindresorhus/pify)
-
-> Promisify a callback-style function
-
-
-## Install
-
-```
-$ npm install --save pify
-```
-
-
-## Usage
-
-```js
-const fs = require('fs');
-const pify = require('pify');
-
-// promisify a single function
-
-pify(fs.readFile)('package.json', 'utf8').then(data => {
- console.log(JSON.parse(data).name);
- //=> 'pify'
-});
-
-// or promisify all methods in a module
-
-pify(fs).readFile('package.json', 'utf8').then(data => {
- console.log(JSON.parse(data).name);
- //=> 'pify'
-});
-```
-
-
-## API
-
-### pify(input, [promiseModule], [options])
-
-Returns a promise wrapped version of the supplied function or module.
-
-#### input
-
-Type: `function`, `object`
-
-Callback-style function or module whose methods you want to promisify.
-
-#### promiseModule
-
-Type: `function`
-
-Custom promise module to use instead of the native one.
-
-Check out [`pinkie-promise`](https://github.com/floatdrop/pinkie-promise) if you need a tiny promise polyfill.
-
-#### options
-
-##### multiArgs
-
-Type: `boolean`
-Default: `false`
-
-By default, the promisified function will only return the second argument from the callback, which works fine for most APIs. This option can be useful for modules like `request` that return multiple arguments. Turning this on will make it return an array of all arguments from the callback, excluding the error argument, instead of just the second argument.
-
-```js
-const request = require('request');
-const pify = require('pify');
-
-pify(request, {multiArgs: true})('https://sindresorhus.com').then(result => {
- const [httpResponse, body] = result;
-});
-```
-
-##### include
-
-Type: `array` of (`string`|`regex`)
-
-Methods in a module to promisify. Remaining methods will be left untouched.
-
-##### exclude
-
-Type: `array` of (`string`|`regex`)
-Default: `[/.+Sync$/]`
-
-Methods in a module **not** to promisify. Methods with names ending with `'Sync'` are excluded by default.
-
-##### excludeMain
-
-Type: `boolean`
-Default: `false`
-
-By default, if given module is a function itself, this function will be promisified. Turn this option on if you want to promisify only methods of the module.
-
-```js
-const pify = require('pify');
-
-function fn() {
- return true;
-}
-
-fn.method = (data, callback) => {
- setImmediate(() => {
- callback(data, null);
- });
-};
-
-// promisify methods but not fn()
-const promiseFn = pify(fn, {excludeMain: true});
-
-if (promiseFn()) {
- promiseFn.method('hi').then(data => {
- console.log(data);
- });
-}
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/index.js b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/index.js
deleted file mode 100644
index cc64b902c..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = global.Promise || require('pinkie');
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/license b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/license
deleted file mode 100644
index 1aeb74fd2..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Vsevolod Strukchinsky <[email protected]> (github.com/floatdrop)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/index.js b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/index.js
deleted file mode 100644
index fb36c2a45..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/index.js
+++ /dev/null
@@ -1,292 +0,0 @@
-'use strict';
-
-var PENDING = 'pending';
-var SETTLED = 'settled';
-var FULFILLED = 'fulfilled';
-var REJECTED = 'rejected';
-var NOOP = function () {};
-var isNode = typeof process !== 'undefined' && typeof process.emit === 'function';
-
-var asyncSetTimer = typeof setImmediate === 'undefined' ? setTimeout : setImmediate;
-var asyncQueue = [];
-var asyncTimer;
-
-function asyncFlush() {
- // run promise callbacks
- for (var i = 0; i < asyncQueue.length; i++) {
- asyncQueue[i][0](asyncQueue[i][1]);
- }
-
- // reset async asyncQueue
- asyncQueue = [];
- asyncTimer = false;
-}
-
-function asyncCall(callback, arg) {
- asyncQueue.push([callback, arg]);
-
- if (!asyncTimer) {
- asyncTimer = true;
- asyncSetTimer(asyncFlush, 0);
- }
-}
-
-function invokeResolver(resolver, promise) {
- function resolvePromise(value) {
- resolve(promise, value);
- }
-
- function rejectPromise(reason) {
- reject(promise, reason);
- }
-
- try {
- resolver(resolvePromise, rejectPromise);
- } catch (e) {
- rejectPromise(e);
- }
-}
-
-function invokeCallback(subscriber) {
- var owner = subscriber.owner;
- var settled = owner._state;
- var value = owner._data;
- var callback = subscriber[settled];
- var promise = subscriber.then;
-
- if (typeof callback === 'function') {
- settled = FULFILLED;
- try {
- value = callback(value);
- } catch (e) {
- reject(promise, e);
- }
- }
-
- if (!handleThenable(promise, value)) {
- if (settled === FULFILLED) {
- resolve(promise, value);
- }
-
- if (settled === REJECTED) {
- reject(promise, value);
- }
- }
-}
-
-function handleThenable(promise, value) {
- var resolved;
-
- try {
- if (promise === value) {
- throw new TypeError('A promises callback cannot return that same promise.');
- }
-
- if (value && (typeof value === 'function' || typeof value === 'object')) {
- // then should be retrieved only once
- var then = value.then;
-
- if (typeof then === 'function') {
- then.call(value, function (val) {
- if (!resolved) {
- resolved = true;
-
- if (value === val) {
- fulfill(promise, val);
- } else {
- resolve(promise, val);
- }
- }
- }, function (reason) {
- if (!resolved) {
- resolved = true;
-
- reject(promise, reason);
- }
- });
-
- return true;
- }
- }
- } catch (e) {
- if (!resolved) {
- reject(promise, e);
- }
-
- return true;
- }
-
- return false;
-}
-
-function resolve(promise, value) {
- if (promise === value || !handleThenable(promise, value)) {
- fulfill(promise, value);
- }
-}
-
-function fulfill(promise, value) {
- if (promise._state === PENDING) {
- promise._state = SETTLED;
- promise._data = value;
-
- asyncCall(publishFulfillment, promise);
- }
-}
-
-function reject(promise, reason) {
- if (promise._state === PENDING) {
- promise._state = SETTLED;
- promise._data = reason;
-
- asyncCall(publishRejection, promise);
- }
-}
-
-function publish(promise) {
- promise._then = promise._then.forEach(invokeCallback);
-}
-
-function publishFulfillment(promise) {
- promise._state = FULFILLED;
- publish(promise);
-}
-
-function publishRejection(promise) {
- promise._state = REJECTED;
- publish(promise);
- if (!promise._handled && isNode) {
- process.emit('unhandledRejection', promise._data, promise);
- }
-}
-
-function notifyRejectionHandled(promise) {
- process.emit('rejectionHandled', promise);
-}
-
-/**
- * @class
- */
-function Promise(resolver) {
- if (typeof resolver !== 'function') {
- throw new TypeError('Promise resolver ' + resolver + ' is not a function');
- }
-
- if (this instanceof Promise === false) {
- throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.');
- }
-
- this._then = [];
-
- invokeResolver(resolver, this);
-}
-
-Promise.prototype = {
- constructor: Promise,
-
- _state: PENDING,
- _then: null,
- _data: undefined,
- _handled: false,
-
- then: function (onFulfillment, onRejection) {
- var subscriber = {
- owner: this,
- then: new this.constructor(NOOP),
- fulfilled: onFulfillment,
- rejected: onRejection
- };
-
- if ((onRejection || onFulfillment) && !this._handled) {
- this._handled = true;
- if (this._state === REJECTED && isNode) {
- asyncCall(notifyRejectionHandled, this);
- }
- }
-
- if (this._state === FULFILLED || this._state === REJECTED) {
- // already resolved, call callback async
- asyncCall(invokeCallback, subscriber);
- } else {
- // subscribe
- this._then.push(subscriber);
- }
-
- return subscriber.then;
- },
-
- catch: function (onRejection) {
- return this.then(null, onRejection);
- }
-};
-
-Promise.all = function (promises) {
- if (!Array.isArray(promises)) {
- throw new TypeError('You must pass an array to Promise.all().');
- }
-
- return new Promise(function (resolve, reject) {
- var results = [];
- var remaining = 0;
-
- function resolver(index) {
- remaining++;
- return function (value) {
- results[index] = value;
- if (!--remaining) {
- resolve(results);
- }
- };
- }
-
- for (var i = 0, promise; i < promises.length; i++) {
- promise = promises[i];
-
- if (promise && typeof promise.then === 'function') {
- promise.then(resolver(i), reject);
- } else {
- results[i] = promise;
- }
- }
-
- if (!remaining) {
- resolve(results);
- }
- });
-};
-
-Promise.race = function (promises) {
- if (!Array.isArray(promises)) {
- throw new TypeError('You must pass an array to Promise.race().');
- }
-
- return new Promise(function (resolve, reject) {
- for (var i = 0, promise; i < promises.length; i++) {
- promise = promises[i];
-
- if (promise && typeof promise.then === 'function') {
- promise.then(resolve, reject);
- } else {
- resolve(promise);
- }
- }
- });
-};
-
-Promise.resolve = function (value) {
- if (value && typeof value === 'object' && value.constructor === Promise) {
- return value;
- }
-
- return new Promise(function (resolve) {
- resolve(value);
- });
-};
-
-Promise.reject = function (reason) {
- return new Promise(function (resolve, reject) {
- reject(reason);
- });
-};
-
-module.exports = Promise;
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/license b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/license
deleted file mode 100644
index 1aeb74fd2..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Vsevolod Strukchinsky <[email protected]> (github.com/floatdrop)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/package.json b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/package.json
deleted file mode 100644
index 96d8da66e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/package.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "name": "pinkie",
- "version": "2.0.1",
- "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/floatdrop/pinkie"
- },
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "[email protected]",
- "url": "github.com/floatdrop"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && nyc mocha",
- "coverage": "nyc report --reporter=text-lcov | coveralls"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "promise",
- "promises",
- "es2015",
- "es6"
- ],
- "devDependencies": {
- "core-assert": "^0.1.1",
- "coveralls": "^2.11.4",
- "mocha": "*",
- "nyc": "^3.2.2",
- "promises-aplus-tests": "*",
- "xo": "^0.10.1"
- },
- "gitHead": "11d969408e6004f50c3b442fe330f2ead7eb3619",
- "bugs": {
- "url": "https://github.com/floatdrop/pinkie/issues"
- },
- "homepage": "https://github.com/floatdrop/pinkie",
- "_id": "[email protected]",
- "_shasum": "4236c86fc29f261c2045bbe81f78cbb2a5e8306c",
- "_from": "pinkie@>=2.0.0 <3.0.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.0",
- "_npmUser": {
- "name": "floatdrop",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "4236c86fc29f261c2045bbe81f78cbb2a5e8306c",
- "tarball": "http://registry.npmjs.org/pinkie/-/pinkie-2.0.1.tgz"
- },
- "maintainers": [
- {
- "name": "floatdrop",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/readme.md b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/readme.md
deleted file mode 100644
index 7e0f95505..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/node_modules/pinkie/readme.md
+++ /dev/null
@@ -1,83 +0,0 @@
-<h1 align="center">
- <br>
- <img width="256" src="media/logo.png" alt="pinkie">
- <br>
- <br>
-</h1>
-
-> Itty bitty little widdle twinkie pinkie [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation
-
-[![Build Status](https://travis-ci.org/floatdrop/pinkie.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie) [![Coverage Status](https://coveralls.io/repos/floatdrop/pinkie/badge.svg?branch=master&service=github)](https://coveralls.io/github/floatdrop/pinkie?branch=master)
-
-There are [tons of Promise implementations](https://github.com/promises-aplus/promises-spec/blob/master/implementations.md#standalone) out there, but all of them focus on browser compatibility and are often bloated with functionality.
-
-This module is an exact Promise specification polyfill (like [native-promise-only](https://github.com/getify/native-promise-only)), but in Node.js land (it should be browserify-able though).
-
-
-## Install
-
-```
-$ npm install --save pinkie
-```
-
-
-## Usage
-
-```js
-var fs = require('fs');
-var Promise = require('pinkie');
-
-new Promise(function (resolve, reject) {
- fs.readFile('foo.json', 'utf8', function (err, data) {
- if (err) {
- reject(err);
- return;
- }
-
- resolve(data);
- });
-});
-//=> Promise
-```
-
-
-### API
-
-`pinkie` exports bare [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation and polyfills [Node.js rejection events](https://nodejs.org/api/process.html#process_event_unhandledrejection). In case you forgot:
-
-#### new Promise(executor)
-
-Returns new instance of `Promise`.
-
-##### executor
-
-*Required*
-Type: `function`
-
-Function with two arguments `resolve` and `reject`. The first argument fulfills the promise, the second argument rejects it.
-
-#### pinkie.all(promises)
-
-Returns a promise that resolves when all of the promises in the `promises` Array argument have resolved.
-
-#### pinkie.race(promises)
-
-Returns a promise that resolves or rejects as soon as one of the promises in the `promises` Array resolves or rejects, with the value or reason from that promise.
-
-#### pinkie.reject(reason)
-
-Returns a Promise object that is rejected with the given `reason`.
-
-#### pinkie.resolve(value)
-
-Returns a Promise object that is resolved with the given `value`. If the `value` is a thenable (i.e. has a then method), the returned promise will "follow" that thenable, adopting its eventual state; otherwise the returned promise will be fulfilled with the `value`.
-
-
-## Related
-
-- [pinkie-promise](https://github.com/floatdrop/pinkie-promise) - Returns the native Promise or this module
-
-
-## License
-
-MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/package.json b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/package.json
deleted file mode 100644
index 2b704fe1a..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/package.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "name": "pinkie-promise",
- "version": "2.0.0",
- "description": "ES2015 Promise ponyfill",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/floatdrop/pinkie-promise"
- },
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "[email protected]",
- "url": "github.com/floatdrop"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "mocha"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "promise",
- "promises",
- "es2015",
- "es6",
- "polyfill",
- "ponyfill"
- ],
- "dependencies": {
- "pinkie": "^2.0.0"
- },
- "devDependencies": {
- "mocha": "*"
- },
- "gitHead": "f90fcae9838bcae7ae1ae4ebc9b29f11e5db4980",
- "bugs": {
- "url": "https://github.com/floatdrop/pinkie-promise/issues"
- },
- "homepage": "https://github.com/floatdrop/pinkie-promise",
- "_id": "[email protected]",
- "_shasum": "4c83538de1f6e660c29e0a13446844f7a7e88259",
- "_from": "pinkie-promise@>=2.0.0 <3.0.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.0",
- "_npmUser": {
- "name": "floatdrop",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "4c83538de1f6e660c29e0a13446844f7a7e88259",
- "tarball": "http://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.0.tgz"
- },
- "maintainers": [
- {
- "name": "floatdrop",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/readme.md b/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/readme.md
deleted file mode 100644
index 78477f429..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/pinkie-promise/readme.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# pinkie-promise [![Build Status](https://travis-ci.org/floatdrop/pinkie-promise.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie-promise)
-
-> [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) ponyfill
-
-Module exports global Promise object (if available) or [`pinkie`](http://github.com/floatdrop/pinkie) Promise polyfill.
-
-## Install
-
-```
-$ npm install --save pinkie-promise
-```
-
-## Usage
-
-```js
-var Promise = require('pinkie-promise');
-
-new Promise(function (resolve) { resolve('unicorns'); });
-//=> Promise { 'unicorns' }
-```
-
-## Related
-
-- [pify](https://github.com/sindresorhus/pify) - Promisify a callback-style function
-
-## License
-
-MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
diff --git a/data/node-webkit/node_modules/trash/node_modules/run-applescript/index.js b/data/node-webkit/node_modules/trash/node_modules/run-applescript/index.js
deleted file mode 100644
index 30bd922ae..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/run-applescript/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-var execFile = require('child_process').execFile;
-var Promise = require('pinkie-promise');
-var pify = require('pify');
-
-module.exports = function (str) {
- if (process.platform !== 'darwin') {
- return Promise.reject(new Error('Only OS X systems are supported'));
- }
-
- return pify(execFile, Promise)('osascript', ['-e', str])
- .then(function (stdout) {
- return stdout.trim();
- });
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/run-applescript/license b/data/node-webkit/node_modules/trash/node_modules/run-applescript/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/run-applescript/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/run-applescript/package.json b/data/node-webkit/node_modules/trash/node_modules/run-applescript/package.json
deleted file mode 100644
index abf543799..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/run-applescript/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "name": "run-applescript",
- "version": "2.1.0",
- "description": "Run AppleScript and get the result",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/run-applescript"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "osx",
- "mac",
- "applescript",
- "osascript",
- "run",
- "execute"
- ],
- "dependencies": {
- "pify": "^2.2.0",
- "pinkie-promise": "^2.0.0"
- },
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "xo": {
- "ignores": [
- "test.js"
- ]
- },
- "gitHead": "0c6d00faf12ddae6b7205753d36a0f22d73639e9",
- "bugs": {
- "url": "https://github.com/sindresorhus/run-applescript/issues"
- },
- "homepage": "https://github.com/sindresorhus/run-applescript",
- "_id": "[email protected]",
- "_shasum": "3bff2ccf95b6ceacb49723e550f00371d618510d",
- "_from": "run-applescript@>=2.0.0 <3.0.0",
- "_npmVersion": "2.14.7",
- "_nodeVersion": "4.2.1",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "3bff2ccf95b6ceacb49723e550f00371d618510d",
- "tarball": "http://registry.npmjs.org/run-applescript/-/run-applescript-2.1.0.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-2.1.0.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/run-applescript/readme.md b/data/node-webkit/node_modules/trash/node_modules/run-applescript/readme.md
deleted file mode 100644
index c88852b62..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/run-applescript/readme.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# run-applescript [![Build Status](https://travis-ci.org/sindresorhus/run-applescript.svg?branch=master)](https://travis-ci.org/sindresorhus/run-applescript)
-
-> Run AppleScript and get the result
-
-
-## Install
-
-```
-$ npm install --save run-applescript
-```
-
-
-## Usage
-
-```js
-const runApplescript = require('run-applescript');
-
-runApplescript('return "unicorn"').then(result => {
- console.log(result);
- //=> 'unicorn'
-});
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/.npmignore b/data/node-webkit/node_modules/trash/node_modules/uuid/.npmignore
deleted file mode 100644
index fd4f2b066..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules
-.DS_Store
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/.travis.yml b/data/node-webkit/node_modules/trash/node_modules/uuid/.travis.yml
deleted file mode 100644
index 9400c1188..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/.travis.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-language: node_js
-node_js:
- - "0.6"
- - "0.8"
- - "0.10"
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/LICENSE.md b/data/node-webkit/node_modules/trash/node_modules/uuid/LICENSE.md
deleted file mode 100644
index f039427fa..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/LICENSE.md
+++ /dev/null
@@ -1,2 +0,0 @@
-Copyright (c) 2010-2012 Robert Kieffer
-MIT License - http://opensource.org/licenses/mit-license.php
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/README.md b/data/node-webkit/node_modules/trash/node_modules/uuid/README.md
deleted file mode 100644
index 0965cbb34..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/README.md
+++ /dev/null
@@ -1,205 +0,0 @@
-# uuid [![Build Status](https://secure.travis-ci.org/defunctzombie/node-uuid.png?branch=master)](http://travis-ci.org/defunctzombie/node-uuid) #
-
-[![browser support](https://ci.testling.com/defunctzombie/node-uuid.png)](https://ci.testling.com/defunctzombie/node-uuid)
-
-Simple, fast generation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDS.
-
-Features:
-
-* Generate RFC4122 version 1 or version 4 UUIDs
-* Runs in node.js and all browsers.
-* Cryptographically strong random # generation on supporting platforms
-* 1185 bytes minified and gzip'ed (Want something smaller? Check this [crazy shit](https://gist.github.com/982883) out! )
-* [Annotated source code](http://broofa.github.com/node-uuid/docs/uuid.html)
-
-## Getting Started
-
-Install it in your browser:
-
-```html
-<script src="uuid.js"></script>
-```
-
-Or in node.js:
-
-```
-npm install uuid
-```
-
-```javascript
-var uuid = require('uuid');
-
-// Generate a v1 (time-based) id
-uuid.v1(); // -> '6c84fb90-12c4-11e1-840d-7b25c5ee775a'
-
-// Generate a v4 (random) id
-uuid.v4(); // -> '110ec58a-a0f2-4ac4-8393-c866d813b8d1'
-```
-
-## API
-
-### uuid.v1([`options` [, `buffer` [, `offset`]]])
-
-Generate and return a RFC4122 v1 (timestamp-based) UUID.
-
-* `options` - (Object) Optional uuid state to apply. Properties may include:
-
- * `node` - (Array) Node id as Array of 6 bytes (per 4.1.6). Default: Randomly generated ID. See note 1.
- * `clockseq` - (Number between 0 - 0x3fff) RFC clock sequence. Default: An internally maintained clockseq is used.
- * `msecs` - (Number | Date) Time in milliseconds since unix Epoch. Default: The current time is used.
- * `nsecs` - (Number between 0-9999) additional time, in 100-nanosecond units. Ignored if `msecs` is unspecified. Default: internal uuid counter is used, as per 4.2.1.2.
-
-* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.
-* `offset` - (Number) Starting index in `buffer` at which to begin writing.
-
-Returns `buffer`, if specified, otherwise the string form of the UUID
-
-Notes:
-
-1. The randomly generated node id is only guaranteed to stay constant for the lifetime of the current JS runtime. (Future versions of this module may use persistent storage mechanisms to extend this guarantee.)
-
-Example: Generate string UUID with fully-specified options
-
-```javascript
-uuid.v1({
- node: [0x01, 0x23, 0x45, 0x67, 0x89, 0xab],
- clockseq: 0x1234,
- msecs: new Date('2011-11-01').getTime(),
- nsecs: 5678
-}); // -> "710b962e-041c-11e1-9234-0123456789ab"
-```
-
-Example: In-place generation of two binary IDs
-
-```javascript
-// Generate two ids in an array
-var arr = new Array(32); // -> []
-uuid.v1(null, arr, 0); // -> [02 a2 ce 90 14 32 11 e1 85 58 0b 48 8e 4f c1 15]
-uuid.v1(null, arr, 16); // -> [02 a2 ce 90 14 32 11 e1 85 58 0b 48 8e 4f c1 15 02 a3 1c b0 14 32 11 e1 85 58 0b 48 8e 4f c1 15]
-
-// Optionally use uuid.unparse() to get stringify the ids
-uuid.unparse(buffer); // -> '02a2ce90-1432-11e1-8558-0b488e4fc115'
-uuid.unparse(buffer, 16) // -> '02a31cb0-1432-11e1-8558-0b488e4fc115'
-```
-
-### uuid.v4([`options` [, `buffer` [, `offset`]]])
-
-Generate and return a RFC4122 v4 UUID.
-
-* `options` - (Object) Optional uuid state to apply. Properties may include:
-
- * `random` - (Number[16]) Array of 16 numbers (0-255) to use in place of randomly generated values
- * `rng` - (Function) Random # generator to use. Set to one of the built-in generators - `uuid.mathRNG` (all platforms), `uuid.nodeRNG` (node.js only), `uuid.whatwgRNG` (WebKit only) - or a custom function that returns an array[16] of byte values.
-
-* `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written.
-* `offset` - (Number) Starting index in `buffer` at which to begin writing.
-
-Returns `buffer`, if specified, otherwise the string form of the UUID
-
-Example: Generate string UUID with fully-specified options
-
-```javascript
-uuid.v4({
- random: [
- 0x10, 0x91, 0x56, 0xbe, 0xc4, 0xfb, 0xc1, 0xea,
- 0x71, 0xb4, 0xef, 0xe1, 0x67, 0x1c, 0x58, 0x36
- ]
-});
-// -> "109156be-c4fb-41ea-b1b4-efe1671c5836"
-```
-
-Example: Generate two IDs in a single buffer
-
-```javascript
-var buffer = new Array(32); // (or 'new Buffer' in node.js)
-uuid.v4(null, buffer, 0);
-uuid.v4(null, buffer, 16);
-```
-
-### uuid.parse(id[, buffer[, offset]])
-### uuid.unparse(buffer[, offset])
-
-Parse and unparse UUIDs
-
- * `id` - (String) UUID(-like) string
- * `buffer` - (Array | Buffer) Array or buffer where UUID bytes are to be written. Default: A new Array or Buffer is used
- * `offset` - (Number) Starting index in `buffer` at which to begin writing. Default: 0
-
-Example parsing and unparsing a UUID string
-
-```javascript
-var bytes = uuid.parse('797ff043-11eb-11e1-80d6-510998755d10'); // -> <Buffer 79 7f f0 43 11 eb 11 e1 80 d6 51 09 98 75 5d 10>
-var string = uuid.unparse(bytes); // -> '797ff043-11eb-11e1-80d6-510998755d10'
-```
-
-### uuid.noConflict()
-
-(Browsers only) Set `uuid` property back to it's previous value.
-
-Returns the uuid object.
-
-Example:
-
-```javascript
-var myUuid = uuid.noConflict();
-myUuid.v1(); // -> '6c84fb90-12c4-11e1-840d-7b25c5ee775a'
-```
-
-## Deprecated APIs
-
-Support for the following v1.2 APIs is available in v1.3, but is deprecated and will be removed in the next major version.
-
-### uuid([format [, buffer [, offset]]])
-
-uuid() has become uuid.v4(), and the `format` argument is now implicit in the `buffer` argument. (i.e. if you specify a buffer, the format is assumed to be binary).
-
-### uuid.BufferClass
-
-The class of container created when generating binary uuid data if no buffer argument is specified. This is expected to go away, with no replacement API.
-
-## Testing
-
-In node.js
-
-```
-> cd test
-> node test.js
-```
-
-In Browser
-
-```
-open test/test.html
-```
-
-### Benchmarking
-
-Requires node.js
-
-```
-cd benchmark/
-npm install
-node benchmark.js
-```
-
-For a more complete discussion of uuid performance, please see the `benchmark/README.md` file, and the [benchmark wiki](https://github.com/broofa/uuid/wiki/Benchmark)
-
-For browser performance [checkout the JSPerf tests](http://jsperf.com/node-uuid-performance).
-
-## Release notes
-
-### 1.4.0
-
-* Improved module context detection
-* Removed public RNG functions
-
-### 1.3.2
-
-* Improve tests and handling of v1() options (Issue #24)
-* Expose RNG option to allow for perf testing with different generators
-
-### 1.3.0
-
-* Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)!
-* Support for node.js crypto API
-* De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/README.md b/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/README.md
deleted file mode 100644
index aaeb2ea01..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-# node-uuid Benchmarks
-
-### Results
-
-To see the results of our benchmarks visit https://github.com/broofa/node-uuid/wiki/Benchmark
-
-### Run them yourself
-
-node-uuid comes with some benchmarks to measure performance of generating UUIDs. These can be run using node.js. node-uuid is being benchmarked against some other uuid modules, that are available through npm namely `uuid` and `uuid-js`.
-
-To prepare and run the benchmark issue;
-
-```
-npm install uuid uuid-js
-node benchmark/benchmark.js
-```
-
-You'll see an output like this one:
-
-```
-# v4
-nodeuuid.v4(): 854700 uuids/second
-nodeuuid.v4('binary'): 788643 uuids/second
-nodeuuid.v4('binary', buffer): 1336898 uuids/second
-uuid(): 479386 uuids/second
-uuid('binary'): 582072 uuids/second
-uuidjs.create(4): 312304 uuids/second
-
-# v1
-nodeuuid.v1(): 938086 uuids/second
-nodeuuid.v1('binary'): 683060 uuids/second
-nodeuuid.v1('binary', buffer): 1644736 uuids/second
-uuidjs.create(1): 190621 uuids/second
-```
-
-* The `uuid()` entries are for Nikhil Marathe's [uuid module](https://bitbucket.org/nikhilm/uuidjs) which is a wrapper around the native libuuid library.
-* The `uuidjs()` entries are for Patrick Negri's [uuid-js module](https://github.com/pnegri/uuid-js) which is a pure javascript implementation based on [UUID.js](https://github.com/LiosK/UUID.js) by LiosK.
-
-If you want to get more reliable results you can run the benchmark multiple times and write the output into a log file:
-
-```
-for i in {0..9}; do node benchmark/benchmark.js >> benchmark/bench_0.4.12.log; done;
-```
-
-If you're interested in how performance varies between different node versions, you can issue the above command multiple times.
-
-You can then use the shell script `bench.sh` provided in this directory to calculate the averages over all benchmark runs and draw a nice plot:
-
-```
-(cd benchmark/ && ./bench.sh)
-```
-
-This assumes you have [gnuplot](http://www.gnuplot.info/) and [ImageMagick](http://www.imagemagick.org/) installed. You'll find a nice `bench.png` graph in the `benchmark/` directory then.
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/bench.gnu b/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/bench.gnu
deleted file mode 100644
index a342fbbe0..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/bench.gnu
+++ /dev/null
@@ -1,174 +0,0 @@
-#!/opt/local/bin/gnuplot -persist
-#
-#
-# G N U P L O T
-# Version 4.4 patchlevel 3
-# last modified March 2011
-# System: Darwin 10.8.0
-#
-# Copyright (C) 1986-1993, 1998, 2004, 2007-2010
-# Thomas Williams, Colin Kelley and many others
-#
-# gnuplot home: http://www.gnuplot.info
-# faq, bugs, etc: type "help seeking-assistance"
-# immediate help: type "help"
-# plot window: hit 'h'
-set terminal postscript eps noenhanced defaultplex \
- leveldefault color colortext \
- solid linewidth 1.2 butt noclip \
- palfuncparam 2000,0.003 \
- "Helvetica" 14
-set output 'bench.eps'
-unset clip points
-set clip one
-unset clip two
-set bar 1.000000 front
-set border 31 front linetype -1 linewidth 1.000
-set xdata
-set ydata
-set zdata
-set x2data
-set y2data
-set timefmt x "%d/%m/%y,%H:%M"
-set timefmt y "%d/%m/%y,%H:%M"
-set timefmt z "%d/%m/%y,%H:%M"
-set timefmt x2 "%d/%m/%y,%H:%M"
-set timefmt y2 "%d/%m/%y,%H:%M"
-set timefmt cb "%d/%m/%y,%H:%M"
-set boxwidth
-set style fill empty border
-set style rectangle back fc lt -3 fillstyle solid 1.00 border lt -1
-set style circle radius graph 0.02, first 0, 0
-set dummy x,y
-set format x "% g"
-set format y "% g"
-set format x2 "% g"
-set format y2 "% g"
-set format z "% g"
-set format cb "% g"
-set angles radians
-unset grid
-set key title ""
-set key outside left top horizontal Right noreverse enhanced autotitles columnhead nobox
-set key noinvert samplen 4 spacing 1 width 0 height 0
-set key maxcolumns 2 maxrows 0
-unset label
-unset arrow
-set style increment default
-unset style line
-set style line 1 linetype 1 linewidth 2.000 pointtype 1 pointsize default pointinterval 0
-unset style arrow
-set style histogram clustered gap 2 title offset character 0, 0, 0
-unset logscale
-set offsets graph 0.05, 0.15, 0, 0
-set pointsize 1.5
-set pointintervalbox 1
-set encoding default
-unset polar
-unset parametric
-unset decimalsign
-set view 60, 30, 1, 1
-set samples 100, 100
-set isosamples 10, 10
-set surface
-unset contour
-set clabel '%8.3g'
-set mapping cartesian
-set datafile separator whitespace
-unset hidden3d
-set cntrparam order 4
-set cntrparam linear
-set cntrparam levels auto 5
-set cntrparam points 5
-set size ratio 0 1,1
-set origin 0,0
-set style data points
-set style function lines
-set xzeroaxis linetype -2 linewidth 1.000
-set yzeroaxis linetype -2 linewidth 1.000
-set zzeroaxis linetype -2 linewidth 1.000
-set x2zeroaxis linetype -2 linewidth 1.000
-set y2zeroaxis linetype -2 linewidth 1.000
-set ticslevel 0.5
-set mxtics default
-set mytics default
-set mztics default
-set mx2tics default
-set my2tics default
-set mcbtics default
-set xtics border in scale 1,0.5 mirror norotate offset character 0, 0, 0
-set xtics norangelimit
-set xtics ()
-set ytics border in scale 1,0.5 mirror norotate offset character 0, 0, 0
-set ytics autofreq norangelimit
-set ztics border in scale 1,0.5 nomirror norotate offset character 0, 0, 0
-set ztics autofreq norangelimit
-set nox2tics
-set noy2tics
-set cbtics border in scale 1,0.5 mirror norotate offset character 0, 0, 0
-set cbtics autofreq norangelimit
-set title ""
-set title offset character 0, 0, 0 font "" norotate
-set timestamp bottom
-set timestamp ""
-set timestamp offset character 0, 0, 0 font "" norotate
-set rrange [ * : * ] noreverse nowriteback # (currently [8.98847e+307:-8.98847e+307] )
-set autoscale rfixmin
-set autoscale rfixmax
-set trange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] )
-set autoscale tfixmin
-set autoscale tfixmax
-set urange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
-set autoscale ufixmin
-set autoscale ufixmax
-set vrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
-set autoscale vfixmin
-set autoscale vfixmax
-set xlabel ""
-set xlabel offset character 0, 0, 0 font "" textcolor lt -1 norotate
-set x2label ""
-set x2label offset character 0, 0, 0 font "" textcolor lt -1 norotate
-set xrange [ * : * ] noreverse nowriteback # (currently [-0.150000:3.15000] )
-set autoscale xfixmin
-set autoscale xfixmax
-set x2range [ * : * ] noreverse nowriteback # (currently [0.00000:3.00000] )
-set autoscale x2fixmin
-set autoscale x2fixmax
-set ylabel ""
-set ylabel offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270
-set y2label ""
-set y2label offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270
-set yrange [ 0.00000 : 1.90000e+06 ] noreverse nowriteback # (currently [:] )
-set autoscale yfixmin
-set autoscale yfixmax
-set y2range [ * : * ] noreverse nowriteback # (currently [0.00000:1.90000e+06] )
-set autoscale y2fixmin
-set autoscale y2fixmax
-set zlabel ""
-set zlabel offset character 0, 0, 0 font "" textcolor lt -1 norotate
-set zrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] )
-set autoscale zfixmin
-set autoscale zfixmax
-set cblabel ""
-set cblabel offset character 0, 0, 0 font "" textcolor lt -1 rotate by -270
-set cbrange [ * : * ] noreverse nowriteback # (currently [8.98847e+307:-8.98847e+307] )
-set autoscale cbfixmin
-set autoscale cbfixmax
-set zero 1e-08
-set lmargin -1
-set bmargin -1
-set rmargin -1
-set tmargin -1
-set pm3d explicit at s
-set pm3d scansautomatic
-set pm3d interpolate 1,1 flush begin noftriangles nohidden3d corners2color mean
-set palette positive nops_allcF maxcolors 0 gamma 1.5 color model RGB
-set palette rgbformulae 7, 5, 15
-set colorbox default
-set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 front bdefault
-set loadpath
-set fontpath
-set fit noerrorvariables
-GNUTERM = "aqua"
-plot 'bench_results.txt' using 2:xticlabel(1) w lp lw 2, '' using 3:xticlabel(1) w lp lw 2, '' using 4:xticlabel(1) w lp lw 2, '' using 5:xticlabel(1) w lp lw 2, '' using 6:xticlabel(1) w lp lw 2, '' using 7:xticlabel(1) w lp lw 2, '' using 8:xticlabel(1) w lp lw 2, '' using 9:xticlabel(1) w lp lw 2
-# EOF
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/bench.sh b/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/bench.sh
deleted file mode 100644
index d870a0cb0..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/bench.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-# for a given node version run:
-# for i in {0..9}; do node benchmark.js >> bench_0.6.2.log; done;
-
-PATTERNS=('nodeuuid.v1()' "nodeuuid.v1('binary'," 'nodeuuid.v4()' "nodeuuid.v4('binary'," "uuid()" "uuid('binary')" 'uuidjs.create(1)' 'uuidjs.create(4)' '140byte')
-FILES=(node_uuid_v1_string node_uuid_v1_buf node_uuid_v4_string node_uuid_v4_buf libuuid_v4_string libuuid_v4_binary uuidjs_v1_string uuidjs_v4_string 140byte_es)
-INDICES=(2 3 2 3 2 2 2 2 2)
-VERSIONS=$( ls bench_*.log | sed -e 's/^bench_\([0-9\.]*\)\.log/\1/' | tr "\\n" " " )
-TMPJOIN="tmp_join"
-OUTPUT="bench_results.txt"
-
-for I in ${!FILES[*]}; do
- F=${FILES[$I]}
- P=${PATTERNS[$I]}
- INDEX=${INDICES[$I]}
- echo "version $F" > $F
- for V in $VERSIONS; do
- (VAL=$( grep "$P" bench_$V.log | LC_ALL=en_US awk '{ sum += $'$INDEX' } END { print sum/NR }' ); echo $V $VAL) >> $F
- done
- if [ $I == 0 ]; then
- cat $F > $TMPJOIN
- else
- join $TMPJOIN $F > $OUTPUT
- cp $OUTPUT $TMPJOIN
- fi
- rm $F
-done
-
-rm $TMPJOIN
-
-gnuplot bench.gnu
-convert -density 200 -resize 800x560 -flatten bench.eps bench.png
-rm bench.eps
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/benchmark-native.c b/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/benchmark-native.c
deleted file mode 100644
index dbfc75f6d..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/benchmark-native.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-Test performance of native C UUID generation
-
-To Compile: cc -luuid benchmark-native.c -o benchmark-native
-*/
-
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/time.h>
-#include <uuid/uuid.h>
-
-int main() {
- uuid_t myid;
- char buf[36+1];
- int i;
- struct timeval t;
- double start, finish;
-
- gettimeofday(&t, NULL);
- start = t.tv_sec + t.tv_usec/1e6;
-
- int n = 2e5;
- for (i = 0; i < n; i++) {
- uuid_generate(myid);
- uuid_unparse(myid, buf);
- }
-
- gettimeofday(&t, NULL);
- finish = t.tv_sec + t.tv_usec/1e6;
- double dur = finish - start;
-
- printf("%d uuids/sec", (int)(n/dur));
- return 0;
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/benchmark.js b/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/benchmark.js
deleted file mode 100644
index 40e6efbe7..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/benchmark.js
+++ /dev/null
@@ -1,84 +0,0 @@
-try {
- var nodeuuid = require('../uuid');
-} catch (e) {
- console.error('node-uuid require failed - skipping tests');
-}
-
-try {
- var uuid = require('uuid');
-} catch (e) {
- console.error('uuid require failed - skipping tests');
-}
-
-try {
- var uuidjs = require('uuid-js');
-} catch (e) {
- console.error('uuid-js require failed - skipping tests');
-}
-
-var N = 5e5;
-
-function rate(msg, t) {
- console.log(msg + ': ' +
- (N / (Date.now() - t) * 1e3 | 0) +
- ' uuids/second');
-}
-
-console.log('# v4');
-
-// node-uuid - string form
-if (nodeuuid) {
- for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4();
- rate('nodeuuid.v4() - using node.js crypto RNG', t);
-
- for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4({rng: nodeuuid.mathRNG});
- rate('nodeuuid.v4() - using Math.random() RNG', t);
-
- for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4('binary');
- rate('nodeuuid.v4(\'binary\')', t);
-
- var buffer = new nodeuuid.BufferClass(16);
- for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v4('binary', buffer);
- rate('nodeuuid.v4(\'binary\', buffer)', t);
-}
-
-// libuuid - string form
-if (uuid) {
- for (var i = 0, t = Date.now(); i < N; i++) uuid();
- rate('uuid()', t);
-
- for (var i = 0, t = Date.now(); i < N; i++) uuid('binary');
- rate('uuid(\'binary\')', t);
-}
-
-// uuid-js - string form
-if (uuidjs) {
- for (var i = 0, t = Date.now(); i < N; i++) uuidjs.create(4);
- rate('uuidjs.create(4)', t);
-}
-
-// 140byte.es
-for (var i = 0, t = Date.now(); i < N; i++) 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(s,r){r=Math.random()*16|0;return (s=='x'?r:r&0x3|0x8).toString(16)});
-rate('140byte.es_v4', t);
-
-console.log('');
-console.log('# v1');
-
-// node-uuid - v1 string form
-if (nodeuuid) {
- for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v1();
- rate('nodeuuid.v1()', t);
-
- for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v1('binary');
- rate('nodeuuid.v1(\'binary\')', t);
-
- var buffer = new nodeuuid.BufferClass(16);
- for (var i = 0, t = Date.now(); i < N; i++) nodeuuid.v1('binary', buffer);
- rate('nodeuuid.v1(\'binary\', buffer)', t);
-}
-
-// uuid-js - v1 string form
-if (uuidjs) {
- for (var i = 0, t = Date.now(); i < N; i++) uuidjs.create(1);
- rate('uuidjs.create(1)', t);
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/package.json b/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/package.json
deleted file mode 100644
index 94e0b5938..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/benchmark/package.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "name": "benchmark-uuid",
- "private": true,
- "description": "Benchmarks for node-uuid",
- "dependencies": {
- "uuid": "1.4.1",
- "uuid-js": "0.7.4"
- }
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/misc/compare.js b/data/node-webkit/node_modules/trash/node_modules/uuid/misc/compare.js
deleted file mode 100644
index 3de34151d..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/misc/compare.js
+++ /dev/null
@@ -1,62 +0,0 @@
-var assert = require('assert'),
- nodeuuid = require('../'),
- uuidjs = require('uuid-js'),
- util = require('util'),
- exec = require('child_process').exec,
- os = require('os');
-
-// On Mac Os X / macports there's only the ossp-uuid package that provides uuid
-// On Linux there's uuid-runtime which provides uuidgen
-var uuidCmd = os.type() === 'Darwin' ? 'uuid -1' : 'uuidgen -t';
-
-function compare(ids) {
- console.log(ids);
- for (var i = 0; i < ids.length; i++) {
- var id = ids[i].split('-');
- id = [id[2], id[1], id[0]].join('');
- ids[i] = id;
- }
- var sorted = ([].concat(ids)).sort();
-
- if (sorted.toString() !== ids.toString()) {
- console.log('Warning: sorted !== ids');
- } else {
- console.log('everything in order!');
- }
-}
-
-// Test time order of v1 uuids
-var ids = [];
-while (ids.length < 10e3) ids.push(nodeuuid.v1());
-
-var max = 10;
-console.log('node-uuid:');
-ids = [];
-for (var i = 0; i < max; i++) ids.push(nodeuuid.v1());
-compare(ids);
-
-console.log('');
-console.log('uuidjs:');
-ids = [];
-for (var i = 0; i < max; i++) ids.push(uuidjs.create(1).toString());
-compare(ids);
-
-console.log('');
-console.log('libuuid:');
-ids = [];
-var count = 0;
-var last = function() {
- compare(ids);
-}
-var cb = function(err, stdout, stderr) {
- ids.push(stdout.substring(0, stdout.length-1));
- count++;
- if (count < max) {
- return next();
- }
- last();
-};
-var next = function() {
- exec(uuidCmd, cb);
-};
-next();
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/misc/perf.js b/data/node-webkit/node_modules/trash/node_modules/uuid/misc/perf.js
deleted file mode 100644
index bdc9eb461..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/misc/perf.js
+++ /dev/null
@@ -1,102 +0,0 @@
-var assert = require('assert');
-
-var uuid = require('../');
-
-var log = console.log;
-
-var generators = {
- v1: uuid.v1,
- v4: uuid.v4
-};
-
-var UUID_FORMAT = {
- v1: /[0-9a-f]{8}-[0-9a-f]{4}-1[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i,
- v4: /[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/i
-};
-
-var N = 1e4;
-
-// Get %'age an actual value differs from the ideal value
-function divergence(actual, ideal) {
- return Math.round(100*100*(actual - ideal)/ideal)/100;
-}
-
-function rate(msg, t) {
- log(msg + ': ' + (N / (Date.now() - t) * 1e3 | 0) + ' uuids\/second');
-}
-
-for (var version in generators) {
- var counts = {}, max = 0;
- var generator = generators[version];
- var format = UUID_FORMAT[version];
-
- log('\nSanity check ' + N + ' ' + version + ' uuids');
- for (var i = 0, ok = 0; i < N; i++) {
- id = generator();
- if (!format.test(id)) {
- throw Error(id + ' is not a valid UUID string');
- }
-
- if (id != uuid.unparse(uuid.parse(id))) {
- assert(fail, id + ' is not a valid id');
- }
-
- // Count digits for our randomness check
- if (version == 'v4') {
- var digits = id.replace(/-/g, '').split('');
- for (var j = digits.length-1; j >= 0; j--) {
- var c = digits[j];
- max = Math.max(max, counts[c] = (counts[c] || 0) + 1);
- }
- }
- }
-
- // Check randomness for v4 UUIDs
- if (version == 'v4') {
- // Limit that we get worried about randomness. (Purely empirical choice, this!)
- var limit = 2*100*Math.sqrt(1/N);
-
- log('\nChecking v4 randomness. Distribution of Hex Digits (% deviation from ideal)');
-
- for (var i = 0; i < 16; i++) {
- var c = i.toString(16);
- var bar = '', n = counts[c], p = Math.round(n/max*100|0);
-
- // 1-3,5-8, and D-F: 1:16 odds over 30 digits
- var ideal = N*30/16;
- if (i == 4) {
- // 4: 1:1 odds on 1 digit, plus 1:16 odds on 30 digits
- ideal = N*(1 + 30/16);
- } else if (i >= 8 && i <= 11) {
- // 8-B: 1:4 odds on 1 digit, plus 1:16 odds on 30 digits
- ideal = N*(1/4 + 30/16);
- } else {
- // Otherwise: 1:16 odds on 30 digits
- ideal = N*30/16;
- }
- var d = divergence(n, ideal);
-
- // Draw bar using UTF squares (just for grins)
- var s = n/max*50 | 0;
- while (s--) bar += '=';
-
- assert(Math.abs(d) < limit, c + ' |' + bar + '| ' + counts[c] + ' (' + d + '% < ' + limit + '%)');
- }
- }
-}
-
-// Perf tests
-for (var version in generators) {
- log('\nPerformance testing ' + version + ' UUIDs');
- var generator = generators[version];
- var buf = new uuid.BufferClass(16);
-
- for (var i = 0, t = Date.now(); i < N; i++) generator();
- rate('uuid.' + version + '()', t);
-
- for (var i = 0, t = Date.now(); i < N; i++) generator('binary');
- rate('uuid.' + version + '(\'binary\')', t);
-
- for (var i = 0, t = Date.now(); i < N; i++) generator('binary', buf);
- rate('uuid.' + version + '(\'binary\', buffer)', t);
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/package.json b/data/node-webkit/node_modules/trash/node_modules/uuid/package.json
deleted file mode 100644
index e8b5742ff..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/package.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "name": "uuid",
- "version": "2.0.1",
- "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.",
- "keywords": [
- "uuid",
- "guid",
- "rfc4122"
- ],
- "author": {
- "name": "Robert Kieffer",
- "email": "[email protected]"
- },
- "contributors": [
- {
- "name": "Christoph Tavan",
- "email": "[email protected]"
- },
- {
- "name": "Vincent Voyer",
- "email": "[email protected]"
- }
- ],
- "main": "./uuid.js",
- "devDependencies": {
- "mocha": "1.8.0"
- },
- "scripts": {
- "test": "mocha test/test.js"
- },
- "browser": {
- "./rng.js": "./rng-browser.js"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/shtylman/node-uuid.git"
- },
- "testling": {
- "browsers": [
- "ie6..latest",
- "firefox/3.6..latest",
- "chrome/22..latest",
- "safari/5.1..latest"
- ],
- "harness": "mocha-tdd",
- "files": "test/*.js"
- },
- "gitHead": "ddaf90942095f26ee8c1961b4346f093b3e7eb5b",
- "bugs": {
- "url": "https://github.com/shtylman/node-uuid/issues"
- },
- "homepage": "https://github.com/shtylman/node-uuid",
- "_id": "[email protected]",
- "_shasum": "c2a30dedb3e535d72ccf82e343941a50ba8533ac",
- "_from": "uuid@>=2.0.1 <3.0.0",
- "_npmVersion": "2.0.0",
- "_npmUser": {
- "name": "vvo",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "broofa",
- "email": "[email protected]"
- },
- {
- "name": "tim-smart",
- "email": "[email protected]"
- },
- {
- "name": "shtylman",
- "email": "[email protected]"
- },
- {
- "name": "vvo",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "c2a30dedb3e535d72ccf82e343941a50ba8533ac",
- "tarball": "http://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/rng-browser.js b/data/node-webkit/node_modules/trash/node_modules/uuid/rng-browser.js
deleted file mode 100644
index 57b58d4b6..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/rng-browser.js
+++ /dev/null
@@ -1,31 +0,0 @@
-
-var rng;
-
-if (global.crypto && crypto.getRandomValues) {
- // WHATWG crypto-based RNG - http://wiki.whatwg.org/wiki/Crypto
- // Moderately fast, high quality
- var _rnds8 = new Uint8Array(16);
- rng = function whatwgRNG() {
- crypto.getRandomValues(_rnds8);
- return _rnds8;
- };
-}
-
-if (!rng) {
- // Math.random()-based (RNG)
- //
- // If all else fails, use Math.random(). It's fast, but is of unspecified
- // quality.
- var _rnds = new Array(16);
- rng = function() {
- for (var i = 0, r; i < 16; i++) {
- if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
- _rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
- }
-
- return _rnds;
- };
-}
-
-module.exports = rng;
-
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/rng.js b/data/node-webkit/node_modules/trash/node_modules/uuid/rng.js
deleted file mode 100644
index 3977f798f..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/rng.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var rb = require('crypto').randomBytes;
-module.exports = function() {
- return rb(16);
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/test/mocha.opts b/data/node-webkit/node_modules/trash/node_modules/uuid/test/mocha.opts
deleted file mode 100644
index e2bfcc5ac..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/test/mocha.opts
+++ /dev/null
@@ -1 +0,0 @@
---ui qunit
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/test/test.js b/data/node-webkit/node_modules/trash/node_modules/uuid/test/test.js
deleted file mode 100644
index 4c9872ffe..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/test/test.js
+++ /dev/null
@@ -1,105 +0,0 @@
-var assert = require('assert');
-
-var uuid = require('../');
-
-// Verify ordering of v1 ids created with explicit times
-var TIME = 1321644961388; // 2011-11-18 11:36:01.388-08:00
-
-function compare(name, ids) {
- test(name, function() {
- // avoid .map for older browsers
- for (var i=0 ; i<ids.length ; ++i) {
- ids[i] = ids[i].split('-').reverse().join('-');
- }
- ids = ids.sort();
- var sorted = ([].concat(ids)).sort();
-
- assert(sorted.toString() == ids.toString(), name + ' have expected order');
- });
-}
-
-// Verify ordering of v1 ids created using default behavior
-compare('uuids with current time', [
- uuid.v1(),
- uuid.v1(),
- uuid.v1(),
- uuid.v1(),
- uuid.v1()
-]);
-
-// Verify ordering of v1 ids created with explicit times
-compare('uuids with time option', [
- uuid.v1({msecs: TIME - 10*3600*1000}),
- uuid.v1({msecs: TIME - 1}),
- uuid.v1({msecs: TIME}),
- uuid.v1({msecs: TIME + 1}),
- uuid.v1({msecs: TIME + 28*24*3600*1000})
-]);
-
-test('msec', function() {
- assert(
- uuid.v1({msecs: TIME}) != uuid.v1({msecs: TIME}),
- 'IDs created at same msec are different'
- );
-});
-
-test('exception thrown when > 10k ids created in 1ms', function() {
- // Verify throw if too many ids created
- var thrown = false;
- try {
- uuid.v1({msecs: TIME, nsecs: 10000});
- } catch (e) {
- thrown = true;
- }
- assert(thrown, 'Exception thrown when > 10K ids created in 1 ms');
-});
-
-test('clock regression by msec', function() {
- // Verify clock regression bumps clockseq
- var uidt = uuid.v1({msecs: TIME});
- var uidtb = uuid.v1({msecs: TIME - 1});
- assert(
- parseInt(uidtb.split('-')[3], 16) - parseInt(uidt.split('-')[3], 16) === 1,
- 'Clock regression by msec increments the clockseq'
- );
-});
-
-test('clock regression by nsec', function() {
- // Verify clock regression bumps clockseq
- var uidtn = uuid.v1({msecs: TIME, nsecs: 10});
- var uidtnb = uuid.v1({msecs: TIME, nsecs: 9});
- assert(
- parseInt(uidtnb.split('-')[3], 16) - parseInt(uidtn.split('-')[3], 16) === 1,
- 'Clock regression by nsec increments the clockseq'
- );
-});
-
-test('explicit options product expected id', function() {
- // Verify explicit options produce expected id
- var id = uuid.v1({
- msecs: 1321651533573,
- nsecs: 5432,
- clockseq: 0x385c,
- node: [ 0x61, 0xcd, 0x3c, 0xbb, 0x32, 0x10 ]
- });
- assert(id == 'd9428888-122b-11e1-b85c-61cd3cbb3210', 'Explicit options produce expected id');
-});
-
-test('ids spanning 1ms boundary are 100ns apart', function() {
- // Verify adjacent ids across a msec boundary are 1 time unit apart
- var u0 = uuid.v1({msecs: TIME, nsecs: 9999});
- var u1 = uuid.v1({msecs: TIME + 1, nsecs: 0});
-
- var before = u0.split('-')[0], after = u1.split('-')[0];
- var dt = parseInt(after, 16) - parseInt(before, 16);
- assert(dt === 1, 'Ids spanning 1ms boundary are 100ns apart');
-});
-
-test('parse/unparse', function() {
- var id = '00112233445566778899aabbccddeeff';
- assert(uuid.unparse(uuid.parse(id.substr(0,10))) ==
- '00112233-4400-0000-0000-000000000000', 'Short parse');
- assert(uuid.unparse(uuid.parse('(this is the uuid -> ' + id + id)) ==
- '00112233-4455-6677-8899-aabbccddeeff', 'Dirty parse');
-});
-
diff --git a/data/node-webkit/node_modules/trash/node_modules/uuid/uuid.js b/data/node-webkit/node_modules/trash/node_modules/uuid/uuid.js
deleted file mode 100644
index be5bfede9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/uuid/uuid.js
+++ /dev/null
@@ -1,183 +0,0 @@
-// uuid.js
-//
-// Copyright (c) 2010-2012 Robert Kieffer
-// MIT License - http://opensource.org/licenses/mit-license.php
-
-// Unique ID creation requires a high quality random # generator. We feature
-// detect to determine the best RNG source, normalizing to a function that
-// returns 128-bits of randomness, since that's what's usually required
-var _rng = require('./rng');
-
-// Maps for number <-> hex string conversion
-var _byteToHex = [];
-var _hexToByte = {};
-for (var i = 0; i < 256; i++) {
- _byteToHex[i] = (i + 0x100).toString(16).substr(1);
- _hexToByte[_byteToHex[i]] = i;
-}
-
-// **`parse()` - Parse a UUID into it's component bytes**
-function parse(s, buf, offset) {
- var i = (buf && offset) || 0, ii = 0;
-
- buf = buf || [];
- s.toLowerCase().replace(/[0-9a-f]{2}/g, function(oct) {
- if (ii < 16) { // Don't overflow!
- buf[i + ii++] = _hexToByte[oct];
- }
- });
-
- // Zero out remaining bytes if string was short
- while (ii < 16) {
- buf[i + ii++] = 0;
- }
-
- return buf;
-}
-
-// **`unparse()` - Convert UUID byte array (ala parse()) into a string**
-function unparse(buf, offset) {
- var i = offset || 0, bth = _byteToHex;
- return bth[buf[i++]] + bth[buf[i++]] +
- bth[buf[i++]] + bth[buf[i++]] + '-' +
- bth[buf[i++]] + bth[buf[i++]] + '-' +
- bth[buf[i++]] + bth[buf[i++]] + '-' +
- bth[buf[i++]] + bth[buf[i++]] + '-' +
- bth[buf[i++]] + bth[buf[i++]] +
- bth[buf[i++]] + bth[buf[i++]] +
- bth[buf[i++]] + bth[buf[i++]];
-}
-
-// **`v1()` - Generate time-based UUID**
-//
-// Inspired by https://github.com/LiosK/UUID.js
-// and http://docs.python.org/library/uuid.html
-
-// random #'s we need to init node and clockseq
-var _seedBytes = _rng();
-
-// Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
-var _nodeId = [
- _seedBytes[0] | 0x01,
- _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5]
-];
-
-// Per 4.2.2, randomize (14 bit) clockseq
-var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff;
-
-// Previous uuid creation time
-var _lastMSecs = 0, _lastNSecs = 0;
-
-// See https://github.com/broofa/node-uuid for API details
-function v1(options, buf, offset) {
- var i = buf && offset || 0;
- var b = buf || [];
-
- options = options || {};
-
- var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;
-
- // UUID timestamps are 100 nano-second units since the Gregorian epoch,
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
- var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();
-
- // Per 4.2.1.2, use count of uuid's generated during the current clock
- // cycle to simulate higher resolution clock
- var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
-
- // Time since last uuid creation (in msecs)
- var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
-
- // Per 4.2.1.2, Bump clockseq on clock regression
- if (dt < 0 && options.clockseq === undefined) {
- clockseq = clockseq + 1 & 0x3fff;
- }
-
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
- // time interval
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
- nsecs = 0;
- }
-
- // Per 4.2.1.2 Throw error if too many uuids are requested
- if (nsecs >= 10000) {
- throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
- }
-
- _lastMSecs = msecs;
- _lastNSecs = nsecs;
- _clockseq = clockseq;
-
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
- msecs += 12219292800000;
-
- // `time_low`
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
- b[i++] = tl >>> 24 & 0xff;
- b[i++] = tl >>> 16 & 0xff;
- b[i++] = tl >>> 8 & 0xff;
- b[i++] = tl & 0xff;
-
- // `time_mid`
- var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
- b[i++] = tmh >>> 8 & 0xff;
- b[i++] = tmh & 0xff;
-
- // `time_high_and_version`
- b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
- b[i++] = tmh >>> 16 & 0xff;
-
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
- b[i++] = clockseq >>> 8 | 0x80;
-
- // `clock_seq_low`
- b[i++] = clockseq & 0xff;
-
- // `node`
- var node = options.node || _nodeId;
- for (var n = 0; n < 6; n++) {
- b[i + n] = node[n];
- }
-
- return buf ? buf : unparse(b);
-}
-
-// **`v4()` - Generate random UUID**
-
-// See https://github.com/broofa/node-uuid for API details
-function v4(options, buf, offset) {
- // Deprecated - 'format' argument, as supported in v1.2
- var i = buf && offset || 0;
-
- if (typeof(options) == 'string') {
- buf = options == 'binary' ? new Array(16) : null;
- options = null;
- }
- options = options || {};
-
- var rnds = options.random || (options.rng || _rng)();
-
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
- rnds[6] = (rnds[6] & 0x0f) | 0x40;
- rnds[8] = (rnds[8] & 0x3f) | 0x80;
-
- // Copy bytes to buffer, if provided
- if (buf) {
- for (var ii = 0; ii < 16; ii++) {
- buf[i + ii] = rnds[ii];
- }
- }
-
- return buf || unparse(rnds);
-}
-
-// Export public API
-var uuid = v4;
-uuid.v1 = v1;
-uuid.v4 = v4;
-uuid.parse = parse;
-uuid.unparse = unparse;
-
-module.exports = uuid;
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/index.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/index.js
deleted file mode 100644
index 19bcc502e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-'use strict';
-var fs = require('fs');
-var path = require('path');
-var mountPoint = require('mount-point');
-var userHome = require('user-home');
-var xdgBasedir = require('xdg-basedir');
-var pify = require('pify');
-var Promise = require('pinkie-promise');
-var mntPoint = pify(mountPoint);
-
-module.exports = function (file) {
- if (process.platform !== 'linux') {
- return Promise.reject(new Error('Only Linux systems are supported'));
- }
-
- if (!file) {
- return Promise.resolve(path.join(xdgBasedir.data, 'Trash'));
- }
-
- return Promise.all([
- mntPoint(userHome),
- mntPoint(file)
- ]).then(function (result) {
- var ret = result[0];
- var res = result[1];
-
- if (ret.mount === res.mount) {
- return path.join(xdgBasedir.data, 'Trash');
- }
-
- var top = path.join(res.mount, '.Trash');
- var topuid = top + '-' + process.getuid();
- var stickyBitMode = 17407;
-
- return pify(fs.lstat)(top)
- .then(function (stats) {
- if (stats.isSymbolicLink() || stats.mode !== stickyBitMode) {
- return topuid;
- }
-
- return path.join(top, String(process.getuid()));
- })
- .catch(function (err) {
- if (err.code === 'ENOENT') {
- return topuid;
- }
-
- return path.join(xdgBasedir.data, 'Trash');
- });
- });
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/license b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/license
deleted file mode 100644
index a8ecbbe94..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Kevin Mårtensson <[email protected]>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/.bin/user-home b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/.bin/user-home
deleted file mode 120000
index d72d76bb4..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/.bin/user-home
+++ /dev/null
@@ -1 +0,0 @@
-../user-home/cli.js
\ No newline at end of file
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/index.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/index.js
deleted file mode 100644
index 177fec770..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-'use strict';
-
-var df = require('@sindresorhus/df');
-
-module.exports = function (file, cb) {
- df.file(file, function (err, data) {
- if (err) {
- cb(err);
- return;
- }
-
- cb(null, {
- fs: data.filesystem,
- size: data.size,
- used: data.used,
- available: data.available,
- percent: data.capacity,
- mount: data.mountpoint
- });
- });
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/license b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/license
deleted file mode 100644
index a8ecbbe94..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Kevin Mårtensson <[email protected]>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/index.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/index.js
deleted file mode 100644
index d4e77bb4e..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/index.js
+++ /dev/null
@@ -1,66 +0,0 @@
-'use strict';
-var childProcess = require('child_process');
-
-function run(args, cb) {
- childProcess.execFile('df', args, function (err, stdout) {
- if (err) {
- cb(err);
- return;
- }
-
- cb(null, stdout.trim().split('\n').slice(1).map(function (el) {
- var cl = el.split(/\s+(?=[\d\/])/);
-
- return {
- filesystem: cl[0],
- size: parseInt(cl[1], 10) * 1024,
- used: parseInt(cl[2], 10) * 1024,
- available: parseInt(cl[3], 10) * 1024,
- capacity: parseInt(cl[4], 10) / 100,
- mountpoint: cl[5]
- };
- }));
- });
-};
-
-var df = module.exports = function (cb) {
- run(['-kP'], cb);
-};
-
-df.fs = function (name, cb) {
- if (typeof name !== 'string') {
- throw new Error('name required');
- }
-
- run(['-kP'], function (err, data) {
- if (err) {
- cb(err);
- return;
- }
-
- var ret;
-
- data.forEach(function (el) {
- if (el.filesystem === name) {
- ret = el;
- }
- });
-
- cb(null, ret);
- });
-};
-
-df.file = function (file, cb) {
- if (typeof file !== 'string') {
- throw new Error('file required');
- }
-
- run(['-kP', file], function (err, data) {
- if (err) {
- cb(err);
- return;
- }
-
- cb(null, data[0]);
- });
-};
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/license b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/package.json b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/package.json
deleted file mode 100644
index 7402f53c1..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/package.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "name": "@sindresorhus/df",
- "version": "1.0.1",
- "description": "Get free disk space info from `df -kP`",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/df.git"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "df",
- "dfkp",
- "df-kp",
- "disk",
- "space",
- "free",
- "info",
- "data",
- "fs",
- "filesystem",
- "file-system",
- "drive",
- "mount",
- "size",
- "capacity"
- ],
- "devDependencies": {
- "ava": "0.0.4"
- },
- "gitHead": "d08cdc4d48a7cc0a36f01e741118e48549d407ae",
- "bugs": {
- "url": "https://github.com/sindresorhus/df/issues"
- },
- "homepage": "https://github.com/sindresorhus/df#readme",
- "_id": "@sindresorhus/[email protected]",
- "_shasum": "c69b66f52f6fcdd287c807df210305dbaf78500d",
- "_from": "@sindresorhus/df@>=1.0.1 <2.0.0",
- "_npmVersion": "2.9.0",
- "_nodeVersion": "0.10.38",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "c69b66f52f6fcdd287c807df210305dbaf78500d",
- "tarball": "http://registry.npmjs.org/@sindresorhus/df/-/df-1.0.1.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/@sindresorhus/df/-/df-1.0.1.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/readme.md b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/readme.md
deleted file mode 100644
index d5cef9357..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/node_modules/@sindresorhus/df/readme.md
+++ /dev/null
@@ -1,121 +0,0 @@
-# df [![Build Status](https://travis-ci.org/sindresorhus/df.svg?branch=master)](https://travis-ci.org/sindresorhus/df)
-
-> Get free disk space info from [`df -kP`](http://en.wikipedia.org/wiki/Df_\(Unix\))
-
-Works on any Unix based system like OS X and Linux.
-
-*Created because all the other `df` wrappers are terrible. This one uses simple and explicit parsing. Uses `execFile` rather than `exec`. Ensures better platform portability by using the `-P` flag. Returns sizes in bytes instead of kilobytes and the capacity as a float.*
-
-
-## Install
-
-```
-$ npm install --save @sindresorhus/df
-```
-
-
-## Usage
-
-```js
-var df = require('@sindresorhus/df');
-
-df(function (err, list) {
- console.log(list);
- /*
- [{
- filesystem: '/dev/disk1',
- size: 499046809600,
- used: 443222245376,
- available: 55562420224,
- capacity: 0.89,
- mountpoint: '/'
- }, ...]
- */
-});
-
-df.fs('/dev/disk1', function (err, data) {
- console.log(data);
- /*
- {
- filesystem: '/dev/disk1',
- ...
- }
- */
-});
-
-df.file(__dirname, function (err, data) {
- console.log(data);
- /*
- {
- filesystem: '/dev/disk1',
- ...
- }
- */
-});
-```
-
-
-## API
-
-### df(callback)
-
-#### callback(error, list)
-
-*Required*
-Type: `function`
-
-##### list
-
-Type: `array`
-
-List of `data` objects.
-
-### df.fs(filesystem, callback)
-
-Get space info for a specific filesystem.
-
-#### filesystem
-
-*Required*
-Type: `string`
-
-#### callback(error, data)
-
-*Required*
-Type: `function`
-
-##### data
-
-Type: `object`
-
-Data for the specified filesystem:
-
-- `filesystem` - The name of the filesystem.
-- `size` - Total size in bytes.
-- `used` - Used size in bytes.
-- `available` - Available size in bytes.
-- `capacity` - Capacity as a float from `0` to `1`.
-- `mountpoint` - Disk mount location.
-
-### df.file(file, callback)
-
-Get space info for the filesystem the supplied file is part of.
-
-#### file
-
-*Required*
-Type: `string`
-
-#### callback(error, data)
-
-*Required*
-Type: `function`
-
-##### data
-
-Same as `df.fs()`.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/package.json b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/package.json
deleted file mode 100644
index fa2cf16f1..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "name": "mount-point",
- "version": "1.2.0",
- "description": "Get the mount point for a file",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/kevva/mount-point.git"
- },
- "author": {
- "name": "Kevin Mårtensson",
- "email": "[email protected]",
- "url": "https://github.com/kevva"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "df",
- "disk",
- "mount"
- ],
- "devDependencies": {
- "ava": "^0.0.4"
- },
- "dependencies": {
- "@sindresorhus/df": "^1.0.1"
- },
- "gitHead": "2aece07b7131e3c9adca52c1ecdf80592e18136a",
- "bugs": {
- "url": "https://github.com/kevva/mount-point/issues"
- },
- "homepage": "https://github.com/kevva/mount-point#readme",
- "_id": "[email protected]",
- "_shasum": "f7712295e1ecd8df2e42ecbe23e07a3660807851",
- "_from": "mount-point@>=1.0.0 <2.0.0",
- "_npmVersion": "2.9.0",
- "_nodeVersion": "1.8.1",
- "_npmUser": {
- "name": "kevva",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "kevva",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "f7712295e1ecd8df2e42ecbe23e07a3660807851",
- "tarball": "http://registry.npmjs.org/mount-point/-/mount-point-1.2.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/mount-point/-/mount-point-1.2.0.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/readme.md b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/readme.md
deleted file mode 100644
index a7a430af0..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/mount-point/readme.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# mount-point [![Build Status](http://img.shields.io/travis/kevva/mount-point.svg?style=flat)](https://travis-ci.org/kevva/mount-point)
-
-> Get the mount point for a file
-
-
-## Install
-
-```
-$ npm install --save mount-point
-```
-
-
-## Usage
-
-```js
-var mountPoint = require('mount-point');
-
-mountPoint('foo.tar.gz', function (err, data) {
- console.log(data);
- /*
- => {
- fs: /dev/sda2,
- size: 487546976,
- used: 164493356,
- available: 322797620,
- percent: 0.34,
- mount: '/'
- }
- */
-});
-```
-
-
-## License
-
-MIT © [Kevin Mårtensson](https://github.com/kevva)
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/index.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/index.js
deleted file mode 100644
index cc64b902c..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-module.exports = global.Promise || require('pinkie');
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/license b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/license
deleted file mode 100644
index 1aeb74fd2..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Vsevolod Strukchinsky <[email protected]> (github.com/floatdrop)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/index.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/index.js
deleted file mode 100644
index a7e3dc385..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/index.js
+++ /dev/null
@@ -1,276 +0,0 @@
-'use strict';
-
-var PENDING = 'pending';
-var SETTLED = 'settled';
-var FULFILLED = 'fulfilled';
-var REJECTED = 'rejected';
-var NOOP = function () {};
-
-// async calls
-var asyncSetTimer = typeof setImmediate !== 'undefined' ? setImmediate : setTimeout;
-var asyncQueue = [];
-var asyncTimer;
-
-function asyncFlush() {
- // run promise callbacks
- for (var i = 0; i < asyncQueue.length; i++) {
- asyncQueue[i][0](asyncQueue[i][1]);
- }
-
- // reset async asyncQueue
- asyncQueue = [];
- asyncTimer = false;
-}
-
-function asyncCall(callback, arg) {
- asyncQueue.push([callback, arg]);
-
- if (!asyncTimer) {
- asyncTimer = true;
- asyncSetTimer(asyncFlush, 0);
- }
-}
-
-function invokeResolver(resolver, promise) {
- function resolvePromise(value) {
- resolve(promise, value);
- }
-
- function rejectPromise(reason) {
- reject(promise, reason);
- }
-
- try {
- resolver(resolvePromise, rejectPromise);
- } catch (e) {
- rejectPromise(e);
- }
-}
-
-function invokeCallback(subscriber) {
- var owner = subscriber.owner;
- var settled = owner._state;
- var value = owner._data;
- var callback = subscriber[settled];
- var promise = subscriber.then;
-
- if (typeof callback === 'function') {
- settled = FULFILLED;
- try {
- value = callback(value);
- } catch (e) {
- reject(promise, e);
- }
- }
-
- if (!handleThenable(promise, value)) {
- if (settled === FULFILLED) {
- resolve(promise, value);
- }
-
- if (settled === REJECTED) {
- reject(promise, value);
- }
- }
-}
-
-function handleThenable(promise, value) {
- var resolved;
-
- try {
- if (promise === value) {
- throw new TypeError('A promises callback cannot return that same promise.');
- }
-
- if (value && (typeof value === 'function' || typeof value === 'object')) {
- var then = value.then; // then should be retrived only once
-
- if (typeof then === 'function') {
- then.call(value, function (val) {
- if (!resolved) {
- resolved = true;
-
- if (value !== val) {
- resolve(promise, val);
- } else {
- fulfill(promise, val);
- }
- }
- }, function (reason) {
- if (!resolved) {
- resolved = true;
-
- reject(promise, reason);
- }
- });
-
- return true;
- }
- }
- } catch (e) {
- if (!resolved) {
- reject(promise, e);
- }
-
- return true;
- }
-
- return false;
-}
-
-function resolve(promise, value) {
- if (promise === value || !handleThenable(promise, value)) {
- fulfill(promise, value);
- }
-}
-
-function fulfill(promise, value) {
- if (promise._state === PENDING) {
- promise._state = SETTLED;
- promise._data = value;
-
- asyncCall(publishFulfillment, promise);
- }
-}
-
-function reject(promise, reason) {
- if (promise._state === PENDING) {
- promise._state = SETTLED;
- promise._data = reason;
-
- asyncCall(publishRejection, promise);
- }
-}
-
-function publish(promise) {
- promise._then = promise._then.forEach(invokeCallback);
-}
-
-function publishFulfillment(promise) {
- promise._state = FULFILLED;
- publish(promise);
-}
-
-function publishRejection(promise) {
- promise._state = REJECTED;
- publish(promise);
-}
-
-/**
- * @class
- */
-function Promise(resolver) {
- if (typeof resolver !== 'function') {
- throw new TypeError('Promise resolver ' + resolver + ' is not a function');
- }
-
- if (this instanceof Promise === false) {
- throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.');
- }
-
- this._then = [];
-
- invokeResolver(resolver, this);
-}
-
-Promise.prototype = {
- constructor: Promise,
-
- _state: PENDING,
- _then: null,
- _data: undefined,
-
- then: function (onFulfillment, onRejection) {
- var subscriber = {
- owner: this,
- then: new this.constructor(NOOP),
- fulfilled: onFulfillment,
- rejected: onRejection
- };
-
- if (this._state === FULFILLED || this._state === REJECTED) {
- // already resolved, call callback async
- asyncCall(invokeCallback, subscriber);
- } else {
- // subscribe
- this._then.push(subscriber);
- }
-
- return subscriber.then;
- },
-
- 'catch': function (onRejection) {
- return this.then(null, onRejection);
- }
-};
-
-Promise.all = function (promises) {
- if (!Array.isArray(promises)) {
- throw new TypeError('You must pass an array to Promise.all().');
- }
-
- return new Promise(function (resolve, reject) {
- var results = [];
- var remaining = 0;
-
- function resolver(index) {
- remaining++;
- return function (value) {
- results[index] = value;
- if (!--remaining) {
- resolve(results);
- }
- };
- }
-
- for (var i = 0, promise; i < promises.length; i++) {
- promise = promises[i];
-
- if (promise && typeof promise.then === 'function') {
- promise.then(resolver(i), reject);
- } else {
- results[i] = promise;
- }
- }
-
- if (!remaining) {
- resolve(results);
- }
- });
-};
-
-Promise.race = function (promises) {
- if (!Array.isArray(promises)) {
- throw new TypeError('You must pass an array to Promise.race().');
- }
-
- return new Promise(function (resolve, reject) {
- for (var i = 0, promise; i < promises.length; i++) {
- promise = promises[i];
-
- if (promise && typeof promise.then === 'function') {
- promise.then(resolve, reject);
- } else {
- resolve(promise);
- }
- }
- });
-};
-
-Promise.resolve = function (value) {
- if (value && typeof value === 'object' && value.constructor === Promise) {
- return value;
- }
-
- return new Promise(function (resolve) {
- resolve(value);
- });
-};
-
-Promise.reject = function (reason) {
- return new Promise(function (resolve, reject) {
- reject(reason);
- });
-};
-
-module.exports = Promise;
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/license b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/license
deleted file mode 100644
index 1aeb74fd2..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Vsevolod Strukchinsky <[email protected]> (github.com/floatdrop)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/package.json b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/package.json
deleted file mode 100644
index a52f3cdff..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "name": "pinkie",
- "version": "1.0.0",
- "description": "Itty bitty little wittle twinkie pinkie ES6 Promise implementation",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/floatdrop/pinkie.git"
- },
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "[email protected]",
- "url": "github.com/floatdrop"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "mocha"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "promise",
- "es6"
- ],
- "dependencies": {},
- "devDependencies": {
- "mocha": "*",
- "promises-aplus-tests": "*"
- },
- "gitHead": "5f8b60f31ec8624995d224f5990c81be83dd1d90",
- "bugs": {
- "url": "https://github.com/floatdrop/pinkie/issues"
- },
- "homepage": "https://github.com/floatdrop/pinkie#readme",
- "_id": "[email protected]",
- "_shasum": "5a47f28ba1015d0201bda7bf0f358e47bec8c7e4",
- "_from": "pinkie@>=1.0.0 <2.0.0",
- "_npmVersion": "2.9.0",
- "_nodeVersion": "2.0.0",
- "_npmUser": {
- "name": "floatdrop",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "floatdrop",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "5a47f28ba1015d0201bda7bf0f358e47bec8c7e4",
- "tarball": "http://registry.npmjs.org/pinkie/-/pinkie-1.0.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/pinkie/-/pinkie-1.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/readme.md b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/readme.md
deleted file mode 100644
index faa9b2b88..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/node_modules/pinkie/readme.md
+++ /dev/null
@@ -1,75 +0,0 @@
-<h1 align="center">
- <br>
- <img width="300" src="https://rawgit.com/floatdrop/pinkie/master/media/logo.png" alt="pinkie">
- <br>
- <br>
-</h1>
-
-> Itty bitty little wittle twinkie pinkie [ES6 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation
-
-[![Build Status](https://travis-ci.org/floatdrop/pinkie.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie)
-
-There are [tons of Promise implementations](https://github.com/sorrycc/awesome-javascript#control-flow) out there, but all of them focused on browser compatibility and often bloated with functionality.
-
-This module focused to be exactly Promise specification polyfill (like [native-promise-only](https://github.com/getify/native-promise-only)), but in NodeJS land (it should be browserify-able thou).
-
-
-## Install
-
-```
-$ npm install --save pinkie
-```
-
-
-## Usage
-
-```js
-var Promise = require('pinkie');
-
-new Promise(function (resolve, reject) {
- got('google.com', function (err, data) {
- if (err) {
- return reject(err);
- }
-
- resolve(data);
- });
-});
-//=> Promise
-```
-
-
-### API
-
-`pinkie` exports bare [ES6 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) implementation. In case you forgot:
-
-#### new Promise(executor)
-
-Returns new instance of `Promise`.
-
-##### executor
-
-*Required*
-Type: `function`
-
-Function with two arguments resolve and reject. The first argument fulfills the promise, the second argument rejects it.
-
-#### pinkie.all(promises)
-
-Returns a promise that resolves when all of the promises in the `promises` Array argument have resolved.
-
-#### pinkie.race(promises)
-
-Returns a promise that resolves or rejects as soon as one of the promises in the `promises` Array resolves or rejects, with the value or reason from that promise.
-
-#### pinkie.reject(reason)
-
-Returns a Promise object that is rejected with the given `reason`.
-
-#### pinkie.resolve(value)
-
-Returns a Promise object that is resolved with the given `value`. If the `value` is a thenable (i.e. has a then method), the returned promise will "follow" that thenable, adopting its eventual state; otherwise the returned promise will be fulfilled with the `value`.
-
-## License
-
-MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/package.json b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/package.json
deleted file mode 100644
index 467ba5d0d..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "name": "pinkie-promise",
- "version": "1.0.0",
- "description": "ES6 Promise ponyfill",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/floatdrop/pinkie-promise.git"
- },
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "[email protected]",
- "url": "github.com/floatdrop"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "mocha"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "promise",
- "es6",
- "polyfill",
- "ponyfill"
- ],
- "dependencies": {
- "pinkie": "^1.0.0"
- },
- "devDependencies": {
- "mocha": "*"
- },
- "gitHead": "ae764482353d0b2b64685686cf49eefeb44a862e",
- "bugs": {
- "url": "https://github.com/floatdrop/pinkie-promise/issues"
- },
- "homepage": "https://github.com/floatdrop/pinkie-promise#readme",
- "_id": "[email protected]",
- "_shasum": "d1da67f5482563bb7cf57f286ae2822ecfbf3670",
- "_from": "pinkie-promise@>=1.0.0 <2.0.0",
- "_npmVersion": "2.9.0",
- "_nodeVersion": "2.0.0",
- "_npmUser": {
- "name": "floatdrop",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "floatdrop",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "d1da67f5482563bb7cf57f286ae2822ecfbf3670",
- "tarball": "http://registry.npmjs.org/pinkie-promise/-/pinkie-promise-1.0.0.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-1.0.0.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/readme.md b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/readme.md
deleted file mode 100644
index bb5e9d2e0..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/pinkie-promise/readme.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# pinkie-promise [![Build Status](https://travis-ci.org/floatdrop/pinkie-promise.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie-promise)
-
-> [ES6 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) ponyfill
->
-> Ponyfill: A polyfill that doesn't overwrite the native method
-
-Module exports global Promise object (if available) or [`pinkie`](http://github.com/floatdrop/pinkie) Promise polyfill.
-
-## Install
-
-```
-$ npm install --save pinkie-promise
-```
-
-## Usage
-
-```js
-var Promise = require('pinkie-promise');
-
-new Promise(function (resolve) { resolve('unicorns'); });
-//=> Promise { 'unicorns' }
-```
-
-## License
-
-MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/cli.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/cli.js
deleted file mode 100644
index bacbd2275..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/cli.js
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env node
-'use strict';
-var pkg = require('./package.json');
-var userHome = require('./');
-
-function help() {
- console.log([
- pkg.description,
- '',
- 'Example',
- ' $ user-home',
- ' /Users/sindresorhus'
- ].join('\n'));
-}
-
-if (process.argv.indexOf('--help') !== -1) {
- help();
- return;
-}
-
-if (process.argv.indexOf('--version') !== -1) {
- console.log(pkg.version);
- return;
-}
-
-process.stdout.write(userHome);
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/index.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/index.js
deleted file mode 100644
index d53b7939a..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-var env = process.env;
-var home = env.HOME;
-var user = env.LOGNAME || env.USER || env.LNAME || env.USERNAME;
-
-if (process.platform === 'win32') {
- module.exports = env.USERPROFILE || env.HOMEDRIVE + env.HOMEPATH || home || null;
-} else if (process.platform === 'darwin') {
- module.exports = home || (user ? '/Users/' + user : null) || null;
-} else if (process.platform === 'linux') {
- module.exports = home ||
- (user ? (process.getuid() === 0 ? '/root' : '/home/' + user) : null) || null;
-} else {
- module.exports = home || null;
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/license b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/package.json b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/package.json
deleted file mode 100644
index c256337db..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/package.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "name": "user-home",
- "version": "1.1.1",
- "description": "Get the path to the user home directory",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/user-home"
- },
- "bin": {
- "user-home": "cli.js"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "http://sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js",
- "cli.js"
- ],
- "keywords": [
- "cli",
- "bin",
- "user",
- "home",
- "homedir",
- "dir",
- "directory",
- "folder",
- "path"
- ],
- "devDependencies": {
- "ava": "0.0.3"
- },
- "gitHead": "cf6ba885d3e6bf625fb3c15ad0334fa623968481",
- "bugs": {
- "url": "https://github.com/sindresorhus/user-home/issues"
- },
- "homepage": "https://github.com/sindresorhus/user-home",
- "_id": "[email protected]",
- "_shasum": "2b5be23a32b63a7c9deb8d0f28d485724a3df190",
- "_from": "user-home@>=1.1.0 <2.0.0",
- "_npmVersion": "2.1.16",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "2b5be23a32b63a7c9deb8d0f28d485724a3df190",
- "tarball": "http://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz",
- "readme": "ERROR: No README data found!"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/readme.md b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/readme.md
deleted file mode 100644
index 5307a07ef..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/user-home/readme.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# user-home [![Build Status](https://travis-ci.org/sindresorhus/user-home.svg?branch=master)](https://travis-ci.org/sindresorhus/user-home)
-
-> Get the path to the user home directory
-
-
-## Install
-
-```sh
-$ npm install --save user-home
-```
-
-
-## Usage
-
-```js
-var userHome = require('user-home');
-
-console.log(userHome);
-//=> /Users/sindresorhus
-```
-
-Returns `null` in the unlikely scenario that the home directory can't be found.
-
-
-## CLI
-
-```sh
-$ npm install --global user-home
-```
-
-```sh
-$ user-home --help
-
-Example
- $ user-home
- /Users/sindresorhus
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/index.js b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/index.js
deleted file mode 100644
index cb06b286f..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/index.js
+++ /dev/null
@@ -1,26 +0,0 @@
-'use strict';
-var path = require('path');
-var userHome = require('user-home');
-var env = process.env;
-
-exports.data = env.XDG_DATA_HOME ||
- (userHome ? path.join(userHome, '.local', 'share') : null);
-
-exports.config = env.XDG_CONFIG_HOME ||
- (userHome ? path.join(userHome, '.config') : null);
-
-exports.cache = env.XDG_CONFIG_HOME || (userHome ? path.join(userHome, '.cache') : null);
-
-exports.runtime = env.XDG_RUNTIME_DIR || null;
-
-exports.dataDirs = (env.XDG_DATA_DIRS || '/usr/local/share/:/usr/share/').split(':');
-
-if (exports.data) {
- exports.dataDirs.unshift(exports.data);
-}
-
-exports.configDirs = (env.XDG_CONFIG_DIRS || '/etc/xdg').split(':');
-
-if (exports.config) {
- exports.configDirs.unshift(exports.config);
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/license b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/package.json b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/package.json
deleted file mode 100644
index 95a4e5eff..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/package.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "name": "xdg-basedir",
- "version": "1.0.1",
- "description": "Get XDG Base Directory paths",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/xdg-basedir"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "http://sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "node test.js"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "xdg",
- "base",
- "directory",
- "dir",
- "basedir",
- "path",
- "data",
- "config",
- "cache"
- ],
- "dependencies": {
- "user-home": "^1.0.0"
- },
- "devDependencies": {
- "ava": "0.0.4",
- "require-uncached": "^1.0.2"
- },
- "gitHead": "2eaf176e5d0c9c1bd64e6fc8a60a3a8e3dba4e79",
- "bugs": {
- "url": "https://github.com/sindresorhus/xdg-basedir/issues"
- },
- "homepage": "https://github.com/sindresorhus/xdg-basedir",
- "_id": "[email protected]",
- "_shasum": "14ff8f63a4fdbcb05d5b6eea22b36f3033b9f04e",
- "_from": "xdg-basedir@>=1.0.0 <2.0.0",
- "_npmVersion": "2.1.16",
- "_nodeVersion": "0.10.32",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "dist": {
- "shasum": "14ff8f63a4fdbcb05d5b6eea22b36f3033b9f04e",
- "tarball": "http://registry.npmjs.org/xdg-basedir/-/xdg-basedir-1.0.1.tgz"
- },
- "directories": {},
- "_resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-1.0.1.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/readme.md b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/readme.md
deleted file mode 100644
index af3a8ba35..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/node_modules/xdg-basedir/readme.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# xdg-basedir [![Build Status](https://travis-ci.org/sindresorhus/xdg-basedir.svg?branch=master)](https://travis-ci.org/sindresorhus/xdg-basedir)
-
-> Get [XDG Base Directory](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) paths
-
-
-## Install
-
-```sh
-$ npm install --save xdg-basedir
-```
-
-
-## Usage
-
-```js
-var xdgBasedir = require('xdg-basedir');
-
-xdgBasedir.data;
-//=> /home/sindresorhus/.local/share
-
-xdgBasedir.config;
-//=> /home/sindresorhus/.config
-
-xdgBasedir.dataDirs
-//=> ['/home/sindresorhus/.local/share', '/usr/local/share/', '/usr/share/']
-```
-
-
-## API
-
-The properties `.data`, `.config`, `.cache`, `.runtime` will return `null` in the uncommon case that both the XDG environment variable is not set and the users home directory can't be found. You need to handle this case. A common solution is to [fall back to a temp directory](https://github.com/yeoman/configstore/blob/b82690fc401318ad18dcd7d151a0003a4898a314/index.js#L15).
-
-### .data
-
-Directory for user specific data files.
-
-### .config
-
-Directory for user specific configuration files.
-
-### .cache
-
-Directory for user specific non-essential data files.
-
-### .runtime
-
-Directory for user-specific non-essential runtime files and other file objects (such as sockets, named pipes, etc).
-
-### .dataDirs
-
-Preference-ordered array of base directories to search for data files in addition to `.data`.
-
-### .configDirs
-
-Preference-ordered array of base directories to search for configuration files in addition to `.config`.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/package.json b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/package.json
deleted file mode 100644
index b92e13ba2..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "name": "xdg-trashdir",
- "version": "2.0.0",
- "description": "Get the correct trash path on Linux",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/kevva/xdg-trashdir.git"
- },
- "author": {
- "name": "Kevin Mårtensson",
- "email": "[email protected]",
- "url": "https://github.com/kevva"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js"
- ],
- "keywords": [
- "dir",
- "file",
- "linux",
- "recycle",
- "trash",
- "xdg"
- ],
- "dependencies": {
- "mount-point": "^1.0.0",
- "pify": "^2.2.0",
- "pinkie-promise": "^1.0.0",
- "user-home": "^1.1.0",
- "xdg-basedir": "^1.0.0"
- },
- "devDependencies": {
- "xo": "*",
- "ava": "*"
- },
- "xo": {
- "ignore": [
- "test/test.js"
- ]
- },
- "gitHead": "345387560a38dafb5aaddadba6cbfa7d2b3620a6",
- "bugs": {
- "url": "https://github.com/kevva/xdg-trashdir/issues"
- },
- "homepage": "https://github.com/kevva/xdg-trashdir#readme",
- "_id": "[email protected]",
- "_shasum": "169b958392099f1cbdcd1b53e8bddf145be35646",
- "_from": "xdg-trashdir@>=2.0.0 <3.0.0",
- "_npmVersion": "3.3.3",
- "_nodeVersion": "4.1.0",
- "_npmUser": {
- "name": "kevva",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "169b958392099f1cbdcd1b53e8bddf145be35646",
- "tarball": "http://registry.npmjs.org/xdg-trashdir/-/xdg-trashdir-2.0.0.tgz"
- },
- "maintainers": [
- {
- "name": "kevva",
- "email": "[email protected]"
- },
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/xdg-trashdir/-/xdg-trashdir-2.0.0.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/readme.md b/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/readme.md
deleted file mode 100644
index d49da1fed..000000000
--- a/data/node-webkit/node_modules/trash/node_modules/xdg-trashdir/readme.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# xdg-trashdir [![Build Status](http://img.shields.io/travis/kevva/xdg-trashdir.svg?style=flat)](https://travis-ci.org/kevva/xdg-trashdir)
-
-> Get the correct trash path on Linux according to the [spec](http://www.ramendik.ru/docs/trashspec.html)
-
-
-## Install
-
-```
-$ npm install --save xdg-trashdir
-```
-
-
-## Usage
-
-```js
-const xdgTrashdir = require('xdg-trashdir');
-
-xdgTrashdir().then(dir => {
- console.log(dir);
- //=> /home/johndoe/.local/share/Trash
-});
-
-xdgTrashdir('foo.zip').then(dir => {
- console.log(dir);
- //=> /media/johndoe/UUI/.Trash-1000
-});
-```
-
-
-## API
-
-### xdgTrashdir([file])
-
-Returns a promise that resolves the path to the trash.
-
-#### file
-
-Type: `string`
-
-Get the trash path for a specific file.
-
-
-## License
-
-MIT © [Kevin Mårtensson](https://github.com/kevva)
diff --git a/data/node-webkit/node_modules/trash/package.json b/data/node-webkit/node_modules/trash/package.json
deleted file mode 100644
index d38b07427..000000000
--- a/data/node-webkit/node_modules/trash/package.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "name": "trash",
- "version": "3.4.1",
- "description": "Move files and folders to the trash",
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/sindresorhus/trash"
- },
- "author": {
- "name": "Sindre Sorhus",
- "email": "[email protected]",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js",
- "lib"
- ],
- "keywords": [
- "trash",
- "recycle",
- "bin",
- "rm",
- "rmrf",
- "rimraf",
- "remove",
- "delete",
- "del",
- "file",
- "files",
- "dir",
- "directory",
- "directories",
- "folder",
- "folders",
- "xdg"
- ],
- "dependencies": {
- "escape-string-applescript": "^1.0.0",
- "fs-extra": "^0.26.2",
- "globby": "^4.0.0",
- "path-exists": "^2.0.0",
- "pify": "^2.3.0",
- "pinkie-promise": "^2.0.0",
- "run-applescript": "^2.0.0",
- "uuid": "^2.0.1",
- "xdg-trashdir": "^2.0.0"
- },
- "devDependencies": {
- "ava": "*",
- "tempfile": "^1.1.1",
- "xo": "*"
- },
- "gitHead": "bd513096be57b0ef647c5632f356c346e496a286",
- "bugs": {
- "url": "https://github.com/sindresorhus/trash/issues"
- },
- "homepage": "https://github.com/sindresorhus/trash",
- "_id": "[email protected]",
- "_shasum": "5de2826ecdaa65474c097b7228dfdc24dc7adcc8",
- "_from": "trash@>=3.4.1 <3.5.0",
- "_npmVersion": "2.14.12",
- "_nodeVersion": "4.2.4",
- "_npmUser": {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- "dist": {
- "shasum": "5de2826ecdaa65474c097b7228dfdc24dc7adcc8",
- "tarball": "http://registry.npmjs.org/trash/-/trash-3.4.1.tgz"
- },
- "maintainers": [
- {
- "name": "sindresorhus",
- "email": "[email protected]"
- },
- {
- "name": "kevva",
- "email": "[email protected]"
- }
- ],
- "directories": {},
- "_resolved": "https://registry.npmjs.org/trash/-/trash-3.4.1.tgz"
-}
diff --git a/data/node-webkit/node_modules/trash/readme.md b/data/node-webkit/node_modules/trash/readme.md
deleted file mode 100644
index 13ccc79ed..000000000
--- a/data/node-webkit/node_modules/trash/readme.md
+++ /dev/null
@@ -1,64 +0,0 @@
-# ![trash](https://cdn.rawgit.com/sindresorhus/trash/1cdbd660976d739eeb45447bb6b62c41ac4a3ecf/media/logo.svg)
-
-> Move files and folders to the trash
-
-[![Build Status](https://travis-ci.org/sindresorhus/trash.svg?branch=master)](https://travis-ci.org/sindresorhus/trash)
-
-Works on OS X, Linux, and Windows.
-
-In contrast to [`fs.unlink`](https://nodejs.org/api/fs.html#fs_fs_unlink_path_callback), [`del`](https://github.com/sindresorhus/del), and [`rimraf`](https://github.com/isaacs/rimraf) which permanently delete files, this only moves them to the trash, which is much safer and reversible.
-
-
-## Install
-
-```
-$ npm install --save trash
-```
-
-
-## Usage
-
-```js
-const trash = require('trash');
-
-trash(['*.png', '!rainbow.png']).then(() => {
- console.log('done');
-});
-```
-
-*You can use [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns).*
-
-
-## CLI
-
-To install the [`trash`](https://github.com/sindresorhus/trash-cli) command, run:
-
-```
-$ npm install --global trash-cli
-```
-
-
-## Info
-
-On OS X, [`osx-trash`](https://github.com/sindresorhus/osx-trash) is used.
-On Linux, the [XDG spec](http://standards.freedesktop.org/trash-spec/trashspec-1.0.html) is followed.
-On Windows, [`recycle-bin`](https://github.com/sindresorhus/recycle-bin) is used.
-
-
-## FAQ
-
-### But I can do the same thing with `mv`
-
-Not really. The `mv` command isn't cross-platform and moving to trash is not just about moving the file to a "trash" directory. On all OSes you'll run into file conflicts. The user won't easily be able to restore the file. It won't work on an external drive. The trash directory location varies between Windows versions. For Linux, there's a whole [spec](http://www.ramendik.ru/docs/trashspec.html) you need to follow. On OS X, you'll lose the [Put back](http://mac-fusion.com/trash-tip-how-to-put-files-back-to-their-original-location/) feature.
-
-
-## Related
-
-- [trash-cli](https://github.com/sindresorhus/trash-cli) - CLI for this module
-- [empty-trash](https://github.com/sindresorhus/empty-trash) - Empty the trash
-- [del](https://github.com/sindresorhus/del) - Delete files and folders
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/data/node-webkit/package.json b/data/node-webkit/package.json
deleted file mode 100644
index 56cbf9674..000000000
--- a/data/node-webkit/package.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "name": "TagSpaces",
- "description": "Dev",
- "version": "1.1.1",
- "main": "../index.html",
- "single-instance": false,
- "window": {
- "icon": "icon128.png",
- "frame": true,
- "toolbar": false,
- "min_width": 320,
- "min_height": 300,
- "width": 1280,
- "height": 768,
- "show": true
- },
- "nodejs": true,
- "dependencies": {
- "fs-extra": "~0.24.0",
- "trash": "~3.4.1"
- },
- "chromium-args" : "--data-path='../../nwjsdata/'"
-}
diff --git a/data/node-webkit/package.tmpl.json b/data/node-webkit/package.tmpl.json
deleted file mode 100644
index b5034b6d6..000000000
--- a/data/node-webkit/package.tmpl.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "name": "@@APPNAME",
- "description": "@@APPDESCRIPTION",
- "version": "@@VERSION.@@BUILD",
- "main": "index.html",
- "single-instance": false,
- "window": {
- "icon": "assets/icon96w.png",
- "toolbar": false,
- "position": "center",
- "min_width": 320,
- "min_height": 300,
- "width": 1280,
- "height": 768
- },
- "nodejs": true
-}
\ No newline at end of file
diff --git a/data/node-webkit/tagspaces.ico b/data/node-webkit/tagspaces.ico
deleted file mode 100644
index ee0f900de..000000000
Binary files a/data/node-webkit/tagspaces.ico and /dev/null differ
diff --git a/data/node-webkit/tagspacesp b/data/node-webkit/tagspacesp
deleted file mode 100644
index c91df19b7..000000000
--- a/data/node-webkit/tagspacesp
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-./tagspaces --data-path=data &
\ No newline at end of file
diff --git a/data/node-webkit/tagspacesp.cmd b/data/node-webkit/tagspacesp.cmd
deleted file mode 100644
index 7863441ac..000000000
--- a/data/node-webkit/tagspacesp.cmd
+++ /dev/null
@@ -1 +0,0 @@
-start /B tagspaces.exe --data-path=data
\ No newline at end of file