Skip to content

Commit 3f5bd42

Browse files
authored
Merge pull request #1945 from hackmdio/release/2.6.1
Release 2.6.1
2 parents 0a25b5c + 859fd6d commit 3f5bd42

File tree

14 files changed

+10224
-8738
lines changed

14 files changed

+10224
-8738
lines changed

.babelrc

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CodiMD
22
===
33

4-
[![build status][travis-image]][travis-url]
4+
[![build status][build-image]][build-url]
55
[![version][github-version-badge]][github-release-page]
66
[![Gitter][gitter-image]][gitter-url]
77
[![Matrix][matrix-image]][matrix-url]
@@ -93,8 +93,8 @@ To stay up to date with your installation it's recommended to subscribe the [rel
9393

9494
[gitter-image]: https://img.shields.io/badge/gitter-hackmdio/codimd-blue.svg
9595
[gitter-url]: https://gitter.im/hackmdio/hackmd
96-
[travis-image]: https://travis-ci.com/hackmdio/codimd.svg?branch=master
97-
[travis-url]: https://travis-ci.com/hackmdio/codimd
96+
[build-image]: https://github.com/hackmdio/codimd/actions/workflows/build.yml/badge.svg
97+
[build-url]: https://github.com/hackmdio/codimd/actions/workflows/build.yml
9898
[github-version-badge]: https://img.shields.io/github/release/hackmdio/codimd.svg
9999
[github-release-page]: https://github.com/hackmdio/codimd/releases
100100
[github-release-feed]: https://github.com/hackmdio/codimd/releases.atom

babel.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
presets: [
3+
['@babel/preset-env', {
4+
targets: {
5+
node: '14'
6+
},
7+
useBuiltIns: 'usage',
8+
corejs: 3,
9+
modules: 'auto'
10+
}]
11+
],
12+
plugins: [
13+
['@babel/plugin-transform-runtime', {
14+
corejs: 3
15+
}],
16+
'@babel/plugin-transform-nullish-coalescing-operator',
17+
'@babel/plugin-transform-optional-chaining'
18+
]
19+
}

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)