Socket
Socket
Sign inDemoInstall

builder-util

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder-util - npm Package Compare versions

Comparing version 4.2.3 to 4.2.4

8

out/fs.js

@@ -320,10 +320,6 @@ "use strict";

function copyDirUsingHardLinks(source, destination) {
const promise = (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(destination);
if (process.platform !== "darwin") {
const args = ["-d", "--recursive", "--preserve=mode"];
args.push("--link");
args.push(source + "/", destination + "/");
return (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(_path.dirname(destination)).then(() => (0, (_util || _load_util()).exec)("cp", args));
return promise.then(() => (0, (_util || _load_util()).exec)("cp", ["-d", "--recursive", "--preserve=mode", "--link", "-T" /* to merge */, source + "/", destination + "/"]));
}
// pax requires created dir
const promise = (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(destination);
return promise.then(() => (0, (_util || _load_util()).exec)("pax", ["-rwl", "-p", "amp" /* Do not preserve file access times, Do not preserve file modification times, Preserve the file mode bits */, ".", destination], {

@@ -330,0 +326,0 @@ cwd: source

{
"name": "builder-util",
"version": "4.2.3",
"version": "4.2.4",
"main": "out/util.js",

@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev",

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