java-caller 4.0.1-beta202405081245.0 → 4.1.1-beta202408202050.0

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Version](https://img.shields.io/npm/v/java-caller.svg)](https://www.npmjs.com/package/java-caller)
5
5
  [![Downloads/week](https://img.shields.io/npm/dw/java-caller.svg)](https://npmjs.org/package/java-caller)
6
6
  [![Downloads/total](https://img.shields.io/npm/dt/java-caller.svg)](https://npmjs.org/package/java-caller)<!-- gh-dependents-info-used-by-start -->
7
- [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=80&color=informational&logo=slickpic)](https://github.com/nvuillam/node-java-caller/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
7
+ [![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=90&color=informational&logo=slickpic)](https://github.com/nvuillam/node-java-caller/blob/main/docs/github-dependents-info.md)<!-- gh-dependents-info-used-by-end -->
8
8
  [![CircleCI](https://circleci.com/gh/nvuillam/node-java-caller/tree/master.svg?style=shield)](https://circleci.com/gh/nvuillam/node-java-caller/tree/master)
9
9
  [![Mega-Linter](https://github.com/nvuillam/node-java-caller/workflows/Mega-Linter/badge.svg)](https://github.com/nvuillam/mega-linter#readme)
10
10
  [![codecov](https://codecov.io/gh/nvuillam/node-java-caller/branch/master/graph/badge.svg)](https://codecov.io/gh/nvuillam/node-java-caller)
@@ -16,7 +16,7 @@
16
16
  Lightweight cross-platform javascript module to **easily call java commands from Node.js sources**.
17
17
 
18
18
  - **Automatically installs required Java version** if not present on the system
19
- - Compliant with **JDK & JRE** from **8 to 20**
19
+ - Compliant with **JDK & JRE** from **8 to 21**
20
20
  - Uses node [spawn](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) method to perform the call
21
21
 
22
22
  There are two ways to use java-caller:
@@ -35,7 +35,7 @@ npm install java-caller --save
35
35
  ```javascript
36
36
  const JavaCaller = require('java-caller');
37
37
  const java = new JavaCaller(JAVA_CALLER_OPTIONS);
38
- const {status, stdout, stderr} = java.run(JAVA_ARGUMENTS,JAVA_CALLER_RUN_OPTIONS);
38
+ const {status, stdout, stderr} = await java.run(JAVA_ARGUMENTS,JAVA_CALLER_RUN_OPTIONS);
39
39
  ```
40
40
 
41
41
  ### JAVA_CALLER_OPTIONS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "java-caller",
3
- "version": "4.0.1-beta202405081245.0",
3
+ "version": "4.1.1-beta202408202050.0",
4
4
  "description": "Library to easily call java from node sources. Automatically installs java if not present",
5
5
  "main": "./lib/index.js",
6
6
  "files": [
@@ -42,9 +42,9 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/eslint-parser": "^7.22.15",
45
- "eslint": "^8.27.0",
45
+ "eslint": "^9.0.0",
46
46
  "mocha": "^10.1.0",
47
- "nyc": "^15.1.0",
47
+ "nyc": "^17.0.0",
48
48
  "prettier": "^3.1.0",
49
49
  "which": "^4.0.0"
50
50
  },