Skip to content

Commit

Permalink
deps: drop safer-buffer (#2682)
Browse files Browse the repository at this point in the history
* deps: drop safer-buffer

* fix: missing require for buffer
  • Loading branch information
iChenLei committed May 17, 2022
1 parent 978e6ae commit 33e583b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/functions/image.js
Expand Up @@ -12,7 +12,7 @@

var utils = require('../utils')
, nodes = require('../nodes')
, Buffer = require('safer-buffer').Buffer
, Buffer = require('buffer').Buffer
, fs = require('fs')
, path = require('path')
, sax = require('sax');
Expand Down
2 changes: 1 addition & 1 deletion lib/visitor/sourcemapper.js
Expand Up @@ -9,7 +9,7 @@
*/

var Compiler = require('./compiler')
, Buffer = require('safer-buffer').Buffer
, Buffer = require('buffer').Buffer
, SourceMapGenerator = require('source-map').SourceMapGenerator
, basename = require('path').basename
, extname = require('path').extname
Expand Down
5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -32,7 +32,6 @@
"css": "^3.0.0",
"debug": "^4.3.2",
"glob": "^7.1.6",
"safer-buffer": "^2.1.2",
"sax": "~1.2.4",
"source-map": "^0.7.3"
},
Expand Down

0 comments on commit 33e583b

Please sign in to comment.