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

terraform-generator

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terraform-generator - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

dist/src/arguments/Heredoc.d.ts

1

dist/index.d.ts

@@ -13,2 +13,3 @@ import { default as TerraformGenerator } from './src/TerraformGenerator';

export { default as Attribute } from './src/arguments/Attribute';
export { default as Heredoc } from './src/arguments/Heredoc';
export { default as Map } from './src/types/Map';

@@ -26,3 +26,5 @@ "use strict";

exports.Attribute = Attribute_1.default;
var Heredoc_1 = require("./src/arguments/Heredoc");
exports.Heredoc = Heredoc_1.default;
var Map_1 = require("./src/types/Map");
exports.Map = Map_1.default;

6

dist/src/blocks/Block.js

@@ -17,3 +17,5 @@ "use strict";

this.arguments = args ? args : {};
tfGenerator.addBlock(this);
if (tfGenerator) {
tfGenerator.addBlock(this);
}
}

@@ -115,3 +117,3 @@ getArguments() {

else if (value instanceof __1.Argument) {
if (this.tfGenerator.options.version === '0.11') {
if (this.tfGenerator && this.tfGenerator.options.version === '0.11') {
return `"\${${value.toTerraform()}}"`;

@@ -118,0 +120,0 @@ }

@@ -14,4 +14,4 @@ "use strict";

let str = '';
this.blocks.forEach(element => {
str += element.toTerraform();
this.blocks.forEach(block => {
str += block.toTerraform();
});

@@ -18,0 +18,0 @@ return str;

{
"name": "terraform-generator",
"version": "0.1.8",
"version": "0.1.9",
"author": "Ah Zhe",

@@ -22,4 +22,5 @@ "description": "Generate Terraform plan using Node.js.",

"test": "jest",
"build": "tsc",
"prepublish": "tsc"
"privateTest": "ts-node test.ts",
"prepublishOnly": "del-cli --force dist && tsc",
"postpublish": "del-cli --force dist"
},

@@ -30,2 +31,3 @@ "devDependencies": {

"@typescript-eslint/parser": "^1.7.0",
"del-cli": "^3.0.0",
"eslint": "^5.16.0",

@@ -32,0 +34,0 @@ "eslint-plugin-import": "^2.17.2",

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