Socket
Socket
Sign inDemoInstall

minidump

Package Overview
Dependencies
0
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    minidump

Read and process minidump file


Version published
Weekly downloads
75
decreased by-27.18%
Maintainers
1
Install size
15.7 MB
Created
Weekly downloads
 

Readme

Source

minidump - Process minidump files

CI

Installing

npm install minidump

Building (for development)

  • git clone --recurse-submodules https://github.com/electron/node-minidump
  • npm install

Docs

var minidump = require('minidump');

minidump.addSymbolPath(path1, ..., pathN)

Add search paths for looking up symbol files.

minidump.walkStack(minidumpFilePath, [symbolPaths, ]callback)

Get the stack trace from minidumpFilePath, the callback would be called with callback(error, report) upon completion.

minidump.dump(minidumpFilePath, callback)

Parse and dump the raw contents of the minidump as text using minidump_dump.

minidump.dumpSymbol(binaryPath, callback)

Dump debug symbols in minidump format from binaryPath, the callback would be called with callback(error, minidump) upon completion.

Releasing a new npm version

  • Ensure you have checked out the deps/breakpad submodule. If you don't check this out, then the source code of breakpad will not be included in the npm package, and it will not be possible to build from source.

  • Change the version in package.json, make a new git tag, and push it to GitHub.

  • Wait until the GitHub Actions on the main branch pass.

  • The artifacts of the latest GitHub Action run should be downloaded and placed under the bin folder (replacing the old folder if it exists).

    The bin folder should look like the following.

    bin
     |_linux-x64
    	|_dump_syms
    	|_minidump_dump
    	|_minidump_stackwalk
     |_darwin-x64
    	|_dump_syms
    	|_minidump_dump
    	|_minidump_stackwalk
    
  • Then:

    npm publish
    

FAQs

Last updated on 22 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc