Skip to content

Commit

Permalink
Remove safe-buffer as methods are supported from minimum required Nod…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul authored Dec 5, 2024
1 parent 4d97f76 commit 398f646
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/mocompiler.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Buffer } from 'safe-buffer';
import { Buffer } from 'node:buffer';
import encoding from 'encoding';
import { HEADERS, formatCharset, generateHeader, compareMsgid } from './shared.js';
import contentType from 'content-type';
Expand Down
2 changes: 1 addition & 1 deletion lib/pocompiler.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Buffer } from 'safe-buffer';
import { Buffer } from 'node:buffer';
import encoding from 'encoding';
import { HEADERS, foldLine, compareMsgid, formatCharset, generateHeader } from './shared.js';
import contentType from 'content-type';
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"dependencies": {
"content-type": "^1.0.5",
"encoding": "^0.1.13",
"readable-stream": "^4.5.2",
"safe-buffer": "^5.2.1"
"readable-stream": "^4.5.2"
},
"devDependencies": {
"chai": "^5.0.3",
Expand Down

0 comments on commit 398f646

Please sign in to comment.