Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
0951b54
fix for ppc64le build that does not override target_arch in node-gyp
stuws Jun 11, 2018
cd6860a
Merge pull request #439 from swsharp/fix/issue437alt
joeferner Jun 11, 2018
4f1badf
typo(README)
nchabanoles Jul 3, 2018
c33f7cc
Merge pull request #441 from nchabanoles/patch-1
joeferner Jul 3, 2018
3f20aec
lucene examples update ucene , deps updated, readme install on window…
cancerberoSgx Jul 16, 2018
38a1e73
typos and promisify implementation
cancerberoSgx Aug 13, 2018
c5ed5b7
headings and asyncOptions API
cancerberoSgx Sep 11, 2018
971d1a5
asyncOptionsDetails
cancerberoSgx Sep 11, 2018
ee7423b
newArray note
cancerberoSgx Sep 11, 2018
4a0e03e
update supported versions
joeferner Oct 23, 2018
d1b1d3d
v0.11.0
joeferner Oct 23, 2018
305ab04
fix: jdk-v8u65 url dose not exist(404 error)
graykode Nov 26, 2018
b81ac04
fix nodejs old version error
graykode Nov 26, 2018
2e6ce52
fixed docker file to new version
graykode Feb 25, 2019
09f87ee
Use libjli, not libjvm, on macOS
ctrueden Apr 24, 2019
51e8a8d
support os=linux target_arch=arm64
Sean-214 Jun 21, 2019
569b546
Update lodash to a newer version for npm audit fixes.
ramr Jul 17, 2019
a6104b6
v0.11.1
joeferner Jul 17, 2019
df63414
Update README.md
cybermerlin Jul 19, 2019
eb46d13
feat: make node 12 compatible
MarshallOfSound Nov 8, 2019
f148c8f
build: run tests on node 12
MarshallOfSound Nov 8, 2019
b8f3597
build: retain node 7 support
MarshallOfSound Nov 8, 2019
1ba14d2
v0.12.0
joeferner Nov 18, 2019
9ecc5a4
updated source files to compile on electron 7
gnudles Jan 8, 2020
bca3c7a
v0.12.1
joeferner Jan 23, 2020
d0e64ce
Bump handlebars from 4.1.2 to 4.5.3
dependabot[bot] Dec 29, 2019
ccd2b67
Fix clobbering of dynamicProxyData with concurrent proxy calls.
jkstrick Feb 23, 2017
bc557ad
Use libuv async facility to queue javascript calls, instead of the af…
jkstrick Apr 7, 2017
4c6d92a
use GetBackingStore() instead of GetContents(); upgrade nan version
paulwcy Jul 6, 2020
afd5c54
upgrade find-java-home
paulwcy Jul 6, 2020
b4f8de2
fixed Dockerfile for correct path of jdk
Aug 13, 2020
b569c5f
added --unsafe-perm to npm install as gyp outputs error otherwise
Aug 13, 2020
f5423be
build: Update lockfile
pdulapalli Aug 24, 2020
7a702cd
fix: Refine preprocessor Node.js version check logic to smooth out Ar…
pdulapalli Aug 24, 2020
9690cbc
Bump lodash from 4.17.14 to 4.17.19
dependabot[bot] Aug 25, 2020
190959a
Audit fixes `npm audit fix` for y18n, lodash and hosted-git-info modu…
ramr Jun 11, 2021
ec155c6
Add debug log message for checking test failures.
ramr Jun 26, 2021
50d46b2
Update to travis-ci.com
joeferner Jun 29, 2021
9deab0b
touch
joeferner Jun 29, 2021
3f24937
touch
joeferner Jun 29, 2021
1621a7a
v0.12.2
joeferner Jul 8, 2021
69aa05c
include zos when setting javahome
gabylb Nov 18, 2019
ab035d0
remove O2 and O3 opts due to compile issue causing intermittent failure
gabylb Nov 21, 2019
2e56c91
zos: set compiler flags based on compiler and node versions
gabylb Jun 26, 2020
d90bd73
link to libjvm.x on z/OS
gabylb Jul 9, 2020
b3eeb2f
src: verify pointer before calling its method
gabylb Sep 30, 2020
5b980ce
Merge branch 'ibmruntimes-node14-zos'
joeferner Jul 8, 2021
5a5f1e7
Bump path-parse from 1.0.6 to 1.0.7
dependabot[bot] Aug 11, 2021
8f0952d
Fix error check for bad javalib directory
andyf0x Oct 16, 2021
88168d1
Exit with error if Java home can't be found
andyf0x Oct 17, 2021
ce4f251
Merge pull request #536 from andyf0x/master
joeferner Oct 18, 2021
e49f6c8
Only match JDK 6, 7 & 8 and not 16, 17 & 18.
LeviticusMB Aug 24, 2022
b38a6a0
Fix macOS build with JDK 17 & 18.
LeviticusMB Aug 24, 2022
1744fdd
Removed support for legacy macOS Java runtimes.
LeviticusMB Apr 11, 2023
b2bdd35
Explicit 'node-gyp rebuild'.
LeviticusMB Apr 11, 2023
2d0fbdd
Replaced scripts to compile the Java classes.
LeviticusMB Apr 12, 2023
b679dd1
Actually test (and handle) argument count mismatch.
LeviticusMB Apr 11, 2023
1c33679
Fixed methodAmbigious tests for ibm-semeru-open-11.jdk.
LeviticusMB Apr 11, 2023
d092e64
Use a Java trampoline when calling Java code from JNI.
LeviticusMB Apr 12, 2023
2eeaba4
Wait for list.addPromise() to finish before adding next item.
LeviticusMB Apr 12, 2023
6c48aac
v0.13.0
joeferner Apr 19, 2023
465b4e8
fix empty string promise suffix
Informatic Mar 10, 2023
2b9160f
Bump async from 2.6.1 to 2.6.4
dependabot[bot] Apr 28, 2022
09320f4
Bump minimist from 1.2.5 to 1.2.8
dependabot[bot] Mar 4, 2023
d0882c3
Bump qs from 6.5.2 to 6.5.3
dependabot[bot] Dec 7, 2022
77421dc
Bump semver from 5.7.1 to 5.7.2
dependabot[bot] Oct 31, 2023
d1ce971
Bump http-cache-semantics from 4.1.0 to 4.1.1
dependabot[bot] Oct 31, 2023
d29db8a
Bump ansi-regex from 4.1.0 to 4.1.1
dependabot[bot] Oct 31, 2023
d72e1f9
Bump debug from 4.1.1 to 4.3.4
dependabot[bot] Oct 31, 2023
92059a5
Bump json-schema and jsprim
dependabot[bot] Oct 31, 2023
9cc3ebb
Bump minimatch from 3.0.4 to 3.1.2
dependabot[bot] Oct 31, 2023
874a54b
upgrade nan and other dependencies
joeferner Nov 24, 2023
d22012e
git hub actions
joeferner Nov 24, 2023
76f8573
update readme
joeferner Nov 24, 2023
cc9c009
v0.14.0
joeferner Nov 24, 2023
fad0879
removed dependency on lodash, removed pnpm-lock.json (#591)
hulkish Dec 15, 2023
85ddb63
feat: enable support for node v22 (#607)
LittleGnome Apr 23, 2025
3f99875
add .devcontainer
joeferner May 1, 2025
250bc53
v0.15.0
joeferner May 1, 2025
c83670a
Added stop() method to java object. (#555)
jjuzna May 17, 2025
db8ef03
update LICENSE year
joeferner May 17, 2025
2cb74c7
switch to vitest
joeferner May 17, 2025
3c35905
Bump esbuild and vite
dependabot[bot] May 18, 2025
9f34ffd
fix c++ warnings
joeferner May 18, 2025
381f10b
prettier and lint
joeferner May 18, 2025
9b68dc6
move src directories
joeferner May 21, 2025
7e3d64b
fix .devcontainer/Dockerfile from becoming stale
joeferner May 24, 2025
478a9d1
switch tests to using typescript and add type definitions
joeferner May 25, 2025
d4b66aa
remove asyncOptions.promisify and always use utils.promisify
joeferner May 26, 2025
82cb2ee
v0.16.0
joeferner May 26, 2025
e27a644
update dependencies
joeferner May 26, 2025
1d266fa
downgrade chalk to work with commonjs
joeferner May 26, 2025
c8f143b
fix java.d.ts
joeferner May 30, 2025
ff2965b
v0.16.1
joeferner May 30, 2025
eb21f7b
exclude examples
joeferner May 30, 2025
586703c
enable skipLibCheck in example
joeferner May 31, 2025
69c662c
update commons lang to 3.18.0
joeferner Aug 13, 2025
da77b89
v0.16.2
joeferner Aug 14, 2025
6b4f09d
fix devcontainer build
joeferner Oct 16, 2025
64dc1a7
dependency updates
joeferner Oct 16, 2025
61ad473
drop support for node EOL node 18
joeferner Oct 16, 2025
510eafe
upgrade commons lang to 3.19.0
joeferner Oct 16, 2025
b8a1a44
v0.17.0
joeferner Oct 16, 2025
3004bfb
update package lock
joeferner Oct 16, 2025
26e147d
support node 24
joeferner Oct 16, 2025
2e83456
v0.18.0
joeferner Oct 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BasedOnStyle: LLVM
ColumnLimit: 120
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM mcr.microsoft.com/devcontainers/javascript-node:24

# need to run update and install at the same time to prevent stale update layer
RUN apt-get update && apt-get install -y gdb clang-format openjdk-21-jdk maven
17 changes: 17 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [],
"customizations": {
"vscode": {
"extensions": [
"streetsidesoftware.code-spell-checker",
"bierner.markdown-emoji",
"smulyono.reveal",
"ms-azuretools.vscode-docker",
"ms-vscode.cpptools-extension-pack"
]
}
}
}
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# These files will be normalized on commit (CRLF converted to LF) - asterisk is a wildcard
* text eol=lf

# These files will NOT be normalized
*.png -text
*.gif -text
*.jpg -text
*.jpeg -text
*.ico -text
*.jar -text
*.class -text
29 changes: 29 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: master
on:
push:
branches:
- master
jobs:
unit-test:
name: Unit Test
runs-on: ubuntu-latest
strategy:
matrix:
nodeVersion: [ 20, 22, 24 ]
jdkVersion: [ openjdk9, openjdk10, openjdk11, openjdk21 ]
steps:
- name: Checkout source code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodeVersion }}
- name: npm ci
run: npm ci
- name: npm run format-cpp
run: npm run format-cpp
- name: npm run format
run: npm run format
- name: npm run lint
run: npm run lint
- name: Unit test
run: npm test
30 changes: 30 additions & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Pull Requests
on:
pull_request:
types: [opened, edited, reopened, synchronize]
branches:
- master
jobs:
unit-test:
name: Unit Test
runs-on: ubuntu-latest
strategy:
matrix:
nodeVersion: [ 20, 22, 24 ]
jdkVersion: [ openjdk9, openjdk10, openjdk11, openjdk21 ]
steps:
- name: Checkout source code
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.nodeVersion }}
- name: npm ci
run: npm ci
- name: npm run format-cpp
run: npm run format-cpp
- name: npm run format
run: npm run format
- name: npm run lint
run: npm run lint
- name: Unit test
run: npm test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ node-java.cbp
*.iml
*.kdev4
*/.kdev_include_paths
CMakeLists.txt
cmake-build-debug/
hs_err*
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/test
/testIntegration
/.idea
/build
23 changes: 23 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**/*.cpp
**/*.h
**/*.ppt
**/*.jar
**/*.class
**/*.java
**/*.sh
**/*.html
**/*.json
**/*.png
**/*.md
**/*.rule
**/*.rules
**/*.gyp
**/*.yml
**/Dockerfile
.clang-format
.prettierrc
.prettierignore
.npmignore
.gitignore
.gitattributes
LICENSE
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parser": "typescript",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"printWidth": 120,
"endOfLine": "lf"
}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/local/include/node",
"/usr/lib/jvm/java-17-openjdk-amd64/include/",
"/usr/lib/jvm/java-17-openjdk-amd64/include/linux"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c17",
"cppStandard": "gnu++17",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
26 changes: 26 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"cSpell.words": [
"clazz",
"clazzclazz",
"Ferner",
"jarray",
"javac",
"jboolean",
"jbyte",
"jchar",
"jclass",
"jdouble",
"jfloat",
"jint",
"jlong",
"jmethod",
"jobj",
"jobject",
"jshort",
"jsize",
"jthrowable",
"jvalue",
"Ljava",
"varargs"
]
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 Near Infinity Corporation
Copyright (c) 2025 Joe Ferner

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
Loading