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

@azteam/util

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azteam/util - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

22

lib/index.js

@@ -156,6 +156,10 @@ "use strict";

length = data.length;
if (!length) {
_context2.next = 13;
break;
}
i = 0;
case 3:
case 4:
if (!(i < length)) {
_context2.next = 11;
_context2.next = 12;
break;

@@ -166,13 +170,17 @@ }

}
_context2.next = 7;
_context2.next = 8;
return asyncFunction(data[i], i);
case 7:
case 8:
if (isLogProcessing) {
console.log('done', "(".concat(i + 1, "/").concat(length, ")"));
}
case 8:
case 9:
i += 1;
_context2.next = 3;
_context2.next = 4;
break;
case 11:
case 12:
return _context2.abrupt("return", true);
case 13:
return _context2.abrupt("return", false);
case 14:
case "end":

@@ -179,0 +187,0 @@ return _context2.stop();

{
"name": "@azteam/util",
"version": "1.0.20",
"version": "1.0.21",
"description": "",

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

@@ -172,13 +172,17 @@ import sanitizeHtml from 'sanitize-html';

for (let i = 0; i < length; i += 1) {
if (isLogProcessing) {
console.log('run', `(${i + 1}/${length})`);
}
if (length) {
for (let i = 0; i < length; i += 1) {
if (isLogProcessing) {
console.log('run', `(${i + 1}/${length})`);
}
await asyncFunction(data[i], i);
await asyncFunction(data[i], i);
if (isLogProcessing) {
console.log('done', `(${i + 1}/${length})`);
if (isLogProcessing) {
console.log('done', `(${i + 1}/${length})`);
}
}
return true;
}
return false;
}
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