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

nested-diff

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nested-diff - pypi Package Compare versions

Comparing version
1.3.1
to
1.3.2
+2
-1
nested_diff.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: nested-diff
Version: 1.3.1
Version: 1.3.2
Summary: Recursive diff for nested structures

@@ -26,2 +26,3 @@ Home-page: https://github.com/mr-mixas/Nested-Diff.py

Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython

@@ -28,0 +29,0 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy

@@ -23,3 +23,3 @@ # -*- coding: utf-8 -*-

__version__ = '1.3.1'
__version__ = '1.3.2'
__author__ = 'Michael Samoglyadov'

@@ -325,3 +325,3 @@ __license__ = 'Apache License, Version 2.0'

Returns:
Tuple: nested diff.
Nested diff.

@@ -328,0 +328,0 @@ """

# -*- coding: utf-8 -*-
#
# Copyright 2019-2022 Michael Samoglyadov
# Copyright 2019-2023 Michael Samoglyadov
#

@@ -475,8 +475,15 @@ # Licensed under the Apache License, Version 2.0 (the "License");

try:
from yaml import CSafeDumper as YamlDumper
from yaml import CSafeDumper as ImportedYamlDumper
except ImportError:
from yaml import SafeDumper as YamlDumper
from yaml import SafeDumper as ImportedYamlDumper
class _YamlDumper(ImportedYamlDumper):
def represent_scalar(self, tag, value, style=None):
if isinstance(value, str) and '\n' in value:
return super().represent_scalar(tag, value, style='|')
return super().represent_scalar(tag, value, style=style)
self.yaml = yaml
self.yaml_dumper = YamlDumper
self.yaml_dumper = _YamlDumper
self.opts = self.get_opts(kwargs)

@@ -483,0 +490,0 @@

Metadata-Version: 2.1
Name: nested_diff
Version: 1.3.1
Version: 1.3.2
Summary: Recursive diff for nested structures

@@ -26,2 +26,3 @@ Home-page: https://github.com/mr-mixas/Nested-Diff.py

Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython

@@ -28,0 +29,0 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy

@@ -32,2 +32,3 @@ import setuptools

'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation :: CPython',

@@ -34,0 +35,0 @@ 'Programming Language :: Python :: Implementation :: PyPy',