Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: telemetry/third_party/webpagereplay/third_party/jsmin/PKG-INFO

Issue 2210063003: Rename third_party/webpagereplay to third_party/web-page-replay (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Metadata-Version: 1.1
2 Name: jsmin
3 Version: 2.2.1
4 Summary: JavaScript minifier.
5 Home-page: https://bitbucket.org/dcs/jsmin/
6 Author: Tikitu de Jager
7 Author-email: tikitu+jsmin@logophile.org
8 License: MIT License
9 Description: =====
10 jsmin
11 =====
12
13 JavaScript minifier.
14
15 Usage
16 =====
17
18 .. code:: python
19
20 from jsmin import jsmin
21 with open('myfile.js') as js_file:
22 minified = jsmin(js_file.read())
23
24 You can run it as a commandline tool also::
25
26 python -m jsmin myfile.js
27
28 NB: ``jsmin`` makes no attempt to be compatible with
29 `ECMAScript 6 / ES.next / Harmony <http://wiki.ecmascript.org/doku.php?i d=harmony:specification_drafts>`_.
30 The current maintainer does not intend to add ES6-compatibility. If you would
31 like to take over maintenance and update ``jsmin`` for ES6, please conta ct
32 `Tikitu de Jager <mailto:tikitu+jsmin@logophile.org>`_. Pull requests ar e also
33 welcome, of course, but my time to review them is somewhat limited these days.
34
35 If you're using ``jsmin`` on ES6 code, though, you might find the ``quot e_chars``
36 parameter useful:
37
38 .. code:: python
39
40 from jsmin import jsmin
41 with open('myfile.js') as js_file:
42 minified = jsmin(js_file.read(), quote_chars="'\"`")
43
44
45 Where to get it
46 ===============
47
48 * install the package `from pypi <https://pypi.python.org/pypi/jsmin/>`_
49 * get the latest release `from latest-release on github <https://github. com/tikitu/jsmin/tree/latest-release/jsmin>`_
50 * get the development version `from master on github <https://github.com /tikitu/jsmin/>`_
51
52 Contributing
53 ============
54
55 `Issues <https://github.com/tikitu/jsmin/issues>`_ and `Pull requests <h ttps://github.com/tikitu/jsmin/pulls>`_
56 will be gratefully received on Github. The project used to be hosted
57 `on bitbucket <https://bitbucket.org/dcs/jsmin/>`_ and old issues can st ill be
58 found there.
59
60 If possible, please make separate pull requests for tests and for code: tests will be added to the `latest-release` branch while code will go to `master `.
61
62 Unless you request otherwise, your Github identity will be added to the contributor's list below; if you prefer a
63 different name feel free to add it in your pull request instead. (If you prefer not to be mentioned you'll have to let
64 the maintainer know somehow.)
65
66 Build/test status
67 =================
68
69 Both branches are tested with Travis: https://travis-ci.org/tikitu/jsmin
70
71 The `latest-release` branch (the version on PyPI plus any new tests) is tested against CPython 2.6, 2.7, 3.2, and 3.3.
72 Currently:
73
74 .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=latest-release
75
76 If that branch is failing that means there's a new test that fails on *t he latest released version on pypi*, with no fix yet
77 released.
78
79 The `master` branch (development version, might be ahead of latest relea sed version) is tested against CPython 2.6, 2.7, 3.2, and
80 3.3. Currently:
81
82 .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=master
83
84 If `master` is failing don't use it, but as long as `latest-release` is passing the pypi release should be ok.
85
86 Contributors (chronological commit order)
87 =========================================
88
89 * `Dave St.Germain <https://bitbucket.org/dcs>`_ (original author)
90 * `Hans weltar <https://bitbucket.org/hansweltar>`_
91 * `Tikitu de Jager <mailto:tikitu+jsmin@logophile.org>`_ (current mainta iner)
92 * https://bitbucket.org/rennat
93 * `Nick Alexander <https://bitbucket.org/ncalexan>`_
94 * `Gennady Kovshenin <https://github.com/soulseekah>`_
95 * `Matt Molyneaux <https://github.com/moggers87>`_
96
97 Changelog
98 =========
99
100 v2.2.1 (2016-03-06) Tikitu de Jager
101 -----------------------------------
102
103 - Fix #14: Infinite loop on `return x / 1;`
104
105 v2.2.0 (2015-12-19) Tikitu de Jager
106 -----------------------------------
107
108 - Merge #13: Preserve "loud comments" starting with `/*!`
109
110 These are commonly used for copyright notices, and are preserved by va rious
111 other minifiers (e.g. YUI Compressor).
112
113 v2.1.6 (2015-10-14) Tikitu de Jager
114 -----------------------------------
115
116 - Fix #12: Newline following a regex literal should not be elided.
117
118 v2.1.5 (2015-10-11) Tikitu de Jager
119 -----------------------------------
120
121 - Fix #9: Premature end of statement caused by multi-line comment not
122 adding newline.
123
124 - Fix #10: Removing multiline comment separating tokens must leave a spa ce.
125
126 - Refactor comment handling for maintainability.
127
128 v2.1.4 (2015-08-23) Tikitu de Jager
129 -----------------------------------
130
131 - Fix #6: regex literal matching comment was not correctly matched.
132
133 - Refactor regex literal handling for robustness.
134
135 v2.1.3 (2015-08-09) Tikitu de Jager
136 -----------------------------------
137
138 - Reset issue numbering: issues live in github from now on.
139
140 - Fix #1: regex literal was not recognised when occurring directly after `{`.
141
142 v2.1.2 (2015-07-12) Tikitu de Jager
143 -----------------------------------
144
145 - Issue numbers here and below refer to the bitbucket repository.
146
147 - Fix #17: bug when JS starts with comment then literal regex.
148
149 v2.1.1 (2015-02-14) Tikitu de Jager
150 -----------------------------------
151
152 - Fix #16: bug returning a literal regex containing escaped forward-slas hes.
153
154 v2.1.0 (2014-12-24) Tikitu de Jager
155 -----------------------------------
156
157 - First changelog entries; see README.rst for prior contributors.
158
159 - Expose quote_chars parameter to provide just enough unofficial Harmony
160 support to be useful.
161
162
163 Platform: UNKNOWN
164 Classifier: Development Status :: 5 - Production/Stable
165 Classifier: Environment :: Web Environment
166 Classifier: Intended Audience :: Developers
167 Classifier: License :: OSI Approved :: MIT License
168 Classifier: Operating System :: OS Independent
169 Classifier: Programming Language :: Python :: 2
170 Classifier: Programming Language :: Python :: 2.6
171 Classifier: Programming Language :: Python :: 2.7
172 Classifier: Programming Language :: Python :: 3
173 Classifier: Programming Language :: Python :: 3.2
174 Classifier: Programming Language :: Python :: 3.3
175 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
176 Classifier: Topic :: Software Development :: Pre-processors
177 Classifier: Topic :: Text Processing :: Filters
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698