Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package asar for openSUSE:Factory checked in 
at 2023-11-08 22:18:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/asar (Old)
 and      /work/SRC/openSUSE:Factory/.asar.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "asar"

Wed Nov  8 22:18:31 2023 rev:7 rq:1124165 version:3.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/asar/asar.changes        2023-09-28 
00:30:30.067514019 +0200
+++ /work/SRC/openSUSE:Factory/.asar.new.17445/asar.changes     2023-11-08 
22:19:34.539245974 +0100
@@ -1,0 +2,6 @@
+Wed Nov  8 06:12:12 UTC 2023 - Bruno Pitrus <brunopit...@hotmail.com>
+
+- New upstream version 3.2.8
+  * better error message when extracting a file that doesn't exist in the 
archive
+
+-------------------------------------------------------------------

Old:
----
  v3.2.7.tar.gz

New:
----
  v3.2.8.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ asar.spec ++++++
--- /var/tmp/diff_new_pack.ASvf83/_old  2023-11-08 22:19:35.291273601 +0100
+++ /var/tmp/diff_new_pack.ASvf83/_new  2023-11-08 22:19:35.303274042 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           asar
-Version:        3.2.7
+Version:        3.2.8
 Release:        0
 Summary:        Creating atom-shell (electron) app packages
 License:        MIT and ISC

++++++ v3.2.7.tar.gz -> v3.2.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asar-3.2.7/.github/workflows/add-to-project.yml 
new/asar-3.2.8/.github/workflows/add-to-project.yml
--- old/asar-3.2.7/.github/workflows/add-to-project.yml 1970-01-01 
01:00:00.000000000 +0100
+++ new/asar-3.2.8/.github/workflows/add-to-project.yml 2023-11-07 
22:30:00.000000000 +0100
@@ -0,0 +1,29 @@
+name: Add to Ecosystem WG Project
+
+on:
+  issues:
+    types:
+      - opened
+  pull_request_target:
+    types:
+      - opened
+
+permissions: {}
+
+jobs:
+  add-to-project:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Generate GitHub App token
+        uses: 
electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # 
v1.1.1
+        id: generate-token
+        with:
+          creds: ${{ secrets.ECOSYSTEM_ISSUE_TRIAGE_GH_APP_CREDS }}
+          org: electron
+      - name: Add to Project
+        uses: 
dsanders11/project-actions/add-item@3a81985616963f32fae17d1d1b406c631f3201a1 # 
v1.1.0
+        with:
+          field: Opened
+          field-value: ${{ github.event.pull_request.created_at || 
github.event.issue.created_at }}
+          project-number: 89
+          token: ${{ steps.generate-token.outputs.token }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asar-3.2.7/lib/filesystem.js 
new/asar-3.2.8/lib/filesystem.js
--- old/asar-3.2.7/lib/filesystem.js    2023-09-27 02:29:55.000000000 +0200
+++ new/asar-3.2.8/lib/filesystem.js    2023-11-07 22:30:00.000000000 +0100
@@ -142,6 +142,10 @@
     followLinks = typeof followLinks === 'undefined' ? true : followLinks
     const info = this.getNode(p)
 
+    if (!info) {
+      throw new Error(`"${p}" was not found in this archive`)
+    }
+
     // if followLinks is false we don't resolve symlinks
     if (info.link && followLinks) {
       return this.getFile(info.link)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asar-3.2.7/test/cli-spec.js 
new/asar-3.2.8/test/cli-spec.js
--- old/asar-3.2.7/test/cli-spec.js     2023-09-27 02:29:55.000000000 +0200
+++ new/asar-3.2.8/test/cli-spec.js     2023-11-07 22:30:00.000000000 +0100
@@ -83,6 +83,9 @@
     await execAsar('e test/input/extractthis-unpack.asar 
tmp/extractthis-unpack-cli/')
     return compDirs('tmp/extractthis-unpack-cli/', 'test/expected/extractthis')
   })
+  it('should throw an error when trying to extract a file that doesn\'t exist 
in the archive', async () => {
+    await assert.rejects(execAsar('ef test/input/extractthis.asar 
this-file-doesnt-exist.404'), /"(.*?)" was not found in this archive/)
+  })
   it('should create archive from directory with unpacked dirs', async () => {
     await execAsar('p test/input/packthis/ tmp/packthis-unpack-dir-cli.asar 
--unpack-dir dir2 --exclude-hidden')
     
assert.ok(fs.existsSync('tmp/packthis-unpack-dir-cli.asar.unpacked/dir2/file2.png'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asar-3.2.7/yarn.lock new/asar-3.2.8/yarn.lock
--- old/asar-3.2.7/yarn.lock    2023-09-27 02:29:55.000000000 +0200
+++ new/asar-3.2.8/yarn.lock    2023-11-07 22:30:00.000000000 +0100
@@ -1107,9 +1107,9 @@
     is-electron-renderer "^2.0.0"
 
 electron@^22.0.0:
-  version "22.3.24"
-  resolved 
"https://registry.yarnpkg.com/electron/-/electron-22.3.24.tgz#14479cf11cf4709f78d324015429fa82492c2150";
-  integrity 
sha512-wnGsShoRVk1Jmgr7h/jZK9bI5UwMF88sdQ5c8z2j2N8B9elhF/jKDFjwDXUrY1Y0xzAskOP0tYIDE+UbUM4byQ==
+  version "22.3.25"
+  resolved 
"https://registry.yarnpkg.com/electron/-/electron-22.3.25.tgz#a9a70b63a6712c658cd7fab343129b2a78450f80";
+  integrity 
sha512-AjrP7bebMs/IPsgmyowptbA7jycTkrJC7jLZTb5JoH30PkBC6pZx/7XQ0aDok82SsmSiF4UJDOg+HoLrEBiqmg==
   dependencies:
     "@electron/get" "^2.0.0"
     "@types/node" "^16.11.26"

++++++ vendor.tar.zst ++++++
Binary files /var/tmp/diff_new_pack.ASvf83/_old and 
/var/tmp/diff_new_pack.ASvf83/_new differ

Reply via email to