Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@electron-forge/publisher-base
Advanced tools
@electron-forge/publisher-base is a base class for creating custom publishers in Electron Forge. It provides a framework for defining how to publish Electron applications to various distribution platforms.
Custom Publisher Creation
This feature allows developers to create custom publishers by extending the PublisherBase class. The publish method can be overridden to define specific publishing logic for different platforms.
class MyCustomPublisher extends PublisherBase {
async publish({ makeResults, packageJSON, config }) {
// Custom publishing logic here
}
}
Configuration Handling
This feature provides a way to handle configuration settings for custom publishers. Developers can specify platform-specific configurations and other necessary parameters for the publishing process.
const config = {
platforms: ['win32', 'darwin'],
config: {
myPublisher: {
apiKey: 'your-api-key'
}
}
};
electron-builder is a complete solution to package and build a ready-for-distribution Electron app. It includes publishing capabilities similar to @electron-forge/publisher-base but offers a more comprehensive set of features for building and packaging applications.
electron-publish is a standalone tool for publishing Electron applications. It provides similar functionality to @electron-forge/publisher-base but is designed to work independently of the Electron Forge ecosystem.
6.0.0-beta.54 (2020-10-20)
FAQs
Base publisher for Electron Forge
The npm package @electron-forge/publisher-base receives a total of 127,515 weekly downloads. As such, @electron-forge/publisher-base popularity was classified as popular.
We found that @electron-forge/publisher-base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.