https://github.com/mishoo/UglifyJS
- HEAD
- refs/heads/harmony
- refs/heads/master
- refs/heads/v2.x
- refs/tags/harmony-v2.8.0
- refs/tags/harmony-v2.8.10
- refs/tags/harmony-v2.8.11
- refs/tags/harmony-v2.8.12
- refs/tags/harmony-v2.8.13
- refs/tags/harmony-v2.8.14
- refs/tags/harmony-v2.8.15
- refs/tags/harmony-v2.8.17
- refs/tags/harmony-v2.8.19
- refs/tags/harmony-v2.8.2
- refs/tags/harmony-v2.8.21
- refs/tags/harmony-v2.8.22
- refs/tags/harmony-v2.8.4
- refs/tags/harmony-v2.8.5
- refs/tags/harmony-v2.8.7
- refs/tags/harmony-v3.0.0
- refs/tags/harmony-v3.0.1
- refs/tags/harmony-v3.0.10
- refs/tags/harmony-v3.0.11
- refs/tags/harmony-v3.0.12
- refs/tags/harmony-v3.0.13
- refs/tags/harmony-v3.0.14
- refs/tags/harmony-v3.0.15
- refs/tags/harmony-v3.0.17
- refs/tags/harmony-v3.0.18
- refs/tags/harmony-v3.0.19
- refs/tags/harmony-v3.0.2
- refs/tags/harmony-v3.0.20
- refs/tags/harmony-v3.0.21
- refs/tags/harmony-v3.0.22
- refs/tags/harmony-v3.0.23
- refs/tags/harmony-v3.0.24
- refs/tags/harmony-v3.0.25
- refs/tags/harmony-v3.0.26
- refs/tags/harmony-v3.0.27
- refs/tags/harmony-v3.0.28
- refs/tags/harmony-v3.0.3
- refs/tags/harmony-v3.0.4
- refs/tags/harmony-v3.0.5
- refs/tags/harmony-v3.0.6
- refs/tags/harmony-v3.0.7
- refs/tags/harmony-v3.0.8
- refs/tags/harmony-v3.0.9
- refs/tags/harmony-v3.1.0
- refs/tags/harmony-v3.1.1
- refs/tags/harmony-v3.1.10
- refs/tags/harmony-v3.1.2
- refs/tags/harmony-v3.1.3
- refs/tags/harmony-v3.1.4
- refs/tags/harmony-v3.1.5
- refs/tags/harmony-v3.1.6
- refs/tags/harmony-v3.1.7
- refs/tags/harmony-v3.1.8
- refs/tags/harmony-v3.1.9
- refs/tags/harmony-v3.2.0
- refs/tags/harmony-v3.2.1
- refs/tags/harmony-v3.2.2
- refs/tags/harmony-v3.3.0
- refs/tags/harmony-v3.3.1
- refs/tags/harmony-v3.3.10
- refs/tags/harmony-v3.3.2
- refs/tags/harmony-v3.3.3
- refs/tags/harmony-v3.3.4
- refs/tags/harmony-v3.3.5
- refs/tags/harmony-v3.3.6
- refs/tags/harmony-v3.3.7
- refs/tags/harmony-v3.3.8
- refs/tags/harmony-v3.3.9
- refs/tags/v2.0
- refs/tags/v2.1
- refs/tags/v2.1.1
- refs/tags/v2.1.10
- refs/tags/v2.1.11
- refs/tags/v2.1.2
- refs/tags/v2.1.3
- refs/tags/v2.1.4
- refs/tags/v2.1.5
- refs/tags/v2.1.6
- refs/tags/v2.1.7
- refs/tags/v2.1.8
- refs/tags/v2.1.9
- refs/tags/v2.2.0
- refs/tags/v2.2.1
- refs/tags/v2.2.2
- refs/tags/v2.2.3
- refs/tags/v2.2.4
- refs/tags/v2.2.5
- refs/tags/v2.3
- refs/tags/v2.3.0
- refs/tags/v2.3.1
- refs/tags/v2.3.2
- refs/tags/v2.3.3
- refs/tags/v2.3.4
- refs/tags/v2.3.5
- refs/tags/v2.3.6
- refs/tags/v2.4.0
- refs/tags/v2.4.1
- refs/tags/v2.4.10
- refs/tags/v2.4.11
- refs/tags/v2.4.12
- refs/tags/v2.4.13
- refs/tags/v2.4.14
- refs/tags/v2.4.15
- refs/tags/v2.4.16
- refs/tags/v2.4.17
- refs/tags/v2.4.18
- refs/tags/v2.4.19
- refs/tags/v2.4.2
- refs/tags/v2.4.20
- refs/tags/v2.4.21
- refs/tags/v2.4.22
- refs/tags/v2.4.23
- refs/tags/v2.4.24
- refs/tags/v2.4.3
- refs/tags/v2.4.4
- refs/tags/v2.4.5
- refs/tags/v2.4.6
- refs/tags/v2.4.7
- refs/tags/v2.4.8
- refs/tags/v2.4.9
- refs/tags/v2.5.0
- refs/tags/v2.6.0
- refs/tags/v2.6.1
- refs/tags/v2.6.2
- refs/tags/v2.8.0
- refs/tags/v2.8.1
- refs/tags/v2.8.10
- refs/tags/v2.8.11
- refs/tags/v2.8.12
- refs/tags/v2.8.13
- refs/tags/v2.8.14
- refs/tags/v2.8.15
- refs/tags/v2.8.16
- refs/tags/v2.8.17
- refs/tags/v2.8.18
- refs/tags/v2.8.19
- refs/tags/v2.8.2
- refs/tags/v2.8.20
- refs/tags/v2.8.21
- refs/tags/v2.8.22
- refs/tags/v2.8.23
- refs/tags/v2.8.24
- refs/tags/v2.8.25
- refs/tags/v2.8.26
- refs/tags/v2.8.27
- refs/tags/v2.8.28
- refs/tags/v2.8.29
- refs/tags/v2.8.3
- refs/tags/v2.8.4
- refs/tags/v2.8.5
- refs/tags/v2.8.6
- refs/tags/v2.8.7
- refs/tags/v2.8.8
- refs/tags/v2.8.9
- refs/tags/v3.0.0
- refs/tags/v3.0.1
- refs/tags/v3.0.10
- refs/tags/v3.0.11
- refs/tags/v3.0.12
- refs/tags/v3.0.13
- refs/tags/v3.0.14
- refs/tags/v3.0.15
- refs/tags/v3.0.16
- refs/tags/v3.0.17
- refs/tags/v3.0.18
- refs/tags/v3.0.19
- refs/tags/v3.0.2
- refs/tags/v3.0.20
- refs/tags/v3.0.21
- refs/tags/v3.0.22
- refs/tags/v3.0.23
- refs/tags/v3.0.24
- refs/tags/v3.0.25
- refs/tags/v3.0.26
- refs/tags/v3.0.27
- refs/tags/v3.0.28
- refs/tags/v3.0.3
- refs/tags/v3.0.4
- refs/tags/v3.0.5
- refs/tags/v3.0.6
- refs/tags/v3.0.7
- refs/tags/v3.0.8
- refs/tags/v3.0.9
- refs/tags/v3.1.0
- refs/tags/v3.1.1
- refs/tags/v3.1.10
- refs/tags/v3.1.2
- refs/tags/v3.1.3
- refs/tags/v3.1.4
- refs/tags/v3.1.5
- refs/tags/v3.1.6
- refs/tags/v3.1.7
- refs/tags/v3.1.8
- refs/tags/v3.1.9
- refs/tags/v3.10.0
- refs/tags/v3.10.1
- refs/tags/v3.10.2
- refs/tags/v3.10.3
- refs/tags/v3.10.4
- refs/tags/v3.11.0
- refs/tags/v3.11.1
- refs/tags/v3.11.2
- refs/tags/v3.11.3
- refs/tags/v3.11.4
- refs/tags/v3.11.5
- refs/tags/v3.11.6
- refs/tags/v3.12.0
- refs/tags/v3.12.1
- refs/tags/v3.12.2
- refs/tags/v3.12.3
- refs/tags/v3.12.4
- refs/tags/v3.12.5
- refs/tags/v3.12.6
- refs/tags/v3.12.7
- refs/tags/v3.12.8
- refs/tags/v3.13.0
- refs/tags/v3.13.1
- refs/tags/v3.13.10
- refs/tags/v3.13.2
- refs/tags/v3.13.3
- refs/tags/v3.13.4
- refs/tags/v3.13.5
- refs/tags/v3.13.6
- refs/tags/v3.13.7
- refs/tags/v3.13.8
- refs/tags/v3.13.9
- refs/tags/v3.14.0
- refs/tags/v3.14.1
- refs/tags/v3.14.2
- refs/tags/v3.14.3
- refs/tags/v3.14.4
- refs/tags/v3.14.5
- refs/tags/v3.15.0
- refs/tags/v3.15.1
- refs/tags/v3.15.2
- refs/tags/v3.15.3
- refs/tags/v3.15.4
- refs/tags/v3.15.5
- refs/tags/v3.16.0
- refs/tags/v3.16.1
- refs/tags/v3.16.2
- refs/tags/v3.16.3
- refs/tags/v3.17.0
- refs/tags/v3.17.1
- refs/tags/v3.17.2
- refs/tags/v3.17.3
- refs/tags/v3.17.4
- refs/tags/v3.18.0
- refs/tags/v3.19.0
- refs/tags/v3.19.1
- refs/tags/v3.19.2
- refs/tags/v3.19.3
- refs/tags/v3.2.0
- refs/tags/v3.2.1
- refs/tags/v3.2.2
- refs/tags/v3.3.0
- refs/tags/v3.3.1
- refs/tags/v3.3.10
- refs/tags/v3.3.11
- refs/tags/v3.3.12
- refs/tags/v3.3.13
- refs/tags/v3.3.14
- refs/tags/v3.3.15
- refs/tags/v3.3.16
- refs/tags/v3.3.17
- refs/tags/v3.3.18
- refs/tags/v3.3.19
- refs/tags/v3.3.2
- refs/tags/v3.3.20
- refs/tags/v3.3.21
- refs/tags/v3.3.22
- refs/tags/v3.3.23
- refs/tags/v3.3.24
- refs/tags/v3.3.25
- refs/tags/v3.3.26
- refs/tags/v3.3.27
- refs/tags/v3.3.28
- refs/tags/v3.3.3
- refs/tags/v3.3.4
- refs/tags/v3.3.5
- refs/tags/v3.3.6
- refs/tags/v3.3.7
- refs/tags/v3.3.8
- refs/tags/v3.3.9
- refs/tags/v3.4.0
- refs/tags/v3.4.1
- refs/tags/v3.4.10
- refs/tags/v3.4.2
- refs/tags/v3.4.3
- refs/tags/v3.4.4
- refs/tags/v3.4.5
- refs/tags/v3.4.6
- refs/tags/v3.4.7
- refs/tags/v3.4.8
- refs/tags/v3.4.9
- refs/tags/v3.5.0
- refs/tags/v3.5.1
- refs/tags/v3.5.10
- refs/tags/v3.5.11
- refs/tags/v3.5.12
- refs/tags/v3.5.13
- refs/tags/v3.5.14
- refs/tags/v3.5.15
- refs/tags/v3.5.2
- refs/tags/v3.5.3
- refs/tags/v3.5.4
- refs/tags/v3.5.5
- refs/tags/v3.5.6
- refs/tags/v3.5.7
- refs/tags/v3.5.8
- refs/tags/v3.5.9
- refs/tags/v3.6.0
- refs/tags/v3.6.1
- refs/tags/v3.6.2
- refs/tags/v3.6.3
- refs/tags/v3.6.4
- refs/tags/v3.6.5
- refs/tags/v3.6.6
- refs/tags/v3.6.7
- refs/tags/v3.6.8
- refs/tags/v3.6.9
- refs/tags/v3.7.0
- refs/tags/v3.7.1
- refs/tags/v3.7.2
- refs/tags/v3.7.3
- refs/tags/v3.7.4
- refs/tags/v3.7.5
- refs/tags/v3.7.6
- refs/tags/v3.7.7
- refs/tags/v3.8.0
- refs/tags/v3.8.1
- refs/tags/v3.9.0
- refs/tags/v3.9.1
- refs/tags/v3.9.2
- refs/tags/v3.9.3
- refs/tags/v3.9.4
Raw File
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.Processing "take a new snapshot" request ...
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: 5beb7e4797097d2b35d45a4fec7c08f91eef615b authored by Alex Lam S.L on 12 January 2020, 03:12:11 UTC
v3.7.5
v3.7.5
Tip revision: 5beb7e4
fetch.js
var fs = require("fs");
var parse = require("url").parse;
var path = require("path");
try {
fs.mkdirSync("./tmp");
} catch (e) {
if (e.code != "EEXIST") throw e;
}
function local(url) {
return path.join("./tmp", encodeURIComponent(url));
}
function read(url) {
return fs.createReadStream(local(url));
}
module.exports = function(url, callback) {
var result = read(url);
result.on("error", function(e) {
if (e.code != "ENOENT") return callback(e);
var options = parse(url);
options.rejectUnauthorized = false;
require(options.protocol.slice(0, -1)).get(options, function(res) {
if (res.statusCode !== 200) return callback(res.statusCode);
res.pipe(fs.createWriteStream(local(url)));
callback(null, res);
});
}).on("open", function() {
callback(null, result);
});
};