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

sao

Package Overview
Dependencies
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sao - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

bin/cli.js

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

})
.option('clone', {
desc: 'Clone repository instead of archive download',
type: 'boolean',
alias: 'c'
})
.option('yes', {

@@ -42,0 +47,0 @@ desc: 'Use the default options',

6

lib/index.js

@@ -56,3 +56,3 @@ const path = require('path')

if (generator.type === 'repo') {
await ensureRepo(generator, this.opts.update)
await ensureRepo(generator, this.opts.update, this.opts.clone)
} else if (generator.type === 'npm') {

@@ -168,3 +168,3 @@ await ensurePackage(generator, this.opts.update)

*/
async function ensureRepo(generator, update) {
async function ensureRepo(generator, update, clone) {
if (!update && (await fs.pathExists(generator.path))) {

@@ -177,3 +177,3 @@ return

try {
await downloadRepo(generator.slug, generator.path)
await downloadRepo(generator.slug, generator.path, { clone })
spinner.stop()

@@ -180,0 +180,0 @@ logger.success('Downloaded repo')

{
"name": "sao",
"version": "1.2.0",
"version": "1.2.1",
"description": "Futuristic scaffolding tool ⚔",

@@ -5,0 +5,0 @@ "repository": {

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