Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothée Rebours committed Jan 10, 2024
1 parent 20b0ec4 commit 29cce2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Fixed
- Explicitly import `buffer` [#34](https://github.com/seald/nedb/pull/34).

## [4.0.3] - 2023-12-13
### Fixed
- Fixed EPERM Exception when datastore is at the root of a disk on Windows [#48](https://github.com/seald/nedb/issues/48)
Expand Down
2 changes: 1 addition & 1 deletion lib/byline.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
const stream = require('stream')
const timers = require('timers')
const Buffer = require('buffer').Buffer;
const { Buffer } = require('buffer')

const createLineStream = (readStream, options) => {
if (!readStream) throw new Error('expected readStream')
Expand Down

0 comments on commit 29cce2d

Please sign in to comment.