Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@d-dev/bin-upload-darwin-arm64

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d-dev/bin-upload-darwin-arm64 - npm Package Compare versions

Comparing version
0.0.8
to
0.0.9
+1
-1
package.json
{
"name": "@d-dev/bin-upload-darwin-arm64",
"version": "0.0.8",
"version": "0.0.9",
"description": "Publish binaries to npm, pypi, and github releases.",

@@ -5,0 +5,0 @@ "author": "Derek Worthen <worthend.derek@gmail.com>",

@@ -9,4 +9,4 @@ # Bin Upload

- **npm** — Publishes a main package that depend on platform-specific binary packages using [optionalDependencies](https://docs.npmjs.com/cli/v11/configuring-npm/package-json#optionaldependencies). When the main package is installed, the corresponding platform-specific package containing the actual binary is also installed. This allows for downloading and installing only the necessary binary without relying on post-install scripts, which some package managers do not run for dependencies.
- **PyPI** — Builds wheel (`.whl`) packages for each platform-specific tag. Tools such as `pip` and `uv` automatically install the correct wheel for the machine installing the package.
- **npm** — Publishes a main package that depend on platform-specific binary packages using [optionalDependencies](https://docs.npmjs.com/cli/v11/configuring-npm/package-json#optionaldependencies).
- **PyPI** — Builds wheel (`.whl`) packages for each platform-specific tag.
- **GitHub Releases** — Creates releases and uploads archive assets (`.tar.gz` or `.zip`).

@@ -43,2 +43,9 @@

**Requirements**
The following must be installed and available on your path.
- [npm](https://www.npmjs.com/): if publishing to npm
- [uv](https://docs.astral.sh/uv/): if publishing to pypi
1. **Initialize a configuration file:**

@@ -257,2 +264,4 @@

Bin upload publishes a main npm package that depend on platform-specific binary packages using [optionalDependencies](https://docs.npmjs.com/cli/v11/configuring-npm/package-json#optionaldependencies). When the main package is installed, the corresponding platform-specific package containing the actual binary is also installed. This allows for downloading and installing only the necessary binary without relying on post-install scripts, which some package managers do not run for dependencies.
> **Note:** musl Linux binaries cannot be distinguished from glibc Linux binaries via `process.platform`/`process.arch`, so they cannot be published to npm.

@@ -262,3 +271,3 @@

The `pack` command builds platform-specific `.whl` (wheel) files. Each wheel contains:
The `pack` command builds platform-specific wheel (`.whl`) files. Each wheel contains:

@@ -268,2 +277,4 @@ - A Python wrapper module that locates and executes the bundled binary.

Bin upload builds and published wheel (`.whl`) packages for each platform-specific tag. Only one PyPi package is created containing the platform-specific wheel files (unlike npm where each binary is published to its own npm package). Tools such as `pip` and `uv` automatically install the correct wheel for the machine installing the package.
### GitHub Releases

@@ -273,2 +284,6 @@

### Publishing
The [npm](https://www.npmjs.com/) cli is used to publish to npm while [uv](https://docs.astral.sh/uv/) is used to publish to [PyPi](https://pypi.org/).
## Environment Variables

@@ -275,0 +290,0 @@

Sorry, the diff of this file is not supported yet