Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

parsita

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

parsita - npm Package Compare versions

Comparing version
2.2.1
to
2.2.2
+1
-1
LICENSE

@@ -1,2 +0,2 @@

Copyright (c) 2016-2023 David R Hagen
Copyright (c) 2016-2025 David R Hagen

@@ -3,0 +3,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

Metadata-Version: 2.1
Name: parsita
Version: 2.2.1
Version: 2.2.2
Summary: Parser combinator library for Python

@@ -10,3 +10,3 @@ Home-page: https://github.com/drhagen/parsita

Author-email: david@drhagen.com
Requires-Python: >=3.9,<4.0
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 5 - Production/Stable

@@ -17,3 +17,2 @@ Classifier: Intended Audience :: Developers

Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10

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

Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: returns (>=0.20,<0.24)
Requires-Dist: returns (>=0.20,<0.26)
Project-URL: Documentation, https://parsita.drhagen.com

@@ -27,0 +26,0 @@ Project-URL: Repository, https://github.com/drhagen/parsita

[tool.poetry]
name = "parsita"
version = "2.2.1"
version = "2.2.2"
description = "Parser combinator library for Python"

@@ -20,4 +20,4 @@ authors = ["David Hagen <david@drhagen.com>"]

[tool.poetry.dependencies]
python = "^3.9"
returns = "^0.20|^0.21|^0.22|^0.23"
python = "^3.10"
returns = "^0.20|^0.21|^0.22|^0.23|^0.24|^0.25"

@@ -24,0 +24,0 @@ [tool.poetry.dev-dependencies]

@@ -35,3 +35,7 @@ from __future__ import annotations

@no_type_check # mypy cannot handle all the frame inspection
def __missing__(self, key: str) -> ForwardDeclaration[Any, Any]:
def __missing__(self, key: str) -> Any:
# Allow type annotations in the class body
if key == "__annotations__":
return {}
frame = inspect.currentframe() # Should be the frame of __missing__

@@ -38,0 +42,0 @@ while frame.f_code.co_name != "__missing__": # pragma: no cover