@jahed/terraform 1.0.9 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -119,10 +119,9 @@ directory. For more information, check
119
119
  ### How does this package use Terraform?
120
120
 
121
121
  This package essentially wraps a Terraform executable. The executable is
122
- downloaded when the package is first called. Every time you run
123
- `yarn terraform` it runs a NodeJS script which ensures Terraform has been
124
- downloaded and launches it in a child process, forwarding arguments, stdin,
125
- stdout, etc.
122
+ downloaded when the package is first called. Every time you run it, it runs
123
+ a NodeJS script which ensures Terraform has been downloaded and launches it in
124
+ a child process, forwarding arguments, stdin, stdout, etc.
126
125
 
127
126
  ### How is this package versioned?
128
127
 
package/hashes.txt CHANGED
@@ -1,14 +1,14 @@
1
- fb791c3efa323c5f0c2c36d14b9230deb1dc37f096a8159e718e8a9efa49a879 terraform_1.0.9_darwin_amd64.zip
2
- aa5cc13903be35236a60d116f593e519534bcabbb2cf91b69cae19307a17b3c0 terraform_1.0.9_darwin_arm64.zip
3
- aaa7791eb7c100281d8848a1a6674fc7d81b98107ff9e5b5ebb76a0c983fe477 terraform_1.0.9_freebsd_386.zip
4
- 0195752d63d9219c3b9f2feaf9baba0f8f5cddc94f3d0c36f3ff98aff5a7c4bb terraform_1.0.9_freebsd_amd64.zip
5
- df72cd7b6eb4918532f0b431132d2f761205ae54dacce77fa968cd9f74a60ac8 terraform_1.0.9_freebsd_arm.zip
6
- e3eaf5eb688377e7b5eae2ec3734058ac35f7e52a934c66b75676b8355e1d27d terraform_1.0.9_linux_386.zip
7
- f06ac64c6a14ed6a923d255788e4a5daefa2b50e35f32d7a3b5a2f9a5a91e255 terraform_1.0.9_linux_amd64.zip
8
- 457ac590301126e7b151ea08c5b9586a882c60039a0605fb1e44b8d23d2624fd terraform_1.0.9_linux_arm64.zip
9
- 208772e1955c5b0b41bd8c28010c170c77bf09c457840f87e930cdc8116cd149 terraform_1.0.9_linux_arm.zip
10
- 6dd8f6502ae8f7c07f4fbdbe4aed1838704563915d53457460feee2bc40860b5 terraform_1.0.9_openbsd_386.zip
11
- ad82264758d2e1ca5a31fcfa5c44ff5dd3f2c08bf245aea35e739976ac8ef9fa terraform_1.0.9_openbsd_amd64.zip
12
- 0705ecbb40196e572b2b18729a7c34cfd865f7b5646951fc9018b3e4cb357b23 terraform_1.0.9_solaris_amd64.zip
13
- 83590b1a77ad59c0e5aea20e27eef7d35e61d951842de10f3a5fce52c1470fdb terraform_1.0.9_windows_386.zip
14
- 5518b138557ede4c0e98ca2635222096879e9753ea4cc9bbb0306299468b8cda terraform_1.0.9_windows_amd64.zip
1
+ 85fa7c90359c4e3358f78e58f35897b3e466d00c0d0648820830cac5a07609c3 terraform_1.1.1_darwin_amd64.zip
2
+ 9cd8faf29095c57e30f04f9ca5fa9105f6717b277c65061a46f74f22f0f5907e terraform_1.1.1_darwin_arm64.zip
3
+ 1b6c7d9cc3e72f761693ebcca96cf42b50abdec15ed825afe88273de39a63c04 terraform_1.1.1_freebsd_386.zip
4
+ 89f04b966f6b106538d06cee6036999c232c381c30cca0820b348e66cd5aab85 terraform_1.1.1_freebsd_amd64.zip
5
+ faf69dfa38a592209fe99b357e46ccb42378d9dafafbcb3980bb3b26ed44d5ea terraform_1.1.1_freebsd_arm.zip
6
+ 22da6e06a13d49c60ca1229ae25d7d7260b7872db258e66a6284690d99b00b97 terraform_1.1.1_linux_386.zip
7
+ 07b8dc444540918597a60db9351af861335c3941f28ea8774e168db97dd74557 terraform_1.1.1_linux_amd64.zip
8
+ d6fd14da47af9ec5fa3ad5962eaef8eed6ff2f8a5041671f9c90ec5f4f8bb554 terraform_1.1.1_linux_arm64.zip
9
+ debb5332cba6d1eb7f1560feaa0ba1212e55379a3582887bd806b8dd681ff6b5 terraform_1.1.1_linux_arm.zip
10
+ 6680b28bb6a9998b411af1645062efb0249c6ed534162e662eb683a2c6965502 terraform_1.1.1_openbsd_386.zip
11
+ 688ea72768be8836c4a040ae029cd7b83f0a62e22587f469dda26507e1383365 terraform_1.1.1_openbsd_amd64.zip
12
+ d1d30e32ad3a50680db8fd7935c5b4d0155c80d8103c6c779406f2e9ba3bfadd terraform_1.1.1_solaris_amd64.zip
13
+ a1e361373c30a4bc336aa725f638f78d35947c6409270248e7f7ac2cd42420db terraform_1.1.1_windows_386.zip
14
+ a426b6ee78d0c17d26729dfb996d0e296030986449afae1fee09c9b0a9d73bde terraform_1.1.1_windows_amd64.zip
package/lib/debug.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- declare const debug: (msg: string, ...param: any[]) => void;
1
+ /// <reference types="node" />
2
+ declare const debug: import("util").DebugLogger;
2
3
  export { debug };
@@ -14,6 +14,7 @@ const getPlatform = () => {
14
14
  android: null,
15
15
  cygwin: null,
16
16
  netbsd: null,
17
+ haiku: null,
17
18
  }[process.platform], (0, promises_1.reason)(`"${process.platform}" platform is not supported by terraform.`));
18
19
  };
19
20
  exports.getPlatform = getPlatform;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jahed/terraform",
3
- "version": "1.0.9",
4
- "description": "A wrapper which downloads and runs Terraform locally via npm, Yarn and more.",
3
+ "version": "1.1.1",
4
+ "description": "A wrapper which downloads and runs Terraform locally via npm, yarn and more.",
5
5
  "author": "Jahed",
6
6
  "license": "MIT",
7
7
  "repository": "https://github.com/jahed/node-terraform",
@@ -25,27 +25,24 @@
25
25
  "lint": "prettier -c **/*.{js,ts,md,json,yml}",
26
26
  "build": "rimraf ./lib && tsc",
27
27
  "test": "./tests/run.sh",
28
- "version": "./scripts/version.sh",
29
- "deploy": "yarn lint && yarn version && yarn build && yarn test && yarn publish --non-interactive && git push --follow-tags",
30
- "version-check": "./scripts/version-check.sh",
31
- "dependency-check": "./scripts/dependency-check.sh",
32
- "deps": "yarn upgrade-interactive --latest && yarn upgrade && git add yarn.lock '*package.json' && git commit -m 'build(deps): upgrade dependencies'"
28
+ "version": "./scripts/verify-version.sh"
33
29
  },
34
30
  "dependencies": {
35
31
  "@jahed/promises": "^1.0.2",
36
32
  "find-cache-dir": "^3.3.2",
37
- "node-fetch": "^2.6.1",
33
+ "node-fetch": "^2.6.6",
38
34
  "rimraf": "^3.0.2",
39
35
  "yauzl": "^2.10.0"
40
36
  },
41
37
  "devDependencies": {
42
38
  "@tsconfig/node12": "^1.0.9",
43
- "@types/find-cache-dir": "^3.2.0",
44
- "@types/node": "^14.17.4",
45
- "@types/node-fetch": "^2.5.10",
46
- "@types/rimraf": "^3.0.0",
47
- "@types/yauzl": "^2.9.1",
48
- "prettier": "^2.3.2",
49
- "typescript": "4.4.x"
39
+ "@types/find-cache-dir": "^3.2.1",
40
+ "@types/node": "^16.11.12",
41
+ "@types/node-fetch": "^2.5.12",
42
+ "@types/rimraf": "^3.0.2",
43
+ "@types/yauzl": "^2.9.2",
44
+ "npm-check-updates": "^12.0.3",
45
+ "prettier": "^2.5.1",
46
+ "typescript": "4.5.x"
50
47
  }
51
48
  }