New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@browserbasehq/bb9

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browserbasehq/bb9 - npm Package Compare versions

Comparing version 1.2.17 to 1.2.18

11

dist/commands/init.js
import { createProjectStructure, promptForOptions } from "../utils/config.js";
import path from "path";
import chalk from "chalk";
import { readFileSync } from "fs";
export function registerInitCommand(program) {

@@ -17,3 +18,13 @@ const welcomeMessage = "Welcome to Browserbase CLI";

.option("--ignore-git", "Skip git checks and initialization")
.option("--version", "Version of the project")
.action(async (projectName, options) => {
if (options.version) {
console.log(chalk.yellow(border));
console.log(chalk.yellow(welcomeMessageFmt));
console.log(chalk.yellow(border));
const packageJson = JSON.parse(readFileSync(path.join(process.cwd(), "package.json"), "utf8"));
console.log(chalk.yellow(`Version: ${packageJson.version}`));
console.log(chalk.yellow(border));
return;
}
try {

@@ -20,0 +31,0 @@ const projectPath = path.join(process.cwd(), projectName);

2

package.json
{
"name": "@browserbasehq/bb9",
"version": "1.2.17",
"version": "1.2.18",
"description": "CLI to scaffold and manage Browserbase applications",

@@ -5,0 +5,0 @@ "type": "module",

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