node-oom-heapdump 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- 27-10-2023 Paul Rütter
1
+ 25-04-2024 Paul Rütter
2
+ - 3.2.2
3
+ - Release to update dependencies
4
+
5
+ 27-10-2023 Paul Rütter
2
6
  - 3.2.0
3
7
  - https://github.com/blueconic/node-oom-heapdump/issues/31: Node20 support
4
8
  - Change native code to use different method signature for Node20 and above, remain compatible for Node18 and below.
package/README.md CHANGED
@@ -5,7 +5,7 @@ Node module which will create a V8 heap snapshot right before an "Out of Memory"
5
5
 
6
6
  It can also create heapdumps and CPU profiles on request like 'v8-profiler', but does this off-process so it doesn't interfere with execution of the main process.
7
7
 
8
- Tested on Node.js 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x and 18.x.
8
+ Tested on Node.js 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x, 18.x and 20.x.
9
9
  No support for Node.js < 10.x at the moment in version 3.0.0, use version 2.2.0 for if needed.
10
10
 
11
11
  Also comes with prebuilt binaries (hosted on Github releases), thanks to Stuart Miller (https://github.com/spmiller).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-oom-heapdump",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Create a V8 heap snapshot when an \"Out of Memory\" error occurs, or create a heap snapshot or CPU profile on request.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -19,7 +19,7 @@
19
19
  "host": "https://github.com/blueconic/node-oom-heapdump/releases/download/{version}"
20
20
  },
21
21
  "engines": {
22
- "node": ">=7.0.0"
22
+ "node": ">=10.0.0"
23
23
  },
24
24
  "keywords": [
25
25
  "nodejs",
@@ -43,8 +43,8 @@
43
43
  "@mapbox/node-pre-gyp": "^1.0.11",
44
44
  "bindings": "^1.5.0",
45
45
  "chrome-remote-interface": "^0.33.0",
46
- "nan": "^2.18.0",
46
+ "nan": "^2.19.0",
47
47
  "require-main-filename": "^2.0.0",
48
- "ws": "^8.14.2"
48
+ "ws": "^8.16.0"
49
49
  }
50
50
  }
package/build/binding.sln DELETED
@@ -1,19 +0,0 @@
1
- Microsoft Visual Studio Solution File, Format Version 12.00
2
- # Visual Studio 2015
3
- Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "node_oom_heapdump_native", "node_oom_heapdump_native.vcxproj", "{B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}"
4
- EndProject
5
- Global
6
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
7
- Debug|x64 = Debug|x64
8
- Release|x64 = Release|x64
9
- EndGlobalSection
10
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
11
- {B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}.Debug|x64.ActiveCfg = Debug|x64
12
- {B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}.Debug|x64.Build.0 = Debug|x64
13
- {B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}.Release|x64.ActiveCfg = Release|x64
14
- {B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}.Release|x64.Build.0 = Release|x64
15
- EndGlobalSection
16
- GlobalSection(SolutionProperties) = preSolution
17
- HideSolutionNode = FALSE
18
- EndGlobalSection
19
- EndGlobal
@@ -1,145 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <ItemGroup Label="ProjectConfigurations">
4
- <ProjectConfiguration Include="Debug|x64">
5
- <Configuration>Debug</Configuration>
6
- <Platform>x64</Platform>
7
- </ProjectConfiguration>
8
- <ProjectConfiguration Include="Release|x64">
9
- <Configuration>Release</Configuration>
10
- <Platform>x64</Platform>
11
- </ProjectConfiguration>
12
- </ItemGroup>
13
- <PropertyGroup Label="Globals">
14
- <ProjectGuid>{B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}</ProjectGuid>
15
- <Keyword>Win32Proj</Keyword>
16
- <RootNamespace>node_oom_heapdump_native</RootNamespace>
17
- <IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
18
- <PreferredToolArchitecture>x64</PreferredToolArchitecture>
19
- <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
20
- </PropertyGroup>
21
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
22
- <PropertyGroup Label="Configuration">
23
- <ConfigurationType>DynamicLibrary</ConfigurationType>
24
- </PropertyGroup>
25
- <PropertyGroup Label="Locals">
26
- <PlatformToolset>v141</PlatformToolset>
27
- </PropertyGroup>
28
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
29
- <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props"/>
30
- <ImportGroup Label="ExtensionSettings"/>
31
- <ImportGroup Label="PropertySheets">
32
- <Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
33
- </ImportGroup>
34
- <PropertyGroup Label="UserMacros"/>
35
- <PropertyGroup>
36
- <ExecutablePath>$(ExecutablePath);$(MSBuildProjectDirectory)\..\bin\;$(MSBuildProjectDirectory)\..\bin\</ExecutablePath>
37
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
38
- <IntDir>$(Configuration)\obj\$(ProjectName)\</IntDir>
39
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
40
- <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
41
- <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
42
- <TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
43
- <TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
44
- <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
45
- <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
46
- <TargetName>$(ProjectName)</TargetName>
47
- <TargetPath>$(OutDir)\$(ProjectName).node</TargetPath>
48
- </PropertyGroup>
49
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
50
- <ClCompile>
51
- <AdditionalIncludeDirectories>C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\include\node;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\src;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\config;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\openssl\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\uv\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\zlib;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\v8\include;..\node_modules\nan;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
52
- <AdditionalOptions>/Zc:__cplusplus -std:c++17 %(AdditionalOptions)</AdditionalOptions>
53
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
54
- <BufferSecurityCheck>true</BufferSecurityCheck>
55
- <DebugInformationFormat>OldStyle</DebugInformationFormat>
56
- <DisableSpecificWarnings>4351;4355;4800;4251;4275;4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
57
- <ExceptionHandling>false</ExceptionHandling>
58
- <MinimalRebuild>false</MinimalRebuild>
59
- <MultiProcessorCompilation>true</MultiProcessorCompilation>
60
- <OmitFramePointers>false</OmitFramePointers>
61
- <Optimization>Disabled</Optimization>
62
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
63
- <PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_oom_heapdump_native;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;V8_DEPRECATION_WARNINGS;V8_IMMINENT_DEPRECATION_WARNINGS;_GLIBCXX_USE_CXX11_ABI=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;V8_ENABLE_CHECKS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
64
- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
65
- <StringPooling>true</StringPooling>
66
- <SuppressStartupBanner>true</SuppressStartupBanner>
67
- <TreatWarningAsError>false</TreatWarningAsError>
68
- <WarningLevel>Level3</WarningLevel>
69
- <WholeProgramOptimization>true</WholeProgramOptimization>
70
- </ClCompile>
71
- <Lib>
72
- <AdditionalOptions>/LTCG:INCREMENTAL %(AdditionalOptions)</AdditionalOptions>
73
- </Lib>
74
- <Link>
75
- <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;&quot;C:\\Users\\paul.BLUECONIC\\AppData\\Local\\node-gyp\\Cache\\20.9.0\\x64\\node.lib&quot;</AdditionalDependencies>
76
- <AdditionalOptions>/LTCG:INCREMENTAL %(AdditionalOptions)</AdditionalOptions>
77
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
78
- <GenerateDebugInformation>true</GenerateDebugInformation>
79
- <OptimizeReferences>true</OptimizeReferences>
80
- <OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
81
- <SuppressStartupBanner>true</SuppressStartupBanner>
82
- <TargetExt>.node</TargetExt>
83
- <TargetMachine>MachineX64</TargetMachine>
84
- </Link>
85
- <ResourceCompile>
86
- <AdditionalIncludeDirectories>C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\include\node;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\src;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\config;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\openssl\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\uv\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\zlib;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\v8\include;..\node_modules\nan;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
87
- <PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_oom_heapdump_native;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;V8_DEPRECATION_WARNINGS;V8_IMMINENT_DEPRECATION_WARNINGS;_GLIBCXX_USE_CXX11_ABI=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;V8_ENABLE_CHECKS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
88
- </ResourceCompile>
89
- </ItemDefinitionGroup>
90
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
91
- <ClCompile>
92
- <AdditionalIncludeDirectories>C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\include\node;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\src;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\config;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\openssl\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\uv\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\zlib;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\v8\include;..\node_modules\nan;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
93
- <AdditionalOptions>/Zc:__cplusplus -std:c++17 %(AdditionalOptions)</AdditionalOptions>
94
- <BufferSecurityCheck>true</BufferSecurityCheck>
95
- <DebugInformationFormat>OldStyle</DebugInformationFormat>
96
- <DisableSpecificWarnings>4351;4355;4800;4251;4275;4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
97
- <ExceptionHandling>false</ExceptionHandling>
98
- <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
99
- <FunctionLevelLinking>true</FunctionLevelLinking>
100
- <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
101
- <IntrinsicFunctions>true</IntrinsicFunctions>
102
- <MultiProcessorCompilation>true</MultiProcessorCompilation>
103
- <OmitFramePointers>true</OmitFramePointers>
104
- <Optimization>Full</Optimization>
105
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
106
- <PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_oom_heapdump_native;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;V8_DEPRECATION_WARNINGS;V8_IMMINENT_DEPRECATION_WARNINGS;_GLIBCXX_USE_CXX11_ABI=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions)</PreprocessorDefinitions>
107
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
108
- <RuntimeTypeInfo>false</RuntimeTypeInfo>
109
- <StringPooling>true</StringPooling>
110
- <SuppressStartupBanner>true</SuppressStartupBanner>
111
- <TreatWarningAsError>false</TreatWarningAsError>
112
- <WarningLevel>Level3</WarningLevel>
113
- <WholeProgramOptimization>true</WholeProgramOptimization>
114
- </ClCompile>
115
- <Lib>
116
- <AdditionalOptions>/LTCG:INCREMENTAL %(AdditionalOptions)</AdditionalOptions>
117
- </Lib>
118
- <Link>
119
- <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;&quot;C:\\Users\\paul.BLUECONIC\\AppData\\Local\\node-gyp\\Cache\\20.9.0\\x64\\node.lib&quot;</AdditionalDependencies>
120
- <AdditionalOptions>/LTCG:INCREMENTAL %(AdditionalOptions)</AdditionalOptions>
121
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
122
- <GenerateDebugInformation>true</GenerateDebugInformation>
123
- <OptimizeReferences>true</OptimizeReferences>
124
- <OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
125
- <SuppressStartupBanner>true</SuppressStartupBanner>
126
- <TargetExt>.node</TargetExt>
127
- <TargetMachine>MachineX64</TargetMachine>
128
- </Link>
129
- <ResourceCompile>
130
- <AdditionalIncludeDirectories>C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\include\node;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\src;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\config;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\openssl\openssl\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\uv\include;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\zlib;C:\Users\paul.BLUECONIC\AppData\Local\node-gyp\Cache\20.9.0\deps\v8\include;..\node_modules\nan;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
131
- <PreprocessorDefinitions>NODE_GYP_MODULE_NAME=node_oom_heapdump_native;USING_UV_SHARED=1;USING_V8_SHARED=1;V8_DEPRECATION_WARNINGS=1;V8_DEPRECATION_WARNINGS;V8_IMMINENT_DEPRECATION_WARNINGS;_GLIBCXX_USE_CXX11_ABI=1;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;OPENSSL_NO_PINSHARED;OPENSSL_THREADS;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
132
- </ResourceCompile>
133
- </ItemDefinitionGroup>
134
- <ItemGroup>
135
- <None Include="..\binding.gyp"/>
136
- </ItemGroup>
137
- <ItemGroup>
138
- <ClCompile Include="..\lib\node_oom_heapdump_native.cc">
139
- <ObjectFileName>$(IntDir)\lib\node_oom_heapdump_native.obj</ObjectFileName>
140
- </ClCompile>
141
- </ItemGroup>
142
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
143
- <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets"/>
144
- <ImportGroup Label="ExtensionTargets"/>
145
- </Project>
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <ItemGroup>
4
- <Filter Include="lib">
5
- <UniqueIdentifier>{2739B19F-16DF-601C-060A-FF86F6A40045}</UniqueIdentifier>
6
- </Filter>
7
- </ItemGroup>
8
- <ItemGroup>
9
- <ClCompile Include="..\lib\node_oom_heapdump_native.cc">
10
- <Filter>lib</Filter>
11
- </ClCompile>
12
- <None Include="..\binding.gyp"/>
13
- </ItemGroup>
14
- </Project>