Skip to content

Commit

Permalink
revert haraka-utils dep
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 8, 2024
1 parent 8031088 commit fa7f05b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
},
"homepage": "https://github.com/haraka/email-message#readme",
"devDependencies": {
"haraka-utils": "^1.1.2",
"@haraka/eslint-config": "^1.1.3"
},
"dependencies": {
Expand Down
4 changes: 1 addition & 3 deletions test/header.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const assert = require('assert');

const utils = require('haraka-utils');

const Header = require('../index').Header;

const lines = [
Expand Down Expand Up @@ -164,7 +162,7 @@ describe('header', function () {

/*
// RegExp 'v' flag requires ES2024 (node 20.11+)
if (utils.node_min('20.11.0')) {
if (require('haraka-utils').node_min('20.11.0')) {
assert.ok(this.h.get_decoded('subject').match(/\p{RGI_Emoji}/gv));
}
*/
Expand Down

0 comments on commit fa7f05b

Please sign in to comment.