Socket
Socket
Sign inDemoInstall

@yao-pkg/pkg

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yao-pkg/pkg - npm Package Compare versions

Comparing version 5.9.1 to 5.9.2

4

package.json
{
"name": "@yao-pkg/pkg",
"version": "5.9.1",
"version": "5.9.2",
"description": "Package your Node.js project into an executable",

@@ -28,3 +28,3 @@ "main": "lib-es5/index.js",

"@babel/types": "7.23.0",
"@yao-pkg/pkg-fetch": "3.5.4",
"@yao-pkg/pkg-fetch": "3.5.5",
"chalk": "^4.1.2",

@@ -31,0 +31,0 @@ "fs-extra": "^9.1.0",

@@ -278,8 +278,10 @@ **Disclaimer: `pkg` was created for use within containers and is not intended for use in serverless environments. For those using Vercel, this means that there is no requirement to use `pkg` in your projects as the benefits it provides are not applicable to the platform.**

| Var | Description |
| -------------- | ----------------------------------------------------------------------------------------- |
| PKG_CACHE_PATH | Used to specify a custom path for node binaries cache folder. Default is `~/.pkg-cache` |
| PKG_IGNORE_TAG | Allows to ignore additional folder created on `PKG_CACHE_PATH` matching pkg-fetch version |
| MAKE_JOB_COUNT | Allow configuring number of processes used for compiling |
All pkg-cache [environment vars](https://github.com/yao-pkg/pkg-fetch#environment), plus:
| Var | Description |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `CHDIR` | Override process `chdir` |
| `PKG_STRICT_VER` | Turn on some assertion in the walker code to assert that each file content/state that we appending to the virtual file system applies to a real file, not a symlink. |
| `PKG_EXECPATH` | Used internally by `pkg`, do not override |
Examples

@@ -286,0 +288,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc