Compare commits

..

17 Commits

Author SHA1 Message Date
standardci
aa2b3dac49 chore(release): publish new version
- @standardnotes/api-gateway@1.61.3
 - @standardnotes/auth-server@1.114.3
 - @standardnotes/files-server@1.15.3
 - @standardnotes/home-server@1.6.4
 - @standardnotes/revisions-server@1.19.3
 - @standardnotes/syncing-server@1.40.3
2023-05-30 16:05:01 +00:00
Karol Sójko
1a8daef79d Revert "feat: make home server components publishable (#617)"
This reverts commit 55fd873b37.
2023-05-30 17:47:23 +02:00
standardci
a83d133f93 chore(release): publish new version
- @standardnotes/analytics@2.23.1
 - @standardnotes/api-gateway@1.61.2
 - @standardnotes/auth-server@1.114.2
 - @standardnotes/domain-core@1.16.2
 - @standardnotes/domain-events-infra@1.12.2
 - @standardnotes/domain-events@2.111.2
 - @standardnotes/event-store@1.9.1
 - @standardnotes/files-server@1.15.2
 - @standardnotes/home-server@1.6.3
 - @standardnotes/revisions-server@1.19.2
 - @standardnotes/scheduler-server@1.19.1
 - @standardnotes/settings@1.21.6
 - @standardnotes/syncing-server@1.40.2
 - @standardnotes/websockets-server@1.8.1
2023-05-30 12:27:45 +00:00
Karol Sójko
b0d01dffd9 fix: bump version manually to publish packages 2023-05-30 14:10:51 +02:00
Karol Sójko
b74e7ce86d fix: add @lerna-lite/publish 2023-05-30 13:54:28 +02:00
standardci
671f7a7074 chore(release): publish new version
- @standardnotes/api-gateway@1.61.0
 - @standardnotes/auth-server@1.114.0
 - @standardnotes/files-server@1.15.0
 - @standardnotes/home-server@1.6.2
 - @standardnotes/revisions-server@1.19.0
 - @standardnotes/syncing-server@1.40.0
2023-05-30 11:51:38 +00:00
Karol Sójko
55fd873b37 feat: make home server components publishable (#617) 2023-05-30 13:37:49 +02:00
standardci
32c667b22d chore(release): publish new version
- @standardnotes/analytics@2.23.0
 - @standardnotes/api-gateway@1.60.0
 - @standardnotes/auth-server@1.113.0
 - @standardnotes/common@1.48.0
 - @standardnotes/event-store@1.9.0
 - @standardnotes/files-server@1.14.0
 - @standardnotes/home-server@1.6.1
 - @standardnotes/revisions-server@1.18.0
 - @standardnotes/scheduler-server@1.19.0
 - @standardnotes/sncrypto-node@1.15.0
 - @standardnotes/syncing-server@1.39.0
 - @standardnotes/websockets-server@1.8.0
2023-05-30 08:57:29 +00:00
Karol Sójko
a6b062f638 feat: upgrade to node 20.2.0 (#616) 2023-05-30 10:41:10 +02:00
standardci
f9183b4c62 chore(release): publish new version
- @standardnotes/analytics@2.22.5
 - @standardnotes/api-gateway@1.59.0
 - @standardnotes/auth-server@1.112.0
 - @standardnotes/domain-core@1.16.0
 - @standardnotes/files-server@1.13.0
 - @standardnotes/home-server@1.6.0
 - @standardnotes/revisions-server@1.17.0
 - @standardnotes/scheduler-server@1.18.5
 - @standardnotes/settings@1.21.5
 - @standardnotes/syncing-server@1.38.0
 - @standardnotes/websockets-server@1.7.5
2023-05-29 12:59:40 +00:00
Karol Sójko
c7d575a0ff feat: add files server as a service to home-server (#614)
* wip: add files server as a service to home-server

* wip: introduce home-server controllers without inversify-express-utils decorators. Move in progress

* fix(auth): move remaining home server controllers

* fix(syncing-server): home server controllers

* fix(revisions): home server controllers

* fix: specs

* fix: import for legacy controller

* fix: remove router debug
2023-05-29 14:45:49 +02:00
Karol Sójko
a575e62519 fix: waiting for home server to start in ci 2023-05-29 14:05:15 +02:00
Karol Sójko
3761d60f41 fix: add VALET_TOKEN_SECRET env var to ci e2e test suite 2023-05-29 13:29:07 +02:00
standardci
fd629d43ba chore(release): publish new version
- @standardnotes/home-server@1.5.1
 - @standardnotes/revisions-server@1.16.1
2023-05-25 11:44:41 +00:00
Karol Sójko
76b1cb0f5a fix(revisions): container bindings 2023-05-25 13:17:53 +02:00
standardci
2f94abc9f7 chore(release): publish new version
- @standardnotes/api-gateway@1.58.0
 - @standardnotes/auth-server@1.111.0
 - @standardnotes/home-server@1.5.0
 - @standardnotes/revisions-server@1.16.0
2023-05-25 11:11:19 +00:00
Karol Sójko
c70040fe5d feat: add revisions service to home server (#613)
* feat: add revisions service to home server

* fix: make e2e test suite on home server non-optional

* fix(auth): specs
2023-05-25 12:57:05 +02:00
228 changed files with 5234 additions and 2809 deletions

View File

@@ -50,7 +50,7 @@ jobs:
run: yarn dlx mocha-headless-chrome --timeout 1200000 -f http://localhost:9001/mocha/test.html
e2e-home-server:
name: (WIP - Home Server) E2E Test Suite
name: (Home Server) E2E Test Suite
runs-on: ubuntu-latest
services:
@@ -83,8 +83,10 @@ jobs:
sed -i "s/AUTH_JWT_SECRET=/AUTH_JWT_SECRET=$(openssl rand -hex 32)/g" packages/home-server/.env
sed -i "s/ENCRYPTION_SERVER_KEY=/ENCRYPTION_SERVER_KEY=$(openssl rand -hex 32)/g" packages/home-server/.env
sed -i "s/PSEUDO_KEY_PARAMS_KEY=/PSEUDO_KEY_PARAMS_KEY=$(openssl rand -hex 32)/g" packages/home-server/.env
sed -i "s/VALET_TOKEN_SECRET=/VALET_TOKEN_SECRET=$(openssl rand -hex 32)/g" packages/home-server/.env
echo "ACCESS_TOKEN_AGE=4" >> packages/home-server/.env
echo "REFRESH_TOKEN_AGE=7" >> packages/home-server/.env
echo "REVISIONS_FREQUENCY=5" >> packages/home-server/.env
- name: Run Server
run: nohup yarn workspace @standardnotes/home-server start &
@@ -92,8 +94,7 @@ jobs:
PORT: 3123
- name: Wait for server to start
run: docker/is-available.sh http://localhost:3123 $(pwd)/logs
run: for i in {1..30}; do curl -s http://localhost:3123/healthcheck && break || sleep 1; done
- name: Run E2E Test Suite
continue-on-error: true
run: yarn dlx mocha-headless-chrome --timeout 1200000 -f http://localhost:9001/mocha/test.html?skip_paid_features=true

2
.nvmrc
View File

@@ -1 +1 @@
20.1.0
20.2.0

834
.pnp.cjs generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -331,8 +331,8 @@ ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
endif
quiet_cmd_regen_makefile = ACTION Regenerating $@
cmd_regen_makefile = cd $(srcdir); /Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/karolsojko/Library/Caches/node-gyp/20.1.0" "-Dnode_gyp_dir=/Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp" "-Dnode_lib_file=/Users/karolsojko/Library/Caches/node-gyp/20.1.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/karolsojko/workspace/server/.yarn/unplugged/@newrelic-native-metrics-npm-9.0.0-590d2e713a/node_modules/@newrelic/native-metrics" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/Users/karolsojko/workspace/server/.yarn/unplugged/@newrelic-native-metrics-npm-9.0.0-590d2e713a/node_modules/@newrelic/native-metrics/build/config.gypi -I/Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/addon.gypi -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/common.gypi "--toplevel-dir=." binding.gyp
Makefile: $(srcdir)/binding.gyp $(srcdir)/build/config.gypi $(srcdir)/../../../../node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/addon.gypi $(srcdir)/../../../../../../../../Library/Caches/node-gyp/20.1.0/include/node/common.gypi
cmd_regen_makefile = cd $(srcdir); /Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/karolsojko/Library/Caches/node-gyp/20.2.0" "-Dnode_gyp_dir=/Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp" "-Dnode_lib_file=/Users/karolsojko/Library/Caches/node-gyp/20.2.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/karolsojko/workspace/server/.yarn/unplugged/@newrelic-native-metrics-npm-9.0.0-590d2e713a/node_modules/@newrelic/native-metrics" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/Users/karolsojko/workspace/server/.yarn/unplugged/@newrelic-native-metrics-npm-9.0.0-590d2e713a/node_modules/@newrelic/native-metrics/build/config.gypi -I/Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/addon.gypi -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/common.gypi "--toplevel-dir=." binding.gyp
Makefile: $(srcdir)/build/config.gypi $(srcdir)/../../../../node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/addon.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../../../../Library/Caches/node-gyp/20.2.0/include/node/common.gypi
$(call do_cmd,regen_makefile)
# "all" is a concatenation of the "all" targets from all the included

View File

@@ -1,69 +1,69 @@
cmd_Release/obj.target/native_metrics/src/GCBinder.o := c++ -o Release/obj.target/native_metrics/src/GCBinder.o ../src/GCBinder.cpp '-DNODE_GYP_MODULE_NAME=native_metrics' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNOMINMAX' '-DBUILDING_NODE_EXTENSION' -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/src -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/v8/include -I../src -I../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++17 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/native_metrics/src/GCBinder.o.d.raw -c
cmd_Release/obj.target/native_metrics/src/GCBinder.o := c++ -o Release/obj.target/native_metrics/src/GCBinder.o ../src/GCBinder.cpp '-DNODE_GYP_MODULE_NAME=native_metrics' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNOMINMAX' '-DBUILDING_NODE_EXTENSION' -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/src -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/v8/include -I../src -I../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++17 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/native_metrics/src/GCBinder.o.d.raw -c
Release/obj.target/native_metrics/src/GCBinder.o: ../src/GCBinder.cpp \
../src/GCBinder.hpp \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/errno.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/unix.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/threadpool.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/darwin.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/cppgc/common.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8config.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-array-buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-local-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-internal.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-maybe.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-persistent-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-weak-callback-info.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-data.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-traced-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-container.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-context.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-snapshot.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-date.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-debug.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-script.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-callbacks.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-promise.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-message.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-exception.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-extension.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-external.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function-callback.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-template.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-memory-span.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-initialization.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-isolate.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-heap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-statistics.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-unwinder.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-state-scope.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-platform.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-json.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-locker.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask-queue.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-proxy.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-regexp.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-typed-array.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value-serializer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-wasm.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_object_wrap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/errno.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/unix.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/threadpool.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/darwin.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/cppgc/common.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8config.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-array-buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-local-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-internal.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-maybe.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-persistent-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-weak-callback-info.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-data.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-traced-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-container.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-context.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-snapshot.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-date.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-debug.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-script.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-callbacks.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-promise.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-message.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-exception.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-extension.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-external.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function-callback.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-template.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-memory-span.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-initialization.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-isolate.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-heap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-statistics.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-unwinder.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-state-scope.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-platform.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-json.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-locker.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask-queue.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-proxy.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-regexp.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-typed-array.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value-serializer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-wasm.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_object_wrap.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks_12_inl.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_maybe_43_inl.h \
@@ -82,68 +82,68 @@ Release/obj.target/native_metrics/src/GCBinder.o: ../src/GCBinder.cpp \
../src/GCBinder.cpp:
../src/GCBinder.hpp:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/errno.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/unix.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/threadpool.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/darwin.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/cppgc/common.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8config.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-array-buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-local-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-internal.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-maybe.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-persistent-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-weak-callback-info.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-data.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-traced-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-container.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-context.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-snapshot.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-date.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-debug.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-script.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-callbacks.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-promise.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-message.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-exception.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-extension.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-external.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function-callback.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-template.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-memory-span.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-initialization.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-isolate.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-heap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-statistics.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-unwinder.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-state-scope.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-platform.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-json.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-locker.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask-queue.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-proxy.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-regexp.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-typed-array.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value-serializer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-wasm.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_object_wrap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/errno.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/unix.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/threadpool.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/darwin.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/cppgc/common.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8config.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-array-buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-local-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-internal.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-maybe.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-persistent-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-weak-callback-info.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-data.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-traced-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-container.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-context.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-snapshot.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-date.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-debug.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-script.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-callbacks.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-promise.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-message.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-exception.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-extension.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-external.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function-callback.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-template.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-memory-span.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-initialization.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-isolate.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-heap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-statistics.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-unwinder.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-state-scope.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-platform.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-json.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-locker.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask-queue.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-proxy.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-regexp.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-typed-array.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value-serializer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-wasm.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_object_wrap.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks_12_inl.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_maybe_43_inl.h:

View File

@@ -1,70 +1,70 @@
cmd_Release/obj.target/native_metrics/src/LoopChecker.o := c++ -o Release/obj.target/native_metrics/src/LoopChecker.o ../src/LoopChecker.cpp '-DNODE_GYP_MODULE_NAME=native_metrics' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNOMINMAX' '-DBUILDING_NODE_EXTENSION' -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/src -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/v8/include -I../src -I../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++17 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/native_metrics/src/LoopChecker.o.d.raw -c
cmd_Release/obj.target/native_metrics/src/LoopChecker.o := c++ -o Release/obj.target/native_metrics/src/LoopChecker.o ../src/LoopChecker.cpp '-DNODE_GYP_MODULE_NAME=native_metrics' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNOMINMAX' '-DBUILDING_NODE_EXTENSION' -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/src -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/v8/include -I../src -I../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++17 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/native_metrics/src/LoopChecker.o.d.raw -c
Release/obj.target/native_metrics/src/LoopChecker.o: \
../src/LoopChecker.cpp \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/errno.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/unix.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/threadpool.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/darwin.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/errno.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/unix.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/threadpool.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/darwin.h \
../src/LoopChecker.hpp \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/cppgc/common.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8config.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-array-buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-local-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-internal.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-maybe.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-persistent-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-weak-callback-info.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-data.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-traced-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-container.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-context.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-snapshot.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-date.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-debug.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-script.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-callbacks.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-promise.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-message.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-exception.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-extension.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-external.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function-callback.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-template.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-memory-span.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-initialization.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-isolate.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-heap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-statistics.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-unwinder.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-state-scope.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-platform.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-json.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-locker.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask-queue.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-proxy.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-regexp.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-typed-array.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value-serializer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-wasm.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_object_wrap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/cppgc/common.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8config.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-array-buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-local-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-internal.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-maybe.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-persistent-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-weak-callback-info.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-data.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-traced-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-container.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-context.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-snapshot.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-date.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-debug.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-script.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-callbacks.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-promise.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-message.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-exception.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-extension.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-external.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function-callback.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-template.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-memory-span.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-initialization.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-isolate.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-heap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-statistics.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-unwinder.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-state-scope.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-platform.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-json.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-locker.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask-queue.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-proxy.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-regexp.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-typed-array.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value-serializer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-wasm.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_object_wrap.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks_12_inl.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_maybe_43_inl.h \
@@ -81,70 +81,70 @@ Release/obj.target/native_metrics/src/LoopChecker.o: \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_scriptorigin.h \
../src/Metric.hpp
../src/LoopChecker.cpp:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/errno.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/unix.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/threadpool.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/darwin.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/errno.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/unix.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/threadpool.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/darwin.h:
../src/LoopChecker.hpp:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/cppgc/common.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8config.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-array-buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-local-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-internal.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-maybe.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-persistent-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-weak-callback-info.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-data.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-traced-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-container.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-context.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-snapshot.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-date.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-debug.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-script.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-callbacks.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-promise.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-message.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-exception.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-extension.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-external.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function-callback.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-template.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-memory-span.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-initialization.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-isolate.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-heap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-statistics.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-unwinder.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-state-scope.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-platform.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-json.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-locker.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask-queue.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-proxy.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-regexp.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-typed-array.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value-serializer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-wasm.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_object_wrap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/cppgc/common.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8config.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-array-buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-local-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-internal.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-maybe.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-persistent-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-weak-callback-info.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-data.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-traced-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-container.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-context.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-snapshot.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-date.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-debug.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-script.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-callbacks.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-promise.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-message.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-exception.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-extension.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-external.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function-callback.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-template.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-memory-span.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-initialization.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-isolate.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-heap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-statistics.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-unwinder.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-state-scope.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-platform.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-json.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-locker.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask-queue.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-proxy.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-regexp.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-typed-array.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value-serializer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-wasm.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_object_wrap.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks_12_inl.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_maybe_43_inl.h:

View File

@@ -1,69 +1,69 @@
cmd_Release/obj.target/native_metrics/src/native_metrics.o := c++ -o Release/obj.target/native_metrics/src/native_metrics.o ../src/native_metrics.cpp '-DNODE_GYP_MODULE_NAME=native_metrics' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNOMINMAX' '-DBUILDING_NODE_EXTENSION' -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/src -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/v8/include -I../src -I../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++17 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/native_metrics/src/native_metrics.o.d.raw -c
cmd_Release/obj.target/native_metrics/src/native_metrics.o := c++ -o Release/obj.target/native_metrics/src/native_metrics.o ../src/native_metrics.cpp '-DNODE_GYP_MODULE_NAME=native_metrics' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNOMINMAX' '-DBUILDING_NODE_EXTENSION' -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/src -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/v8/include -I../src -I../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++17 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/native_metrics/src/native_metrics.o.d.raw -c
Release/obj.target/native_metrics/src/native_metrics.o: \
../src/native_metrics.cpp \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/errno.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/unix.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/threadpool.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/darwin.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/cppgc/common.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8config.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-array-buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-local-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-internal.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-maybe.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-persistent-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-weak-callback-info.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-data.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-traced-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-container.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-context.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-snapshot.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-date.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-debug.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-script.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-callbacks.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-promise.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-message.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-exception.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-extension.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-external.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function-callback.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-template.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-memory-span.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-initialization.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-isolate.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-heap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-statistics.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-unwinder.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-state-scope.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-platform.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-json.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-locker.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask-queue.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-proxy.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-regexp.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-typed-array.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value-serializer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-wasm.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_object_wrap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/errno.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/unix.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/threadpool.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/darwin.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/cppgc/common.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8config.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-array-buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-local-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-internal.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-version.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-maybe.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-persistent-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-weak-callback-info.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-data.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-traced-handle.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-container.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-context.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-snapshot.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-date.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-debug.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-script.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-callbacks.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-promise.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-message.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-exception.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-extension.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-external.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function-callback.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-template.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-memory-span.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-initialization.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-isolate.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-heap.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-statistics.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-unwinder.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-state-scope.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-platform.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-json.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-locker.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask-queue.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive-object.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-proxy.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-regexp.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-typed-array.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value-serializer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-wasm.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api_types.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_buffer.h \
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_object_wrap.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks_12_inl.h \
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_maybe_43_inl.h \
@@ -81,68 +81,68 @@ Release/obj.target/native_metrics/src/native_metrics.o: \
../src/GCBinder.hpp ../src/Metric.hpp ../src/LoopChecker.hpp
../src/native_metrics.cpp:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/errno.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/unix.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/threadpool.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/uv/darwin.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/cppgc/common.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8config.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-array-buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-local-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-internal.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-maybe.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-persistent-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-weak-callback-info.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-data.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-traced-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-container.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-context.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-snapshot.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-date.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-debug.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-script.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-callbacks.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-promise.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-message.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-exception.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-extension.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-external.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-function-callback.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-template.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-memory-span.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-initialization.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-isolate.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-heap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-statistics.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-unwinder.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-embedder-state-scope.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-platform.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-json.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-locker.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-microtask-queue.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-primitive-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-proxy.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-regexp.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-typed-array.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-value-serializer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/v8-wasm.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/js_native_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node/node_object_wrap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/errno.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/unix.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/threadpool.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/uv/darwin.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/cppgc/common.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8config.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-array-buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-local-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-internal.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-version.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-maybe.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-persistent-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-weak-callback-info.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-data.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-traced-handle.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-container.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-context.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-snapshot.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-date.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-debug.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-script.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-callbacks.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-promise.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-message.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-exception.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-extension.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-external.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-function-callback.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-template.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-memory-span.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-initialization.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-isolate.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-heap.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-statistics.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-unwinder.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-embedder-state-scope.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-platform.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-json.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-locker.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-microtask-queue.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-primitive-object.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-proxy.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-regexp.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-typed-array.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-value-serializer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/v8-wasm.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/js_native_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_api_types.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_buffer.h:
/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node/node_object_wrap.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_callbacks_12_inl.h:
../../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan/nan_maybe_43_inl.h:

View File

@@ -278,14 +278,11 @@
"lib/internal/test_runner/reporter/dot.js",
"lib/internal/test_runner/reporter/spec.js",
"lib/internal/test_runner/reporter/tap.js",
"lib/internal/test_runner/reporter/v8-serializer.js",
"lib/internal/test_runner/runner.js",
"lib/internal/test_runner/tap_checker.js",
"lib/internal/test_runner/tap_lexer.js",
"lib/internal/test_runner/tap_parser.js",
"lib/internal/test_runner/test.js",
"lib/internal/test_runner/tests_stream.js",
"lib/internal/test_runner/utils.js",
"lib/internal/test_runner/yaml_to_js.js",
"lib/internal/timers.js",
"lib/internal/tls/secure-context.js",
"lib/internal/tls/secure-pair.js",
@@ -408,8 +405,8 @@
"v8_use_siphash": 1,
"want_separate_host_toolset": 0,
"xcode_version": "13.0",
"nodedir": "/Users/karolsojko/Library/Caches/node-gyp/20.1.0",
"nodedir": "/Users/karolsojko/Library/Caches/node-gyp/20.2.0",
"standalone_static_library": 1,
"user_agent": "yarn/4.0.0-rc.43 npm/? node/v20.1.0 darwin arm64"
"user_agent": "yarn/4.0.0-rc.43 npm/? node/v20.2.0 darwin arm64"
}
}

View File

@@ -51,13 +51,13 @@ CFLAGS_OBJC_Debug :=
CFLAGS_OBJCC_Debug :=
INCS_Debug := \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/src \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/config \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/openssl/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/uv/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/zlib \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/v8/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/src \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/config \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/openssl/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/uv/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/zlib \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/v8/include \
-I$(srcdir)/src \
-I$(srcdir)/../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan
@@ -107,13 +107,13 @@ CFLAGS_OBJC_Release :=
CFLAGS_OBJCC_Release :=
INCS_Release := \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/include/node \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/src \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/config \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/openssl/openssl/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/uv/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/zlib \
-I/Users/karolsojko/Library/Caches/node-gyp/20.1.0/deps/v8/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/include/node \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/src \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/config \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/openssl/openssl/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/uv/include \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/zlib \
-I/Users/karolsojko/Library/Caches/node-gyp/20.2.0/deps/v8/include \
-I$(srcdir)/src \
-I$(srcdir)/../../../../nan-npm-2.17.0-bf36a21d6f/node_modules/nan

View File

@@ -1,4 +1,4 @@
FROM node:20.1.0-alpine
FROM node:20.2.0-alpine
ENV NODE_ENV production

View File

@@ -24,11 +24,12 @@
"@commitlint/config-conventional": "^17.0.2",
"@lerna-lite/cli": "^2.3.0",
"@lerna-lite/list": "^2.3.0",
"@lerna-lite/publish": "^2.4.0",
"@lerna-lite/run": "^2.3.0",
"@lerna-lite/version": "^2.3.0",
"@types/jest": "^29.5.1",
"@types/newrelic": "^9.13.0",
"@types/node": "^20.1.0",
"@types/node": "^20.2.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"ini": "^3.0.0",

View File

@@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [2.23.1](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.23.0...@standardnotes/analytics@2.23.1) (2023-05-30)
**Note:** Version bump only for package @standardnotes/analytics
# [2.23.0](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.22.5...@standardnotes/analytics@2.23.0) (2023-05-30)
### Features
* upgrade to node 20.2.0 ([#616](https://github.com/standardnotes/server/issues/616)) ([a6b062f](https://github.com/standardnotes/server/commit/a6b062f638595537e1ece28bc79bded41d875e18))
## [2.22.5](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.22.4...@standardnotes/analytics@2.22.5) (2023-05-29)
**Note:** Version bump only for package @standardnotes/analytics
## [2.22.4](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.22.3...@standardnotes/analytics@2.22.4) (2023-05-17)
**Note:** Version bump only for package @standardnotes/analytics

View File

@@ -1,4 +1,4 @@
FROM node:20.1.0-alpine
FROM node:20.2.0-alpine
RUN apk add --update \
curl \

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/analytics",
"version": "2.22.4",
"version": "2.23.1",
"engines": {
"node": ">=18.0.0 <21.0.0"
},
@@ -29,7 +29,7 @@
"@types/jest": "^29.5.1",
"@types/mixpanel": "^2.14.4",
"@types/newrelic": "^9.13.0",
"@types/node": "^20.1.0",
"@types/node": "^20.2.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",

View File

@@ -3,6 +3,42 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.61.3](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.61.2...@standardnotes/api-gateway@1.61.3) (2023-05-30)
### Reverts
* Revert "feat: make home server components publishable (#617)" ([1a8daef](https://github.com/standardnotes/api-gateway/commit/1a8daef79d55a8cdee1632b294b897176af64b26)), closes [#617](https://github.com/standardnotes/api-gateway/issues/617)
## [1.61.2](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.61.0...@standardnotes/api-gateway@1.61.2) (2023-05-30)
### Bug Fixes
* bump version manually to publish packages ([b0d01df](https://github.com/standardnotes/api-gateway/commit/b0d01dffd91557c67eac2940d9270bca208c1128))
# [1.61.0](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.60.0...@standardnotes/api-gateway@1.61.0) (2023-05-30)
### Features
* make home server components publishable ([#617](https://github.com/standardnotes/api-gateway/issues/617)) ([55fd873](https://github.com/standardnotes/api-gateway/commit/55fd873b375e204dc9b0477b2cc6ed4582e5b603))
# [1.60.0](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.59.0...@standardnotes/api-gateway@1.60.0) (2023-05-30)
### Features
* upgrade to node 20.2.0 ([#616](https://github.com/standardnotes/api-gateway/issues/616)) ([a6b062f](https://github.com/standardnotes/api-gateway/commit/a6b062f638595537e1ece28bc79bded41d875e18))
# [1.59.0](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.58.0...@standardnotes/api-gateway@1.59.0) (2023-05-29)
### Features
* add files server as a service to home-server ([#614](https://github.com/standardnotes/api-gateway/issues/614)) ([c7d575a](https://github.com/standardnotes/api-gateway/commit/c7d575a0ffc7eb3e8799c3835da5727584f4f67b))
# [1.58.0](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.57.0...@standardnotes/api-gateway@1.58.0) (2023-05-25)
### Features
* add revisions service to home server ([#613](https://github.com/standardnotes/api-gateway/issues/613)) ([c70040f](https://github.com/standardnotes/api-gateway/commit/c70040fe5dfd35663b9811fbbaa9370bd0298482))
# [1.57.0](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.56.2...@standardnotes/api-gateway@1.57.0) (2023-05-25)
### Features

View File

@@ -1,4 +1,4 @@
FROM node:20.1.0-alpine
FROM node:20.2.0-alpine
RUN apk add --update \
curl \

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/api-gateway",
"version": "1.57.0",
"version": "1.61.3",
"engines": {
"node": ">=18.0.0 <21.0.0"
},

View File

@@ -1,3 +1,2 @@
export * from './Container'
export * from './Service'
export * from './Types'

View File

@@ -1,6 +1,5 @@
export * from './AuthMiddleware'
export * from './HealthCheckController'
export * from './LegacyController'
export * from './SubscriptionTokenAuthMiddleware'
export * from './TokenAuthenticationMethod'
export * from './WebSocketAuthMiddleware'

View File

@@ -28,7 +28,7 @@ export class RevisionsControllerV2 extends BaseHttpController {
)
}
@httpGet('/:id')
@httpGet('/:uuid')
async getRevision(request: Request, response: Response): Promise<void> {
await this.httpService.callRevisionsServer(
request,
@@ -37,12 +37,12 @@ export class RevisionsControllerV2 extends BaseHttpController {
'GET',
'items/:itemUuid/revisions/:id',
request.params.itemUuid,
request.params.id,
request.params.uuid,
),
)
}
@httpDelete('/:id')
@httpDelete('/:uuid')
async deleteRevision(request: Request, response: Response): Promise<void> {
await this.httpService.callRevisionsServer(
request,
@@ -51,7 +51,7 @@ export class RevisionsControllerV2 extends BaseHttpController {
'DELETE',
'items/:itemUuid/revisions/:id',
request.params.itemUuid,
request.params.id,
request.params.uuid,
),
)
}

View File

@@ -66,7 +66,12 @@ export class DirectCallServiceProxy implements ServiceProxyInterface {
throw new Error('Revisions service not found')
}
await service.handleRequest(request, response, endpointOrMethodIdentifier)
const serviceResponse = (await service.handleRequest(request, response, endpointOrMethodIdentifier)) as {
statusCode: number
json: Record<string, unknown>
}
this.sendDecoratedResponse(response, serviceResponse)
}
async callSyncingServer(request: never, response: never, endpointOrMethodIdentifier: string): Promise<void> {

View File

@@ -58,6 +58,10 @@ export class EndpointResolver implements EndpointResolverInterface {
['[POST]:items/sync', 'sync.items.sync'],
['[POST]:items/check-integrity', 'sync.items.check_integrity'],
['[GET]:items/:uuid', 'sync.items.get_item'],
// Revisions Controller V2
['[GET]:items/:itemUuid/revisions', 'revisions.revisions.getRevisions'],
['[GET]:items/:itemUuid/revisions/:id', 'revisions.revisions.getRevision'],
['[DELETE]:items/:itemUuid/revisions/:id', 'revisions.revisions.deleteRevision'],
])
resolveEndpointOrMethodIdentifier(method: string, endpoint: string, ...params: string[]): string {

View File

@@ -3,6 +3,42 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.114.3](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.114.2...@standardnotes/auth-server@1.114.3) (2023-05-30)
### Reverts
* Revert "feat: make home server components publishable (#617)" ([1a8daef](https://github.com/standardnotes/server/commit/1a8daef79d55a8cdee1632b294b897176af64b26)), closes [#617](https://github.com/standardnotes/server/issues/617)
## [1.114.2](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.114.0...@standardnotes/auth-server@1.114.2) (2023-05-30)
### Bug Fixes
* bump version manually to publish packages ([b0d01df](https://github.com/standardnotes/server/commit/b0d01dffd91557c67eac2940d9270bca208c1128))
# [1.114.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.113.0...@standardnotes/auth-server@1.114.0) (2023-05-30)
### Features
* make home server components publishable ([#617](https://github.com/standardnotes/server/issues/617)) ([55fd873](https://github.com/standardnotes/server/commit/55fd873b375e204dc9b0477b2cc6ed4582e5b603))
# [1.113.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.112.0...@standardnotes/auth-server@1.113.0) (2023-05-30)
### Features
* upgrade to node 20.2.0 ([#616](https://github.com/standardnotes/server/issues/616)) ([a6b062f](https://github.com/standardnotes/server/commit/a6b062f638595537e1ece28bc79bded41d875e18))
# [1.112.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.111.0...@standardnotes/auth-server@1.112.0) (2023-05-29)
### Features
* add files server as a service to home-server ([#614](https://github.com/standardnotes/server/issues/614)) ([c7d575a](https://github.com/standardnotes/server/commit/c7d575a0ffc7eb3e8799c3835da5727584f4f67b))
# [1.111.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.110.0...@standardnotes/auth-server@1.111.0) (2023-05-25)
### Features
* add revisions service to home server ([#613](https://github.com/standardnotes/server/issues/613)) ([c70040f](https://github.com/standardnotes/server/commit/c70040fe5dfd35663b9811fbbaa9370bd0298482))
# [1.110.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.109.2...@standardnotes/auth-server@1.110.0) (2023-05-25)
### Features

View File

@@ -1,4 +1,4 @@
FROM node:20.1.0-alpine
FROM node:20.2.0-alpine
RUN apk add --update \
curl \

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/auth-server",
"version": "1.110.0",
"version": "1.114.3",
"engines": {
"node": ">=18.0.0 <21.0.0"
},

View File

@@ -228,29 +228,28 @@ import { TypeORMEphemeralSessionRepository } from '../Infra/TypeORM/TypeORMEphem
import { TypeORMOfflineSubscriptionTokenRepository } from '../Infra/TypeORM/TypeORMOfflineSubscriptionTokenRepository'
import { TypeORMPKCERepository } from '../Infra/TypeORM/TypeORMPKCERepository'
import { TypeORMSubscriptionTokenRepository } from '../Infra/TypeORM/TypeORMSubscriptionTokenRepository'
import { InversifyExpressAuthController } from '../Infra/InversifyExpressUtils/InversifyExpressAuthController'
import { InversifyExpressAuthenticatorsController } from '../Infra/InversifyExpressUtils/InversifyExpressAuthenticatorsController'
import { InversifyExpressSubscriptionInvitesController } from '../Infra/InversifyExpressUtils/InversifyExpressSubscriptionInvitesController'
import { InversifyExpressUserRequestsController } from '../Infra/InversifyExpressUtils/InversifyExpressUserRequestsController'
import { InversifyExpressWebSocketsController } from '../Infra/InversifyExpressUtils/InversifyExpressWebSocketsController'
import { InversifyExpressSessionsController } from '../Infra/InversifyExpressUtils/InversifyExpressSessionsController'
import { InversifyExpressValetTokenController } from '../Infra/InversifyExpressUtils/InversifyExpressValetTokenController'
import { InversifyExpressUsersController } from '../Infra/InversifyExpressUtils/InversifyExpressUsersController'
import { InversifyExpressAdminController } from '../Infra/InversifyExpressUtils/InversifyExpressAdminController'
import { InversifyExpressSubscriptionTokensController } from '../Infra/InversifyExpressUtils/InversifyExpressSubscriptionTokensController'
import { InversifyExpressSubscriptionSettingsController } from '../Infra/InversifyExpressUtils/InversifyExpressSubscriptionSettingsController'
import { InversifyExpressSettingsController } from '../Infra/InversifyExpressUtils/InversifyExpressSettingsController'
import { SessionMiddleware } from '../Infra/InversifyExpressUtils/Middleware/SessionMiddleware'
import { ApiGatewayOfflineAuthMiddleware } from '../Infra/InversifyExpressUtils/Middleware/ApiGatewayOfflineAuthMiddleware'
import { OfflineUserAuthMiddleware } from '../Infra/InversifyExpressUtils/Middleware/OfflineUserAuthMiddleware'
import { LockMiddleware } from '../Infra/InversifyExpressUtils/Middleware/LockMiddleware'
import { InversifyExpressSessionController } from '../Infra/InversifyExpressUtils/InversifyExpressSessionController'
import { InversifyExpressOfflineController } from '../Infra/InversifyExpressUtils/InversifyExpressOfflineController'
import { InversifyExpressListedController } from '../Infra/InversifyExpressUtils/InversifyExpressListedController'
import { InversifyExpressInternalController } from '../Infra/InversifyExpressUtils/InversifyExpressInternalController'
import { InversifyExpressFeaturesController } from '../Infra/InversifyExpressUtils/InversifyExpressFeaturesController'
import { RequiredCrossServiceTokenMiddleware } from '../Infra/InversifyExpressUtils/Middleware/RequiredCrossServiceTokenMiddleware'
import { OptionalCrossServiceTokenMiddleware } from '../Infra/InversifyExpressUtils/Middleware/OptionalCrossServiceTokenMiddleware'
import { HomeServerSettingsController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerSettingsController'
import { HomeServerAdminController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerAdminController'
import { HomeServerAuthController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerAuthController'
import { HomeServerAuthenticatorsController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerAuthenticatorsController'
import { HomeServerFeaturesController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerFeaturesController'
import { HomeServerListedController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerListedController'
import { HomeServerOfflineController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerOfflineController'
import { HomeServerSessionController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerSessionController'
import { HomeServerSubscriptionInvitesController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerSubscriptionInvitesController'
import { HomeServerSubscriptionSettingsController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerSubscriptionSettingsController'
import { HomeServerSubscriptionTokensController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerSubscriptionTokensController'
import { HomeServerUserRequestsController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerUserRequestsController'
import { HomeServerUsersController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerUsersController'
import { HomeServerValetTokenController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerValetTokenController'
import { HomeServerWebSocketsController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerWebSocketsController'
import { HomeServerSessionsController } from '../Infra/InversifyExpressUtils/HomeServer/HomeServerSessionsController'
// eslint-disable-next-line @typescript-eslint/no-var-requires
const newrelicFormatter = require('@newrelic/winston-enricher')
@@ -1012,9 +1011,9 @@ export class ContainerConfigLoader {
}
container
.bind<InversifyExpressAuthController>(TYPES.Auth_InversifyExpressAuthController)
.bind<HomeServerAuthController>(TYPES.Auth_HomeServerAuthController)
.toConstantValue(
new InversifyExpressAuthController(
new HomeServerAuthController(
container.get(TYPES.Auth_VerifyMFA),
container.get(TYPES.Auth_SignIn),
container.get(TYPES.Auth_GetUserKeyParams),
@@ -1029,42 +1028,42 @@ export class ContainerConfigLoader {
// Inversify Controllers
if (isConfiguredForHomeServer) {
container
.bind<InversifyExpressAuthenticatorsController>(TYPES.Auth_InversifyExpressAuthenticatorsController)
.bind<HomeServerAuthenticatorsController>(TYPES.Auth_HomeServerAuthenticatorsController)
.toConstantValue(
new InversifyExpressAuthenticatorsController(
new HomeServerAuthenticatorsController(
container.get(TYPES.Auth_AuthenticatorsController),
container.get(TYPES.Auth_ControllerContainer),
),
)
container
.bind<InversifyExpressSubscriptionInvitesController>(TYPES.Auth_InversifyExpressSubscriptionInvitesController)
.bind<HomeServerSubscriptionInvitesController>(TYPES.Auth_HomeServerSubscriptionInvitesController)
.toConstantValue(
new InversifyExpressSubscriptionInvitesController(
new HomeServerSubscriptionInvitesController(
container.get(TYPES.Auth_SubscriptionInvitesController),
container.get(TYPES.Auth_ControllerContainer),
),
)
container
.bind<InversifyExpressUserRequestsController>(TYPES.Auth_InversifyExpressUserRequestsController)
.bind<HomeServerUserRequestsController>(TYPES.Auth_HomeServerUserRequestsController)
.toConstantValue(
new InversifyExpressUserRequestsController(
new HomeServerUserRequestsController(
container.get(TYPES.Auth_UserRequestsController),
container.get(TYPES.Auth_ControllerContainer),
),
)
container
.bind<InversifyExpressWebSocketsController>(TYPES.Auth_InversifyExpressWebSocketsController)
.bind<HomeServerWebSocketsController>(TYPES.Auth_HomeServerWebSocketsController)
.toConstantValue(
new InversifyExpressWebSocketsController(
new HomeServerWebSocketsController(
container.get(TYPES.Auth_CreateCrossServiceToken),
container.get(TYPES.Auth_WebSocketConnectionTokenDecoder),
container.get(TYPES.Auth_ControllerContainer),
),
)
container
.bind<InversifyExpressSessionsController>(TYPES.Auth_SessionsController)
.bind<HomeServerSessionsController>(TYPES.Auth_HomeServerSessionsController)
.toConstantValue(
new InversifyExpressSessionsController(
new HomeServerSessionsController(
container.get(TYPES.Auth_GetActiveSessionsForUser),
container.get(TYPES.Auth_AuthenticateRequest),
container.get(TYPES.Auth_SessionProjector),
@@ -1073,17 +1072,17 @@ export class ContainerConfigLoader {
),
)
container
.bind<InversifyExpressValetTokenController>(TYPES.Auth_InversifyExpressValetTokenController)
.bind<HomeServerValetTokenController>(TYPES.Auth_HomeServerValetTokenController)
.toConstantValue(
new InversifyExpressValetTokenController(
new HomeServerValetTokenController(
container.get(TYPES.Auth_CreateValetToken),
container.get(TYPES.Auth_ControllerContainer),
),
)
container
.bind<InversifyExpressUsersController>(TYPES.Auth_InversifyExpressUsersController)
.bind<HomeServerUsersController>(TYPES.Auth_HomeServerUsersController)
.toConstantValue(
new InversifyExpressUsersController(
new HomeServerUsersController(
container.get(TYPES.Auth_UpdateUser),
container.get(TYPES.Auth_GetUserKeyParams),
container.get(TYPES.Auth_DeleteAccount),
@@ -1095,9 +1094,9 @@ export class ContainerConfigLoader {
),
)
container
.bind<InversifyExpressAdminController>(TYPES.Auth_InversifyExpressAdminController)
.bind<HomeServerAdminController>(TYPES.Auth_HomeServerAdminController)
.toConstantValue(
new InversifyExpressAdminController(
new HomeServerAdminController(
container.get(TYPES.Auth_DeleteSetting),
container.get(TYPES.Auth_UserRepository),
container.get(TYPES.Auth_CreateSubscriptionToken),
@@ -1106,9 +1105,9 @@ export class ContainerConfigLoader {
),
)
container
.bind<InversifyExpressSubscriptionTokensController>(TYPES.Auth_InversifyExpressSubscriptionTokensController)
.bind<HomeServerSubscriptionTokensController>(TYPES.Auth_HomeServerSubscriptionTokensController)
.toConstantValue(
new InversifyExpressSubscriptionTokensController(
new HomeServerSubscriptionTokensController(
container.get(TYPES.Auth_CreateSubscriptionToken),
container.get(TYPES.Auth_AuthenticateSubscriptionToken),
container.get(TYPES.Auth_SettingService),
@@ -1120,17 +1119,17 @@ export class ContainerConfigLoader {
),
)
container
.bind<InversifyExpressSubscriptionSettingsController>(TYPES.Auth_InversifyExpressSubscriptionSettingsController)
.bind<HomeServerSubscriptionSettingsController>(TYPES.Auth_HomeServerSubscriptionSettingsController)
.toConstantValue(
new InversifyExpressSubscriptionSettingsController(
new HomeServerSubscriptionSettingsController(
container.get(TYPES.Auth_GetSetting),
container.get(TYPES.Auth_ControllerContainer),
),
)
container
.bind<InversifyExpressSettingsController>(TYPES.Auth_InversifyExpressSettingsController)
.bind<HomeServerSettingsController>(TYPES.Auth_HomeServerSettingsController)
.toConstantValue(
new InversifyExpressSettingsController(
new HomeServerSettingsController(
container.get(TYPES.Auth_GetSettings),
container.get(TYPES.Auth_GetSetting),
container.get(TYPES.Auth_UpdateSetting),
@@ -1139,9 +1138,9 @@ export class ContainerConfigLoader {
),
)
container
.bind<InversifyExpressSessionController>(TYPES.Auth_InversifyExpressSessionController)
.bind<HomeServerSessionController>(TYPES.Auth_HomeServerSessionController)
.toConstantValue(
new InversifyExpressSessionController(
new HomeServerSessionController(
container.get(TYPES.Auth_DeleteSessionForUser),
container.get(TYPES.Auth_DeletePreviousSessionsForUser),
container.get(TYPES.Auth_RefreshSessionToken),
@@ -1149,9 +1148,9 @@ export class ContainerConfigLoader {
),
)
container
.bind<InversifyExpressOfflineController>(TYPES.Auth_InversifyExpressOfflineController)
.bind<HomeServerOfflineController>(TYPES.Auth_HomeServerOfflineController)
.toConstantValue(
new InversifyExpressOfflineController(
new HomeServerOfflineController(
container.get(TYPES.Auth_GetUserFeatures),
container.get(TYPES.Auth_GetUserOfflineSubscription),
container.get(TYPES.Auth_CreateOfflineSubscriptionToken),
@@ -1163,25 +1162,17 @@ export class ContainerConfigLoader {
),
)
container
.bind<InversifyExpressListedController>(TYPES.Auth_InversifyExpressListedController)
.bind<HomeServerListedController>(TYPES.Auth_HomeServerListedController)
.toConstantValue(
new InversifyExpressListedController(
new HomeServerListedController(
container.get(TYPES.Auth_CreateListedAccount),
container.get(TYPES.Auth_ControllerContainer),
),
)
container
.bind<InversifyExpressInternalController>(TYPES.Auth_InversifyExpressInternalController)
.bind<HomeServerFeaturesController>(TYPES.Auth_HomeServerFeaturesController)
.toConstantValue(
new InversifyExpressInternalController(
container.get(TYPES.Auth_GetUserFeatures),
container.get(TYPES.Auth_GetSetting),
),
)
container
.bind<InversifyExpressFeaturesController>(TYPES.Auth_InversifyExpressFeaturesController)
.toConstantValue(
new InversifyExpressFeaturesController(
new HomeServerFeaturesController(
container.get(TYPES.Auth_GetUserFeatures),
container.get(TYPES.Auth_ControllerContainer),
),

View File

@@ -216,25 +216,22 @@ const TYPES = {
Auth_ProtocolVersionSelector: Symbol.for('Auth_ProtocolVersionSelector'),
Auth_BooleanSelector: Symbol.for('Auth_BooleanSelector'),
Auth_UserSubscriptionService: Symbol.for('Auth_UserSubscriptionService'),
Auth_InversifyExpressAuthController: Symbol.for('Auth_InversifyExpressAuthController'),
Auth_InversifyExpressAuthenticatorsController: Symbol.for('Auth_InversifyExpressAuthenticatorsController'),
Auth_InversifyExpressSubscriptionInvitesController: Symbol.for('Auth_InversifyExpressSubscriptionInvitesController'),
Auth_InversifyExpressUserRequestsController: Symbol.for('Auth_InversifyExpressUserRequestsController'),
Auth_InversifyExpressWebSocketsController: Symbol.for('Auth_InversifyExpressWebSocketsController'),
Auth_SessionsController: Symbol.for('Auth_SessionsController'),
Auth_InversifyExpressValetTokenController: Symbol.for('Auth_InversifyExpressValetTokenController'),
Auth_InversifyExpressUsersController: Symbol.for('Auth_InversifyExpressUsersController'),
Auth_InversifyExpressAdminController: Symbol.for('Auth_InversifyExpressAdminController'),
Auth_InversifyExpressSubscriptionTokensController: Symbol.for('Auth_InversifyExpressSubscriptionTokensController'),
Auth_InversifyExpressSubscriptionSettingsController: Symbol.for(
'Auth_InversifyExpressSubscriptionSettingsController',
),
Auth_InversifyExpressSettingsController: Symbol.for('Auth_InversifyExpressSettingsController'),
Auth_InversifyExpressSessionController: Symbol.for('Auth_InversifyExpressSessionController'),
Auth_InversifyExpressOfflineController: Symbol.for('Auth_InversifyExpressOfflineController'),
Auth_InversifyExpressListedController: Symbol.for('Auth_InversifyExpressListedController'),
Auth_InversifyExpressInternalController: Symbol.for('Auth_InversifyExpressInternalController'),
Auth_InversifyExpressFeaturesController: Symbol.for('Auth_InversifyExpressFeaturesController'),
Auth_HomeServerAuthController: Symbol.for('Auth_HomeServerAuthController'),
Auth_HomeServerAuthenticatorsController: Symbol.for('Auth_HomeServerAuthenticatorsController'),
Auth_HomeServerSubscriptionInvitesController: Symbol.for('Auth_HomeServerSubscriptionInvitesController'),
Auth_HomeServerUserRequestsController: Symbol.for('Auth_HomeServerUserRequestsController'),
Auth_HomeServerWebSocketsController: Symbol.for('Auth_HomeServerWebSocketsController'),
Auth_HomeServerSessionsController: Symbol.for('Auth_HomeServerSessionsController'),
Auth_HomeServerValetTokenController: Symbol.for('Auth_HomeServerValetTokenController'),
Auth_HomeServerUsersController: Symbol.for('Auth_HomeServerUsersController'),
Auth_HomeServerAdminController: Symbol.for('Auth_HomeServerAdminController'),
Auth_HomeServerSubscriptionTokensController: Symbol.for('Auth_HomeServerSubscriptionTokensController'),
Auth_HomeServerSubscriptionSettingsController: Symbol.for('Auth_HomeServerSubscriptionSettingsController'),
Auth_HomeServerSettingsController: Symbol.for('Auth_HomeServerSettingsController'),
Auth_HomeServerSessionController: Symbol.for('Auth_HomeServerSessionController'),
Auth_HomeServerOfflineController: Symbol.for('Auth_HomeServerOfflineController'),
Auth_HomeServerListedController: Symbol.for('Auth_HomeServerListedController'),
Auth_HomeServerFeaturesController: Symbol.for('Auth_HomeServerFeaturesController'),
}
export default TYPES

View File

@@ -0,0 +1,121 @@
import { ControllerContainerInterface, Username } from '@standardnotes/domain-core'
import { BaseHttpController, results } from 'inversify-express-utils'
import { SettingName } from '@standardnotes/settings'
import { Request } from 'express'
import { CreateOfflineSubscriptionToken } from '../../../Domain/UseCase/CreateOfflineSubscriptionToken/CreateOfflineSubscriptionToken'
import { CreateSubscriptionToken } from '../../../Domain/UseCase/CreateSubscriptionToken/CreateSubscriptionToken'
import { DeleteSetting } from '../../../Domain/UseCase/DeleteSetting/DeleteSetting'
import { UserRepositoryInterface } from '../../../Domain/User/UserRepositoryInterface'
export class HomeServerAdminController extends BaseHttpController {
constructor(
protected doDeleteSetting: DeleteSetting,
protected userRepository: UserRepositoryInterface,
protected createSubscriptionToken: CreateSubscriptionToken,
protected createOfflineSubscriptionToken: CreateOfflineSubscriptionToken,
private controllerContainer?: ControllerContainerInterface,
) {
super()
if (this.controllerContainer !== undefined) {
this.controllerContainer.register('admin.getUser', this.getUser.bind(this))
this.controllerContainer.register('admin.deleteMFASetting', this.deleteMFASetting.bind(this))
this.controllerContainer.register('admin.createToken', this.createToken.bind(this))
this.controllerContainer.register('admin.createOfflineToken', this.createOfflineToken.bind(this))
this.controllerContainer.register('admin.disableEmailBackups', this.disableEmailBackups.bind(this))
}
}
async getUser(request: Request): Promise<results.JsonResult> {
const usernameOrError = Username.create(request.params.email ?? '')
if (usernameOrError.isFailed()) {
return this.json(
{
error: {
message: 'Missing email parameter.',
},
},
400,
)
}
const username = usernameOrError.getValue()
const user = await this.userRepository.findOneByUsernameOrEmail(username)
if (!user) {
return this.json(
{
error: {
message: `No user with email '${username.value}'.`,
},
},
400,
)
}
return this.json({
uuid: user.uuid,
})
}
async deleteMFASetting(request: Request): Promise<results.JsonResult> {
const { userUuid } = request.params
const { uuid, updatedAt } = request.body
const result = await this.doDeleteSetting.execute({
uuid,
userUuid,
settingName: SettingName.NAMES.MfaSecret,
timestamp: updatedAt,
softDelete: true,
})
if (result.success) {
return this.json(result)
}
return this.json(result, 400)
}
async createToken(request: Request): Promise<results.JsonResult> {
const { userUuid } = request.params
const result = await this.createSubscriptionToken.execute({
userUuid,
})
return this.json({
token: result.subscriptionToken.token,
})
}
async createOfflineToken(request: Request): Promise<results.JsonResult | results.BadRequestResult> {
const { email } = request.params
const result = await this.createOfflineSubscriptionToken.execute({
userEmail: email,
})
if (!result.success) {
return this.badRequest()
}
return this.json({
token: result.offlineSubscriptionToken.token,
})
}
async disableEmailBackups(request: Request): Promise<results.BadRequestErrorMessageResult | results.OkResult> {
const { userUuid } = request.params
const result = await this.doDeleteSetting.execute({
userUuid,
settingName: SettingName.NAMES.EmailBackupFrequency,
})
if (result.success) {
return this.ok()
}
return this.badRequest('No email backups found')
}
}

View File

@@ -0,0 +1,299 @@
import { ControllerContainerInterface } from '@standardnotes/domain-core'
import { Request, Response } from 'express'
import { Logger } from 'winston'
import { ClearLoginAttempts } from '../../../Domain/UseCase/ClearLoginAttempts'
import { GetUserKeyParams } from '../../../Domain/UseCase/GetUserKeyParams/GetUserKeyParams'
import { IncreaseLoginAttempts } from '../../../Domain/UseCase/IncreaseLoginAttempts'
import { SignIn } from '../../../Domain/UseCase/SignIn'
import { VerifyMFA } from '../../../Domain/UseCase/VerifyMFA'
import { AuthController } from '../../../Controller/AuthController'
import { BaseHttpController, results } from 'inversify-express-utils'
export class HomeServerAuthController extends BaseHttpController {
constructor(
protected verifyMFA: VerifyMFA,
protected signInUseCase: SignIn,
protected getUserKeyParams: GetUserKeyParams,
protected clearLoginAttempts: ClearLoginAttempts,
protected increaseLoginAttempts: IncreaseLoginAttempts,
protected logger: Logger,
protected authController: AuthController,
private controllerContainer?: ControllerContainerInterface,
) {
super()
if (this.controllerContainer !== undefined) {
this.controllerContainer.register('auth.params', this.params.bind(this))
this.controllerContainer.register('auth.signIn', this.signIn.bind(this))
this.controllerContainer.register('auth.pkceParams', this.pkceParams.bind(this))
this.controllerContainer.register('auth.pkceSignIn', this.pkceSignIn.bind(this))
this.controllerContainer.register('auth.users.register', this.register.bind(this))
this.controllerContainer.register('auth.generateRecoveryCodes', this.generateRecoveryCodes.bind(this))
this.controllerContainer.register('auth.signInWithRecoveryCodes', this.recoveryLogin.bind(this))
this.controllerContainer.register('auth.recoveryKeyParams', this.recoveryParams.bind(this))
this.controllerContainer.register('auth.signOut', this.signOut.bind(this))
}
}
async params(request: Request, response: Response): Promise<results.JsonResult> {
if (response.locals.session) {
const result = await this.getUserKeyParams.execute({
email: response.locals.user.email,
authenticated: true,
})
return this.json(result.keyParams)
}
if (!request.query.email) {
return this.json(
{
error: {
message: 'Please provide an email address.',
},
},
400,
)
}
const verifyMFAResponse = await this.verifyMFA.execute({
email: <string>request.query.email,
requestParams: request.query,
preventOTPFromFurtherUsage: false,
})
if (!verifyMFAResponse.success) {
return this.json(
{
error: {
tag: verifyMFAResponse.errorTag,
message: verifyMFAResponse.errorMessage,
payload: verifyMFAResponse.errorPayload,
},
},
401,
)
}
const result = await this.getUserKeyParams.execute({
email: <string>request.query.email,
authenticated: false,
})
return this.json(result.keyParams)
}
async signIn(request: Request): Promise<results.JsonResult> {
if (!request.body.email || !request.body.password) {
this.logger.debug('/auth/sign_in request missing credentials: %O', request.body)
return this.json(
{
error: {
tag: 'invalid-auth',
message: 'Invalid login credentials.',
},
},
401,
)
}
const verifyMFAResponse = await this.verifyMFA.execute({
email: request.body.email,
requestParams: request.body,
preventOTPFromFurtherUsage: true,
})
if (!verifyMFAResponse.success) {
return this.json(
{
error: {
tag: verifyMFAResponse.errorTag,
message: verifyMFAResponse.errorMessage,
payload: verifyMFAResponse.errorPayload,
},
},
401,
)
}
const signInResult = await this.signInUseCase.execute({
apiVersion: request.body.api,
userAgent: <string>request.headers['user-agent'],
email: request.body.email,
password: request.body.password,
ephemeralSession: request.body.ephemeral ?? false,
})
if (!signInResult.success) {
await this.increaseLoginAttempts.execute({ email: request.body.email })
return this.json(
{
error: {
message: signInResult.errorMessage,
},
},
signInResult.errorCode ?? 401,
)
}
await this.clearLoginAttempts.execute({ email: request.body.email })
return this.json(signInResult.authResponse)
}
async pkceParams(request: Request, response: Response): Promise<results.JsonResult> {
if (!request.body.code_challenge) {
return this.json(
{
error: {
message: 'Please provide the code challenge parameter.',
},
},
400,
)
}
if (response.locals.session) {
const result = await this.getUserKeyParams.execute({
email: response.locals.user.email,
authenticated: true,
codeChallenge: request.body.code_challenge as string,
})
return this.json(result.keyParams)
}
if (!request.body.email) {
return this.json(
{
error: {
message: 'Please provide an email address.',
},
},
400,
)
}
const verifyMFAResponse = await this.verifyMFA.execute({
email: <string>request.body.email,
requestParams: request.body,
preventOTPFromFurtherUsage: true,
})
if (!verifyMFAResponse.success) {
return this.json(
{
error: {
tag: verifyMFAResponse.errorTag,
message: verifyMFAResponse.errorMessage,
payload: verifyMFAResponse.errorPayload,
},
},
401,
)
}
const result = await this.getUserKeyParams.execute({
email: <string>request.body.email,
authenticated: false,
codeChallenge: request.body.code_challenge as string,
})
return this.json(result.keyParams)
}
async pkceSignIn(request: Request): Promise<results.JsonResult> {
if (!request.body.email || !request.body.password || !request.body.code_verifier) {
this.logger.debug('/auth/sign_in request missing credentials: %O', request.body)
return this.json(
{
error: {
tag: 'invalid-auth',
message: 'Invalid login credentials.',
},
},
401,
)
}
const signInResult = await this.signInUseCase.execute({
apiVersion: request.body.api,
userAgent: <string>request.headers['user-agent'],
email: request.body.email,
password: request.body.password,
ephemeralSession: request.body.ephemeral ?? false,
codeVerifier: request.body.code_verifier,
})
if (!signInResult.success) {
await this.increaseLoginAttempts.execute({ email: request.body.email })
return this.json(
{
error: {
message: signInResult.errorMessage,
},
},
401,
)
}
await this.clearLoginAttempts.execute({ email: request.body.email })
return this.json(signInResult.authResponse)
}
async generateRecoveryCodes(_request: Request, response: Response): Promise<results.JsonResult> {
const result = await this.authController.generateRecoveryCodes({
userUuid: response.locals.user.uuid,
})
return this.json(result.data, result.status)
}
async recoveryLogin(request: Request): Promise<results.JsonResult> {
const result = await this.authController.signInWithRecoveryCodes({
apiVersion: request.body.api_version,
userAgent: <string>request.headers['user-agent'],
codeVerifier: request.body.code_verifier,
username: request.body.username,
recoveryCodes: request.body.recovery_codes,
password: request.body.password,
})
return this.json(result.data, result.status)
}
async recoveryParams(request: Request): Promise<results.JsonResult> {
const result = await this.authController.recoveryKeyParams({
apiVersion: request.body.api_version,
username: request.body.username,
codeChallenge: request.body.code_challenge,
recoveryCodes: request.body.recovery_codes,
})
return this.json(result.data, result.status)
}
async signOut(request: Request, response: Response): Promise<results.JsonResult | void> {
const result = await this.authController.signOut({
readOnlyAccess: response.locals.readOnlyAccess,
authorizationHeader: <string>request.headers.authorization,
})
return this.json(result.data, result.status)
}
async register(request: Request): Promise<results.JsonResult> {
const response = await this.authController.register({
...request.body,
userAgent: <string>request.headers['user-agent'],
})
return this.json(response.data, response.status)
}
}

View File

@@ -0,0 +1,74 @@
import { ControllerContainerInterface } from '@standardnotes/domain-core'
import { Request, Response } from 'express'
import { AuthenticatorsController } from '../../../Controller/AuthenticatorsController'
import { BaseHttpController, results } from 'inversify-express-utils'
export class HomeServerAuthenticatorsController extends BaseHttpController {
constructor(
protected authenticatorsController: AuthenticatorsController,
private controllerContainer?: ControllerContainerInterface,
) {
super()
if (this.controllerContainer !== undefined) {
this.controllerContainer.register('auth.authenticators.list', this.list.bind(this))
this.controllerContainer.register('auth.authenticators.delete', this.delete.bind(this))
this.controllerContainer.register(
'auth.authenticators.generateRegistrationOptions',
this.generateRegistrationOptions.bind(this),
)
this.controllerContainer.register(
'auth.authenticators.verifyRegistrationResponse',
this.verifyRegistration.bind(this),
)
this.controllerContainer.register(
'auth.authenticators.generateAuthenticationOptions',
this.generateAuthenticationOptions.bind(this),
)
}
}
async list(_request: Request, response: Response): Promise<results.JsonResult> {
const result = await this.authenticatorsController.list({
userUuid: response.locals.user.uuid,
})
return this.json(result.data, result.status)
}
async delete(request: Request, response: Response): Promise<results.JsonResult> {
const result = await this.authenticatorsController.delete({
userUuid: response.locals.user.uuid,
authenticatorId: request.params.authenticatorId,
})
return this.json(result.data, result.status)
}
async generateRegistrationOptions(_request: Request, response: Response): Promise<results.JsonResult> {
const result = await this.authenticatorsController.generateRegistrationOptions({
username: response.locals.user.email,
userUuid: response.locals.user.uuid,
})
return this.json(result.data, result.status)
}
async verifyRegistration(request: Request, response: Response): Promise<results.JsonResult> {
const result = await this.authenticatorsController.verifyRegistrationResponse({
userUuid: response.locals.user.uuid,
attestationResponse: request.body.attestationResponse,
})
return this.json(result.data, result.status)
}
async generateAuthenticationOptions(request: Request): Promise<results.JsonResult> {
const result = await this.authenticatorsController.generateAuthenticationOptions({
username: request.body.username,
})
return this.json(result.data, result.status)
}
}

Some files were not shown because too many files have changed in this diff Show More