Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@squared-functions/task

Package Overview
Dependencies
Maintainers
1
Versions
313
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 1.2.10 to 1.2.11

17

gulp/index.js

@@ -1,2 +0,2 @@

/* @squared-functions/task/gulp 1.2.10
/* @squared-functions/task/gulp 1.2.11
https://github.com/anpham6/squared-functions */

@@ -141,14 +141,3 @@

if (index_1.default.createDir(tempDir)) {
Promise.all(data.items.map(uri => {
return new Promise((resolve, reject) => {
fs.copyFile(uri, path.join(tempDir, path.basename(uri)), err => {
if (!err) {
resolve();
}
else {
reject(err);
}
});
});
}))
Promise.all(data.items.map(uri => fs.promises.copyFile(uri, path.join(tempDir, path.basename(uri)))))
.then(() => {

@@ -171,3 +160,3 @@ (PATH_GULPBIN ? child_process.execFile(PATH_GULPBIN, [task, '--gulpfile', `"${normalizePath(data.gulpfile)}"`, '--cwd', `"${normalizePath(tempDir)}"`], { cwd: process.cwd(), shell: true }) : child_process.exec(`gulp ${task} --gulpfile "${normalizePath(data.gulpfile)}" --cwd "${normalizePath(tempDir)}"`, { cwd: process.cwd() }))

callback();
this.writeTimeProcess('gulp', task, time);
this.writeTimeProcess('gulp', task + ' -> ' + path.basename(data.items[0]), time);
(global.queueMicrotask || process.nextTick)(() => index_1.default.removeDir(tempDir));

@@ -174,0 +163,0 @@ }

2

index.js

@@ -1,2 +0,2 @@

/* @squared-functions/task 1.2.10
/* @squared-functions/task 1.2.11
https://github.com/anpham6/squared-functions */

@@ -3,0 +3,0 @@

{
"name": "@squared-functions/task",
"version": "1.2.10",
"version": "1.2.11",
"description": "Task functions for squared-functions",

@@ -18,6 +18,6 @@ "main": "index.js",

"dependencies": {
"@squared-functions/module": "1.2.10",
"@squared-functions/types": "1.2.10",
"@squared-functions/module": "1.2.11",
"@squared-functions/types": "1.2.11",
"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