Hello community, here is the log from the commit of package python-jsbeautifier for openSUSE:Factory checked in at 2019-09-13 14:58:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jsbeautifier (Old) and /work/SRC/openSUSE:Factory/.python-jsbeautifier.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsbeautifier" Fri Sep 13 14:58:57 2019 rev:5 rq:730158 version:1.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jsbeautifier/python-jsbeautifier.changes 2019-07-24 20:36:20.662568759 +0200 +++ /work/SRC/openSUSE:Factory/.python-jsbeautifier.new.7948/python-jsbeautifier.changes 2019-09-13 14:58:59.065278929 +0200 @@ -1,0 +2,7 @@ +Wed Sep 11 13:28:59 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.10.2: + * Please update CodeMirror Addon (#1695) + * Nested braces indentation (#223) + +------------------------------------------------------------------- Old: ---- jsbeautifier-1.10.1.tar.gz New: ---- jsbeautifier-1.10.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jsbeautifier.spec ++++++ --- /var/tmp/diff_new_pack.7t2Hhq/_old 2019-09-13 14:59:00.205278977 +0200 +++ /var/tmp/diff_new_pack.7t2Hhq/_new 2019-09-13 14:59:00.209278977 +0200 @@ -18,28 +18,27 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jsbeautifier -Version: 1.10.1 +Version: 1.10.2 Release: 0 Summary: JavaScript unobfuscator and beautifier License: MIT Group: Development/Languages/Python -Url: http://jsbeautifier.org +URL: http://jsbeautifier.org Source0: https://files.pythonhosted.org/packages/source/j/jsbeautifier/jsbeautifier-%{version}.tar.gz # https://github.com/beautify-web/js-beautify/issues/1674 Source1: https://raw.githubusercontent.com/beautify-web/js-beautify/master/LICENSE BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-EditorConfig >= 0.12.0 +Requires: python-setuptools +Requires: python-six >= 1.6.1 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module EditorConfig >= 0.12.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six >= 1.6.1} # /SECTION -BuildRequires: fdupes -Requires: python-EditorConfig >= 0.12.0 -Requires: python-setuptools -Requires: python-six >= 1.6.1 -BuildArch: noarch - %python_subpackages %description @@ -60,7 +59,6 @@ %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) %license LICENSE %python3_only %{_bindir}/js-beautify %{python_sitelib}/jsbeautifier ++++++ jsbeautifier-1.10.1.tar.gz -> jsbeautifier-1.10.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsbeautifier-1.10.1/PKG-INFO new/jsbeautifier-1.10.2/PKG-INFO --- old/jsbeautifier-1.10.1/PKG-INFO 2019-07-18 00:56:14.000000000 +0200 +++ new/jsbeautifier-1.10.2/PKG-INFO 2019-08-06 20:14:40.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: jsbeautifier -Version: 1.10.1 +Version: 1.10.2 Summary: JavaScript unobfuscator and beautifier. Home-page: https://beautifier.io Author: Liam Newman, Einar Lielmanis, et al. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsbeautifier-1.10.1/jsbeautifier/__version__.py new/jsbeautifier-1.10.2/jsbeautifier/__version__.py --- old/jsbeautifier-1.10.1/jsbeautifier/__version__.py 2019-07-18 00:54:38.000000000 +0200 +++ new/jsbeautifier-1.10.2/jsbeautifier/__version__.py 2019-08-06 20:12:39.000000000 +0200 @@ -1 +1 @@ -__version__ = '1.10.1' +__version__ = '1.10.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsbeautifier-1.10.1/jsbeautifier/core/templatablepattern.py new/jsbeautifier-1.10.2/jsbeautifier/core/templatablepattern.py --- old/jsbeautifier-1.10.1/jsbeautifier/core/templatablepattern.py 2019-06-06 19:35:11.000000000 +0200 +++ new/jsbeautifier-1.10.2/jsbeautifier/core/templatablepattern.py 2019-08-06 20:12:39.000000000 +0200 @@ -38,6 +38,7 @@ def __init__(self, input_scanner): pattern = Pattern(input_scanner) self.handlebars_comment = pattern.starting_with(r'{{!--').until_after(r'--}}') + self.handlebars_unescaped = pattern.starting_with(r'{{{').until_after(r'}}}') self.handlebars = pattern.starting_with(r'{{').until_after(r'}}') self.php = pattern.starting_with(r'<\?(?:[=]|php)').until_after(r'\?>') self.erb = pattern.starting_with(r'<%[^%]').until_after(r'[^%]%>') @@ -157,6 +158,8 @@ resulting_string = resulting_string or \ self.__patterns.handlebars_comment.read() resulting_string = resulting_string or \ + self.__patterns.handlebars_unescaped.read() + resulting_string = resulting_string or \ self.__patterns.handlebars.read() if not self._disabled.django: # django coflicts with handlebars a bit. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsbeautifier-1.10.1/jsbeautifier/tests/generated/tests.py new/jsbeautifier-1.10.2/jsbeautifier/tests/generated/tests.py --- old/jsbeautifier-1.10.1/jsbeautifier/tests/generated/tests.py 2019-07-18 00:55:46.000000000 +0200 +++ new/jsbeautifier-1.10.2/jsbeautifier/tests/generated/tests.py 2019-08-06 20:14:03.000000000 +0200 @@ -4627,6 +4627,56 @@ # minimal template handling - () self.reset_options() self.options.templating = ['django', 'erb', 'handlebars', 'php'] + bt('var a = {{{$view["name"]; }}};', 'var a = {{{$view["name"]; }}};') + bt( + 'a = abc{{{\n' + + 'for($i = 1; $i <= 100; $i++;) {\n' + + ' #count to 100!\n' + + ' echo($i . "</br>");\n' + + '}\n' + + '}}};') + test_fragment( + '{{{ }}}\n' + + 'test.met{{{ someValue }}}hod();') + bt( + '{{{ "A" }}}abc{{{ "D" }}};\n' + + '{{{ "B" }}}.test();\n' + + '" {{{ "C" \'D\' }}} "') + bt( + '{{{\n' + + 'echo "A";\n' + + '}}};\n' + + 'test.method();') + bt('"{{{";if(0){}"}}}";') + + # minimal template handling - () + self.reset_options() + self.options.templating = ['django', 'erb', 'handlebars', 'php'] + bt('var a = {{^$view["name"]; }};', 'var a = {{^$view["name"]; }};') + bt( + 'a = abc{{^\n' + + 'for($i = 1; $i <= 100; $i++;) {\n' + + ' #count to 100!\n' + + ' echo($i . "</br>");\n' + + '}\n' + + '}};') + test_fragment( + '{{^ }}\n' + + 'test.met{{^ someValue }}hod();') + bt( + '{{^ "A" }}abc{{^ "D" }};\n' + + '{{^ "B" }}.test();\n' + + '" {{^ "C" \'D\' }} "') + bt( + '{{^\n' + + 'echo "A";\n' + + '}};\n' + + 'test.method();') + bt('"{{^";if(0){}"}}";') + + # minimal template handling - () + self.reset_options() + self.options.templating = ['django', 'erb', 'handlebars', 'php'] bt('var a = {{#$view["name"]; }};', 'var a = {{#$view["name"]; }};') bt( 'a = abc{{#\n' + @@ -4822,6 +4872,36 @@ 'if (0) {}') # Templating disabled - ensure formatting - () + self.reset_options() + self.options.templating = ['auto'] + bt( + '"{{{";if(0){}"}}}";', + # -- output -- + '"{{{";\n' + + 'if (0) {}\n' + + '"}}}";') + bt( + '"{{{";if(0){}', + # -- output -- + '"{{{";\n' + + 'if (0) {}') + + # Templating disabled - ensure formatting - () + self.reset_options() + self.options.templating = ['auto'] + bt( + '"{{^";if(0){}"}}";', + # -- output -- + '"{{^";\n' + + 'if (0) {}\n' + + '"}}";') + bt( + '"{{^";if(0){}', + # -- output -- + '"{{^";\n' + + 'if (0) {}') + + # Templating disabled - ensure formatting - () self.reset_options() self.options.templating = ['auto'] bt( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsbeautifier-1.10.1/jsbeautifier.egg-info/PKG-INFO new/jsbeautifier-1.10.2/jsbeautifier.egg-info/PKG-INFO --- old/jsbeautifier-1.10.1/jsbeautifier.egg-info/PKG-INFO 2019-07-18 00:56:12.000000000 +0200 +++ new/jsbeautifier-1.10.2/jsbeautifier.egg-info/PKG-INFO 2019-08-06 20:14:39.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: jsbeautifier -Version: 1.10.1 +Version: 1.10.2 Summary: JavaScript unobfuscator and beautifier. Home-page: https://beautifier.io Author: Liam Newman, Einar Lielmanis, et al. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsbeautifier-1.10.1/jsbeautifier.egg-info/requires.txt new/jsbeautifier-1.10.2/jsbeautifier.egg-info/requires.txt --- old/jsbeautifier-1.10.1/jsbeautifier.egg-info/requires.txt 2019-07-18 00:56:12.000000000 +0200 +++ new/jsbeautifier-1.10.2/jsbeautifier.egg-info/requires.txt 2019-08-06 20:14:39.000000000 +0200 @@ -1,2 +1,2 @@ -six>=1.6.1 -editorconfig>=0.12.0 +six>=1.12.0 +editorconfig>=0.12.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsbeautifier-1.10.1/setup.py new/jsbeautifier-1.10.2/setup.py --- old/jsbeautifier-1.10.1/setup.py 2019-06-06 19:35:11.000000000 +0200 +++ new/jsbeautifier-1.10.2/setup.py 2019-08-06 20:12:39.000000000 +0200 @@ -44,7 +44,7 @@ 'jsbeautifier.core', 'jsbeautifier.javascript', 'jsbeautifier.unpackers', 'jsbeautifier.unpackers.tests'], - install_requires=["six>=1.6.1", "editorconfig>=0.12.0"], + install_requires=["six>=1.12.0", "editorconfig>=0.12.2"], license='MIT', test_suite='pytest.collector', cmdclass={'test': PyTest},