Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

python-jsonpath

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-jsonpath - pypi Package Compare versions

Comparing version
1.2.1
to
1.2.2
+1
-1
jsonpath/__about__.py
# SPDX-FileCopyrightText: 2023-present James Prior <jamesgr.prior@gmail.com>
#
# SPDX-License-Identifier: MIT
__version__ = "1.2.1"
__version__ = "1.2.2"

@@ -91,9 +91,9 @@ """JSONPath tokenization."""

# `not` or !
logical_not_pattern = r"(?:not|!)"
logical_not_pattern = r"(?:not\b)|!"
# && or `and`
logical_and_pattern = r"(?:&&|and)"
logical_and_pattern = r"&&|(?:and\b)"
# || or `or`
logical_or_pattern = r"(?:\|\||or)"
logical_or_pattern = r"\|\||(?:or\b)"

@@ -157,11 +157,11 @@ def __init__(self, *, env: JSONPathEnvironment) -> None:

(TOKEN_FILTER, r"\?"),
(TOKEN_IN, r"in"),
(TOKEN_TRUE, r"[Tt]rue"),
(TOKEN_FALSE, r"[Ff]alse"),
(TOKEN_NIL, r"[Nn]il"),
(TOKEN_NULL, r"[Nn]ull"),
(TOKEN_NONE, r"[Nn]one"),
(TOKEN_CONTAINS, r"contains"),
(TOKEN_UNDEFINED, r"undefined"),
(TOKEN_MISSING, r"missing"),
(TOKEN_IN, r"in\b"),
(TOKEN_TRUE, r"[Tt]rue\b"),
(TOKEN_FALSE, r"[Ff]alse\b"),
(TOKEN_NIL, r"[Nn]il\b"),
(TOKEN_NULL, r"[Nn]ull\b"),
(TOKEN_NONE, r"[Nn]one\b"),
(TOKEN_CONTAINS, r"contains\b"),
(TOKEN_UNDEFINED, r"undefined\b"),
(TOKEN_MISSING, r"missing\b"),
(TOKEN_LIST_START, r"\["),

@@ -168,0 +168,0 @@ (TOKEN_RBRACKET, r"]"),

Metadata-Version: 2.3
Name: python-jsonpath
Version: 1.2.1
Version: 1.2.2
Summary: JSONPath, JSON Pointer and JSON Patch for Python.

@@ -14,3 +14,2 @@ Project-URL: Documentation, https://jg-rp.github.io/python-jsonpath/

Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8

@@ -24,3 +23,3 @@ Classifier: Programming Language :: Python :: 3.9

Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Requires-Python: >=3.8
Description-Content-Type: text/markdown

@@ -27,0 +26,0 @@

@@ -9,3 +9,3 @@ [build-system]

readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.8"
license = "MIT"

@@ -19,3 +19,2 @@ keywords = []

"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",

@@ -72,3 +71,3 @@ "Programming Language :: Python :: 3.9",

[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311", "312", "pypy38", "pypy39"]
python = ["38", "39", "310", "311", "312", "pypy38", "pypy39"]

@@ -75,0 +74,0 @@ [tool.hatch.envs.test.scripts]