Socket
Book a DemoInstallSign in
Socket

asar-dev

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asar-dev

Creating Electron app develppment packages with directory link management

0.0.2
latest
Source
npmnpm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Directly forked from https://github.com/electron/asar.

Purpose of this package is to offer a solution to the issue https://github.com/electron-userland/electron-builder/issues/675.
Error: /Users/user1/myapp/node_modules/myapp-lib: file links out of the package

We completely agree, we MUST not use npm link for a production package but in our dev environment in order to accelerate build and save disk space, we are used to call npm link and even sometime create symbolic link.

This version adds the support of 'out of the package' link. A new option is now available for 'pack' mode

  • --follow-links

expand symbolic link pointing out of the package to a directory in the asar file

asar-dev pack --follow-links ./build/app ./build/app.asar

Do not hesitate to suggest any ideas that could help in a development environment

BTW, this version should be faster on Windows, as current version checks file with a forward-slash and then re-check file with a back-slash. We are now working directly with the right path.sep

Keywords

electron

FAQs

Package last updated on 06 Jul 2021

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.