Skip to content

Commit

Permalink
Remove safe-buffer (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip9587 authored Oct 22, 2024
1 parent 7a6b472 commit 3ea88a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
unreleased
=================
* Remove dependency `safe-buffer`

1.0.0 / 2024-08-31
==================

Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module.exports.parse = parse
*/

var basename = require('path').basename
var Buffer = require('safe-buffer').Buffer

/**
* RegExp to match non attr-char, *after* encodeURIComponent (i.e. not including "%")
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"res"
],
"repository": "jshttp/content-disposition",
"dependencies": {
"safe-buffer": "5.2.1"
},
"devDependencies": {
"deep-equal": "1.0.1",
"eslint": "7.32.0",
Expand Down

0 comments on commit 3ea88a3

Please sign in to comment.