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

@based/cli

Package Overview
Dependencies
Maintainers
7
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/cli - npm Package Compare versions

Comparing version 6.0.2 to 6.1.0-alpha

11

dist/src/commands/deploy/index.js

@@ -14,2 +14,3 @@ import { readdir } from 'fs/promises';

import { requireFromString } from '../../utils/requireFromString.js';
import { bucketId } from '@based/ids';
const require = global.require || createRequire(import.meta.url);

@@ -159,3 +160,9 @@ // const discover = require('@based/opts')

? `http://localhost:1111/${envId}`
: `https://based-files-${cluster}.based.dev/${envId}`;
: `https://${bucketId({
cluster,
env,
org,
project,
type: 'files',
})}.based.dev`;
const opts = {

@@ -210,3 +217,3 @@ publicPath,

mimeType: mimeTypes.lookup(fileName.substring(fileName.lastIndexOf('.'))),
payload: { id, fileKey: fileName },
payload: { id },
});

@@ -213,0 +220,0 @@ return { path, url };

@@ -0,3 +1,4 @@

/// <reference types="node" resolution-mode="require"/>
import http from 'http';
declare const _default: (port: number) => http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
export default _default;

2

dist/src/commands/secrets_/get/cmd.js

@@ -22,3 +22,3 @@ import input from '@inquirer/input';

else {
console.info(pc.dim(`Geting secret ${pc.blue(key)}`));
console.info(pc.dim(`Getting secret ${pc.blue(key)}`));
}

@@ -25,0 +25,0 @@ const result = await getSecret({ cluster, org, project, env, apiKey, key });

{
"name": "@based/cli",
"version": "6.0.2",
"version": "6.1.0-alpha",
"description": "",

@@ -37,5 +37,5 @@ "bin": "bin/cmd.js",

"dependencies": {
"@based/client": "5.0.1",
"@based/type-gen": "0.0.5",
"@based/server": "7.0.2",
"@based/client": "5.3.0",
"@based/type-gen": "0.0.4",
"@based/server": "7.1.0",
"esbuild-plugin-polyfill-node": "0.3.0",

@@ -42,0 +42,0 @@ "@inquirer/confirm": "1.0.11",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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