Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

builder-util

Package Overview
Dependencies
Maintainers
1
Versions
258
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 5.1.1 to 5.2.0

1

out/fs.d.ts

@@ -45,3 +45,2 @@ /// <reference types="node" />

export declare function copyDir(src: string, destination: string, options?: CopyDirOptions): Promise<any>;
export declare function copyDirUsingHardLinks(source: string, destination: string): Promise<string>;
export declare const DO_NOT_USE_HARD_LINKS: (file: string) => boolean;

@@ -48,0 +47,0 @@ export declare const USE_HARD_LINKS: (file: string) => boolean;

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

exports.copyDir = copyDir;
exports.copyDirUsingHardLinks = copyDirUsingHardLinks;

@@ -153,8 +152,2 @@ var _fsExtraP;

var _util;
function _load_util() {
return _util = require("./util");
}
var _promise;

@@ -320,14 +313,4 @@

}
// https://unix.stackexchange.com/questions/202430/how-to-copy-a-directory-recursively-using-hardlinks-for-each-file
function copyDirUsingHardLinks(source, destination) {
const promise = (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(destination);
if (process.platform !== "darwin") {
return promise.then(() => (0, (_util || _load_util()).exec)("cp", ["-d", "--recursive", "--preserve=mode", "--link", "-T" /* to merge */, source + "/", 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], {
cwd: source
}));
}
const DO_NOT_USE_HARD_LINKS = exports.DO_NOT_USE_HARD_LINKS = file => false;
const USE_HARD_LINKS = exports.USE_HARD_LINKS = file => true;
//# sourceMappingURL=fs.js.map

4

package.json
{
"name": "builder-util",
"version": "5.1.1",
"version": "5.2.0",
"main": "out/util.js",

@@ -14,3 +14,3 @@ "author": "Vladimir Krivosheev",

"dependencies": {
"app-builder-bin": "1.2.1",
"app-builder-bin": "1.3.1",
"temp-file": "^3.1.1",

@@ -17,0 +17,0 @@ "fs-extra-p": "^4.5.0",

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