From d0f3f96709d546ef947a5256efdfdb51c7441131 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Mar 2023 20:56:39 -0800 Subject: [PATCH] Bump simplejson from 3.18.0 to 3.18.3 (#1992) * Bump simplejson from 3.18.0 to 3.18.3 Bumps [simplejson](https://github.com/simplejson/simplejson) from 3.18.0 to 3.18.3. - [Release notes](https://github.com/simplejson/simplejson/releases) - [Changelog](https://github.com/simplejson/simplejson/blob/master/CHANGES.txt) - [Commits](https://github.com/simplejson/simplejson/compare/v3.18.0...v3.18.3) --- updated-dependencies: - dependency-name: simplejson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Update simplejson==3.18.3 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci] --- lib/simplejson/__init__.py | 2 +- lib/simplejson/encoder.py | 1 + requirements.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/simplejson/__init__.py b/lib/simplejson/__init__.py index c79ad1bc..993d64d3 100644 --- a/lib/simplejson/__init__.py +++ b/lib/simplejson/__init__.py @@ -118,7 +118,7 @@ Serializing multiple objects to JSON lines (newline-delimited JSON):: """ from __future__ import absolute_import -__version__ = '3.18.0' +__version__ = '3.18.3' __all__ = [ 'dump', 'dumps', 'load', 'loads', 'JSONDecoder', 'JSONDecodeError', 'JSONEncoder', diff --git a/lib/simplejson/encoder.py b/lib/simplejson/encoder.py index 2bc8bbad..e93fe43f 100644 --- a/lib/simplejson/encoder.py +++ b/lib/simplejson/encoder.py @@ -32,6 +32,7 @@ ESCAPE_DCT = { for i in range(0x20): #ESCAPE_DCT.setdefault(chr(i), '\\u{0:04x}'.format(i)) ESCAPE_DCT.setdefault(chr(i), '\\u%04x' % (i,)) +del i FLOAT_REPR = repr diff --git a/requirements.txt b/requirements.txt index b5e6dd57..754a9e9c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -39,7 +39,7 @@ pytz==2022.7.1 requests==2.28.2 requests-oauthlib==1.3.1 rumps==0.4.0; platform_system == "Darwin" -simplejson==3.18.0 +simplejson==3.18.3 six==1.16.0 soupsieve==2.3.2.post1 tempora==5.2.1