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

@igloosoftware/ig-azure

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@igloosoftware/ig-azure - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

13

lib/index.js

@@ -81,6 +81,7 @@ const debug = require('debug')('Provider:Azure');

* @param {String} options.url The container's url.
* @param {Boolean} options.deleteExistingBlobs If true, it will delete existing blobs within the container folder.
*
* @return {Promise} Returns a promise with the result of the deployFiles function
*/
deploy({payload = null, testRun = false, environment = null, folder = '/', credentials, containerName, url}) {
deploy({payload = null, testRun = false, environment = null, folder = '/', credentials, containerName, url, deleteExistingBlobs = true}) {
debug(`Deploying package: ${payload} to environment ${environment}`);

@@ -104,3 +105,3 @@

return this.deployFiles(testRun, folder, credentials, containerName, url);
return this.deployFiles(testRun, folder, credentials, containerName, url, deleteExistingBlobs);
} else {

@@ -116,3 +117,3 @@

walker.on('end', () => {
this.deployFiles(testRun, folder, credentials, containerName, url)
this.deployFiles(testRun, folder, credentials, containerName, url, deleteExistingBlobs)
.then((options) => {

@@ -134,3 +135,3 @@ resolve(options);

* Deploys the payload.
* @param {Boolean} testRun If true, it will go through the deployment process without actually deploying the files.
* @param {Boolean} testRun If true, it will go through the deployment process without actually deploying the files.
* @param {String} folder The folder where the payload should be deployed.

@@ -140,2 +141,3 @@ * @param {object} credentials The authentication credentials required to deploy the payload.

* @param {String} url The container's url.
* @param {Boolean} deleteExistingBlobs If true, it will delete existing blobs within the container folder.
*

@@ -146,3 +148,3 @@ * @return {Promise} Returns a promise whith the results of deploying to Azure.

*/
deployFiles(testRun, folder, credentials, containerName, url) {
deployFiles(testRun, folder, credentials, containerName, url, deleteExistingBlobs) {
debug('Deploying package.');

@@ -162,2 +164,3 @@

azureOptions.url = url;
azureOptions.deleteExistingBlobs = deleteExistingBlobs;

@@ -164,0 +167,0 @@ return new Promise((resolve, reject) => {

{
"name": "@igloosoftware/ig-azure",
"version": "0.3.5",
"version": "0.3.6",
"description": "Igloo Azure module provides configuration allowing ig-deploy to publish packages to a targeted Azure repository.",

@@ -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