node-oom-heapdump 3.2.3 → 3.3.0

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.
@@ -22,20 +22,42 @@ jobs:
22
22
  - name: Add msbuild to PATH
23
23
  if: matrix.os == 'windows-latest'
24
24
  uses: microsoft/setup-msbuild@v1.1
25
- - name: patch node gyp on windows to support Visual Studio 2019
25
+ - name: Install node-gyp
26
26
  if: matrix.os == 'windows-latest'
27
27
  shell: powershell
28
28
  run: |
29
29
  npm install --global npm@latest
30
30
  npm install --global node-gyp@latest
31
- npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
32
31
  - name: build using node-pre-gyp
33
32
  run: |
34
33
  npm install --build-from-source
35
- ./node_modules/.bin/node-pre-gyp package
34
+ npx node-pre-gyp package
36
35
  - name: Upload native binaries for Node ${{ matrix.node-version }} for ${{ matrix.os }}
37
36
  uses: csexton/release-asset-action@v2
38
37
  with:
39
38
  pattern: "build/stage/*.tar.gz"
40
39
  github-token: ${{ secrets.GITHUB_TOKEN }}
41
40
  release-url: ${{ github.event.release.upload_url }}
41
+
42
+ alpine-release:
43
+ runs-on: ubuntu-latest
44
+ strategy:
45
+ matrix:
46
+ node-version: [18, 20, 22]
47
+ container: node:${{ matrix.node-version }}-alpine3.20
48
+ steps:
49
+ - uses: actions/checkout@v2
50
+ - name: install build deps
51
+ run: |
52
+ apk add g++ make python3
53
+ - name: build using node-pre-gyp
54
+ run: |
55
+ npm install
56
+ npx node-pre-gyp rebuild
57
+ npx node-pre-gyp package
58
+ - name: Upload native binaries for Node ${{ matrix.node-version }} for alpine
59
+ uses: csexton/release-asset-action@v2
60
+ with:
61
+ pattern: "build/stage/*.tar.gz"
62
+ github-token: ${{ secrets.GITHUB_TOKEN }}
63
+ release-url: ${{ github.event.release.upload_url }}
package/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- 16-05-2024 Paul Rütter
1
+ 10-06-2024 Paul Rütter
2
+ - 3.3.0
3
+ - Add prebuilt binaries for Alpine, https://github.com/blueconic/node-oom-heapdump/pull/16
4
+
5
+ 16-05-2024 Paul Rütter
2
6
  - 3.2.3
3
7
  - Release to fix prebuilt binaries for node 22.x
4
8
 
package/build/binding.sln CHANGED
@@ -4,14 +4,14 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "node_oom_heapdump_native",
4
4
  EndProject
5
5
  Global
6
6
  GlobalSection(SolutionConfigurationPlatforms) = preSolution
7
- Release|x64 = Release|x64
8
7
  Debug|x64 = Debug|x64
8
+ Release|x64 = Release|x64
9
9
  EndGlobalSection
10
10
  GlobalSection(ProjectConfigurationPlatforms) = postSolution
11
- {B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}.Release|x64.ActiveCfg = Release|x64
12
- {B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}.Release|x64.Build.0 = Release|x64
13
11
  {B44BD8E7-8AB3-68F6-9D96-154D16CEC9C0}.Debug|x64.ActiveCfg = Debug|x64
14
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
15
  EndGlobalSection
16
16
  GlobalSection(SolutionProperties) = preSolution
17
17
  HideSolutionNode = FALSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-oom-heapdump",
3
- "version": "3.2.3",
3
+ "version": "3.3.0",
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": {
@@ -16,6 +16,7 @@
16
16
  "binary": {
17
17
  "module_name": "node_oom_heapdump_native",
18
18
  "module_path": "./build/Release",
19
+ "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz",
19
20
  "host": "https://github.com/blueconic/node-oom-heapdump/releases/download/{version}"
20
21
  },
21
22
  "engines": {
@@ -47,4 +48,4 @@
47
48
  "require-main-filename": "^2.0.0",
48
49
  "ws": "^8.16.0"
49
50
  }
50
- }
51
+ }