pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/lua-web-sanitize lua-web-sanitize: update to 1.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfbc2c008571
branches:  trunk
changeset: 770794:dfbc2c008571
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Dec 09 15:16:11 2021 +0000

description:
lua-web-sanitize: update to 1.1.0


Changes:
    Update text extractor
        Add option for extracting as html or as plain text
        Add option for removing non-printable characters
        Add HTML entitiy translation when extracting as plain text
        Whitespace trimming and normalization is utf8 whitespace aware
    Minor updates to CSS default whitelist for border attributes

diffstat:

 www/lua-web-sanitize/Makefile |  4 ++--
 www/lua-web-sanitize/PLIST    |  4 +++-
 www/lua-web-sanitize/distinfo |  8 ++++----
 3 files changed, 9 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r a91797c8773d -r dfbc2c008571 www/lua-web-sanitize/Makefile
--- a/www/lua-web-sanitize/Makefile     Thu Dec 09 15:11:18 2021 +0000
+++ b/www/lua-web-sanitize/Makefile     Thu Dec 09 15:16:11 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/09/10 07:40:55 nia Exp $
+# $NetBSD: Makefile,v 1.2 2021/12/09 15:16:11 nia Exp $
 
-DISTNAME=      web_sanitize-1.0.0
+DISTNAME=      web_sanitize-1.1.0
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/_/-/g}
 CATEGORIES=    www lua
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=leafo/}
diff -r a91797c8773d -r dfbc2c008571 www/lua-web-sanitize/PLIST
--- a/www/lua-web-sanitize/PLIST        Thu Dec 09 15:11:18 2021 +0000
+++ b/www/lua-web-sanitize/PLIST        Thu Dec 09 15:16:11 2021 +0000
@@ -1,12 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2020/09/10 07:40:55 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/12/09 15:16:11 nia Exp $
 ${LUA_LDIR}/web_sanitize.lua
 ${LUA_LDIR}/web_sanitize/css.lua
 ${LUA_LDIR}/web_sanitize/css_types.lua
 ${LUA_LDIR}/web_sanitize/css_whitelist.lua
 ${LUA_LDIR}/web_sanitize/data.lua
 ${LUA_LDIR}/web_sanitize/html.lua
+${LUA_LDIR}/web_sanitize/html_named_entities.lua
 ${LUA_LDIR}/web_sanitize/init.lua
 ${LUA_LDIR}/web_sanitize/query.lua
 ${LUA_LDIR}/web_sanitize/query/parse_query.lua
 ${LUA_LDIR}/web_sanitize/query/scan_html.lua
+${LUA_LDIR}/web_sanitize/unicode.lua
 ${LUA_LDIR}/web_sanitize/whitelist.lua
diff -r a91797c8773d -r dfbc2c008571 www/lua-web-sanitize/distinfo
--- a/www/lua-web-sanitize/distinfo     Thu Dec 09 15:11:18 2021 +0000
+++ b/www/lua-web-sanitize/distinfo     Thu Dec 09 15:16:11 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:29:38 nia Exp $
+$NetBSD: distinfo,v 1.4 2021/12/09 15:16:11 nia Exp $
 
-BLAKE2s (web_sanitize-1.0.0.tar.gz) = 859872707059c8ff2a7bb4188d4cca0d8e4e674ebe09ca445f98ef9eda9d1c0a
-SHA512 (web_sanitize-1.0.0.tar.gz) = 37d32c3c1cbe0286bfd37098d7f1d4e5374f3169d045c177e0ed531a3732aeadf6ca58d234efcb99e1f776d069f231b701dd4477c2a2e2ed3384ea213a7ef534
-Size (web_sanitize-1.0.0.tar.gz) = 26034 bytes
+BLAKE2s (web_sanitize-1.1.0.tar.gz) = 980719a2f743e7387945157a456096c0ae38019e226ac8600a0155e8036f2d24
+SHA512 (web_sanitize-1.1.0.tar.gz) = a9e70636068c807c72b2aadc07b9878202cfc988c40676af4a08565133cefd0f6fa416f2455fa6071969779e133c409499c85611854f3c1354ea820fbfc4dcd1
+Size (web_sanitize-1.1.0.tar.gz) = 44387 bytes



Home | Main Index | Thread Index | Old Index