aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-05-05 14:07:33 +0100
committerGitHub <noreply@github.com>2020-05-05 21:07:33 +0800
commit6bf14869359dbdc70aa5352d39234729e83cd4f9 (patch)
treecbf8d5f041e627784bd0501259d9a17e60f6143a /lib
parentffa19431773aec2205b4dfe7bbcc6d20e4e733fb (diff)
downloadtracifyjs-6bf14869359dbdc70aa5352d39234729e83cd4f9.tar.gz
tracifyjs-6bf14869359dbdc70aa5352d39234729e83cd4f9.zip
update links to repository after rename (#3847)
Diffstat (limited to 'lib')
-rw-r--r--lib/ast.js2
-rw-r--r--lib/compress.js16
-rw-r--r--lib/mozilla-ast.js2
-rw-r--r--lib/output.js8
-rw-r--r--lib/parse.js4
-rw-r--r--lib/propmangle.js2
-rw-r--r--lib/scope.js2
-rw-r--r--lib/sourcemap.js2
-rw-r--r--lib/transform.js2
-rw-r--r--lib/utils.js2
10 files changed, 21 insertions, 21 deletions
diff --git a/lib/ast.js b/lib/ast.js
index a3b80214..1f6f717d 100644
--- a/lib/ast.js
+++ b/lib/ast.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
diff --git a/lib/compress.js b/lib/compress.js
index 59e4d861..eb359df9 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
@@ -212,7 +212,7 @@ merge(Compressor.prototype, {
node.hoist_declarations(this);
node.process_boolean_returns(this);
}
- // Before https://github.com/mishoo/UglifyJS2/pull/1602 AST_Node.optimize()
+ // Before https://github.com/mishoo/UglifyJS/pull/1602 AST_Node.optimize()
// would call AST_Node.transform() if a different instance of AST_Node is
// produced after OPT().
// This corrupts TreeWalker.stack, which cause AST look-ups to malfunction.
@@ -4392,7 +4392,7 @@ merge(Compressor.prototype, {
}
if (node instanceof AST_LabeledStatement && node.body instanceof AST_For) {
// Certain combination of unused name + side effect leads to invalid AST:
- // https://github.com/mishoo/UglifyJS2/issues/1830
+ // https://github.com/mishoo/UglifyJS/issues/1830
// We fix it at this stage by moving the label inwards, back to the `for`.
descend(node, tt);
if (node.body instanceof AST_BlockStatement) {
@@ -4413,9 +4413,9 @@ merge(Compressor.prototype, {
}, function(node, in_list) {
if (node instanceof AST_For) {
// Certain combination of unused name + side effect leads to invalid AST:
- // https://github.com/mishoo/UglifyJS2/issues/44
- // https://github.com/mishoo/UglifyJS2/issues/1838
- // https://github.com/mishoo/UglifyJS2/issues/3371
+ // https://github.com/mishoo/UglifyJS/issues/44
+ // https://github.com/mishoo/UglifyJS/issues/1838
+ // https://github.com/mishoo/UglifyJS/issues/3371
// We fix it at this stage by moving the `var` outside the `for`.
var block;
if (node.init instanceof AST_BlockStatement) {
@@ -5468,7 +5468,7 @@ merge(Compressor.prototype, {
&& self.condition instanceof AST_Binary && self.condition.operator == "||") {
// although the code length of self.condition and negated are the same,
// negated does not require additional surrounding parentheses.
- // see https://github.com/mishoo/UglifyJS2/issues/979
+ // see https://github.com/mishoo/UglifyJS/issues/979
negated_is_best = true;
}
body.push(make_node(AST_SimpleStatement, self, {
@@ -6087,7 +6087,7 @@ merge(Compressor.prototype, {
return x instanceof AST_String;
})) {
// quite a corner-case, but we can handle it:
- // https://github.com/mishoo/UglifyJS2/issues/203
+ // https://github.com/mishoo/UglifyJS/issues/203
// if the code argument is a constant, then we can minify it.
try {
var code = "n(function(" + self.args.slice(0, -1).map(function(arg) {
diff --git a/lib/mozilla-ast.js b/lib/mozilla-ast.js
index b6fb29bf..e538d6e8 100644
--- a/lib/mozilla-ast.js
+++ b/lib/mozilla-ast.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
diff --git a/lib/output.js b/lib/output.js
index 31c7a4b4..62050b4d 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
@@ -783,8 +783,8 @@ function OutputStream(options) {
var p = output.parent();
if (p instanceof AST_PropAccess && p.expression === this) {
var value = this.value;
- // https://github.com/mishoo/UglifyJS2/issues/115
- // https://github.com/mishoo/UglifyJS2/pull/1009
+ // https://github.com/mishoo/UglifyJS/issues/115
+ // https://github.com/mishoo/UglifyJS/pull/1009
if (value < 0 || /^0/.test(make_num(value))) {
return true;
}
@@ -1149,7 +1149,7 @@ function OutputStream(options) {
function parenthesize_for_noin(node, output, noin) {
var parens = false;
// need to take some precautions here:
- // https://github.com/mishoo/UglifyJS2/issues/60
+ // https://github.com/mishoo/UglifyJS/issues/60
if (noin) node.walk(new TreeWalker(function(node) {
if (parens || node instanceof AST_Scope) return true;
if (node instanceof AST_Binary && node.operator == "in") {
diff --git a/lib/parse.js b/lib/parse.js
index a04533a4..abbf2df4 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
@@ -948,7 +948,7 @@ function parse($TEXT, options) {
if (!(stat instanceof AST_IterationStatement)) {
// check for `continue` that refers to this label.
// those should be reported as syntax errors.
- // https://github.com/mishoo/UglifyJS2/issues/287
+ // https://github.com/mishoo/UglifyJS/issues/287
label.references.forEach(function(ref) {
if (ref instanceof AST_Continue) {
ref = ref.label.start;
diff --git a/lib/propmangle.js b/lib/propmangle.js
index 9f8bc7fd..ebd1f4e9 100644
--- a/lib/propmangle.js
+++ b/lib/propmangle.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
diff --git a/lib/scope.js b/lib/scope.js
index adbfe4ac..2f49df76 100644
--- a/lib/scope.js
+++ b/lib/scope.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
diff --git a/lib/sourcemap.js b/lib/sourcemap.js
index 0e982f09..c2587c88 100644
--- a/lib/sourcemap.js
+++ b/lib/sourcemap.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
diff --git a/lib/transform.js b/lib/transform.js
index e97cb741..153713dc 100644
--- a/lib/transform.js
+++ b/lib/transform.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------
diff --git a/lib/utils.js b/lib/utils.js
index 32d410a1..2451c536 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -1,7 +1,7 @@
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
- https://github.com/mishoo/UglifyJS2
+ https://github.com/mishoo/UglifyJS
-------------------------------- (C) ---------------------------------