Comparing version 2.7.0 to 2.7.1
@@ -37,3 +37,3 @@ "use strict"; | ||
intervalMs = 1000 | ||
}) { | ||
} = {}) { | ||
if (ms < thresholdMs) { | ||
@@ -190,2 +190,2 @@ return await sleep(ms); | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9hc3luY2JveC5qcyJdLCJuYW1lcyI6WyJMT05HX1NMRUVQX1RIUkVTSE9MRCIsInNsZWVwIiwibXMiLCJCIiwiZGVsYXkiLCJsb25nU2xlZXAiLCJ0aHJlc2hvbGRNcyIsImludGVydmFsTXMiLCJlbmRBdCIsIkRhdGUiLCJub3ciLCJyZXRyeSIsInRpbWVzIiwiZm4iLCJhcmdzIiwidHJpZXMiLCJkb25lIiwicmVzIiwiZXJyIiwicmV0cnlJbnRlcnZhbCIsInNsZWVwTXMiLCJjb3VudCIsIndyYXBwZWQiLCJlIiwicGFyYWxsZWwiLCJwcm9taXNlcyIsImFsbCIsIm5vZGVpZnkiLCJwcm9taXNleSIsImNiIiwicmVzb2x2ZSIsIm5vZGVpZnlBbGwiLCJwcm9taXNleU1hcCIsImNiTWFwIiwibmFtZSIsIl9jYiIsInNsaWNlIiwiYXN5bmNpZnkiLCJhc3luY21hcCIsImNvbGwiLCJtYXBwZXIiLCJydW5JblBhcmFsbGVsIiwibWFwIiwibmV3Q29sbCIsIml0ZW0iLCJwdXNoIiwiYXN5bmNmaWx0ZXIiLCJmaWx0ZXIiLCJib29scyIsImkiLCJsZW5ndGgiLCJ3YWl0Rm9yQ29uZGl0aW9uIiwiY29uZEZuIiwib3B0cyIsIl8iLCJkZWZhdWx0cyIsIndhaXRNcyIsImRlYnVnIiwibG9nZ2VyIiwiYmluZCIsIm5vb3AiLCJlcnJvciIsImJlZ3VuQXQiLCJzcGluIiwicmVzdWx0Iiwid2FpdGVkIiwiaXNTdHJpbmciLCJFcnJvciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7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= 1000, | ||
}) { | ||
} = {}) { | ||
if (ms < thresholdMs) { | ||
@@ -19,0 +19,0 @@ return await sleep(ms); |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"author": "jlipps@gmail.com", | ||
@@ -12,0 +12,0 @@ "license": "Apache-2.0", |
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
64150