java-caller 2.2.4 → 2.5.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.
package/package.json CHANGED
@@ -1,75 +1,75 @@
1
- {
2
- "name": "java-caller",
3
- "version": "2.2.4",
4
- "description": "Library to easily call java from node sources. Automatically installs java if not present",
5
- "main": "./lib/index.js",
6
- "files": [
7
- "lib/"
8
- ],
9
- "scripts": {
10
- "lint:fix": "eslint **/*.js --fix && prettier --write \"./lib/**/*.{js,jsx,json}\" --tab-width 4 --print-width 150",
11
- "java:compile": "javac -d test/java/dist -source 8 -target 1.8 test/java/src/com/nvuillam/javacaller/JavaCallerTester.java",
12
- "java:jar": "cd test/java/dist && jar -cvfm ./../jar/JavaCallerTester.jar ./../jar/manifest/Manifest.txt com/nvuillam/javacaller/*.class && jar -cvfm ./../jar/JavaCallerTesterRunnable.jar ./../jar/manifest-runnable/Manifest.txt com/nvuillam/javacaller/*.class",
13
- "test": "mocha \"test/**/*.test.js\"",
14
- "test:coverage": "nyc npm run test",
15
- "test:debug": "env DEBUG=java-caller mocha --reporter spec \"test/**/*.test.js\""
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "git+https://github.com/nvuillam/node-java-caller.git"
20
- },
21
- "keywords": [
22
- "java",
23
- "caller",
24
- "classpath",
25
- "jar",
26
- "node",
27
- "npm",
28
- "javascript",
29
- "class"
30
- ],
31
- "author": "Nicolas Vuillamy",
32
- "license": "MIT",
33
- "bugs": {
34
- "url": "https://github.com/nvuillam/node-java-caller/issues"
35
- },
36
- "homepage": "https://github.com/nvuillam/node-java-caller#readme",
37
- "dependencies": {
38
- "debug": "^4.1.1",
39
- "fs-extra": "^9.0.1",
40
- "njre": "^0.2.0"
41
- },
42
- "devDependencies": {
43
- "babel-eslint": "^10.1.0",
44
- "eslint": "^7.6.0",
45
- "mocha": "^8.1.1",
46
- "nyc": "^15.1.0",
47
- "which": "^2.0.2"
48
- },
49
- "engines": {
50
- "node": ">=12.0.0"
51
- },
52
- "mocha": {
53
- "require": [
54
- "test/helpers/init.js"
55
- ],
56
- "watch-extensions": [
57
- "js"
58
- ],
59
- "recursive": true,
60
- "reporter": "spec",
61
- "timeout": "300000"
62
- },
63
- "nyc": {
64
- "include": [
65
- "lib/**"
66
- ],
67
- "extension": [
68
- ".js"
69
- ],
70
- "reporter": [
71
- "html"
72
- ],
73
- "all": true
74
- }
75
- }
1
+ {
2
+ "name": "java-caller",
3
+ "version": "2.5.0",
4
+ "description": "Library to easily call java from node sources. Automatically installs java if not present",
5
+ "main": "./lib/index.js",
6
+ "files": [
7
+ "lib/"
8
+ ],
9
+ "scripts": {
10
+ "lint:fix": "eslint **/*.js --fix && prettier --write \"./lib/**/*.{js,jsx,json}\" --tab-width 4 --print-width 150",
11
+ "java:compile": "javac -d test/java/dist -source 8 -target 1.8 test/java/src/com/nvuillam/javacaller/JavaCallerTester.java",
12
+ "java:jar": "cd test/java/dist && jar -cvfm ./../jar/JavaCallerTester.jar ./../jar/manifest/Manifest.txt com/nvuillam/javacaller/*.class && jar -cvfm ./../jar/JavaCallerTesterRunnable.jar ./../jar/manifest-runnable/Manifest.txt com/nvuillam/javacaller/*.class",
13
+ "test": "mocha \"test/**/*.test.js\"",
14
+ "test:coverage": "nyc npm run test",
15
+ "test:debug": "env DEBUG=java-caller mocha --reporter spec \"test/**/*.test.js\""
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/nvuillam/node-java-caller.git"
20
+ },
21
+ "keywords": [
22
+ "java",
23
+ "caller",
24
+ "classpath",
25
+ "jar",
26
+ "node",
27
+ "npm",
28
+ "javascript",
29
+ "class"
30
+ ],
31
+ "author": "Nicolas Vuillamy",
32
+ "license": "MIT",
33
+ "bugs": {
34
+ "url": "https://github.com/nvuillam/node-java-caller/issues"
35
+ },
36
+ "homepage": "https://github.com/nvuillam/node-java-caller#readme",
37
+ "dependencies": {
38
+ "debug": "^4.1.1",
39
+ "fs-extra": "^9.0.1",
40
+ "njre": "^0.2.0"
41
+ },
42
+ "devDependencies": {
43
+ "babel-eslint": "^10.1.0",
44
+ "eslint": "^7.6.0",
45
+ "mocha": "^8.1.1",
46
+ "nyc": "^15.1.0",
47
+ "which": "^2.0.2"
48
+ },
49
+ "engines": {
50
+ "node": ">=12.0.0"
51
+ },
52
+ "mocha": {
53
+ "require": [
54
+ "test/helpers/init.js"
55
+ ],
56
+ "watch-extensions": [
57
+ "js"
58
+ ],
59
+ "recursive": true,
60
+ "reporter": "spec",
61
+ "timeout": "300000"
62
+ },
63
+ "nyc": {
64
+ "include": [
65
+ "lib/**"
66
+ ],
67
+ "extension": [
68
+ ".js"
69
+ ],
70
+ "reporter": [
71
+ "html"
72
+ ],
73
+ "all": true
74
+ }
75
+ }
package/CHANGELOG.md DELETED
@@ -1,29 +0,0 @@
1
- # Changelog
2
-
3
- ## [2.2.3] 2020-09-05
4
-
5
- - Fix Java 8 detection ([#101@npm-groovy-lint](https://github.com/nvuillam/npm-groovy-lint/issues/101))
6
-
7
- ## [2.2.0] 2020-08-29
8
-
9
- - Fix CLASSPATH on windows in case there are spaces in paths
10
- - Update License to MIT
11
-
12
- ## [2.1.0] 2020-08-12
13
-
14
- - Allow to use java-caller to build your own CLI embedding java sources
15
- - Example projects using module and CLI
16
-
17
- ## [2.0.0] 2020-08-11
18
-
19
- - Big refactoring to simplify and enhance performances of code checking/installing java version
20
- - Replace use of deprecated package [node-jre](https://github.com/schreiben/node-jre) by [njre](https://github.com/raftario/njre)
21
- - Compliance with JDK & JRE from 8 to 14 ([AdoptOpenJdk](https://adoptopenjdk.net/) releases)
22
-
23
- ## [1.1.0] 2020-08-10
24
-
25
- - Return `javaChildProcess` when `detached` is true, so it can be used to be killed later
26
-
27
- ## [1.0.0] 2020-08-10
28
-
29
- - Initial version