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

vsts-task-lib

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vsts-task-lib - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

2

package.json
{
"name": "vsts-task-lib",
"version": "0.8.1",
"version": "0.8.2",
"description": "VSTS Task SDK",

@@ -5,0 +5,0 @@ "main": "./task.js",

@@ -509,3 +509,2 @@ /// <reference path="../typings/main.d.ts" />

* @param p path to create
* @returns boolean
*/

@@ -597,11 +596,15 @@ function mkdirP(p) {

*
* @param options string -r, -f or -rf for recursive and force
* @param source source path
* @param dest destination path
* @param options string -r, -f or -rf for recursive and force
* @param continueOnError optional. whether to continue on error
* @returns boolean
*/
function cp(options, source, dest, continueOnError) {
shell.cp(options, source, dest);
checkShell('cp');
function cp(source, dest, options, continueOnError) {
if (options) {
shell.cp(options, source, dest);
}
else {
shell.cp(source, dest);
}
checkShell('cp', continueOnError);
}

@@ -615,9 +618,8 @@ exports.cp = cp;

* @param dest destination path
* @param force whether to force and overwrite
* @param options string -f or -n for force and no clobber
* @param continueOnError optional. whether to continue on error
* @returns boolean
*/
function mv(source, dest, force, continueOnError) {
if (force) {
shell.mv('-f', source, dest);
function mv(source, dest, options, continueOnError) {
if (options) {
shell.mv(options, source, dest);
}

@@ -624,0 +626,0 @@ else {

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