@zip.js/zip.js 2.7.60 → 2.7.61

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.
@@ -56,7 +56,6 @@ import {
56
56
  BITFLAG_DATA_DESCRIPTOR,
57
57
  BITFLAG_LANG_ENCODING_FLAG,
58
58
  FILE_ATTR_MSDOS_DIR_MASK,
59
- FILE_ATTR_UNIX_DIR_MASK,
60
59
  FILE_ATTR_UNIX_EXECUTABLE_MASK,
61
60
  FILE_ATTR_UNIX_DEFAULT_MASK,
62
61
  VERSION_DEFLATE,
@@ -254,7 +253,7 @@ async function addFile(zipWriter, name, reader, options) {
254
253
  if (msDosCompatible) {
255
254
  externalFileAttributes = FILE_ATTR_MSDOS_DIR_MASK;
256
255
  } else {
257
- externalFileAttributes = FILE_ATTR_UNIX_DIR_MASK << 16;
256
+ externalFileAttributes = (FILE_ATTR_UNIX_EXECUTABLE_MASK | FILE_ATTR_UNIX_DEFAULT_MASK) << 16;
258
257
  }
259
258
  }
260
259
  } else if (!msDosCompatible && externalFileAttributes === 0) {
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.7.60",
6
+ "version": "2.7.61",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",
@@ -120,10 +120,10 @@
120
120
  "@rollup/plugin-node-resolve": "^16.0.1",
121
121
  "@rollup/plugin-replace": "^6.0.2",
122
122
  "@rollup/plugin-terser": "^0.4.4",
123
- "eslint": "^9.23.0",
123
+ "eslint": "^9.26.0",
124
124
  "http-server": "^14.1.1",
125
- "rollup": "^4.38.0",
126
- "typedoc": "^0.28.1",
127
- "typedoc-plugin-markdown": "^4.6.0"
125
+ "rollup": "^4.40.2",
126
+ "typedoc": "^0.28.4",
127
+ "typedoc-plugin-markdown": "^4.6.3"
128
128
  }
129
129
  }