New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

python-minifier

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-minifier - pypi Package Compare versions

Comparing version
2.11.0
to
2.11.1
+1
-1
PKG-INFO
Metadata-Version: 2.1
Name: python_minifier
Version: 2.11.0
Version: 2.11.1
Summary: Transform Python source code into it's most compact representation

@@ -5,0 +5,0 @@ Home-page: https://github.com/dflook/python-minifier

@@ -31,3 +31,3 @@ import os.path

python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <3.14',
version='2.11.0',
version='2.11.1',

@@ -34,0 +34,0 @@ classifiers=[

Metadata-Version: 2.1
Name: python_minifier
Version: 2.11.0
Version: 2.11.1
Summary: Transform Python source code into it's most compact representation

@@ -5,0 +5,0 @@ Home-page: https://github.com/dflook/python-minifier

@@ -123,3 +123,3 @@ import python_minifier.ast_compat as ast

elif node.value:
return self.add_child(ast.Assign([node.target], node.value), parent=node.parent)
return self.add_child(ast.Assign([node.target], node.value), parent=node.parent, namespace=node.namespace)
else:

@@ -130,3 +130,3 @@ # Valueless annotations cause the interpreter to treat the variable as a local.

node.annotation = self.add_child(ast.Num(0), parent=node.parent)
node.annotation = self.add_child(ast.Num(0), parent=node.parent, namespace=node.namespace)
return node