@squared-functions/task
Advanced tools
Comparing version 1.2.7 to 2.0.0
@@ -1,2 +0,2 @@ | ||
/* @squared-functions/task/gulp 1.2.7 | ||
/* @squared-functions/task/gulp 2.0.0 | ||
https://github.com/anpham6/squared-functions */ | ||
@@ -123,3 +123,3 @@ | ||
if (tasks.length) { | ||
await index_1.default.allSettled(tasks, { rejected: ['Execute tasks', MODULE_NAME], errors: instance.errors }); | ||
await instance.allSettled(tasks, ['Execute tasks', MODULE_NAME]); | ||
} | ||
@@ -134,3 +134,3 @@ } | ||
if (err) { | ||
this.writeFail([value, hint], err, this.logType.FILE); | ||
this.writeFail([value, hint], err, 32 /* FILE */); | ||
} | ||
@@ -140,3 +140,3 @@ this.writeTimeProcess('gulp', task, time, { failed: true }); | ||
}; | ||
this.formatMessage(this.logType.PROCESS, 'gulp', ['Executing task...', task], data.gulpfile); | ||
this.formatMessage(4 /* PROCESS */, 'gulp', ['Executing task...', task], data.gulpfile); | ||
if (index_1.default.createDir(tempDir)) { | ||
@@ -168,3 +168,3 @@ Promise.all(data.items.map(uri => { | ||
catch (err) { | ||
this.writeFail(["Unable to rename file" /* RENAME_FILE */, taskName], err, this.logType.FILE); | ||
this.writeFail(["Unable to rename file" /* RENAME_FILE */, taskName], err, 32 /* FILE */); | ||
} | ||
@@ -171,0 +171,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/* @squared-functions/task 1.2.7 | ||
/* @squared-functions/task 2.0.0 | ||
https://github.com/anpham6/squared-functions */ | ||
@@ -12,3 +12,3 @@ | ||
} | ||
static async using(instance, assets) { } | ||
static using(instance, assets) { } | ||
} | ||
@@ -15,0 +15,0 @@ if (typeof module !== 'undefined' && module.exports) { |
{ | ||
"name": "@squared-functions/task", | ||
"version": "1.2.7", | ||
"description": "Task functions for squared-functions", | ||
"version": "2.0.0", | ||
"description": "Task constructor for squared-functions", | ||
"main": "index.js", | ||
@@ -18,6 +18,6 @@ "types": "index.d.ts", | ||
"dependencies": { | ||
"@squared-functions/module": "1.2.7", | ||
"@squared-functions/types": "1.2.7", | ||
"@squared-functions/module": "2.0.0", | ||
"@squared-functions/types": "2.0.0", | ||
"which": "^2.0.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11088
+ Added@squared-functions/module@2.0.0(transitive)
+ Added@squared-functions/types@2.0.0(transitive)
+ Addedbytes@3.1.2(transitive)
- Removed@squared-functions/module@1.2.7(transitive)
- Removed@squared-functions/types@1.2.7(transitive)