mirror of
https://github.com/standardnotes/server
synced 2026-04-25 18:01:21 -04:00
Compare commits
29 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e6fce8cbc7 | |||
| 589f8e62f4 | |||
| 27f45f7cf6 | |||
| 48af4ac79c | |||
| 9b6baab1e0 | |||
| 3ba4e712dc | |||
| 5bf3ecdf42 | |||
| bd6fd472a6 | |||
| 7f4776b52b | |||
| d20f03127a | |||
| 4b6c7774e0 | |||
| d02bca8879 | |||
| 5e654ccf94 | |||
| 7d3e5c22fb | |||
| 23eb61ee5f | |||
| 2cded4b2d1 | |||
| ba7662fc1e | |||
| 832a48ac76 | |||
| 2db0c125fe | |||
| 20d9624bc6 | |||
| f20ee68f50 | |||
| cbf45ce3eb | |||
| 2e7fdd93dd | |||
| 8ce38f82b5 | |||
| ec5429eeec | |||
| 4b17c4045d | |||
| aaf42e4693 | |||
| 0e3cbfc40b | |||
| a95ca05c10 |
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.
BIN
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.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
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.
Generated
Vendored
+1
-1
@@ -327,7 +327,7 @@ endif
|
|||||||
|
|
||||||
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
||||||
cmd_regen_makefile = cd $(srcdir); /Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.0.0-0eccfca4d1/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/18.12.1" "-Dnode_gyp_dir=/Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.0.0-0eccfca4d1/node_modules/node-gyp" "-Dnode_lib_file=/Users/karolsojko/Library/Caches/node-gyp/18.12.1/<(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.0.0-0eccfca4d1/node_modules/node-gyp/addon.gypi -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/common.gypi "--toplevel-dir=." binding.gyp
|
cmd_regen_makefile = cd $(srcdir); /Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.0.0-0eccfca4d1/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/18.12.1" "-Dnode_gyp_dir=/Users/karolsojko/workspace/server/.yarn/unplugged/node-gyp-npm-9.0.0-0eccfca4d1/node_modules/node-gyp" "-Dnode_lib_file=/Users/karolsojko/Library/Caches/node-gyp/18.12.1/<(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.0.0-0eccfca4d1/node_modules/node-gyp/addon.gypi -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/common.gypi "--toplevel-dir=." binding.gyp
|
||||||
Makefile: $(srcdir)/build/config.gypi $(srcdir)/../../../../node-gyp-npm-9.0.0-0eccfca4d1/node_modules/node-gyp/addon.gypi $(srcdir)/../../../../../../../../Library/Caches/node-gyp/18.12.1/include/node/common.gypi $(srcdir)/binding.gyp
|
Makefile: $(srcdir)/../../../../../../../../Library/Caches/node-gyp/18.12.1/include/node/common.gypi $(srcdir)/build/config.gypi $(srcdir)/../../../../node-gyp-npm-9.0.0-0eccfca4d1/node_modules/node-gyp/addon.gypi $(srcdir)/binding.gyp
|
||||||
$(call do_cmd,regen_makefile)
|
$(call do_cmd,regen_makefile)
|
||||||
|
|
||||||
# "all" is a concatenation of the "all" targets from all the included
|
# "all" is a concatenation of the "all" targets from all the included
|
||||||
|
|||||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
cmd_Release/native_metrics.node := c++ -bundle -undefined dynamic_lookup -Wl,-search_paths_first -mmacosx-version-min=10.15 -arch x86_64 -L./Release -stdlib=libc++ -o Release/native_metrics.node Release/obj.target/native_metrics/src/native_metrics.o Release/obj.target/native_metrics/src/GCBinder.o Release/obj.target/native_metrics/src/LoopChecker.o
|
||||||
Generated
Vendored
+153
@@ -0,0 +1,153 @@
|
|||||||
|
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/18.12.1/include/node -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/src -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/v8/include -I../src -I../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch x86_64 -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.16.0-cac314a230/node_modules/nan/nan.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/errno.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/unix.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/threadpool.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/darwin.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/cppgc/common.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8config.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-array-buffer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-local-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-internal.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-object.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-maybe.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-persistent-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-weak-callback-info.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-data.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-traced-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-container.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-context.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-snapshot.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-date.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-debug.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-script.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-message.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-exception.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-extension.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-external.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function-callback.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-template.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-memory-span.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-initialization.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-callbacks.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-isolate.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-heap.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-statistics.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-promise.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-unwinder.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-state-scope.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-platform.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-json.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-locker.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask-queue.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive-object.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-proxy.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-regexp.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-typed-array.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value-serializer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-wasm.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_buffer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_object_wrap.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_maybe_43_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters_43_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_new.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_implementation_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_persistent_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_weak.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_object_wrap.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_private.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_typedarray_contents.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_json.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_scriptorigin.h \
|
||||||
|
../src/Metric.hpp
|
||||||
|
../src/GCBinder.cpp:
|
||||||
|
../src/GCBinder.hpp:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/errno.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/unix.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/threadpool.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/darwin.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/cppgc/common.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8config.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-array-buffer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-local-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-internal.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-object.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-maybe.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-persistent-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-weak-callback-info.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-data.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-traced-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-container.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-context.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-snapshot.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-date.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-debug.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-script.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-message.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-exception.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-extension.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-external.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function-callback.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-template.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-memory-span.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-initialization.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-callbacks.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-isolate.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-heap.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-statistics.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-promise.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-unwinder.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-state-scope.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-platform.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-json.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-locker.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask-queue.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive-object.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-proxy.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-regexp.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-typed-array.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value-serializer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-wasm.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_buffer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_object_wrap.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_maybe_43_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters_43_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_new.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_implementation_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_persistent_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_weak.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_object_wrap.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_private.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_typedarray_contents.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_json.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_scriptorigin.h:
|
||||||
|
../src/Metric.hpp:
|
||||||
+154
@@ -0,0 +1,154 @@
|
|||||||
|
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/18.12.1/include/node -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/src -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/v8/include -I../src -I../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch x86_64 -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/18.12.1/include/node/uv.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/errno.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/unix.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/threadpool.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/darwin.h \
|
||||||
|
../src/LoopChecker.hpp \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/cppgc/common.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8config.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-array-buffer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-local-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-internal.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-object.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-maybe.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-persistent-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-weak-callback-info.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-data.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-traced-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-container.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-context.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-snapshot.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-date.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-debug.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-script.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-message.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-exception.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-extension.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-external.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function-callback.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-template.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-memory-span.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-initialization.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-callbacks.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-isolate.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-heap.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-statistics.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-promise.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-unwinder.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-state-scope.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-platform.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-json.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-locker.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask-queue.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive-object.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-proxy.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-regexp.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-typed-array.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value-serializer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-wasm.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_buffer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_object_wrap.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_maybe_43_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters_43_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_new.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_implementation_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_persistent_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_weak.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_object_wrap.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_private.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_typedarray_contents.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_json.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_scriptorigin.h \
|
||||||
|
../src/Metric.hpp
|
||||||
|
../src/LoopChecker.cpp:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/errno.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/unix.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/threadpool.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/darwin.h:
|
||||||
|
../src/LoopChecker.hpp:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/cppgc/common.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8config.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-array-buffer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-local-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-internal.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-object.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-maybe.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-persistent-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-weak-callback-info.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-data.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-traced-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-container.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-context.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-snapshot.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-date.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-debug.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-script.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-message.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-exception.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-extension.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-external.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function-callback.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-template.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-memory-span.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-initialization.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-callbacks.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-isolate.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-heap.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-statistics.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-promise.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-unwinder.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-state-scope.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-platform.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-json.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-locker.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask-queue.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive-object.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-proxy.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-regexp.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-typed-array.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value-serializer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-wasm.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_buffer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_object_wrap.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_maybe_43_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters_43_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_new.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_implementation_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_persistent_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_weak.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_object_wrap.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_private.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_typedarray_contents.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_json.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_scriptorigin.h:
|
||||||
|
../src/Metric.hpp:
|
||||||
+154
@@ -0,0 +1,154 @@
|
|||||||
|
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/18.12.1/include/node -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/src -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/openssl/config -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/openssl/openssl/include -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/uv/include -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/zlib -I/Users/karolsojko/Library/Caches/node-gyp/18.12.1/deps/v8/include -I../src -I../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan -O3 -gdwarf-2 -mmacosx-version-min=10.15 -arch x86_64 -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.16.0-cac314a230/node_modules/nan/nan.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/errno.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/unix.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/threadpool.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/darwin.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/cppgc/common.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8config.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-array-buffer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-local-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-internal.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-version.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-object.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-maybe.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-persistent-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-weak-callback-info.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-data.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-traced-handle.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-container.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-context.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-snapshot.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-date.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-debug.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-script.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-message.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-exception.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-extension.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-external.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function-callback.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-template.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-memory-span.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-initialization.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-callbacks.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-isolate.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-heap.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-statistics.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-promise.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-unwinder.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-state-scope.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-platform.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-json.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-locker.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask-queue.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive-object.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-proxy.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-regexp.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-typed-array.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value-serializer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-wasm.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_buffer.h \
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_object_wrap.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_maybe_43_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters_43_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_new.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_implementation_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_persistent_12_inl.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_weak.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_object_wrap.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_private.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_typedarray_contents.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_json.h \
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_scriptorigin.h \
|
||||||
|
../src/GCBinder.hpp ../src/Metric.hpp ../src/LoopChecker.hpp
|
||||||
|
../src/native_metrics.cpp:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/errno.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/unix.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/threadpool.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/uv/darwin.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/cppgc/common.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8config.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-array-buffer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-local-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-internal.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-version.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-object.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-maybe.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-persistent-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-weak-callback-info.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-data.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-traced-handle.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-container.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-context.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-snapshot.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-date.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-debug.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-script.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-message.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-exception.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-extension.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-external.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-function-callback.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-template.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-memory-span.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-initialization.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-callbacks.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-isolate.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-heap.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-statistics.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-promise.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-unwinder.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-embedder-state-scope.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-platform.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-json.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-locker.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-microtask-queue.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-primitive-object.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-proxy.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-regexp.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-typed-array.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-value-serializer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/v8-wasm.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_buffer.h:
|
||||||
|
/Users/karolsojko/Library/Caches/node-gyp/18.12.1/include/node/node_object_wrap.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_callbacks_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_maybe_43_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_converters_43_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_new.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_implementation_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_persistent_12_inl.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_weak.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_object_wrap.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_private.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_typedarray_contents.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_json.h:
|
||||||
|
../../../../../nan-npm-2.16.0-cac314a230/node_modules/nan/nan_scriptorigin.h:
|
||||||
|
../src/GCBinder.hpp:
|
||||||
|
../src/Metric.hpp:
|
||||||
|
../src/LoopChecker.hpp:
|
||||||
Generated
Vendored
Executable
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
+1
-1
@@ -51,7 +51,7 @@
|
|||||||
"@types/newrelic": "^9.4.0",
|
"@types/newrelic": "^9.4.0",
|
||||||
"@types/node": "^18.11.9",
|
"@types/node": "^18.11.9",
|
||||||
"@typescript-eslint/parser": "^5.40.1",
|
"@typescript-eslint/parser": "^5.40.1",
|
||||||
"eslint": "^8.17.0",
|
"eslint": "^8.32.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"ini": "^3.0.0",
|
"ini": "^3.0.0",
|
||||||
"npm-check-updates": "^16.0.1",
|
"npm-check-updates": "^16.0.1",
|
||||||
|
|||||||
@@ -3,6 +3,30 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
## [2.19.12](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.11...@standardnotes/analytics@2.19.12) (2023-01-20)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/analytics
|
||||||
|
|
||||||
|
## [2.19.11](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.10...@standardnotes/analytics@2.19.11) (2023-01-20)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/analytics
|
||||||
|
|
||||||
|
## [2.19.10](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.9...@standardnotes/analytics@2.19.10) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/analytics
|
||||||
|
|
||||||
|
## [2.19.9](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.8...@standardnotes/analytics@2.19.9) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/analytics
|
||||||
|
|
||||||
|
## [2.19.8](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.7...@standardnotes/analytics@2.19.8) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/analytics
|
||||||
|
|
||||||
|
## [2.19.7](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.6...@standardnotes/analytics@2.19.7) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/analytics
|
||||||
|
|
||||||
## [2.19.6](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.5...@standardnotes/analytics@2.19.6) (2023-01-18)
|
## [2.19.6](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.5...@standardnotes/analytics@2.19.6) (2023-01-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @standardnotes/analytics
|
**Note:** Version bump only for package @standardnotes/analytics
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@standardnotes/analytics",
|
"name": "@standardnotes/analytics",
|
||||||
"version": "2.19.6",
|
"version": "2.19.12",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <19.0.0"
|
"node": ">=18.0.0 <19.0.0"
|
||||||
},
|
},
|
||||||
@@ -30,8 +30,8 @@
|
|||||||
"@types/mixpanel": "^2.14.4",
|
"@types/mixpanel": "^2.14.4",
|
||||||
"@types/newrelic": "^9.4.0",
|
"@types/newrelic": "^9.4.0",
|
||||||
"@types/node": "^18.11.9",
|
"@types/node": "^18.11.9",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.32.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"jest": "^29.1.2",
|
"jest": "^29.1.2",
|
||||||
"ts-jest": "^29.0.3",
|
"ts-jest": "^29.0.3",
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
import { Uuid } from '@standardnotes/common'
|
|
||||||
import { AnalyticsEntity } from './AnalyticsEntity'
|
import { AnalyticsEntity } from './AnalyticsEntity'
|
||||||
|
|
||||||
export interface AnalyticsEntityRepositoryInterface {
|
export interface AnalyticsEntityRepositoryInterface {
|
||||||
save(analyticsEntity: AnalyticsEntity): Promise<AnalyticsEntity>
|
save(analyticsEntity: AnalyticsEntity): Promise<AnalyticsEntity>
|
||||||
remove(analyticsEntity: AnalyticsEntity): Promise<void>
|
remove(analyticsEntity: AnalyticsEntity): Promise<void>
|
||||||
findOneByUserUuid(userUuid: Uuid): Promise<AnalyticsEntity | null>
|
findOneByUserUuid(userUuid: string): Promise<AnalyticsEntity | null>
|
||||||
findOneByUserEmail(email: string): Promise<AnalyticsEntity | null>
|
findOneByUserEmail(email: string): Promise<AnalyticsEntity | null>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { Either, Uuid } from '@standardnotes/common'
|
import { Either } from '@standardnotes/common'
|
||||||
|
|
||||||
export type GetUserAnalyticsIdDTO = Either<
|
export type GetUserAnalyticsIdDTO = Either<
|
||||||
{
|
{
|
||||||
userUuid: Uuid
|
userUuid: string
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
userEmail: string
|
userEmail: string
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { Uuid } from '@standardnotes/common'
|
|
||||||
import { inject, injectable } from 'inversify'
|
import { inject, injectable } from 'inversify'
|
||||||
import { Repository } from 'typeorm'
|
import { Repository } from 'typeorm'
|
||||||
|
|
||||||
@@ -20,7 +19,7 @@ export class MySQLAnalyticsEntityRepository implements AnalyticsEntityRepository
|
|||||||
.getOne()
|
.getOne()
|
||||||
}
|
}
|
||||||
|
|
||||||
async findOneByUserUuid(userUuid: Uuid): Promise<AnalyticsEntity | null> {
|
async findOneByUserUuid(userUuid: string): Promise<AnalyticsEntity | null> {
|
||||||
return this.ormRepository
|
return this.ormRepository
|
||||||
.createQueryBuilder('analytics_entity')
|
.createQueryBuilder('analytics_entity')
|
||||||
.where('analytics_entity.user_uuid = :userUuid', { userUuid })
|
.where('analytics_entity.user_uuid = :userUuid', { userUuid })
|
||||||
|
|||||||
@@ -3,6 +3,30 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
## [1.46.7](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.6...@standardnotes/api-gateway@1.46.7) (2023-01-20)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/api-gateway
|
||||||
|
|
||||||
|
## [1.46.6](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.5...@standardnotes/api-gateway@1.46.6) (2023-01-20)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/api-gateway
|
||||||
|
|
||||||
|
## [1.46.5](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.4...@standardnotes/api-gateway@1.46.5) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/api-gateway
|
||||||
|
|
||||||
|
## [1.46.4](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.3...@standardnotes/api-gateway@1.46.4) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/api-gateway
|
||||||
|
|
||||||
|
## [1.46.3](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.2...@standardnotes/api-gateway@1.46.3) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/api-gateway
|
||||||
|
|
||||||
|
## [1.46.2](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.1...@standardnotes/api-gateway@1.46.2) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/api-gateway
|
||||||
|
|
||||||
## [1.46.1](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.0...@standardnotes/api-gateway@1.46.1) (2023-01-18)
|
## [1.46.1](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.0...@standardnotes/api-gateway@1.46.1) (2023-01-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @standardnotes/api-gateway
|
**Note:** Version bump only for package @standardnotes/api-gateway
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@standardnotes/api-gateway",
|
"name": "@standardnotes/api-gateway",
|
||||||
"version": "1.46.1",
|
"version": "1.46.7",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <19.0.0"
|
"node": ">=18.0.0 <19.0.0"
|
||||||
},
|
},
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@newrelic/winston-enricher": "^4.0.0",
|
"@newrelic/winston-enricher": "^4.0.0",
|
||||||
"@sentry/node": "^7.28.1",
|
"@sentry/node": "^7.28.1",
|
||||||
"@standardnotes/common": "workspace:^",
|
"@standardnotes/domain-core": "workspace:^",
|
||||||
"@standardnotes/domain-events": "workspace:*",
|
"@standardnotes/domain-events": "workspace:*",
|
||||||
"@standardnotes/domain-events-infra": "workspace:*",
|
"@standardnotes/domain-events-infra": "workspace:*",
|
||||||
"@standardnotes/security": "workspace:*",
|
"@standardnotes/security": "workspace:*",
|
||||||
@@ -51,8 +51,8 @@
|
|||||||
"@types/jsonwebtoken": "^9.0.1",
|
"@types/jsonwebtoken": "^9.0.1",
|
||||||
"@types/newrelic": "^9.4.0",
|
"@types/newrelic": "^9.4.0",
|
||||||
"@types/prettyjson": "^0.0.30",
|
"@types/prettyjson": "^0.0.30",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.32.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"jest": "^29.1.2",
|
"jest": "^29.1.2",
|
||||||
"nodemon": "^2.0.19",
|
"nodemon": "^2.0.19",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { CrossServiceTokenData } from '@standardnotes/security'
|
import { CrossServiceTokenData } from '@standardnotes/security'
|
||||||
import { RoleName } from '@standardnotes/common'
|
import { RoleName } from '@standardnotes/domain-core'
|
||||||
import { TimerInterface } from '@standardnotes/time'
|
import { TimerInterface } from '@standardnotes/time'
|
||||||
import { NextFunction, Request, Response } from 'express'
|
import { NextFunction, Request, Response } from 'express'
|
||||||
import { inject, injectable } from 'inversify'
|
import { inject, injectable } from 'inversify'
|
||||||
@@ -76,7 +76,7 @@ export class AuthMiddleware extends BaseMiddleware {
|
|||||||
|
|
||||||
response.locals.freeUser =
|
response.locals.freeUser =
|
||||||
decodedToken.roles.length === 1 &&
|
decodedToken.roles.length === 1 &&
|
||||||
decodedToken.roles.find((role) => role.name === RoleName.CoreUser) !== undefined
|
decodedToken.roles.find((role) => role.name === RoleName.NAMES.CoreUser) !== undefined
|
||||||
|
|
||||||
if (this.crossServiceTokenCacheTTL && !crossServiceTokenFetchedFromCache) {
|
if (this.crossServiceTokenCacheTTL && !crossServiceTokenFetchedFromCache) {
|
||||||
await this.crossServiceTokenCache.set({
|
await this.crossServiceTokenCache.set({
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { CrossServiceTokenData } from '@standardnotes/security'
|
import { CrossServiceTokenData } from '@standardnotes/security'
|
||||||
import { RoleName } from '@standardnotes/common'
|
import { RoleName } from '@standardnotes/domain-core'
|
||||||
import { NextFunction, Request, Response } from 'express'
|
import { NextFunction, Request, Response } from 'express'
|
||||||
import { inject, injectable } from 'inversify'
|
import { inject, injectable } from 'inversify'
|
||||||
import { BaseMiddleware } from 'inversify-express-utils'
|
import { BaseMiddleware } from 'inversify-express-utils'
|
||||||
@@ -62,7 +62,7 @@ export class WebSocketAuthMiddleware extends BaseMiddleware {
|
|||||||
|
|
||||||
response.locals.freeUser =
|
response.locals.freeUser =
|
||||||
decodedToken.roles.length === 1 &&
|
decodedToken.roles.length === 1 &&
|
||||||
decodedToken.roles.find((role) => role.name === RoleName.CoreUser) !== undefined
|
decodedToken.roles.find((role) => role.name === RoleName.NAMES.CoreUser) !== undefined
|
||||||
response.locals.userUuid = decodedToken.user.uuid
|
response.locals.userUuid = decodedToken.user.uuid
|
||||||
response.locals.roles = decodedToken.roles
|
response.locals.roles = decodedToken.roles
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -3,6 +3,68 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
## [1.84.7](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.6...@standardnotes/auth-server@1.84.7) (2023-01-20)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* dependency issues ([589f8e6](https://github.com/standardnotes/server/commit/589f8e62f4753b9c6fab21bd675114d373d89f2d))
|
||||||
|
|
||||||
|
## [1.84.6](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.5...@standardnotes/auth-server@1.84.6) (2023-01-20)
|
||||||
|
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
* Revert "chore: upgrade @standardnotes/* dependencies" ([5bf3ecd](https://github.com/standardnotes/server/commit/5bf3ecdf42e1e5b9cb538cad08a18fb6e4054129))
|
||||||
|
|
||||||
|
## [1.84.5](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.4...@standardnotes/auth-server@1.84.5) (2023-01-20)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/auth-server
|
||||||
|
|
||||||
|
## [1.84.4](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.2...@standardnotes/auth-server@1.84.4) (2023-01-20)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/auth-server
|
||||||
|
|
||||||
|
## [1.84.2](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.1...@standardnotes/auth-server@1.84.2) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/auth-server
|
||||||
|
|
||||||
|
## [1.84.1](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.0...@standardnotes/auth-server@1.84.1) (2023-01-19)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* strings for role names ([ba7662f](https://github.com/standardnotes/server/commit/ba7662fc1ea24548ab4ea287c5f34d6f27c6c923))
|
||||||
|
|
||||||
|
# [1.84.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.83.1...@standardnotes/auth-server@1.84.0) (2023-01-19)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* offline roles ([#419](https://github.com/standardnotes/server/issues/419)) ([2db0c12](https://github.com/standardnotes/server/commit/2db0c125fe5872c5898103c2388881ab416b5a99))
|
||||||
|
|
||||||
|
## [1.83.1](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.83.0...@standardnotes/auth-server@1.83.1) (2023-01-19)
|
||||||
|
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
* Revert "feat: include roles in offline features request (#418)" ([f20ee68](https://github.com/standardnotes/server/commit/f20ee68f504449b6ff37748c4d7f83c08bb4039d)), closes [#418](https://github.com/standardnotes/server/issues/418)
|
||||||
|
|
||||||
|
# [1.83.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.6...@standardnotes/auth-server@1.83.0) (2023-01-19)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* include roles in offline features request ([#418](https://github.com/standardnotes/server/issues/418)) ([2e7fdd9](https://github.com/standardnotes/server/commit/2e7fdd93dd3b07e0a9f2e72521251af1d15660d4))
|
||||||
|
|
||||||
|
## [1.82.6](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.5...@standardnotes/auth-server@1.82.6) (2023-01-19)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* expected value for unit test ([#417](https://github.com/standardnotes/server/issues/417)) ([ec5429e](https://github.com/standardnotes/server/commit/ec5429eeec8ea6422ed6e0e798e0f16aa9f78c95))
|
||||||
|
|
||||||
|
## [1.82.5](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.4...@standardnotes/auth-server@1.82.5) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/auth-server
|
||||||
|
|
||||||
|
## [1.82.4](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.3...@standardnotes/auth-server@1.82.4) (2023-01-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/auth-server
|
||||||
|
|
||||||
## [1.82.3](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.2...@standardnotes/auth-server@1.82.3) (2023-01-18)
|
## [1.82.3](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.2...@standardnotes/auth-server@1.82.3) (2023-01-18)
|
||||||
|
|
||||||
**Note:** Version bump only for package @standardnotes/auth-server
|
**Note:** Version bump only for package @standardnotes/auth-server
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@standardnotes/auth-server",
|
"name": "@standardnotes/auth-server",
|
||||||
"version": "1.82.3",
|
"version": "1.84.7",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0 <19.0.0"
|
"node": ">=18.0.0 <19.0.0"
|
||||||
},
|
},
|
||||||
@@ -37,14 +37,14 @@
|
|||||||
"@sentry/tracing": "^7.28.1",
|
"@sentry/tracing": "^7.28.1",
|
||||||
"@simplewebauthn/server": "^6.2.2",
|
"@simplewebauthn/server": "^6.2.2",
|
||||||
"@simplewebauthn/typescript-types": "^6.3.0-alpha.1",
|
"@simplewebauthn/typescript-types": "^6.3.0-alpha.1",
|
||||||
"@standardnotes/api": "^1.19.0",
|
"@standardnotes/api": "^1.24.4",
|
||||||
"@standardnotes/common": "workspace:*",
|
"@standardnotes/common": "workspace:*",
|
||||||
"@standardnotes/domain-core": "workspace:^",
|
"@standardnotes/domain-core": "workspace:^",
|
||||||
"@standardnotes/domain-events": "workspace:*",
|
"@standardnotes/domain-events": "workspace:*",
|
||||||
"@standardnotes/domain-events-infra": "workspace:*",
|
"@standardnotes/domain-events-infra": "workspace:*",
|
||||||
"@standardnotes/features": "^1.58.0",
|
"@standardnotes/features": "^1.58.4",
|
||||||
"@standardnotes/predicates": "workspace:*",
|
"@standardnotes/predicates": "workspace:*",
|
||||||
"@standardnotes/responses": "^1.6.39",
|
"@standardnotes/responses": "^1.13.4",
|
||||||
"@standardnotes/security": "workspace:*",
|
"@standardnotes/security": "workspace:*",
|
||||||
"@standardnotes/settings": "workspace:*",
|
"@standardnotes/settings": "workspace:*",
|
||||||
"@standardnotes/sncrypto-common": "^1.9.0",
|
"@standardnotes/sncrypto-common": "^1.9.0",
|
||||||
@@ -81,8 +81,8 @@
|
|||||||
"@types/prettyjson": "^0.0.30",
|
"@types/prettyjson": "^0.0.30",
|
||||||
"@types/ua-parser-js": "^0.7.36",
|
"@types/ua-parser-js": "^0.7.36",
|
||||||
"@types/uuid": "^8.3.0",
|
"@types/uuid": "^8.3.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.32.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"jest": "^29.1.2",
|
"jest": "^29.1.2",
|
||||||
"nodemon": "^2.0.19",
|
"nodemon": "^2.0.19",
|
||||||
|
|||||||
@@ -121,14 +121,7 @@ import { RedisOfflineSubscriptionTokenRepository } from '../Infra/Redis/RedisOff
|
|||||||
import { CreateOfflineSubscriptionToken } from '../Domain/UseCase/CreateOfflineSubscriptionToken/CreateOfflineSubscriptionToken'
|
import { CreateOfflineSubscriptionToken } from '../Domain/UseCase/CreateOfflineSubscriptionToken/CreateOfflineSubscriptionToken'
|
||||||
import { AuthenticateOfflineSubscriptionToken } from '../Domain/UseCase/AuthenticateOfflineSubscriptionToken/AuthenticateOfflineSubscriptionToken'
|
import { AuthenticateOfflineSubscriptionToken } from '../Domain/UseCase/AuthenticateOfflineSubscriptionToken/AuthenticateOfflineSubscriptionToken'
|
||||||
import { SubscriptionCancelledEventHandler } from '../Domain/Handler/SubscriptionCancelledEventHandler'
|
import { SubscriptionCancelledEventHandler } from '../Domain/Handler/SubscriptionCancelledEventHandler'
|
||||||
import {
|
import { ContentDecoder, ContentDecoderInterface, ProtocolVersion } from '@standardnotes/common'
|
||||||
ContentDecoder,
|
|
||||||
ContentDecoderInterface,
|
|
||||||
ProtocolVersion,
|
|
||||||
Uuid,
|
|
||||||
UuidValidator,
|
|
||||||
ValidatorInterface,
|
|
||||||
} from '@standardnotes/common'
|
|
||||||
import { GetUserOfflineSubscription } from '../Domain/UseCase/GetUserOfflineSubscription/GetUserOfflineSubscription'
|
import { GetUserOfflineSubscription } from '../Domain/UseCase/GetUserOfflineSubscription/GetUserOfflineSubscription'
|
||||||
import { ApiGatewayOfflineAuthMiddleware } from '../Controller/ApiGatewayOfflineAuthMiddleware'
|
import { ApiGatewayOfflineAuthMiddleware } from '../Controller/ApiGatewayOfflineAuthMiddleware'
|
||||||
import { UserEmailChangedEventHandler } from '../Domain/Handler/UserEmailChangedEventHandler'
|
import { UserEmailChangedEventHandler } from '../Domain/Handler/UserEmailChangedEventHandler'
|
||||||
@@ -532,7 +525,6 @@ export class ContainerConfigLoader {
|
|||||||
.bind<SelectorInterface<boolean>>(TYPES.BooleanSelector)
|
.bind<SelectorInterface<boolean>>(TYPES.BooleanSelector)
|
||||||
.toConstantValue(new DeterministicSelector<boolean>())
|
.toConstantValue(new DeterministicSelector<boolean>())
|
||||||
container.bind<UserSubscriptionServiceInterface>(TYPES.UserSubscriptionService).to(UserSubscriptionService)
|
container.bind<UserSubscriptionServiceInterface>(TYPES.UserSubscriptionService).to(UserSubscriptionService)
|
||||||
container.bind<ValidatorInterface<Uuid>>(TYPES.UuidValidator).toConstantValue(new UuidValidator())
|
|
||||||
|
|
||||||
if (env.get('SNS_TOPIC_ARN', true)) {
|
if (env.get('SNS_TOPIC_ARN', true)) {
|
||||||
container
|
container
|
||||||
|
|||||||
@@ -207,7 +207,6 @@ const TYPES = {
|
|||||||
ProtocolVersionSelector: Symbol.for('ProtocolVersionSelector'),
|
ProtocolVersionSelector: Symbol.for('ProtocolVersionSelector'),
|
||||||
BooleanSelector: Symbol.for('BooleanSelector'),
|
BooleanSelector: Symbol.for('BooleanSelector'),
|
||||||
UserSubscriptionService: Symbol.for('UserSubscriptionService'),
|
UserSubscriptionService: Symbol.for('UserSubscriptionService'),
|
||||||
UuidValidator: Symbol.for('UuidValidator'),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default TYPES
|
export default TYPES
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { ApiGatewayAuthMiddleware } from './ApiGatewayAuthMiddleware'
|
|||||||
import { NextFunction, Request, Response } from 'express'
|
import { NextFunction, Request, Response } from 'express'
|
||||||
import { Logger } from 'winston'
|
import { Logger } from 'winston'
|
||||||
import { CrossServiceTokenData, TokenDecoderInterface } from '@standardnotes/security'
|
import { CrossServiceTokenData, TokenDecoderInterface } from '@standardnotes/security'
|
||||||
import { RoleName } from '@standardnotes/common'
|
import { RoleName } from '@standardnotes/domain-core'
|
||||||
|
|
||||||
describe('ApiGatewayAuthMiddleware', () => {
|
describe('ApiGatewayAuthMiddleware', () => {
|
||||||
let tokenDecoder: TokenDecoderInterface<CrossServiceTokenData>
|
let tokenDecoder: TokenDecoderInterface<CrossServiceTokenData>
|
||||||
@@ -28,7 +28,7 @@ describe('ApiGatewayAuthMiddleware', () => {
|
|||||||
roles: [
|
roles: [
|
||||||
{
|
{
|
||||||
uuid: 'a-b-c',
|
uuid: 'a-b-c',
|
||||||
name: RoleName.CoreUser,
|
name: RoleName.NAMES.CoreUser,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
@@ -56,7 +56,7 @@ describe('ApiGatewayAuthMiddleware', () => {
|
|||||||
expect(response.locals.roles).toEqual([
|
expect(response.locals.roles).toEqual([
|
||||||
{
|
{
|
||||||
uuid: 'a-b-c',
|
uuid: 'a-b-c',
|
||||||
name: RoleName.CoreUser,
|
name: RoleName.NAMES.CoreUser,
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
|
AppleIAPConfirmRequestParams,
|
||||||
|
AppleIAPConfirmResponse,
|
||||||
HttpStatusCode,
|
HttpStatusCode,
|
||||||
SubscriptionInviteAcceptRequestParams,
|
SubscriptionInviteAcceptRequestParams,
|
||||||
SubscriptionInviteAcceptResponse,
|
SubscriptionInviteAcceptResponse,
|
||||||
@@ -12,7 +14,6 @@ import {
|
|||||||
SubscriptionInviteResponse,
|
SubscriptionInviteResponse,
|
||||||
SubscriptionServerInterface,
|
SubscriptionServerInterface,
|
||||||
} from '@standardnotes/api'
|
} from '@standardnotes/api'
|
||||||
import { RoleName } from '@standardnotes/common'
|
|
||||||
import { inject, injectable } from 'inversify'
|
import { inject, injectable } from 'inversify'
|
||||||
|
|
||||||
import TYPES from '../Bootstrap/Types'
|
import TYPES from '../Bootstrap/Types'
|
||||||
@@ -36,6 +37,10 @@ export class SubscriptionInvitesController implements SubscriptionServerInterfac
|
|||||||
private listSharedSubscriptionInvitations: ListSharedSubscriptionInvitations,
|
private listSharedSubscriptionInvitations: ListSharedSubscriptionInvitations,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
|
async confirmAppleIAP(_params: AppleIAPConfirmRequestParams): Promise<AppleIAPConfirmResponse> {
|
||||||
|
throw new Error('Method implemented on the payments service.')
|
||||||
|
}
|
||||||
|
|
||||||
async acceptInvite(params: SubscriptionInviteAcceptRequestParams): Promise<SubscriptionInviteAcceptResponse> {
|
async acceptInvite(params: SubscriptionInviteAcceptRequestParams): Promise<SubscriptionInviteAcceptResponse> {
|
||||||
const result = await this.acceptSharedSubscriptionInvitation.execute({
|
const result = await this.acceptSharedSubscriptionInvitation.execute({
|
||||||
sharedSubscriptionInvitationUuid: params.inviteUuid,
|
sharedSubscriptionInvitationUuid: params.inviteUuid,
|
||||||
@@ -88,7 +93,7 @@ export class SubscriptionInvitesController implements SubscriptionServerInterfac
|
|||||||
inviterEmail: params.inviterEmail as string,
|
inviterEmail: params.inviterEmail as string,
|
||||||
inviterUuid: params.inviterUuid as string,
|
inviterUuid: params.inviterUuid as string,
|
||||||
inviteeIdentifier: params.identifier,
|
inviteeIdentifier: params.identifier,
|
||||||
inviterRoles: params.inviterRoles as RoleName[],
|
inviterRoles: params.inviterRoles as string[],
|
||||||
})
|
})
|
||||||
|
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { CrossServiceTokenData, TokenEncoderInterface } from '@standardnotes/security'
|
import { CrossServiceTokenData, TokenEncoderInterface } from '@standardnotes/security'
|
||||||
import { ErrorTag, RoleName } from '@standardnotes/common'
|
import { ErrorTag } from '@standardnotes/common'
|
||||||
import { SettingName } from '@standardnotes/settings'
|
import { SettingName } from '@standardnotes/settings'
|
||||||
import { Request, Response } from 'express'
|
import { Request, Response } from 'express'
|
||||||
import { inject } from 'inversify'
|
import { inject } from 'inversify'
|
||||||
@@ -101,10 +101,10 @@ export class SubscriptionTokensController extends BaseHttpController {
|
|||||||
return <{ uuid: string; email: string }>await this.userProjector.projectSimple(user)
|
return <{ uuid: string; email: string }>await this.userProjector.projectSimple(user)
|
||||||
}
|
}
|
||||||
|
|
||||||
private async projectRoles(roles: Array<Role>): Promise<Array<{ uuid: string; name: RoleName }>> {
|
private async projectRoles(roles: Array<Role>): Promise<Array<{ uuid: string; name: string }>> {
|
||||||
const roleProjections = []
|
const roleProjections = []
|
||||||
for (const role of roles) {
|
for (const role of roles) {
|
||||||
roleProjections.push(<{ uuid: string; name: RoleName }>await this.roleProjector.projectSimple(role))
|
roleProjections.push(<{ uuid: string; name: string }>await this.roleProjector.projectSimple(role))
|
||||||
}
|
}
|
||||||
|
|
||||||
return roleProjections
|
return roleProjections
|
||||||
|
|||||||
@@ -4,27 +4,22 @@ import { Request, Response } from 'express'
|
|||||||
import { results } from 'inversify-express-utils'
|
import { results } from 'inversify-express-utils'
|
||||||
import { ValetTokenController } from './ValetTokenController'
|
import { ValetTokenController } from './ValetTokenController'
|
||||||
import { CreateValetToken } from '../Domain/UseCase/CreateValetToken/CreateValetToken'
|
import { CreateValetToken } from '../Domain/UseCase/CreateValetToken/CreateValetToken'
|
||||||
import { Uuid, ValidatorInterface } from '@standardnotes/common'
|
|
||||||
|
|
||||||
describe('ValetTokenController', () => {
|
describe('ValetTokenController', () => {
|
||||||
let createValetToken: CreateValetToken
|
let createValetToken: CreateValetToken
|
||||||
let uuidValidator: ValidatorInterface<Uuid>
|
|
||||||
let request: Request
|
let request: Request
|
||||||
let response: Response
|
let response: Response
|
||||||
|
|
||||||
const createController = () => new ValetTokenController(createValetToken, uuidValidator)
|
const createController = () => new ValetTokenController(createValetToken)
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
createValetToken = {} as jest.Mocked<CreateValetToken>
|
createValetToken = {} as jest.Mocked<CreateValetToken>
|
||||||
createValetToken.execute = jest.fn().mockReturnValue({ success: true, valetToken: 'foobar' })
|
createValetToken.execute = jest.fn().mockReturnValue({ success: true, valetToken: 'foobar' })
|
||||||
|
|
||||||
uuidValidator = {} as jest.Mocked<ValidatorInterface<Uuid>>
|
|
||||||
uuidValidator.validate = jest.fn().mockReturnValue(true)
|
|
||||||
|
|
||||||
request = {
|
request = {
|
||||||
body: {
|
body: {
|
||||||
operation: 'write',
|
operation: 'write',
|
||||||
resources: ['1-2-3/2-3-4'],
|
resources: [{ remoteIdentifier: '00000000-0000-0000-0000-000000000000' }],
|
||||||
},
|
},
|
||||||
} as jest.Mocked<Request>
|
} as jest.Mocked<Request>
|
||||||
|
|
||||||
@@ -42,13 +37,13 @@ describe('ValetTokenController', () => {
|
|||||||
expect(createValetToken.execute).toHaveBeenCalledWith({
|
expect(createValetToken.execute).toHaveBeenCalledWith({
|
||||||
operation: 'write',
|
operation: 'write',
|
||||||
userUuid: '1-2-3',
|
userUuid: '1-2-3',
|
||||||
resources: ['1-2-3/2-3-4'],
|
resources: [{ remoteIdentifier: '00000000-0000-0000-0000-000000000000' }],
|
||||||
})
|
})
|
||||||
expect(await result.content.readAsStringAsync()).toEqual('{"success":true,"valetToken":"foobar"}')
|
expect(await result.content.readAsStringAsync()).toEqual('{"success":true,"valetToken":"foobar"}')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should not create a valet token if the remote resource identifier is not a valid uuid', async () => {
|
it('should not create a valet token if the remote resource identifier is not a valid uuid', async () => {
|
||||||
uuidValidator.validate = jest.fn().mockReturnValue(false)
|
request.body.resources = ['00000000-0000-0000-0000-000000000000', 'invalid-uuid']
|
||||||
|
|
||||||
const httpResponse = <results.JsonResult>await createController().create(request, response)
|
const httpResponse = <results.JsonResult>await createController().create(request, response)
|
||||||
const result = await httpResponse.executeAsync()
|
const result = await httpResponse.executeAsync()
|
||||||
@@ -68,7 +63,7 @@ describe('ValetTokenController', () => {
|
|||||||
expect(createValetToken.execute).toHaveBeenCalledWith({
|
expect(createValetToken.execute).toHaveBeenCalledWith({
|
||||||
operation: 'read',
|
operation: 'read',
|
||||||
userUuid: '1-2-3',
|
userUuid: '1-2-3',
|
||||||
resources: ['1-2-3/2-3-4'],
|
resources: [{ remoteIdentifier: '00000000-0000-0000-0000-000000000000' }],
|
||||||
})
|
})
|
||||||
expect(await result.content.readAsStringAsync()).toEqual('{"success":true,"valetToken":"foobar"}')
|
expect(await result.content.readAsStringAsync()).toEqual('{"success":true,"valetToken":"foobar"}')
|
||||||
})
|
})
|
||||||
@@ -106,7 +101,7 @@ describe('ValetTokenController', () => {
|
|||||||
expect(createValetToken.execute).toHaveBeenCalledWith({
|
expect(createValetToken.execute).toHaveBeenCalledWith({
|
||||||
operation: 'write',
|
operation: 'write',
|
||||||
userUuid: '1-2-3',
|
userUuid: '1-2-3',
|
||||||
resources: ['1-2-3/2-3-4'],
|
resources: [{ remoteIdentifier: '00000000-0000-0000-0000-000000000000' }],
|
||||||
})
|
})
|
||||||
|
|
||||||
expect(await result.content.readAsStringAsync()).toEqual('{"success":false}')
|
expect(await result.content.readAsStringAsync()).toEqual('{"success":false}')
|
||||||
|
|||||||
@@ -11,15 +11,13 @@ import { CreateValetTokenPayload } from '@standardnotes/responses'
|
|||||||
|
|
||||||
import TYPES from '../Bootstrap/Types'
|
import TYPES from '../Bootstrap/Types'
|
||||||
import { CreateValetToken } from '../Domain/UseCase/CreateValetToken/CreateValetToken'
|
import { CreateValetToken } from '../Domain/UseCase/CreateValetToken/CreateValetToken'
|
||||||
import { ErrorTag, Uuid, ValidatorInterface } from '@standardnotes/common'
|
import { ErrorTag } from '@standardnotes/common'
|
||||||
import { ValetTokenOperation } from '@standardnotes/security'
|
import { ValetTokenOperation } from '@standardnotes/security'
|
||||||
|
import { Uuid } from '@standardnotes/domain-core'
|
||||||
|
|
||||||
@controller('/valet-tokens', TYPES.ApiGatewayAuthMiddleware)
|
@controller('/valet-tokens', TYPES.ApiGatewayAuthMiddleware)
|
||||||
export class ValetTokenController extends BaseHttpController {
|
export class ValetTokenController extends BaseHttpController {
|
||||||
constructor(
|
constructor(@inject(TYPES.CreateValetToken) private createValetKey: CreateValetToken) {
|
||||||
@inject(TYPES.CreateValetToken) private createValetKey: CreateValetToken,
|
|
||||||
@inject(TYPES.UuidValidator) private uuidValitor: ValidatorInterface<Uuid>,
|
|
||||||
) {
|
|
||||||
super()
|
super()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,7 +38,8 @@ export class ValetTokenController extends BaseHttpController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const resource of payload.resources) {
|
for (const resource of payload.resources) {
|
||||||
if (!this.uuidValitor.validate(resource.remoteIdentifier)) {
|
const resourceUuidOrError = Uuid.create(resource.remoteIdentifier)
|
||||||
|
if (resourceUuidOrError.isFailed()) {
|
||||||
return this.json(
|
return this.json(
|
||||||
{
|
{
|
||||||
error: {
|
error: {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { ProtocolVersion, Uuid } from '@standardnotes/common'
|
import { ProtocolVersion } from '@standardnotes/common'
|
||||||
|
|
||||||
export interface AuthResponse {
|
export interface AuthResponse {
|
||||||
user: {
|
user: {
|
||||||
uuid: Uuid
|
uuid: string
|
||||||
email: string
|
email: string
|
||||||
protocolVersion: ProtocolVersion
|
protocolVersion: ProtocolVersion
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user