Skip to content

Commit

Permalink
fix(js): use patched ffi-napi and ref-napi for nodejs
Browse files Browse the repository at this point in the history
Signed-off-by: Ariel Gentile <[email protected]>
  • Loading branch information
genaris committed Aug 13, 2023
1 parent 44b7a58 commit 3666633
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 27 deletions.
4 changes: 2 additions & 2 deletions wrappers/javascript/anoncreds-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"dependencies": {
"@hyperledger/anoncreds-shared": "0.1.0",
"@mapbox/node-pre-gyp": "^1.0.10",
"ffi-napi": "4.0.3",
"@2060.io/ffi-napi": "4.0.4",
"@2060.io/ref-napi": "3.0.4",
"node-cache": "5.1.2",
"ref-array-di": "1.2.2",
"ref-napi": "3.0.3",
"ref-struct-di": "1.1.1"
},
"devDependencies": {
Expand Down
3 changes: 0 additions & 3 deletions wrappers/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
"tsconfig-paths": "4.1.0",
"typescript": "4.5.5"
},
"resolutions": {
"ref-napi": "npm:@2060.io/ref-napi"
},
"engines": {
"node": ">= 18"
}
Expand Down
44 changes: 22 additions & 22 deletions wrappers/javascript/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@
# yarn lockfile v1


"@2060.io/[email protected]":
version "4.0.4"
resolved "https://registry.yarnpkg.com/@2060.io/ffi-napi/-/ffi-napi-4.0.4.tgz#1c504d3d77d529f535687351b33c66a98438a24f"
integrity sha512-iwXzS+/J9o3EhDFjSdn8MIV7Vvf7qX7hO5IuLWQ5XnIjVkLHx54DDC4vSfqweZ1HE6/nznfLg+iFdmmE/2ofgw==
dependencies:
"@2060.io/ref-napi" "3.0.4"
debug "^4.1.1"
get-uv-event-loop-napi-h "^1.0.5"
node-addon-api "^3.0.0"
node-gyp-build "^4.2.1"
ref-struct-di "^1.1.0"

"@2060.io/[email protected]":
version "3.0.4"
resolved "https://registry.yarnpkg.com/@2060.io/ref-napi/-/ref-napi-3.0.4.tgz#6a78093b36e8f4ffeb750f706433869382e73eb1"
integrity sha512-Aqf699E+DKs2xANx8bSkuzXyG9gcZ2iFkAk1kUTA8KbV5BSPQtIcBJexzohSRi9QWDhP4X54NLm7xwGA0UNCdQ==
dependencies:
debug "^4.1.1"
get-symbol-from-current-process-h "^1.0.2"
node-addon-api "^3.0.0"
node-gyp-build "^4.2.1"

"@aashutoshrathi/word-wrap@^1.2.3":
version "1.2.6"
resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf"
Expand Down Expand Up @@ -4930,18 +4952,6 @@ fb-watchman@^2.0.0:
dependencies:
bser "2.1.1"

[email protected]:
version "4.0.3"
resolved "https://registry.yarnpkg.com/ffi-napi/-/ffi-napi-4.0.3.tgz#27a8d42a8ea938457154895c59761fbf1a10f441"
integrity sha512-PMdLCIvDY9mS32RxZ0XGb95sonPRal8aqRhLbeEtWKZTe2A87qRFG9HjOhvG8EX2UmQw5XNRMIOT+1MYlWmdeg==
dependencies:
debug "^4.1.1"
get-uv-event-loop-napi-h "^1.0.5"
node-addon-api "^3.0.0"
node-gyp-build "^4.2.1"
ref-napi "^2.0.1 || ^3.0.2"
ref-struct-di "^1.1.0"

[email protected], figures@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
Expand Down Expand Up @@ -8929,16 +8939,6 @@ [email protected]:
array-index "^1.0.0"
debug "^3.1.0"

[email protected], "ref-napi@^2.0.1 || ^3.0.2", "ref-napi@npm:@2060.io/ref-napi":
version "3.0.4"
resolved "https://registry.yarnpkg.com/@2060.io/ref-napi/-/ref-napi-3.0.4.tgz#6a78093b36e8f4ffeb750f706433869382e73eb1"
integrity sha512-Aqf699E+DKs2xANx8bSkuzXyG9gcZ2iFkAk1kUTA8KbV5BSPQtIcBJexzohSRi9QWDhP4X54NLm7xwGA0UNCdQ==
dependencies:
debug "^4.1.1"
get-symbol-from-current-process-h "^1.0.2"
node-addon-api "^3.0.0"
node-gyp-build "^4.2.1"

[email protected], ref-struct-di@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ref-struct-di/-/ref-struct-di-1.1.1.tgz#5827b1d3b32372058f177547093db1fe1602dc10"
Expand Down

0 comments on commit 3666633

Please sign in to comment.