8000 Tags · electron/asar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: electron/asar

Tags

v4.0.0

Toggle v4.0.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
feat!: bump `engines` requirement to Node 22 (#347)

BREAKING CHANGE: bumps required Node.js version to >=22.12.0. ESM-only.

* use `node:` imports

* use `"@tsconfig/node22`

* remove `rimraf`

* update `glob` and remove inlined types

* esm: add `"type": "module"` and update imports

* esm: update test imports and dependencies

* remove `default` exports

* remove unused `import`s

* fix Windows tests

* update `import`s / `export`s in `src/asar.ts`

* remove `promisify(stream.pipeline)`

* remove `lodash`

* remove `enginesStrict`

* rename `bin/asar.js` to `bin/asar.mjs`

* bump `minimatch` to `10.0.1`

* `var` -> `const`

* add `noUnusedLocals: true` to `tsconfig.json`

* update `wrappedFs`

* update `commander`

* update `chai`

* add docs publishing flow

* docs: update README imports

---------

Co-authored-by: Erick Zhao <erick@hotmail.ca>

v3.4.1

Toggle v3.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: allow `../` symlink Streams when they're still within the package (

#363)

* fix: allow symlinks that point to higher directories but still validate that they are within the filesystem

* add invalid symlink to test readstream failure on outside package

* add additional test for bad symlink fixture

v3.4.0

Toggle v3.4.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
feat: add in-memory API for streaming files to destination asar (#360)

* feat: adding `async function createPackageFromStreams(dest: string, filestreams: Filestream[])` to allow streaming files directly from in-memory into the asar. The stream order is used as the insertion order. Consolidated logic for generating Pickle `out` `WriteableStream` and creating unpacked symlinks

* Refactor Type definitions for handling streaming to asar

* Update src/filesystem.ts

Co-authored-by: Kevin Cui <github@bugs.cc>

---------

Co-authored-by: Kevin Cui <github@bugs.cc>

v3.3.1

Toggle v3.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: revert "feat: allow providing properties (such as `unpack`) in `…

…ordering` input file" (#356)

Revert "feat: allow providing properties (such as `unpack`) in `ordering` inp…"

This reverts commit b2f73c8.

v3.3.0

Toggle v3.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: allow providing properties (such as `unpack`) in `ordering` inp…

…ut file (#350)

* Part 1 for electron/universal#117 with updated unit test

* add additional helper function

* use wrapped-fs for writeFile

* `yarn prettier:write`

* swap to for-of loop and extract helper function `isAlreadySorted` to make it more readable

v3.2.18

Toggle v3.2.18's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Respect unpack minimatch for symlinks within previously unpacked…

… directories (#341)

* fix: Respecting unpack configuration when considering symlinks within previously unpacked directories. This directly fixes unpacking static `.framework` modules on Mac, as otherwise codesigning will fail due to symlink files/directories not being reflected in the app.asar.unpacked directory.

Added unit test with Hello.framework, generated from tutorial https://jano.dev/apple/mach-o/2024/06/28/Hello-Static-Framework.html
Fixes: electron-userland/electron-builder#8655

* adding unit test by programmatically create symlinks during test case (same approach as has been taken for filesystem UT already)

* cleanup changes post-merging `main`

v3.2.17

Toggle v3.2.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: `isUnpackedDir` matches non-child directories that have same fol…

…der name prefix (#333)

* tmp save

* update test case to test minimatch pattern

* yarn prettier

* remove path separator as it differs on windows

* retrigger build as the timeout is unrelated to edited unit test

* empty commit

v3.2.16

Toggle v3.2.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Enable `getNode` to follow directory links (fixes #248) (#318)

* Add test failing to stat symlinked file

This demonstrates issue #248

* (fix #248) follow directory links in getNode

When called from stat, getNode should follow directory links to
ensure that the correct node is returned. Otherwise, node.files[name]
will be undefined, causing a TypeError.

v3.2.15

Toggle v3.2.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: use local `glob` types (#339)

v3.2.14

Toggle v3.2.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: inline `@types/glob` (#336)

0