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

@dynamicweb/cli

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamicweb/cli - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

5

bin/commands/files.js

@@ -107,2 +107,3 @@ import fetch from 'node-fetch';

} else {
console.log(resolvedPath)
let filesInDir = getFilesInDirectory(resolvedPath);

@@ -116,3 +117,3 @@ await uploadFiles(env, user, filesInDir, argv.outPath, argv.createEmpty, argv.overwrite);

function getFilesInDirectory(dirPath) {
return fs.readdirSync(dirPath)
return fs.statSync(dirPath).isFile() ? [ dirPath ] : fs.readdirSync(dirPath)
.map(file => path.join(dirPath, file))

@@ -288,3 +289,3 @@ .filter(file => fs.statSync(file).isFile());

}
return resolvedPath;
return path.join(p.dir, resolvedPath);
}

@@ -291,0 +292,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Dynamicweb CLI is a commandline tool for interacting with Dynamicweb 10 solutions.",
"version": "1.0.9",
"version": "1.0.10",
"main": "bin/index.js",

@@ -8,0 +8,0 @@ "files": [

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