[Pkg-javascript-commits] [uglifyjs] 06/18: Rewrite short and long description based on upstream texts.

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 20:30:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master-experimental
in repository uglifyjs.

commit 851096f9b32bfab34b652560749d8bc792aa1512
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri May 2 10:12:50 2014 +0200

    Rewrite short and long description based on upstream texts.
---
 debian/control.in | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index d8ec8f5..bb6e920 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -15,6 +15,26 @@ Architecture: all
 Depends: ${cdbs:Depends},
  ${misc:Depends}
 Provides: ${cdbs:Provides}
-Description: JavaScript parser/compressor/beautifier
- This package implements a general-purpose JavaScript
- parser/compressor/beautifier toolkit.
+Description: JavaScript parser, mangler/compressor and beautifier toolkit
+ UglifyJS is a JavaScript compressor/minifier written in JavaScript. It
+ also contains tools that allow one to automate working with JavaScript
+ code:
+ .
+  * A parser which produces an abstract syntax tree (AST) from
+    JavaScript code.
+  * A code generator which outputs JavaScript code from an AST, also
+    providing the option to get a source map.
+  * A compressor (optimizer) — it uses the transformer API to optimize
+    an AST into a smaller one.
+  * A mangler — reduce names of local variables to (usually)
+    single-letters.
+  * A scope analyzer, which is a tool that augments the AST with
+    information about where variables are defined/referenced etc.
+  * A tree walker — a simple API allowing you to do something on every
+    node in the AST.
+  * A tree transformer — another API intended to transform the tree.
+ .
+ All the above utilities and APIs are defined in ~6500 lines of code
+ (except for the effective generation of the source-map, which is
+ handled by the source-map module). Compared to alternatives, UglifyJS
+ is pretty small.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list