New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-base64-image

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-base64-image - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

6

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc