@zip.js/zip.js 2.8.14 → 2.8.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,29 +6,25 @@ on:
6
6
  release:
7
7
  types: [published]
8
8
 
9
+ permissions:
10
+ id-token: write
11
+ contents: read
12
+
9
13
  jobs:
10
14
  publish_jsr:
11
15
  runs-on: ubuntu-latest
12
- permissions:
13
- contents: read
14
- id-token: write
15
16
  steps:
16
17
  - uses: actions/checkout@v4
17
18
  - run: npx jsr publish
18
19
 
19
20
  publish_npm:
20
21
  runs-on: ubuntu-latest
21
- permissions:
22
- contents: read
23
- id-token: write
24
22
  steps:
25
23
  - uses: actions/checkout@v4
26
24
  # Setup .npmrc file to publish to npm
27
25
  - uses: actions/setup-node@v4
28
26
  with:
29
- node-version: '20.x'
27
+ node-version: '24'
30
28
  registry-url: 'https://registry.npmjs.org'
31
29
  - run: npm ci
32
- - run: npm publish --provenance --access public
33
- env:
34
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30
+ - run: npm publish
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zip-js/zip-js",
3
- "version": "2.8.14",
3
+ "version": "2.8.15",
4
4
  "exports": {
5
5
  ".": "./index.js"
6
6
  },
package/index.d.ts CHANGED
@@ -1331,8 +1331,8 @@ export class ZipWriter<Type> {
1331
1331
  ): Promise<EntryMetaData>;
1332
1332
 
1333
1333
  /**
1334
- * Removes an entry from the zip file. Note that the entry is not removed from the zip file, but it
1335
- * is not written to the entries directory.
1334
+ * Removes an entry from the central directory that will be written for the zip file. The entry
1335
+ * data itself cannot be removed because it has already been streamed to the output.
1336
1336
  *
1337
1337
  * @param entry The entry to remove. This can be an {@link Entry} instance or the filename of the entry.
1338
1338
  * @returns `true` if the entry has been removed, `false` otherwise.
@@ -1529,9 +1529,9 @@ export interface ZipWriterConstructorOptions extends WorkerConfiguration {
1529
1529
  /**
1530
1530
  * `true` to add a data descriptor.
1531
1531
  *
1532
- * When set to `false`, the {@link ZipWriterConstructorOptions#bufferedWrite} option will automatically be
1532
+ * When set to `false`, the {@link ZipWriterConstructorOptions#bufferedWrite} option will automatically be
1533
1533
  * set to `true`. It will be automatically set to `false` when it is `undefined` and the
1534
- * {@link ZipWriterConstructorOptions#bufferedWrite} option is set to `true`, or ` when the
1534
+ * {@link ZipWriterConstructorOptions#bufferedWrite} option is set to `true`, or when the
1535
1535
  * {@link ZipWriterConstructorOptions#zipCrypto} option is set to `true`. Otherwise, the default value is `true`.
1536
1536
  */
1537
1537
  dataDescriptor?: boolean;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A JavaScript library to zip and unzip files in the browser, Deno and Node.js",
4
4
  "author": "Gildas Lormeau",
5
5
  "license": "BSD-3-Clause",
6
- "version": "2.8.14",
6
+ "version": "2.8.15",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",
@@ -159,7 +159,7 @@
159
159
  "eslint": "^9.39.2",
160
160
  "http-server": "^14.1.1",
161
161
  "rollup": "^4.55.1",
162
- "typedoc": "^0.28.15",
162
+ "typedoc": "^0.28.16",
163
163
  "typedoc-plugin-markdown": "^4.9.0"
164
164
  }
165
165
  }