Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2.6 to 1.2.7

2

package.json
{
"name": "depsync",
"version": "1.2.6",
"version": "1.2.7",
"author": "Dom Chen",

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

@@ -49,2 +49,8 @@ //////////////////////////////////////////////////////////////////////////////////////

{
name: "non-recursive",
shortName: "",
type: "boolean",
description: "Skip synchronizing the sub-projects."
},
{
name: "version",

@@ -51,0 +57,0 @@ shortName: "v",

@@ -102,3 +102,3 @@ //////////////////////////////////////////////////////////////////////////////////////

} else {
let task = new DepsTask(configFileName, version, commandOptions.platform);
let task = new DepsTask(configFileName, version, commandOptions.platform, commandOptions["non-recursive"]);
task.run(() => {

@@ -105,0 +105,0 @@ process.exit(0);

@@ -36,6 +36,7 @@ //////////////////////////////////////////////////////////////////////////////////////

function DepsTask(configFile, version, platform) {
function DepsTask(configFile, version, platform, nonRecursive) {
this.configFile = configFile;
this.version = version;
this.platform = platform;
this.nonRecursive = nonRecursive;
}

@@ -55,4 +56,6 @@

tasks.push(new RepoTask(item));
let depsFile = path.join(item.dir, "DEPS");
tasks.push(new DepsTask(depsFile, this.version, this.platform));
if (!this.nonRecursive) {
let depsFile = path.join(item.dir, "DEPS");
tasks.push(new DepsTask(depsFile, this.version, this.platform, this.nonRecursive));
}
}

@@ -59,0 +62,0 @@ }

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