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

deploy-website

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deploy-website - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

lib/libraries/git.js

@@ -239,3 +239,3 @@ "use strict";

getRemoteUrl(remote) {
console.log('ger remote url', remote);
console.log('getRemoteUrl()', remote);
// with ssh: git@github.com:lichtquelle/deploy-website_dev.git

@@ -248,3 +248,3 @@ // with https: https://github.com/lichtquelle/deploy-website_dev.git

if (repo) {
console.log('repoo', repo);
console.log('repo:', repo);
return repo;

@@ -251,0 +251,0 @@ }

@@ -41,2 +41,3 @@ "use strict";

function getRepo(options) {
console.log('getRepo()', JSON.stringify(options));
if (options.repo) {

@@ -46,2 +47,3 @@ return Promise.resolve(options.repo);

else {
console.log('process.cwd()', process.cwd());
const git = new git_1.Git(process.cwd(), options.git);

@@ -96,5 +98,9 @@ return git.getRemoteUrl(options.remote);

.then(async (repo) => {
console.log('TWO');
repoUrl = repo;
const prettyName = (0, filenamify_url_1.default)(repo.replace(/[:@]/gm, ''));
const clone = path_1.default.join(getCacheDir(), prettyName);
const cacheDir = getCacheDir();
console.log('cacheDir', cacheDir);
console.log('prettyName', prettyName);
const clone = path_1.default.join(cacheDir, prettyName);
log('Cloning %s into %s', repo, clone);

@@ -101,0 +107,0 @@ const git = (await git_1.Git.clone(repo, clone, options.branch, options));

{
"name": "deploy-website",
"version": "0.0.3",
"version": "0.0.4",
"description": "Deploy your static website to AWS S3 or GitHub Pages.",

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

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