Граф коммитов

363 Коммитов

Автор SHA1 Сообщение Дата
Mike Maietta 4df48cd53e
fix: `isUnpackedDir` matches non-child directories that have same folder 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
2024-11-07 02:15:40 +08:00
Mike Maietta 9ec1830ec2
fix: checking if symlink with same prefix points outside the directory (#335)
fix: checking if symlink points outside the directory. (https://github.com/electron/asar/issues/303)
2024-11-07 02:15:18 +08:00
AndreasFranek f30b93d214
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.
2024-11-05 11:20:54 -03:00
dependabot[bot] 546ed91905
build(deps): bump dsanders11/project-actions from 1.3.0 to 1.4.0 (#340)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](eb760c4889...438b25e007)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 18:29:08 -07:00
Erik Moura e313c0a920
fix: use local `glob` types (#339) 2024-10-30 10:31:48 -04:00
electron-roller[bot] 7c10c67f57
chore: bump electronjs/node to 2.3.1 (main) (#338)
chore: bump electronjs/node in .circleci/config.yml to 2.3.1

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-10-26 10:04:23 -04:00
Erik Moura 8a9959e225
fix: inline `@types/glob` (#336) 2024-10-25 09:35:18 +08:00
David Sanders b773063889
build: fix repository.url in package.json (#334) 2024-10-22 18:59:25 -07:00
David Sanders 464e834369
chore: prefer 'as const' syntax (#329) 2024-10-03 18:07:16 -07:00
electron-roller[bot] 96db099332
chore: bump continuousauth/npm to 2.1.1 (main) (#328)
chore: bump continuousauth/npm in .circleci/config.yml to 2.1.1

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-10-03 09:22:09 -05:00
Felix Rieseberg baf479c2c4
fix: Add previously exported types back in (#326) 2024-09-10 17:45:18 -07:00
Felix Rieseberg 06312cd8b7
fix: Export a "default" property (#325)
* fix: Export a "default" property

* test: Add a test for default export
2024-09-10 16:58:23 -07:00
Samuel Attard 4f7abe9af8
fix: ensure symlinks do not write unexpectedly (#322)
* fix: ensure symlinks do not write unexpectedly

* update spec name:
2024-09-09 18:47:07 -07:00
Samuel Attard 88b5ea49c3
refactor: rewrite to typescript retaining API (#320)
* refactor: rewrite to typescript retaining API

* Apply suggestions from code review

Co-authored-by: Erik Moura <erikian@erikian.dev>

* chore: remove unused imports

* chore: update lockfile

* clean up

---------

Co-authored-by: Erik Moura <erikian@erikian.dev>
2024-09-09 18:21:22 -07:00
dependabot[bot] 50b0c62e5b
build(deps): bump micromatch from 4.0.5 to 4.0.8 (#321)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 19:36:37 -04:00
dependabot[bot] a61839f83e
build(deps): bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#316)
build(deps): bump amannn/action-semantic-pull-request

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](cfb60706e1...0723387faa)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-30 23:40:52 -07:00
dependabot[bot] b6828d1aa9
build(deps): bump braces from 3.0.2 to 3.0.3 (#315)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 20:14:49 -07:00
electron-roller[bot] 0cd8dba7d0
chore: bump electronjs/node to 2.3.0 (main) (#314)
chore: bump electronjs/node in .circleci/config.yml to 2.3.0

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-06-12 10:36:18 -03:00
electron-roller[bot] 4882129839
chore: bump electronjs/node to 2.2.3 (main) (#313)
chore: bump electronjs/node in .circleci/config.yml to 2.2.3

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-05-17 16:41:08 -07:00
electron-roller[bot] f87237310b
chore: bump electronjs/node to 2.2.2 (main) (#312)
chore: bump electronjs/node in .circleci/config.yml to 2.2.2

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-05-10 12:35:54 -07:00
ziqiang d8111fc756
fix: relative link error (#308)
Signed-off-by: Kevin Cui <bh@bugs.cc>
Co-authored-by: Kevin Cui <bh@bugs.cc>
2024-05-02 14:55:24 -07:00
dependabot[bot] dd18c0c162
build(deps): bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.2 (#311)
build(deps): bump amannn/action-semantic-pull-request

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.4.0 to 5.5.2.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](e9fabac35e...cfb60706e1)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 19:56:30 -07:00
dependabot[bot] f48fd27169
build(deps): bump dsanders11/project-actions from 1.2.0 to 1.3.0 (#309)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](82e99438bd...eb760c4889)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-31 18:22:21 -07:00
dependabot[bot] d50b03f48c
build(deps): bump amannn/action-semantic-pull-request from 5.2.0 to 5.4.0 (#306)
build(deps): bump amannn/action-semantic-pull-request

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.2.0 to 5.4.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](c3cd5d1ea3...e9fabac35e)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 23:14:25 -07:00
dependabot[bot] 2f422757d3
build(deps): bump dsanders11/project-actions from 1.1.0 to 1.2.0 (#307)
Bumps [dsanders11/project-actions](https://github.com/dsanders11/project-actions) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/dsanders11/project-actions/releases)
- [Changelog](https://github.com/dsanders11/project-actions/blob/main/.releaserc.json)
- [Commits](3a81985616...82e99438bd)

---
updated-dependencies:
- dependency-name: dsanders11/project-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 23:14:07 -07:00
David Sanders dc3c2550d4
chore: use Dependabot to update GitHub Actions deps (#305) 2024-03-13 23:04:35 -07:00
JrainLau a9b4e7b872
fix: fix symlink pointing error in filesystem.insertLink (#301)
Co-authored-by: jrainliu <jrainliu@tencent.com>
2024-03-05 15:47:13 -08:00
electron-roller[bot] 896ed4af2a
chore: bump electronjs/node to 2.2.1 (main) (#302)
chore: bump electronjs/node in .circleci/config.yml to 2.2.1

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-02-14 12:19:46 -06:00
electron-roller[bot] 79af07df17
chore: bump electronjs/node to 2.2.0 (main) (#298)
chore: bump electronjs/node in .circleci/config.yml to 2.2.0

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2024-01-18 09:16:10 -08:00
electron-roller[bot] e1c143c9ad
chore: bump electronjs/node to 2.1.0 (main) (#289)
* chore: bump electronjs/node in .circleci/config.yml to 2.1.0

* ci: downgrade Node.js 14 to 14.16.1

* ci: install Rosetta for macOS and Node.js 14

* ci: use latest CFA orb

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2023-11-21 16:48:18 -08:00
David Sanders e93556a549
docs: fix typo (#288) 2023-11-12 22:51:07 -08:00
Erik Moura b9f5c8a1d3
fix: better error message when extracting a file that doesn't exist in the archive (#286) 2023-11-07 13:30:00 -08:00
David Sanders 4dee8cfa70
ci: add new issues and pull requests to project board (#287) 2023-11-02 10:53:20 -07:00
dependabot[bot] 009bf950db
build(deps-dev): bump electron from 22.3.24 to 22.3.25 (#285)
Bumps [electron](https://github.com/electron/electron) from 22.3.24 to 22.3.25.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v22.3.24...v22.3.25)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 19:33:47 -03:00
Erik Moura ecde48e78f
fix: ensure that files/folders whose names are properties of Object.prototype are packaged/extracted correctly (#253)
* fix: ensure that files/folders whose names are properties of Object.prototype are packaged/extracted correctly

* fix: directory name case

* fix: remove trailing line endings
2023-09-26 21:29:55 -03:00
Felix Rieseberg bd8e23f1b6
fix: Don't overwrite existing folders (#284)
Don't overwrite existing folders
2023-09-25 22:58:07 -07:00
GraemeARobinson dd5de4cbb1
Don't give up when unable to extract some files (#244)
* Don't give up when unable to extract some files

Add try/catch block around file extraction so that the rest of the files are extracted if there is an issue with only a subset of the files in the archive.

* Fix unmatched curly brace

Added a closing curly brace because I'd missed one out

* removed a semicolon that was upsetting the linter

* Throw AggregateError if file couldn't be extracted

Collect file extraction errors and throw AggregateError after every file extraction has been attempted

* Removed logging & fixed extractionErrors handling 

...as suggested by Samuel Attard

* Remove dependancy on AggregateError
2023-09-22 22:08:09 -03:00
Erik Moura f60a4c1164
fix: properly handle rejections on `createPackageWithOptions` (#254)
fix: properly handle rejections on createPackageWithOptions
2023-09-18 21:25:17 -03:00
dependabot[bot] ac9dd4253a
build(deps-dev): bump electron from 22.3.21 to 22.3.24 (#283)
Bumps [electron](https://github.com/electron/electron) from 22.3.21 to 22.3.24.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v22.3.21...v22.3.24)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 21:24:02 -03:00
dependabot[bot] 02281cec42
build(deps-dev): bump electron from 22.0.0 to 22.3.21 (#282)
Bumps [electron](https://github.com/electron/electron) from 22.0.0 to 22.3.21.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v22.0.0...v22.3.21)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 11:05:55 -03:00
David Sanders adfab15089
ci: update semantic PR title check workflow (#280) 2023-08-25 09:05:17 -07:00
David Sanders 14263f288b
ci: use electronjs/node orb (#278)
* ci: use electronjs/node orb

* ci: bump orb version
2023-08-25 06:45:47 -07:00
David Sanders 984fea35ab
build: drop unused .npmignore (#279) 2023-08-22 17:24:03 -07:00
dependabot[bot] c2b4777a40
build(deps): bump word-wrap from 1.2.3 to 1.2.4 (#275)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 14:05:35 -07:00
dependabot[bot] 1d45c336a2
build(deps): bump semver from 5.7.1 to 5.7.2 (#274)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 14:02:44 -07:00
David Sanders f3300732b3
ci: bump Xcode version (#273)
* ci: bump Xcode version

* ci: bump Xcode to 14.3.0

* ci: use gen2 macos executor
2023-07-05 10:12:00 -07:00
David Sanders 4987c4d72c
chore: vendor chromium-pickle-js (#270) 2023-05-01 15:52:13 -07:00
isaacs df7991cc9d
fix: inline @types/glob, remove from deps (#268) 2023-04-09 13:51:53 -07:00
dependabot[bot] 45d4c1965c
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#264)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 13:49:09 -08:00
David Sanders b42730fe7e
ci: use action-semantic-pull-request (#261) 2023-01-20 12:47:04 -08:00