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

polkadot-secure-validator

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polkadot-secure-validator - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

terraform/digitalocean/backend.tf

4

package.json
{
"name": "polkadot-secure-validator",
"version": "1.0.2",
"version": "1.1.0",
"main": "src/index.js",

@@ -29,3 +29,3 @@ "repository": "https://github.com/w3f/polkadot-secure-validator",

"fs-extra": "^8.1.0",
"handlebars": "^4.3.0",
"handlebars": "^4.7.6",
"node-forge": "^0.9.0",

@@ -32,0 +32,0 @@ "ospath": "^1.2.2"

@@ -44,2 +44,3 @@ [![CircleCI](https://circleci.com/gh/w3f/polkadot-secure-validator.svg?style=svg)](https://circleci.com/gh/w3f/polkadot-secure-validator)

* PACKET: `TF_VAR_auth_token`.
* DigitalOcean: `TF_VAR_do_token`.

@@ -46,0 +47,0 @@ The tool allows you to specify which providers to use, so you don't need to have

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

//return this._cmd(`all -b -m ping -i ${inventoryFileName}`, this.options);
return this._cmd(`main.yml -f 30 -i ${inventoryPath}`);
return this._cmd(`main.yml -f 30 -i "${inventoryPath}"`);
}

@@ -50,2 +50,3 @@

polkadotBinaryChecksum: this.config.polkadotBinary.checksum,
chain: this.config.chain || 'kusama',
polkadotNetworkId: this.config.polkadotNetworkId || 'ksmcc2',

@@ -52,0 +53,0 @@

@@ -145,2 +145,6 @@ const fs = require('fs-extra');

if(node.image) {
data.image = node.image;
}
const source = path.join(__dirname, '..', '..', '..', 'tpl', 'tfvars');

@@ -147,0 +151,0 @@ const target = path.join(cwd, 'terraform.tfvars');

@@ -6,5 +6,9 @@ const { Buffer } = require('buffer');

module.exports = {
exec: async (command, options={}) => {
splitCommandAndArgs: function (command) {
const regex = new RegExp('"[^"]+"|[\\S]+', 'g');
return command.match(regex).map(s => s.replace(/"/g, ''));
}, exec: async (command, options={}) => {
return new Promise((resolve, reject) => {
const items = command.split(' ');
let items = module.exports.splitCommandAndArgs(command);
const child = spawn(items[0], items.slice(1), options);

@@ -11,0 +15,0 @@ if(options.detached) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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