Skip to content

Commit

Permalink
replaced got with got-cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieVangeysel committed Aug 2, 2023
1 parent 9f4f72d commit 2cc2305
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 98 deletions.
2 changes: 1 addition & 1 deletion node-pixels.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var pack = require('ndarray-pack')
var GifReader = require('omggif').GifReader
var Bitmap = require('node-bitmap')
var fs = require('fs')
var request = await import('got')
var request = require('got-cjs')
var mime = require('mime-types')
var parseDataURI = require('parse-data-uri')

Expand Down
244 changes: 148 additions & 96 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"data-uri-to-buffer": "0.0.3",
"got": "^13.0.0",
"got-cjs": "^12.5.4",
"jpeg-js": "^0.4.4",
"mime-types": "^2.1.35",
"ndarray": "^1.0.19",
Expand Down

0 comments on commit 2cc2305

Please sign in to comment.