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

@alwaysmeticulous/downloading-helpers

Package Overview
Dependencies
Maintainers
5
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwaysmeticulous/downloading-helpers - npm Package Compare versions

Comparing version 2.129.1 to 2.130.0

10

dist/scripts/replay-assets.js

@@ -7,2 +7,3 @@ "use strict";

exports.fetchAsset = void 0;
const fs_1 = require("fs");
const promises_1 = require("fs/promises");

@@ -52,9 +53,4 @@ const path_1 = require("path");

}
let contents = (await client.get(urlToDownloadFrom)).data;
if (typeof contents !== "string") {
// axios sometimes returns an object if the response body is JSON, as is the case for
// instance when the asset we requested was a source map
contents = JSON.stringify(contents);
}
await (0, promises_1.writeFile)(filePath, contents);
const contentStream = (await client.get(urlToDownloadFrom, { responseType: "stream" })).data;
await contentStream.pipe((0, fs_1.createWriteStream)(filePath));
if (entry) {

@@ -61,0 +57,0 @@ logger.debug(`${urlToDownloadFrom} updated`);

{
"name": "@alwaysmeticulous/downloading-helpers",
"version": "2.129.1",
"version": "2.130.0",
"description": "Helper utilities for downloading files & scripts required to execute replays",

@@ -54,3 +54,3 @@ "license": "ISC",

},
"gitHead": "1a184f9517a0a3e283ac25a3dacee78e2288c3c2"
"gitHead": "019e72e5b6c922abe5e94763b3434b8e25a27979"
}

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