Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
engines:
eslint:
enabled: true
channel: 'eslint-8'
channel: 'eslint-9'
config:
config: '.eslintrc.yaml'
config: 'eslint.config.mjs'

ratings:
paths:
Expand Down
10 changes: 0 additions & 10 deletions .eslintrc.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions .prettierrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .release
19 changes: 15 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

The format is based on [Keep a Changelog](https://keepachangelog.com/).

### Unreleased

### [1.2.3] - 2025-02-02

- dep(eslint): upgrade to v9
- prettier: move config into package.json

### [1.2.2] - 2024-08-05

- chore: populate [files] in package.json. Delete .npmignore.
Expand Down Expand Up @@ -28,7 +37,9 @@
- Import from Haraka
- convert tests to mocha

[1.1.0]: https://github.com/haraka/message-stream/releases/tag/1.1.0
[1.2.0]: https://github.com/haraka/message-stream/releases/tag/1.2.0
[1.2.1]: https://github.com/haraka/message-stream/releases/tag/1.2.1
[1.2.2]: https://github.com/haraka/message-stream/releases/tag/1.2.2
[1.1.0]: https://github.com/haraka/message-stream/releases/tag/v1.1.0
[1.2.0]: https://github.com/haraka/message-stream/releases/tag/v1.2.0
[1.2.1]: https://github.com/haraka/message-stream/releases/tag/v1.2.1
[1.2.2]: https://github.com/haraka/message-stream/releases/tag/v1.2.2
[1.2.3]: https://github.com/haraka/message-stream/releases/tag/v1.2.3
[1.0.0]: https://github.com/haraka/message-stream/releases/tag/v1.0.0
5 changes: 3 additions & 2 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

This handcrafted artisinal software is brought to you by:

| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/message-stream/commits?author=msimerson">5</a>) |
| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/message-stream/commits?author=msimerson">6</a>) |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |

<sub>this file is maintained by [.release](https://github.com/msimerson/.release)</sub>
<sub>this file is generated by [.release](https://github.com/msimerson/.release).
Contribute to this project to get your GitHub profile included here.</sub>
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![CI Test Status][ci-img]][ci-url]
[![Code Climate][clim-img]][clim-url]
[![NPM][npm-img]][npm-url]

# haraka-message-stream

Expand All @@ -21,5 +20,3 @@ new MessageStream(cfg, uuid, header_list)
[ci-url]: https://github.com/haraka/message-stream/actions/workflows/ci.yml
[clim-img]: https://codeclimate.com/github/haraka/message-stream/badges/gpa.svg
[clim-url]: https://codeclimate.com/github/haraka/message-stream
[npm-img]: https://nodei.co/npm/haraka-message-stream.png
[npm-url]: https://www.npmjs.com/package/haraka-message-stream
29 changes: 29 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import globals from 'globals'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import js from '@eslint/js'
import { FlatCompat } from '@eslint/eslintrc'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
})

export default [
...compat.extends('@haraka'),
{
languageOptions: {
globals: {
...globals.node,
...globals.mocha,
},
},

rules: {
'no-unused-vars': ['warn'],
},
},
]
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "haraka-message-stream",
"version": "1.2.2",
"version": "1.2.3",
"description": "Haraka email message stream",
"main": "index.js",
"files": [
"CHANGELOG.md"
],
"scripts": {
"format": "npm run prettier:fix && npm run lint:fix",
"lint": "npx eslint@^8 *.js test",
"lintfix": "npx eslint@^8 --fix *.js test",
"lint": "npx eslint@^9 *.js test",
"lint:fix": "npx eslint@^9 --fix *.js test",
"prettier": "npx prettier . --check",
"prettier:fix": "npx prettier . --write --log-level=warn",
"test": "npx mocha@^10",
"test": "npx mocha@^11",
"versions": "npx dependency-version-checker check",
"versions:fix": "npx dependency-version-checker update && npm run prettier:fix"
},
Expand All @@ -32,8 +32,12 @@
},
"homepage": "https://github.com/haraka/message-stream#readme",
"devDependencies": {
"@haraka/eslint-config": "^1.1.3",
"haraka-test-fixtures": "^1.3.3"
"@haraka/eslint-config": "^2.0.2",
"haraka-test-fixtures": "^1.3.9"
},
"dependencies": {}
"dependencies": {},
"prettier": {
"singleQuote": true,
"semi": false
}
}
Loading