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

native-promise-pool

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-promise-pool - npm Package Compare versions

Comparing version 3.25.0 to 3.26.0-next.1701821481.b550a483fe65650cd72f03614abfe11f0fedd97d

edition-es2016/index.js

2

edition-deno/index.ts

@@ -25,3 +25,3 @@ /** Promise Pool */

open<AnyItemResult extends EveryItemResult>(
task: () => Promise<AnyItemResult> | AnyItemResult
task: () => Promise<AnyItemResult> | AnyItemResult,
): Promise<AnyItemResult> {

@@ -28,0 +28,0 @@ // Create our promise and push its resolver to the queue.

{
"name": "native-promise-pool",
"version": "3.25.0",
"version": "3.26.0-next.1701821481.b550a483fe65650cd72f03614abfe11f0fedd97d",
"description": "Create a pool of a specified concurrency that accepts functions that return promises",

@@ -15,3 +15,3 @@ "homepage": "https://github.com/bevry/native-promise-pool",

"denoland",
"es2021",
"es2016",
"es2022",

@@ -114,3 +114,3 @@ "export-default",

{
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"description": "TypeScript compiled against ES2022 for Node.js 21 with Require for modules",
"directory": "edition-es2022",

@@ -130,4 +130,4 @@ "entry": "index.js",

{
"description": "TypeScript compiled against ES2021 for Node.js 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "edition-es2021",
"description": "TypeScript compiled against ES2016 for Node.js 8 with Require for modules",
"directory": "edition-es2016",
"entry": "index.js",

@@ -137,3 +137,3 @@ "tags": [

"javascript",
"es2021",
"es2016",
"require"

@@ -147,3 +147,3 @@ ],

{
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules",
"description": "TypeScript compiled against ES2022 for Node.js 21 with Import for modules",
"directory": "edition-es2022-esm",

@@ -207,32 +207,31 @@ "entry": "index.js",

"dependencies": {
"editions": "^6.16.0"
"editions": "^6.19.0"
},
"devDependencies": {
"@bevry/ansi": "^6.5.0",
"@bevry/ansi": "^6.7.0",
"@bevry/update-contributors": "^1.23.0",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"assert-helpers": "^11.6.0",
"eslint": "^8.54.0",
"eslint-config-bevry": "^5.2.0",
"eslint-config-prettier": "^9.0.0",
"@types/node": "^20.10.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"assert-helpers": "^11.9.0",
"eslint": "^8.55.0",
"eslint-config-bevry": "^5.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"kava": "^7.4.0",
"logger-clearable": "^4.4.0",
"make-deno-edition": "^2.0.0",
"kava": "^7.5.0",
"logger-clearable": "^4.5.0",
"make-deno-edition": "^2.1.0",
"prettier": "^3.1.0",
"projectz": "^3.3.0",
"surge": "^0.23.1",
"typedoc": "^0.25.3",
"typescript": "5.2.2",
"valid-directory": "^4.5.0",
"valid-module": "^2.5.0"
"projectz": "^3.4.0",
"typedoc": "^0.25.4",
"typescript": "5.3.2",
"valid-directory": "^4.6.0",
"valid-module": "^2.6.0"
},
"scripts": {
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2021 && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2016 && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types",
"our:compile:deno": "make-deno-edition --attempt",
"our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -rf edition-browsers && mv edition-temp edition-browsers ) )",
"our:compile:edition-es2021": "tsc --module commonjs --target ES2021 --outDir ./edition-es2021 --project tsconfig.json && ( test ! -d edition-es2021/source || ( mv edition-es2021/source edition-temp && rm -rf edition-es2021 && mv edition-temp edition-es2021 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2021/package.json",
"our:compile:edition-es2016": "tsc --module commonjs --target ES2016 --outDir ./edition-es2016 --project tsconfig.json && ( test ! -d edition-es2016/source || ( mv edition-es2016/source edition-temp && rm -rf edition-es2016 && mv edition-temp edition-es2016 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2016/package.json",
"our:compile:edition-es2022": "tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json",

@@ -271,4 +270,5 @@ "our:compile:edition-es2022-esm": "tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json",

"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "all",
"endOfLine": "lf"
}
}
}

@@ -95,3 +95,3 @@ <!-- TITLE/ -->

``` typescript
import pkg from 'https://unpkg.com/native-promise-pool@^3.25.0/edition-deno/index.ts'
import pkg from 'https://unpkg.com/native-promise-pool@^3.26.0/edition-deno/index.ts'
```

@@ -103,3 +103,3 @@

<script type="module">
import pkg from '//cdn.skypack.dev/native-promise-pool@^3.25.0'
import pkg from '//cdn.skypack.dev/native-promise-pool@^3.26.0'
</script>

@@ -112,3 +112,3 @@ ```

<script type="module">
import pkg from '//unpkg.com/native-promise-pool@^3.25.0'
import pkg from '//unpkg.com/native-promise-pool@^3.26.0'
</script>

@@ -121,3 +121,3 @@ ```

<script type="module">
import pkg from '//dev.jspm.io/native-promise-pool@3.25.0'
import pkg from '//dev.jspm.io/native-promise-pool@3.26.0'
</script>

@@ -133,5 +133,5 @@ ```

<li><code>native-promise-pool/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>native-promise-pool/edition-es2022/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>native-promise-pool/edition-es2021/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2021 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>native-promise-pool/edition-es2022-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>native-promise-pool/edition-es2022/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>native-promise-pool/edition-es2016/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#7th_Edition_-_ECMAScript_2016" title="ECMAScript 2016">ES2016</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 8 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>native-promise-pool/edition-es2022-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>native-promise-pool/edition-types/index.d.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled Types with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>

@@ -138,0 +138,0 @@ <li><code>native-promise-pool/edition-deno/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code made to be compatible with <a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js">Deno</a></li></ul>

@@ -25,3 +25,3 @@ /** Promise Pool */

open<AnyItemResult extends EveryItemResult>(
task: () => Promise<AnyItemResult> | AnyItemResult
task: () => Promise<AnyItemResult> | AnyItemResult,
): Promise<AnyItemResult> {

@@ -28,0 +28,0 @@ // Create our promise and push its resolver to the queue.

@@ -7,9 +7,8 @@ {

"maxNodeModuleJsDepth": 5,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"target": "ES2022",
"module": "ESNext",
"downlevelIteration": true
"target": "ES2022"
},
"include": ["source"]
}
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