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

mf2util

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf2util - pypi Package Compare versions

Comparing version
0.5.1
to
0.5.2
+2
-2
mf2util.egg-info/PKG-INFO
Metadata-Version: 1.1
Name: mf2util
Version: 0.5.1
Version: 0.5.2
Summary: Python Microformats2 utilities, a companion to mf2py
Home-page: http://indiewebcamp.com/mf2util
Author: Kyle Mahan
Author-email: kyle@kylewm.com
Author-email: kyle.mahan@gmail.com
License: UNKNOWN

@@ -9,0 +9,0 @@ Description:

@@ -14,2 +14,3 @@ """Utilities for interpreting mf2 data.

import re
import string

@@ -421,3 +422,3 @@ import unicodedata

s = s.lower()
s = re.sub('[^a-z0-9]', '', s)
s = re.sub('[' + string.whitespace + string.punctuation + ']', '', s)
return s

@@ -446,3 +447,3 @@ if not content:

org = get_plain_text(props.get('org'))
if name == org:
if name and org and name == org:
return 'org'

@@ -449,0 +450,0 @@ return 'person'

Metadata-Version: 1.1
Name: mf2util
Version: 0.5.1
Version: 0.5.2
Summary: Python Microformats2 utilities, a companion to mf2py
Home-page: http://indiewebcamp.com/mf2util
Author: Kyle Mahan
Author-email: kyle@kylewm.com
Author-email: kyle.mahan@gmail.com
License: UNKNOWN

@@ -9,0 +9,0 @@ Description:

@@ -6,4 +6,2 @@ Microformats2 Utilities

Status](https://travis-ci.org/kylewm/mf2util.svg?branch=master)](https://travis-ci.org/kylewm/mf2util)
[![Coverage
Status](https://coveralls.io/repos/kylewm/mf2util/badge.png?branch=master)](https://coveralls.io/r/kylewm/mf2util?branch=master)
[![Documentation

@@ -169,2 +167,6 @@ Status](https://readthedocs.org/projects/mf2util/badge/?version=latest)](https://readthedocs.org/projects/mf2util/?badge=latest)

### 0.5.2 - 2023-01-15
- Bugfix: post-type-discovery should only return org if name and org properties are present. Thanks @snarfed!
### 0.5.1 - 2018-11-04

@@ -171,0 +173,0 @@

@@ -27,3 +27,3 @@ #!/usr/bin/env python

setup(name='mf2util',
version='0.5.1',
version='0.5.2',
description='Python Microformats2 utilities, a companion to mf2py',

@@ -52,3 +52,3 @@ long_description="""

author='Kyle Mahan',
author_email='kyle@kylewm.com',
author_email='kyle.mahan@gmail.com',
url='http://indiewebcamp.com/mf2util',

@@ -55,0 +55,0 @@ py_modules=['mf2util'],