File: PKG-INFO

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