concurrency.js 0.0.1 → 0.0.22-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug-report-ticket.md +38 -0
- package/.github/ISSUE_TEMPLATE/feature-request-ticket.md +43 -0
- package/.github/ISSUE_TEMPLATE/general-request-ticket.md +20 -0
- package/.github/ISSUE_TEMPLATE/security-report-ticket.md +51 -0
- package/README.md +5 -1
- package/demos/demos.js +21 -0
- package/index.js +6 -0
- package/index.mjs +5 -0
- package/package.json +13 -7
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report ticket
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Describe the bug**
|
|
11
|
+
A clear and concise description of what the bug is.
|
|
12
|
+
|
|
13
|
+
**To Reproduce**
|
|
14
|
+
Steps to reproduce the behavior:
|
|
15
|
+
1. Go to '...'
|
|
16
|
+
2. Click on '....'
|
|
17
|
+
3. Scroll down to '....'
|
|
18
|
+
4. See error
|
|
19
|
+
|
|
20
|
+
**Expected behavior**
|
|
21
|
+
A clear and concise description of what you expected to happen.
|
|
22
|
+
|
|
23
|
+
**Screenshots**
|
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
|
25
|
+
|
|
26
|
+
**Desktop (please complete the following information):**
|
|
27
|
+
- OS: [e.g. iOS]
|
|
28
|
+
- Browser [e.g. chrome, safari]
|
|
29
|
+
- Version [e.g. 22]
|
|
30
|
+
|
|
31
|
+
**Smartphone (please complete the following information):**
|
|
32
|
+
- Device: [e.g. iPhone6]
|
|
33
|
+
- OS: [e.g. iOS8.1]
|
|
34
|
+
- Browser [e.g. stock browser, safari]
|
|
35
|
+
- Version [e.g. 22]
|
|
36
|
+
|
|
37
|
+
**Additional context**
|
|
38
|
+
Add any other context about the problem here.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request ticket
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: "[FEATURE] Feature summary description here"
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ganeshkbhat
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Describe the bug**
|
|
11
|
+
A clear and concise description of what the bug is.
|
|
12
|
+
|
|
13
|
+
**Details**
|
|
14
|
+
Any relevant steps
|
|
15
|
+
|
|
16
|
+
**Is your feature request related to a problem? Please describe.**
|
|
17
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
18
|
+
|
|
19
|
+
**Describe the solution you'd like**
|
|
20
|
+
A clear and concise description of what you want to happen.
|
|
21
|
+
|
|
22
|
+
**Describe alternatives you've considered**
|
|
23
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
24
|
+
|
|
25
|
+
**Expected behavior**
|
|
26
|
+
A clear and concise description of what you expected to happen.
|
|
27
|
+
|
|
28
|
+
**Screenshots**
|
|
29
|
+
If applicable, add screenshots or wireframe to help explain your feature.
|
|
30
|
+
|
|
31
|
+
**Desktop (please complete the following information):**
|
|
32
|
+
- OS: [e.g. iOS]
|
|
33
|
+
- Browser [e.g. chrome, safari]
|
|
34
|
+
- Version [e.g. 22]
|
|
35
|
+
|
|
36
|
+
**Smartphone (please complete the following information):**
|
|
37
|
+
- Device: [e.g. iPhone6]
|
|
38
|
+
- OS: [e.g. iOS8.1]
|
|
39
|
+
- Browser [e.g. stock browser, safari]
|
|
40
|
+
- Version [e.g. 22]
|
|
41
|
+
|
|
42
|
+
**Additional context**
|
|
43
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: General Request ticket
|
|
3
|
+
about: Suggest any other than issue or bug or feature or idea for this project
|
|
4
|
+
title: "[REQUEST] Request summary"
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Please describe your request.**
|
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
12
|
+
|
|
13
|
+
**Describe the solution you'd like**
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
A clear and concise description of any alternatives you've considered.
|
|
18
|
+
|
|
19
|
+
**Additional context**
|
|
20
|
+
Add any other context or screenshots about the request here.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Security Vulnerability / Bug report ticket
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Describe the Security vulnerability / bug**
|
|
11
|
+
A clear and concise description of what the bug is.
|
|
12
|
+
|
|
13
|
+
**Security Vulerability**
|
|
14
|
+
Describe the security vulnerability.
|
|
15
|
+
|
|
16
|
+
**Security Vulerability Impact**
|
|
17
|
+
Describe the security vulnerability impact.
|
|
18
|
+
|
|
19
|
+
**Security Vulerability Detection or How To Reproduce**
|
|
20
|
+
Describe how the security vulnerability can be detected or reprduced.
|
|
21
|
+
|
|
22
|
+
Steps to reproduce the behavior:
|
|
23
|
+
1. Go to '...'
|
|
24
|
+
2. Click on '....'
|
|
25
|
+
3. Scroll down to '....'
|
|
26
|
+
4. See error
|
|
27
|
+
|
|
28
|
+
**Expected behavior**
|
|
29
|
+
A clear and concise description of what you expected to happen.
|
|
30
|
+
|
|
31
|
+
**How To Rectify the Security Vulerability Issue**
|
|
32
|
+
Describe How To Rectify the Security Vulerability Issue.
|
|
33
|
+
|
|
34
|
+
Eg: Upgrade package, code section change, feature, changing defaults, etc.
|
|
35
|
+
|
|
36
|
+
**Screenshots**
|
|
37
|
+
If applicable, add screenshots to help explain your problem.
|
|
38
|
+
|
|
39
|
+
**Desktop (please complete the following information):**
|
|
40
|
+
- OS: [e.g. iOS]
|
|
41
|
+
- Browser [e.g. chrome, safari]
|
|
42
|
+
- Version [e.g. 22]
|
|
43
|
+
|
|
44
|
+
**Smartphone (please complete the following information):**
|
|
45
|
+
- Device: [e.g. iPhone6]
|
|
46
|
+
- OS: [e.g. iOS8.1]
|
|
47
|
+
- Browser [e.g. stock browser, safari]
|
|
48
|
+
- Version [e.g. 22]
|
|
49
|
+
|
|
50
|
+
**Additional context**
|
|
51
|
+
Add any other context about the problem here.
|
package/README.md
CHANGED
package/demos/demos.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Package:
|
|
4
|
+
* Author: Ganesh B
|
|
5
|
+
* Description:
|
|
6
|
+
* Install: npm i --save
|
|
7
|
+
* Github: https://github.com/ganeshkbhat/concurrency
|
|
8
|
+
* npmjs Link: https://www.npmjs.com/package/
|
|
9
|
+
* File: index.js
|
|
10
|
+
* File Description:
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/* eslint no-console: 0 */
|
|
15
|
+
|
|
16
|
+
'use strict';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
let { _concurrencyThreads, _concurrencyProcesses } = require("../index.js");
|
|
20
|
+
console.log(_concurrencyThreads, _concurrencyProcesses);
|
|
21
|
+
|
package/index.js
CHANGED
package/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "concurrency.js",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22-beta",
|
|
4
4
|
"description": "npm module to work with concurrency - worker threads and worker processes easily using simple functions and script files",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
@@ -10,17 +10,23 @@
|
|
|
10
10
|
"require": "./index.js",
|
|
11
11
|
"import": "./index.mjs"
|
|
12
12
|
},
|
|
13
|
+
"dependencies": {},
|
|
13
14
|
"devDependencies": {
|
|
14
15
|
"chai": "^4.3.6",
|
|
15
|
-
"mocha": "^10.
|
|
16
|
-
"
|
|
17
|
-
"nsp-api": "^1.0.3",
|
|
18
|
-
"safe-regex": "^2.1.1",
|
|
19
|
-
"sinon": "^14.0.1",
|
|
16
|
+
"mocha": "^10.0.0",
|
|
17
|
+
"sinon": "^14.0.0",
|
|
20
18
|
"unimported": "^1.22.0"
|
|
21
19
|
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/ganeshkbhat/concurrency.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/ganeshkbhat/concurrency/issues"
|
|
26
|
+
},
|
|
27
|
+
"homepage": "https://github.com/ganeshkbhat/concurrency#readme",
|
|
22
28
|
"scripts": {
|
|
23
|
-
"test": "
|
|
29
|
+
"test": "mocha --reporter spec --recursive"
|
|
24
30
|
},
|
|
25
31
|
"author": "Ganesh B",
|
|
26
32
|
"license": "MIT"
|