node-base64-image
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -19,4 +19,4 @@ "use strict"; | ||
const util_1 = require("util"); | ||
const read = util_1.promisify(fs_1.readFile); | ||
const write = util_1.promisify(fs_1.writeFile); | ||
const read = (0, util_1.promisify)(fs_1.readFile); | ||
const write = (0, util_1.promisify)(fs_1.writeFile); | ||
function encode(url, opts = { string: false }) { | ||
@@ -32,3 +32,3 @@ return __awaiter(this, void 0, void 0, function* () { | ||
} | ||
const { data, status } = yield axios_1.default(url, { | ||
const { data, status } = yield (0, axios_1.default)(url, { | ||
responseType: 'arraybuffer', | ||
@@ -35,0 +35,0 @@ headers: opts.headers, |
{ | ||
"name": "node-base64-image", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Download images from remote URLs and encode/decode them to base64", | ||
@@ -48,3 +48,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"axios": "1.3.5" | ||
"axios": "1.6.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "jest": { |
Sorry, the diff of this file is not supported yet
24351
+ Addedaxios@1.6.0(transitive)
- Removedaxios@1.3.5(transitive)
Updatedaxios@1.6.0