dependabot[bot] opened a new pull request, #3686:
URL: https://github.com/apache/tika/pull/3686

   Bumps [com.googlecode.plist:dd-plist](https://github.com/3breadt/dd-plist) 
from 1.30 to 1.31.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/3breadt/dd-plist/releases";>com.googlecode.plist:dd-plist's
 releases</a>.</em></p>
   <blockquote>
   <h2>v1.31.0</h2>
   <h3>Security</h3>
   <ul>
   <li>Limited ASCII property lists to 512 nested objects to prevent stack 
overflows from
   excessively nested input</li>
   </ul>
   <h3>Fixed</h3>
   <ul>
   <li>Writing to a <code>File</code> given as a bare file name (no parent 
directory) threw a
   <code>NullPointerException</code> in the XML, ASCII and binary writers.</li>
   <li><code>NSSet(NSObject...)</code> stored a <code>null</code> argument as a 
raw Java <code>null</code> instead of <code>NSNull</code>, so
   <code>containsObject(null)</code> returned <code>false</code>, 
<code>addObject(null)</code> added a second entry and
   <code>toJavaObject()</code> threw a <code>NullPointerException</code>. Both 
varargs constructors now behave like
   <code>addObject</code>.</li>
   <li>The ASCII parser now detects a UTF-16 or UTF-32 byte order mark in a 
text file that consists of
   nothing but the BOM, and reports that the property list is empty instead of 
failing with an
   unexpected-character error caused by decoding the BOM with the wrong 
charset.</li>
   </ul>
   <h3>Changed</h3>
   <ul>
   <li>Switch from using bundled iharder Base64 implementation to 
<code>java.util.Base64</code> which is
   significantly more performant.
   ⚠️ This breaks compatibility of <code>dd-plist</code> with Android versions 
earlier than Oreo (8.0).</li>
   <li>XML and ASCII writers escape strings directly into the output buffer and 
skip escaping
   entirely for plain strings, roughly halving the time to serialize 
string-heavy property lists.</li>
   <li><code>NSString.toXML</code> no longer re-encodes the string through 
UTF-8 on every call. A string containing
   an unpaired surrogate is now written without that character, like other 
characters that are
   invalid in XML, instead of throwing a <code>RuntimeException</code>.</li>
   <li><code>NSDictionary</code> keys are now filtered for characters that are 
invalid in XML, like string values
   already were, so a dictionary with such keys produces a parseable XML 
property list.</li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/3breadt/dd-plist/blob/master/CHANGELOG.md";>com.googlecode.plist:dd-plist's
 changelog</a>.</em></p>
   <blockquote>
   <h1>Changelog</h1>
   <p>All notable changes to this project are documented in this file.</p>
   <p>The format is based on <a 
href="https://keepachangelog.com/en/1.1.0/";>Keep a Changelog</a>.</p>
   <h2>[Unreleased]</h2>
   <h3>Added</h3>
   <ul>
   <li><code>NSDate</code> keeps the exact time interval since the reference 
date (2001-01-01 00:00:00 UTC) that
   binary property lists store, so dates read from a binary property list are 
written back
   unchanged, including fractions below one millisecond. The value is available 
through
   <code>NSDate.getTimeIntervalSinceReferenceDate()</code>, and the new 
<code>NSDate(double)</code> constructor creates a
   date from it.</li>
   </ul>
   <h3>Changed</h3>
   <ul>
   <li><code>NSDate.equals</code>, <code>hashCode</code> and 
<code>compareTo</code> compare the exact time interval since the reference
   date instead of the millisecond-precision <code>java.util.Date</code>. Dates 
that differ by less than one
   millisecond are no longer equal, and the binary writer no longer merges them 
into one object.</li>
   <li><code>NSNumber.longValue()</code> and <code>intValue()</code> truncate 
real numbers towards zero, like
   <code>-[NSNumber longValue]</code>. Real numbers read from XML, ASCII or 
binary property lists used to be
   rounded instead, so 1.5 was read as 2 and is now read as 1. Numbers created 
with
   <code>new NSNumber(double)</code> already truncated.</li>
   <li><code>NSNumber.equals</code> compares real numbers like 
<code>Double.equals</code>, so NaN is equal to itself and 0.0
   is no longer equal to -0.0. The binary writer therefore no longer merges 0.0 
and -0.0 into one
   object.</li>
   </ul>
   <h3>Fixed</h3>
   <ul>
   <li>A real number read from a property list was not equal to the same number 
created with
   <code>new NSNumber(double)</code>, and cloning such a number returned an 
object that was not equal to the
   original. Both happened because <code>equals</code> compared the derived 
integer value, which was rounded
   for parsed numbers and truncated for created ones.</li>
   <li>Dates read from binary property lists could be off by one millisecond, 
because the time interval
   was truncated to whole milliseconds instead of rounded. For example, 
2001-01-01T00:00:01.001Z
   was read as 2001-01-01T00:00:01Z. Time intervals beyond the range of 
<code>java.util.Date</code> no longer
   overflow (<a 
href="https://redirect.github.com/3breadt/dd-plist/issues/106";>#106</a>).</li>
   </ul>
   <h2>[1.31.0] - 2026-10-07</h2>
   <h3>Security</h3>
   <ul>
   <li>Limited ASCII property lists to 512 nested objects to prevent stack 
overflows from
   excessively nested input</li>
   </ul>
   <h3>Fixed</h3>
   <ul>
   <li>Writing to a <code>File</code> given as a bare file name (no parent 
directory) threw a</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/b252cccb3f0b44f04aa26fba86330fee0717379e";><code>b252ccc</code></a>
 chore: Update documents for v1.31 release</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/5077062306bbc147526eb79bc1efeca94bd296ac";><code>5077062</code></a>
 chore: comment cleanup</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/3954691f060ca2213df7d08cefbb8421d6665c39";><code>3954691</code></a>
 refactor: Merge internal toASCII/GnuStep methods</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/331f2d547128a6cc1e380bd54d4f0778955c6f20";><code>331f2d5</code></a>
 docs: Add changelog entry for BOM-only text file handling</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/5c269fbffa4a521bba592c9c800dfe8aa3354c2f";><code>5c269fb</code></a>
 test: Adopt or remove the unreferenced fixtures in test-files</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/835cbe8275d05e20be3f1cdc66cfef6dbecd0e43";><code>835cbe8</code></a>
 build: Drop the javadoc fileSet from the bin assembly</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/8634da6b2781369b513ac85ce5501d4d4a80dd96";><code>8634da6</code></a>
 refactor: Collapse the three ASCII conversion bodies in 
PropertyListConverter</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/eeb3d6c935b1351170b99e9211acf0574bed186e";><code>eeb3d6c</code></a>
 refactor(XML): Name the XXE hardening feature URIs once</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/f621f64a8eec7ced4fed0dcada3b13534198e296";><code>f621f64</code></a>
 refactor: Define the nesting depth error message once</li>
   <li><a 
href="https://github.com/3breadt/dd-plist/commit/4ad94db3c22462d4298e9dede532a258fce8a8f7";><code>4ad94db</code></a>
 refactor(ASCII): Thread the nesting depth as a parameter instead of a 
mutable...</li>
   <li>Additional commits viewable in <a 
href="https://github.com/3breadt/dd-plist/compare/v1.30.0...v1.31.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.googlecode.plist:dd-plist&package-manager=maven&previous-version=1.30&new-version=1.31)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to