Socket
Socket
Sign inDemoInstall

@squared-functions/task

Package Overview
Dependencies
Maintainers
1
Versions
312
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squared-functions/task - npm Package Compare versions

Comparing version 4.9.7 to 4.9.8

14

gulp/index.js

@@ -84,3 +84,3 @@ "use strict";

}
this.writeFail(["Unable to perform task" /* ERR_MESSAGE.PERFORM_TASK */, task ? "gulp" /* STRINGS.MODULE_NAME */ + ': ' + task : ''], (0, types_1.errorMessage)(task || "gulp" /* STRINGS.MODULE_NAME */, "Unknown" /* ERR_MESSAGE.UNKNOWN */, username), 4 /* LOG_VALUE.PROCESS */);
this.writeFail(["Unable to perform task" /* ERR_MESSAGE.PERFORM_TASK */, task ? "gulp" /* STRINGS.MODULE_NAME */ + ': ' + task : ''], (0, types_1.errorMessage)(task || "gulp" /* STRINGS.MODULE_NAME */, "Unknown" /* ERR_MESSAGE.UNKNOWN */, username), 4 /* LOG_TYPE.PROCESS */);
}

@@ -185,3 +185,3 @@ }

const tempDir = this.getTempDir({ uuidDir: true, createDir: true });
const writeError = (value, err, hint, type = 32 /* LOG_VALUE.FILE */) => {
const writeError = (value, err, hint, type = 32 /* LOG_TYPE.FILE */) => {
if (err) {

@@ -241,3 +241,3 @@ this.writeFail([value, hint || (this.moduleName + ': ' + task)], err, { type, startTime });

const broadcastId = this.broadcastId;
this.formatMessage(4 /* LOG_VALUE.PROCESS */, "gulp" /* STRINGS.MODULE_NAME */, ['Executing task...', task], gulpfile);
this.formatMessage(4 /* LOG_TYPE.PROCESS */, "gulp" /* STRINGS.MODULE_NAME */, ['Executing task...', task], gulpfile);
Promise.all(items.map(src => fs.promises.copyFile(src, path.join(tempDir, path.basename(src)))))

@@ -260,3 +260,3 @@ .then(() => {

};
const { stdout, stderr } = child_process.spawn(BIN_GULP || BIN_NPX, args, { cwd: process.cwd(), shell: true, stdio: index_1.default.hasLogType(32768 /* LOG_VALUE.STDOUT */) && !broadcastId ? 'inherit' : undefined, signal: this.signal })
const { stdout, stderr } = child_process.spawn(BIN_GULP || BIN_NPX, args, { cwd: process.cwd(), shell: true, stdio: index_1.default.hasLogType(32768 /* LOG_TYPE.STDOUT */) && !broadcastId ? 'inherit' : undefined, signal: this.signal })
.on('exit', code => {

@@ -290,3 +290,3 @@ if (!code) {

else {
this.writeFail(["Unable to rename file" /* ERR_MESSAGE.RENAME_FILE */, filename], err, 32 /* LOG_VALUE.FILE */);
this.writeFail(["Unable to rename file" /* ERR_MESSAGE.RENAME_FILE */, filename], err, 32 /* LOG_TYPE.FILE */);
}

@@ -306,6 +306,6 @@ }

else {
writeError("Unable to execute file" /* ERR_MESSAGE.EXECUTE_FILE */, new Error(message || "Unknown" /* ERR_MESSAGE.UNKNOWN */), '', 4 /* LOG_VALUE.PROCESS */);
writeError("Unable to execute file" /* ERR_MESSAGE.EXECUTE_FILE */, new Error(message || "Unknown" /* ERR_MESSAGE.UNKNOWN */), '', 4 /* LOG_TYPE.PROCESS */);
}
})
.on('error', err => writeError("Unknown" /* ERR_MESSAGE.UNKNOWN */, err, false, 4 /* LOG_VALUE.PROCESS */));
.on('error', err => writeError("Unknown" /* ERR_MESSAGE.UNKNOWN */, err, false, 4 /* LOG_TYPE.PROCESS */));
if (stdout) {

@@ -312,0 +312,0 @@ stdout.setEncoding('utf-8').on('data', (value) => {

{
"name": "@squared-functions/task",
"version": "4.9.7",
"version": "4.9.8",
"description": "Task constructor for squared-functions.",

@@ -21,3 +21,4 @@ "main": "index.js",

"dependencies": {
"@squared-functions/core": "4.9.7",
"@squared-functions/core": "4.9.8",
"@squared-functions/types": "4.9.8",
"strip-ansi": "6.0.1",

@@ -24,0 +25,0 @@ "which": "^2.0.2"

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