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

promise-pool-ext

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-pool-ext - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

6

lib/modules/pool-manager.js

@@ -51,4 +51,4 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

return task.fn(kwargs);
} catch (errors) {
throw errors.find(e => e instanceof Error);
} catch (err) {
throw Array.isArray(err) ? err.find(e => e instanceof Error) || err : err;
}

@@ -69,2 +69,2 @@ });

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9tb2R1bGVzL3Bvb2wtbWFuYWdlci5qcyJdLCJuYW1lcyI6WyJhc3NlcnQiLCJyZXF1aXJlIiwiSm9pIiwiUG9vbCIsImNoZWNrQ3ljbGljIiwibW9kdWxlIiwiZXhwb3J0cyIsImxvZ2ljIiwib3B0cyIsIm9iamVjdCIsIm1pbiIsInBhdHRlcm4iLCJzdHJpbmciLCJrZXlzIiwicmVxdWlyZXMiLCJhcnJheSIsIml0ZW1zIiwidmFsaWQiLCJPYmplY3QiLCJvcHRpb25hbCIsImlmIiwiZnVuY3Rpb24iLCJmbiIsImVudHJpZXMiLCJyZWR1Y2UiLCJwIiwiayIsInYiLCJhc3NpZ24iLCJwb29sIiwiY29uY3VycmVuY3kiLCJyZWFkeSIsImVucXVldWUiLCJuYW1lIiwidW5kZWZpbmVkIiwidGFzayIsImxlbmd0aCIsImZvckVhY2giLCJuIiwia3dhcmdzIiwibWFwIiwiZXJyb3JzIiwiZmluZCI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YgKHRhc2suaWYgIT09IHVuZGVmaW5lZCAmJiB0YXNrLmlmKCkgIT09IHRydWUpIHtcbiAgICAgICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0YXNrLnJlcXVpcmVzID09PSB1bmRlZmluZWQgfHwgdGFzay5yZXF1aXJlcy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICByZXR1cm4gcG9vbCh0YXNrLmZuKTtcbiAgICAgICAgfVxuICAgICAgICB0YXNrLnJlcXVpcmVzLmZvckVhY2goKG4pID0+IHtcbiAgICAgICAgICByZWFkeVtuXSA9IGVucXVldWUobik7XG4gICAgICAgIH0pO1xuICAgICAgICByZXR1cm4gcG9vbChhc3luYyAoKSA9PiB7XG4gICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgIGNvbnN0IGt3YXJncyA9IChhd2FpdCBwb29sKHRhc2sucmVxdWlyZXMubWFwKChuKSA9PiBhc3luYyAoKSA9PiBbbiwgYXdhaXQgcmVhZHlbbl1dKSkpXG4gICAgICAgICAgICAgIC5yZWR1Y2UoKHAsIFtrLCB2XSkgPT4gT2JqZWN0LmFzc2lnbihwLCB7IFtrXTogdiB9KSwge30pO1xuICAgICAgICAgICAgcmV0dXJuIHRhc2suZm4oa3dhcmdzKTtcbiAgICAgICAgICB9IGNhdGNoIChlcnJvcnMpIHtcbiAgICAgICAgICAgIHRocm93IGVycm9ycy5maW5kKChlKSA9PiBlIGluc3RhbmNlb2YgRXJyb3IpO1xuICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICB9KSgpO1xuICAgIH1cbiAgICByZXR1cm4gcmVhZHlbbmFtZV07XG4gIH07XG5cbiAgcmV0dXJuIHtcbiAgICBnZXQ6IChuYW1lKSA9PiB7XG4gICAgICBhc3NlcnQobG9naWNbbmFtZV0gIT09IHVuZGVmaW5lZCk7XG4gICAgICByZXR1cm4gZW5xdWV1ZShuYW1lKTtcbiAgICB9XG4gIH07XG59O1xuIl19
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AgICAgICAgcmV0dXJuIHBvb2woYXN5bmMgKCkgPT4ge1xuICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICBjb25zdCBrd2FyZ3MgPSAoYXdhaXQgcG9vbCh0YXNrLnJlcXVpcmVzLm1hcCgobikgPT4gYXN5bmMgKCkgPT4gW24sIGF3YWl0IHJlYWR5W25dXSkpKVxuICAgICAgICAgICAgICAucmVkdWNlKChwLCBbaywgdl0pID0+IE9iamVjdC5hc3NpZ24ocCwgeyBba106IHYgfSksIHt9KTtcbiAgICAgICAgICAgIHJldHVybiB0YXNrLmZuKGt3YXJncyk7XG4gICAgICAgICAgfSBjYXRjaCAoZXJyKSB7XG4gICAgICAgICAgICB0aHJvdyBBcnJheS5pc0FycmF5KGVycilcbiAgICAgICAgICAgICAgPyBlcnIuZmluZCgoZSkgPT4gZSBpbnN0YW5jZW9mIEVycm9yKSB8fCBlcnJcbiAgICAgICAgICAgICAgOiBlcnI7XG4gICAgICAgICAgfVxuICAgICAgICB9KTtcbiAgICAgIH0pKCk7XG4gICAgfVxuICAgIHJldHVybiByZWFkeVtuYW1lXTtcbiAgfTtcblxuICByZXR1cm4ge1xuICAgIGdldDogKG5hbWUpID0+IHtcbiAgICAgIGFzc2VydChsb2dpY1tuYW1lXSAhPT0gdW5kZWZpbmVkKTtcbiAgICAgIHJldHVybiBlbnF1ZXVlKG5hbWUpO1xuICAgIH1cbiAgfTtcbn07XG4iXX0=
{
"name": "promise-pool-ext",
"version": "1.3.1",
"version": "1.3.2",
"main": "lib/index.js",

@@ -20,3 +20,3 @@ "repository": {

"chai": "4.2.0",
"coveralls": "3.0.11",
"coveralls": "3.1.0",
"eslint": "6.8.0",

@@ -28,7 +28,7 @@ "eslint-config-airbnb-base": "14.1.0",

"eslint-plugin-mocha": "6.3.0",
"js-gardener": "2.0.152",
"js-gardener": "2.0.153",
"node-tdd": "2.10.5",
"nyc": "15.0.1",
"random-dag": "1.0.4",
"semantic-release": "17.0.4"
"semantic-release": "17.0.7"
},

@@ -35,0 +35,0 @@ "licenses": [

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