This commit is contained in:
arnaucode
2017-02-03 08:56:51 +01:00
parent c4b7414770
commit 112745d6fa
1585 changed files with 450241 additions and 0 deletions

47
www/node_modules/opener/LICENSE.txt generated vendored Normal file
View File

@@ -0,0 +1,47 @@
Dual licensed under WTFPL and MIT:
---
Copyright © 20122016 Domenic Denicola <d@domenic.me>
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See below for more details.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
---
The MIT License (MIT)
Copyright © 20122016 Domenic Denicola <d@domenic.me>
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.

60
www/node_modules/opener/opener.js generated vendored Executable file
View File

@@ -0,0 +1,60 @@
#!/usr/bin/env node
"use strict";
var childProcess = require("child_process");
function opener(args, options, callback) {
// http://stackoverflow.com/q/1480971/3191, but see below for Windows.
var command = process.platform === "win32" ? "cmd" :
process.platform === "darwin" ? "open" :
"xdg-open";
if (typeof args === "string") {
args = [args];
}
if (typeof options === "function") {
callback = options;
options = {};
}
if (options && typeof options === "object" && options.command) {
if (process.platform === "win32") {
// *always* use cmd on windows
args = [options.command].concat(args);
} else {
command = options.command;
}
}
if (process.platform === "win32") {
// On Windows, we really want to use the "start" command. But, the rules regarding arguments with spaces, and
// escaping them with quotes, can get really arcane. So the easiest way to deal with this is to pass off the
// responsibility to "cmd /c", which has that logic built in.
//
// Furthermore, if "cmd /c" double-quoted the first parameter, then "start" will interpret it as a window title,
// so we need to add a dummy empty-string window title: http://stackoverflow.com/a/154090/3191
//
// Additionally, on Windows ampersand needs to be escaped when passed to "start"
args = args.map(function(value) {
return value.replace(/&/g, '^&');
});
args = ["/c", "start", '""'].concat(args);
}
return childProcess.execFile(command, args, options, callback);
}
// Export `opener` for programmatic access.
// You might use this to e.g. open a website: `opener("http://google.com")`
module.exports = opener;
// If we're being called from the command line, just execute, using the command-line arguments.
if (require.main && require.main.id === module.id) {
opener(process.argv.slice(2), function (error) {
if (error) {
throw error;
}
});
}

93
www/node_modules/opener/package.json generated vendored Normal file
View File

@@ -0,0 +1,93 @@
{
"_args": [
[
{
"raw": "opener@~1.4.0",
"scope": null,
"escapedName": "opener",
"name": "opener",
"rawSpec": "~1.4.0",
"spec": ">=1.4.0 <1.5.0",
"type": "range"
},
"/home/nau/MEGA/CODI/githubRepos/colspace/www/node_modules/http-server"
]
],
"_from": "opener@>=1.4.0 <1.5.0",
"_id": "opener@1.4.2",
"_inCache": true,
"_location": "/opener",
"_nodeVersion": "6.2.2",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/opener-1.4.2.tgz_1473551216353_0.850118016358465"
},
"_npmUser": {
"name": "domenic",
"email": "d@domenic.me"
},
"_npmVersion": "3.9.5",
"_phantomChildren": {},
"_requested": {
"raw": "opener@~1.4.0",
"scope": null,
"escapedName": "opener",
"name": "opener",
"rawSpec": "~1.4.0",
"spec": ">=1.4.0 <1.5.0",
"type": "range"
},
"_requiredBy": [
"/http-server"
],
"_resolved": "https://registry.npmjs.org/opener/-/opener-1.4.2.tgz",
"_shasum": "b32582080042af8680c389a499175b4c54fff523",
"_shrinkwrap": null,
"_spec": "opener@~1.4.0",
"_where": "/home/nau/MEGA/CODI/githubRepos/colspace/www/node_modules/http-server",
"author": {
"name": "Domenic Denicola",
"email": "d@domenic.me",
"url": "https://domenic.me/"
},
"bin": {
"opener": "opener.js"
},
"bugs": {
"url": "https://github.com/domenic/opener/issues"
},
"dependencies": {},
"description": "Opens stuff, like webpages and files and executables, cross-platform",
"devDependencies": {
"jshint": "^2.6.3"
},
"directories": {},
"dist": {
"shasum": "b32582080042af8680c389a499175b4c54fff523",
"tarball": "https://registry.npmjs.org/opener/-/opener-1.4.2.tgz"
},
"files": [
"opener.js"
],
"gitHead": "ef28bf7c20de6cea3ff0e9bf0294a78c237e716d",
"homepage": "https://github.com/domenic/opener#readme",
"license": "(WTFPL OR MIT)",
"main": "opener.js",
"maintainers": [
{
"name": "domenic",
"email": "domenic@domenicdenicola.com"
}
],
"name": "opener",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/domenic/opener.git"
},
"scripts": {
"lint": "jshint opener.js"
},
"version": "1.4.2"
}