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

biome

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biome - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

dist/index.js

@@ -44,3 +44,3 @@ #!/usr/bin/env node

// ----------------------------------------------------------------------------
_commander2.default.command('init [project] [template]').description(`Create a new project with the specified name, and save an alias to this folder.`).action((project, template) => {
_commander2.default.command('init [project] [template]').description(`Create a new project with the specified name, and save an alias to this folder. If project is omitted, try to rehydrate a preexisting environment from a Biomefile.`).action((project, template) => {
(0, _init2.default)(project, template).then(project => {

@@ -47,0 +47,0 @@ console.log(`Created new project ${ project }. Add new vars with ${ _chalk2.default.green("biome add") } or fire it up with ${ _chalk2.default.green("biome use") }.`.replace('\n', ''));

@@ -68,3 +68,3 @@ 'use strict';

if (project.length === 0) {
if (!project || project.length === 0) {
console.error("Project names need to be at least 1 character long.");

@@ -71,0 +71,0 @@ throw new Error("Project names need to be at least 1 character long.");

{
"name": "biome",
"version": "0.3.1",
"version": "0.3.2",
"description": "A simple way to manage environment variables on a per-project basis",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -20,3 +20,3 @@ #!/usr/bin/env node

.command('init [project] [template]')
.description(`Create a new project with the specified name, and save an alias to this folder.`)
.description(`Create a new project with the specified name, and save an alias to this folder. If project is omitted, try to rehydrate a preexisting environment from a Biomefile.`)
.action((project, template) => {

@@ -23,0 +23,0 @@ init(project, template).then(project => {

@@ -38,3 +38,3 @@ import fs from 'fs-promise';

if (project.length === 0) {
if (!project || project.length === 0) {
console.error("Project names need to be at least 1 character long.");

@@ -41,0 +41,0 @@ throw new Error("Project names need to be at least 1 character long.");

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