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

depsync

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depsync - npm Package Compare versions

Comparing version 1.3.8 to 1.3.10

2

package.json
{
"name": "depsync",
"version": "1.3.8",
"version": "1.3.10",
"author": "Dom Chen",

@@ -5,0 +5,0 @@ "homepage": "http://www.idom.me/",

@@ -71,4 +71,5 @@ //////////////////////////////////////////////////////////////////////////////////////

let indexFile = path.join(item.dir, ".git", "index");
let tempLFSDir = path.join(item.dir + ".git", "lfs");
let tempIndexFile = path.join(item.dir + ".git", "index");
let gitBackupDir = path.join(item.dir, ".git.bak");
let tempLFSDir = path.join(gitBackupDir, "lfs");
let tempIndexFile = path.join(gitBackupDir, "index");
Utils.movePath(lfsDir, tempLFSDir);

@@ -85,3 +86,3 @@ Utils.movePath(indexFile, tempIndexFile);

Utils.movePath(tempIndexFile, indexFile);
Utils.deleteEmptyDir(path.dirname(tempIndexFile));
Utils.deletePath(path.dirname(tempIndexFile));
process.env["GIT_LFS_SKIP_SMUDGE"] = "1";

@@ -88,0 +89,0 @@ Utils.exec("git reset --hard FETCH_HEAD && git clean -f -q", item.dir);

@@ -58,2 +58,4 @@ //////////////////////////////////////////////////////////////////////////////////////

Utils.exec("git lfs pull", repoPath, false);
} else {
Utils.log(result);
}

@@ -60,0 +62,0 @@ }

@@ -104,2 +104,4 @@ //////////////////////////////////////////////////////////////////////////////////////

function movePath(srcPath, dstPath) {
srcPath = path.resolve(srcPath);
dstPath = path.resolve(dstPath);
if (!fs.existsSync(srcPath)) {

@@ -109,2 +111,3 @@ return;

try {
createDirectory(path.dirname(dstPath));
fs.renameSync(srcPath, dstPath);

@@ -111,0 +114,0 @@ } catch (e) {

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