Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

supabase

Package Overview
Dependencies
Maintainers
1
Versions
938
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supabase - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

2

package.json
{
"name": "supabase",
"version": "1.4.2",
"version": "1.4.3",
"description": "Supabase CLI",

@@ -5,0 +5,0 @@ "repository": "supabase/cli",

@@ -7,3 +7,3 @@ # Supabase CLI (v1)

This repository contains all the functionality for our CLI.
This repository contains all the functionality for Supabase CLI.

@@ -23,2 +23,16 @@ - [x] Running Supabase locally

#### NodeJS
Available via [NPM](https://www.npmjs.com). To install:
```bash
npm i supabase
```
To run:
```bash
npx supabase -h
```
#### macOS

@@ -25,0 +39,0 @@

@@ -76,7 +76,2 @@ #!/usr/bin/env node

// Binary name on Windows has .exe suffix
if (process.platform === "win32") {
binName += ".exe";
}
return { binName, binPath, url, version };

@@ -97,6 +92,7 @@ }

// First we will Un-GZip, then we will untar. So once untar is completed,
// binary is downloaded into `downloadPath`. Verify the binary and call it good
// First we will Un-GZip, then we will untar.
const ungz = zlib.createGunzip();
const untar = tar.x({ cwd: opts.binPath }, [opts.binName]);
// Binary name on Windows has .exe suffix
const ext = process.platform === "win32" ? ".exe" : "";
const untar = tar.x({ cwd: opts.binPath }, [opts.binName + ext]);

@@ -111,2 +107,8 @@ console.info("Downloading", opts.url);

// Creates a hardlink for npm to find the binary on Windows
if (ext) {
const bin = path.join(opts.binPath, opts.binName);
await fs.promises.link(bin + ext, bin);
}
// TODO: verify checksums

@@ -113,0 +115,0 @@ console.info("Installed Supabase CLI successfully");

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