added old data

This commit is contained in:
TinyAtoms
2020-08-01 19:26:11 -03:00
commit 276ef453dc
2923 changed files with 307078 additions and 0 deletions

6
project3/node_modules/jshint/bin/apply generated vendored Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env node
var shjs = require("shelljs");
var url = "https://github.com/jshint/jshint/pull/" + process.argv[2] + ".diff";
shjs.exec('curl "' + url + '" | git apply');

38
project3/node_modules/jshint/bin/build generated vendored Executable file
View File

@@ -0,0 +1,38 @@
#!/usr/bin/env node
/*jshint shelljs:true */
"use strict";
var path = require("path");
var build = require("../scripts/build");
require("shelljs/make");
var distDir = path.join(__dirname, "../dist");
if (!test("-e", distDir))
mkdir(distDir);
build("web", function(err, version, src) {
if (err) {
console.error(err);
process.exit(1);
}
src.to(distDir + "/jshint.js");
console.log("Built: " + version + " (web)");
});
build("rhino", function(err, version, src) {
var dest;
if (err) {
console.error(err);
process.exit(1);
}
dest = distDir + "/jshint-rhino.js";
chmod("+x", dest);
src.to(dest);
console.log("Built: " + version + " (Rhino)");
});

3
project3/node_modules/jshint/bin/jshint generated vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env node
require("../src/cli.js").interpret(process.argv);

36
project3/node_modules/jshint/bin/land generated vendored Executable file
View File

@@ -0,0 +1,36 @@
#!/usr/bin/env node
"use strict";
var url = "https://github.com/jshint/jshint/pull/" + process.argv[2] + ".patch";
var https = require("https");
var shjs = require("shelljs");
var opts = require("url").parse(url);
var msg = process.argv[3];
opts.rejectUnauthorized = false;
opts.agent = new https.Agent(opts);
https.get(opts, succ).on("error", err);
function succ(res) {
if (res.statusCode !== 200)
return void console.log("error:", res.statusCode);
var data = "";
res.on("data", function (chunk) {
data += chunk.toString();
});
res.on("end", function () {
data = data.split("\n");
data = data[1].replace(/^From\:\s/, "");
data = data.replace(/"/g, "");
shjs.exec("git commit -s --author=\"" + data + "\" --message=\"" + msg + "\"");
});
}
function err(res) {
console.log("error:", res.message);
}