dependabot[bot] opened a new pull request, #106: URL: https://github.com/apache/echarts-www/pull/106
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.21 to 8.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/isaacs/node-tar/releases">tar's releases</a>.</em></p> <blockquote> <h2>v8.0.2</h2> <ul> <li>parser: ignore the size of a global PAX header (58df09f)</li> <li>limit the memory that long paths use in an async extraction (de87900)</li> </ul> <h2>v8.0.1</h2> <ul> <li>unpack: check the parent directories again after an entry is made (5ef1702)</li> </ul> <h2>v8.0.0</h2> <p>A new API. See "Migration from version 7" in the README.</p> <h3>Breaking changes</h3> <ul> <li>Drop support for node <22</li> <li>Remove callbacks and Node.js streams. Each command returns a promise. <code>create()</code> with no <code>file</code> returns a web <code>ReadableStream</code>. <code>list()</code> and <code>extract()</code> read the <code>input</code> option, or a <code>file</code>.</li> <li>Remove the <code>sync</code> option. Use <code>createSync</code>, <code>extractSync</code>, <code>listSync</code>, <code>replaceSync</code>, and <code>updateSync</code>.</li> <li>Rename <code>onReadEntry</code> to <code>onEntry</code>, which is awaited. <code>onReadEntry</code> and <code>onentry</code> are aliases of it.</li> <li>The option aliases (<code>C</code>, <code>f</code>, <code>z</code>, <code>P</code>, <code>U</code>, <code>k</code>, <code>m</code>, <code>p</code>, <code>L</code>, <code>h</code>, <code>strip-components</code>, <code>keep-newer</code>, <code>keep-existing</code>, <code>no-mtime</code>, their camelCase forms, and <code>noChmod</code>) work in the commands only. <code>entries()</code>, <code>Pack</code>, <code>Unpack</code>, and <code>Parser</code> take only the names of the options.</li> <li>Remove the options <code>noResume</code>, <code>ondone</code>, <code>dirCache</code>, <code>linkCache</code>, <code>readdirCache</code>, and <code>statCache</code>.</li> <li><code>ReadEntry</code> and <code>WriteEntry</code> are not streams. A <code>ReadEntry</code> has the shape of a <code>Response</code>: <code>body</code>, <code>bytes()</code>, <code>arrayBuffer()</code>, <code>text()</code>, and <code>blob()</code>. A <code>WriteEntry</code> is metadata and a <code>body</code>.</li> <li><code>Parser</code>, <code>Pack</code>, and <code>Unpack</code> are not streams. <code>Parser</code> is a state machine with <code>push()</code> and <code>next()</code>. <code>Pack</code> is an async iterator of chunks. <code>Unpack</code> has an <code>extract(input)</code> method.</li> <li>Remove <code>WriteEntrySync</code> and <code>WriteEntryTar</code>.</li> <li>Use <code>Uint8Array</code>, not <code>Buffer</code>. <code>Header#block</code> and the result of <code>Pax#encode()</code> are a <code>Uint8Array</code>.</li> <li><code>transform</code> returns a <code>TransformStream</code>, or an object with a <code>readable</code> and a <code>writable</code> web stream. In <code>extractSync()</code>, it returns a function that changes a chunk. For a Node.js <code>Transform</code> stream, return <code>codecStream(stream)</code>.</li> <li>In strict mode, extraction stops at the first error.</li> <li>The first null block is the end of the archive, as it is for bsdtar. Data after it is dropped with no warning, also when no second null block comes after it. Version 7 read the entries after a single null block, so it read archives that were joined end to end. Split such a file into its archives before you read it.</li> <li><code>update()</code> adds a file only if it is newer than the entry of the same path. It does not add a file that has the same time as the entry, or a time that differs only by a part of a second.</li> <li>A <code>jobs</code> or <code>maxReadSize</code> option that is not 0, a positive integer, or <code>Infinity</code> is a <code>TypeError</code>. 0 gives the default.</li> <li>A <code>uid</code> or <code>gid</code> option of <code>extract()</code> that is not an unsigned 32-bit integer is a <code>TypeError</code>. Before, it was ignored, and the owner in the archive was used.</li> <li><code>create()</code> gives a <code>TAR_ENTRY_UNSUPPORTED</code> warning for a path that is not a file, a directory, or a symbolic link, such as a socket, a FIFO, or a device. Before, it skipped the path with no warning. With <code>strict</code>, it is an error.</li> <li><code>extract()</code> with <code>strip</code> skips an entry that has no part of its path left, as GNU tar and bsdtar do. Before, a directory entry such as <code>package/</code> with <code>strip: 1</code> set its mode, owner, and times on the extraction directory.</li> <li>In <code>create()</code>, <code>replace()</code>, and <code>update()</code>, a path that does not exist is a <code>TAR_ENTRY_ERROR</code> warning, as it is for bsdtar. The other paths are added. Before, it was an error that stopped the command. Set <code>strict</code> to get the error.</li> <li><code>extract()</code> and <code>list()</code> give a <code>TAR_ENTRY_ERROR</code> warning for each path in <code>files</code> that no entry of the archive matches. With <code>strict</code>, it is an error after the archive is read.</li> <li>The readers detect the compression format. The <code>brotli</code> and <code>zstd</code> options are only for <code>create()</code>.</li> <li>Remove the subpath exports (<code>tar/create</code>, <code>tar/extract</code>, <code>tar/parse</code>, and the others). The exports are <code>tar</code>, <code>tar/core</code>, <code>tar/raw</code>, and <code>tar/core/raw</code>.</li> <li>Remove all runtime dependencies: <code>minipass</code>, <code>minizlib</code>, <code>@isaacs/fs-minipass</code>, <code>chownr</code>, and <code>yallist</code>.</li> </ul> <h3>New features</h3> <ul> <li><code>delete()</code> and <code>deleteSync()</code> remove entries from an archive file: the paths in a list, the entries that a <code>filter</code> accepts, or both. The archive keeps its compression.</li> <li>Add the <code>tar/core</code> entry point, the runtime-neutral core. It runs in a browser, a worker, or another runtime with web streams. It uses no <code>node:</code> module, and it needs the <code>fs</code> and <code>cwd</code> options for work on files. It has no sync commands.</li> <li><code>tar</code> is the entry point for server-side runtimes: Node.js, and each other runtime that has the <code>node:</code> modules. It has all of the core, the sync commands, and the defaults (<code>node:fs</code>, <code>node:zlib</code>, the working directory, the platform, and the user of the process).</li> <li><code>tar/raw</code> and <code>tar/core/raw</code> are the same two entry points as separate modules that are not minified.</li> <li>Add the <code>fs</code> option. All file system work goes through it, so a caller can give another file system.</li> <li>Add the <code>input</code> option, and <code>entries()</code> and <code>entriesSync()</code>, which read a <code>Uint8Array</code>, an <code>ArrayBuffer</code>, a <code>Blob</code>, a <code>ReadableStream</code>, or an iterable of chunks.</li> <li>Add entries from memory to an archive: the file list of <code>create()</code>, <code>replace()</code>, and <code>update()</code> takes <code>WriteEntry</code> objects, <code>ReadEntry</code> objects, and iterables of entries.</li> <li>Add the <code>Codec</code> type and the <code>codecs</code> option, to add a compression format. <code>tar</code> has gzip, brotli, and zstd from <code>node:zlib</code>. <code>tar/core</code> has gzip.</li> <li><code>create()</code> writes the names of a directory in sorted order, so the archive is the same on each runtime and file system.</li> <li><code>list()</code> and <code>extract()</code> with a <code>file</code> do not read the body of an entry that nothing reads. A listing of an archive of large files reads only the headers.</li> <li>Add the <code>compress</code> option of <code>create()</code>. It takes a <code>Codec</code>, or <code>[codec, options]</code>, and writes the archive with that codec.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md">tar's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>8.1</h2> <ul> <li>Add the <code>bigint</code> option of <code>create()</code>, <code>replace()</code>, <code>update()</code>, and <code>Pack</code>: each stat call has the option <code>{ bigint: true }</code>, so the <code>dev</code> and <code>ino</code> of each path are exact, with no added call. The default is true on Windows, where most <code>ino</code> numbers are not safe integers, and false on other systems.</li> <li>On Windows, this default changes what a custom <code>fs</code> and a <code>filter</code> get. <code>lstat</code>, <code>stat</code>, and <code>stat</code> of the handle of a <code>CreateFS</code> get the option, and <code>lstat</code> and <code>stat</code> must give all the fields of <code>CreateBigIntStats</code>, or ignore the option. A <code>filter</code> gets a stat with numbers that is not the object of the file system. A time can be 1 ms less than before. Set <code>bigint: false</code> for the behavior of 8.0.</li> <li>Keep the <code>mode</code> of the resulting archive consistent when running <code>tar.delete()</code>, when the <code>DeleteFS</code> includes a <code>chmod</code> method.</li> <li>With the <code>unlink</code> option, extract each entry of a directory that replaces a file or a link. Before, two entries could replace the path at the same time, and one of them failed.</li> <li>Extract an entry for the extraction directory, such as <code>./</code>, before the extraction of each entry after it starts.</li> <li>With <code>preservePaths</code>, two entries that name one path in different forms, such as an absolute path and a relative path, do not run at the same time.</li> </ul> <h2>8.0</h2> <p>A new API. See "Migration from version 7" in the README.</p> <h3>Breaking changes</h3> <ul> <li>Drop support for node <22</li> <li>Remove callbacks and Node.js streams. Each command returns a promise. <code>create()</code> with no <code>file</code> returns a web <code>ReadableStream</code>. <code>list()</code> and <code>extract()</code> read the <code>input</code> option, or a <code>file</code>.</li> <li>Remove the <code>sync</code> option. Use <code>createSync</code>, <code>extractSync</code>, <code>listSync</code>, <code>replaceSync</code>, and <code>updateSync</code>.</li> <li>Rename <code>onReadEntry</code> to <code>onEntry</code>, which is awaited. <code>onReadEntry</code> and <code>onentry</code> are aliases of it.</li> <li>The option aliases (<code>C</code>, <code>f</code>, <code>z</code>, <code>P</code>, <code>U</code>, <code>k</code>, <code>m</code>, <code>p</code>, <code>L</code>, <code>h</code>, <code>strip-components</code>, <code>keep-newer</code>, <code>keep-existing</code>, <code>no-mtime</code>, their camelCase forms, and <code>noChmod</code>) work in the commands only. <code>entries()</code>, <code>Pack</code>, <code>Unpack</code>, and <code>Parser</code> take only the names of the options.</li> <li>Remove the options <code>noResume</code>, <code>ondone</code>, <code>dirCache</code>, <code>linkCache</code>, <code>readdirCache</code>, and <code>statCache</code>.</li> <li><code>ReadEntry</code> and <code>WriteEntry</code> are not streams. A <code>ReadEntry</code> has</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/isaacs/node-tar/commit/2f0e25e4a31fa7e7a6c3421155d5b0f448e699e3"><code>2f0e25e</code></a> 8.0.2</li> <li><a href="https://github.com/isaacs/node-tar/commit/de87900752566867b422de0ebfe6592b30fa9786"><code>de87900</code></a> limit the memory that long paths use in an async extraction</li> <li><a href="https://github.com/isaacs/node-tar/commit/58df09fb0d7857168949691b1beedc6c24aba8b4"><code>58df09f</code></a> parser: ignore the size of a global PAX header</li> <li><a href="https://github.com/isaacs/node-tar/commit/fd974b51788cdab24fb1ba9c8a4a8b11f4de473c"><code>fd974b5</code></a> 8.0.1</li> <li><a href="https://github.com/isaacs/node-tar/commit/5ef1702e84eb4e090370ac08533aac029fb2b36c"><code>5ef1702</code></a> unpack: check the parent directories again after an entry is made</li> <li><a href="https://github.com/isaacs/node-tar/commit/64456aa724e64cfc153840698090ec7c80811dcc"><code>64456aa</code></a> 8.0.0</li> <li><a href="https://github.com/isaacs/node-tar/commit/c289c0ceec4e6fb1f8379943d39b613248ea8357"><code>c289c0c</code></a> add the delete and deleteSync commands</li> <li><a href="https://github.com/isaacs/node-tar/commit/7edf2ba5ebf563271b206c1c3cd6dbb85e959f3b"><code>7edf2ba</code></a> rename zlibStream to codecStream</li> <li><a href="https://github.com/isaacs/node-tar/commit/d84c2858a8d428c1668ddabda78c68edd7a8dbc8"><code>d84c285</code></a> pack: ask for exact dev and ino only where a wrong match loses data</li> <li><a href="https://github.com/isaacs/node-tar/commit/b6cd5f02ea84724496bf2c99c6639ceff246f6fe"><code>b6cd5f0</code></a> docs: a recipe to remove an entry from an archive</li> <li>Additional commits viewable in <a href="https://github.com/isaacs/node-tar/compare/v7.5.21...v8.0.2">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for tar since your current version.</p> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/echarts-www/network/alerts). </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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
