Skip to content

Commit 828cafd

Browse files
committed
chore: update dependencies in package.json and package-lock.json
- Upgraded `archiver` from version 3.1.1 to 7.0.1 for improved functionality and performance. - Added new dependencies including `@isaacs/cliui`, `@pkgjs/parseargs`, and `abort-controller`. - Updated various other dependencies to their latest versions to ensure compatibility and security. This update enhances the overall stability and performance of the project. Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
1 parent 72dff38 commit 828cafd

File tree

3 files changed

+1420
-271
lines changed

3 files changed

+1420
-271
lines changed

lib/user/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ exports.exportMyData = (req, res) => {
101101
filenames[filename] = true
102102

103103
logger.debug('Write: ' + filename)
104-
archive.append(Buffer.from(note.content), { name: filename, date: note.lastchangeAt })
104+
archive.append(note.content, { name: filename, date: note.lastchangeAt })
105105
callback(null, null)
106106
}, function (err) {
107107
if (err) {

0 commit comments

Comments
 (0)