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

@cocreate/cli

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/cli - npm Package Compare versions

Comparing version 1.42.1 to 1.42.2

6

package.json
{
"name": "@cocreate/cli",
"version": "1.42.1",
"version": "1.42.2",
"description": "Polyrepo management bash CLI tool. Run all git commands and yarn commands on multiple repositories. Also includes a few custom macros for cloning, installing, etc.",

@@ -58,4 +58,4 @@ "keywords": [

"dependencies": {
"@cocreate/config": "^1.6.0",
"@cocreate/file": "^1.9.1",
"@cocreate/config": "^1.6.4",
"@cocreate/file": "^1.9.4",
"glob": "^7.1.7",

@@ -62,0 +62,0 @@ "prettier": "^2.3.2"

@@ -16,3 +16,3 @@ const util = require('node:util');

const domain = hostParts[0];
const tld = hostParts[1];
const tld = hostParts[1];
const server = `

@@ -28,18 +28,5 @@ server {

proxy_set_header X-Forwarded-Proto $scheme;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
}
location /ws/ {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
fastcgi_buffers 16 16k;

@@ -76,6 +63,6 @@ fastcgi_buffer_size 32k;

fs.writeFileSync(`${available}${host}`, server)
if (!fs.existsSync(`${enabled}${host}`))
await exec(`sudo ln -s ${available}${host} ${enabled}`);
let test = await exec(`sudo nginx -t`);

@@ -102,3 +89,3 @@ if (test.stderr.includes('test is successful')) {

}`
fs.writeFileSync(`${available}main`, main)

@@ -111,3 +98,3 @@ await exec(`sudo ln -s ${available}main ${enabled}`);

fs.unlinkSync(`${available}default`)
let test = await exec(`sudo nginx -t`);

@@ -122,3 +109,3 @@ if (test.stderr.includes('test is successful')) {

}
}

@@ -138,3 +125,3 @@

fs.unlinkSync(`${available}${host}`)
response[host] = true

@@ -145,2 +132,2 @@ }

module.exports = {createServer, deleteServer}
module.exports = { createServer, deleteServer }

Sorry, the diff of this file is too big to display

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