@jahed/terraform 1.0.8 → 1.1.0

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
- e2493c7ae12597d4a1e6437f6805b0a8bcaf01fc4e991d1f52f2773af3317342 terraform_1.0.8_darwin_amd64.zip
2
- 9f0e1366484748ecbd87c8ef69cc4d3d79296b0e2c1a108bcbbff985dbb92de8 terraform_1.0.8_darwin_arm64.zip
3
- e93cea64d708ac725f4f032a3a2ef9a4d69b453815f97c1daaf03a81ad11c1de terraform_1.0.8_freebsd_386.zip
4
- 3edb0d8dcf913823e101c018b81e816e45dcc7f49fed616db232e1c9abf24cde terraform_1.0.8_freebsd_amd64.zip
5
- 3ad4e84db39c3b1c2f2e4b09ffe2cd9224cc30fdefc49f2d2da1db08c579974c terraform_1.0.8_freebsd_arm.zip
6
- 7760107b10ac5d6feb7af8a7f078aea82729de607336acbda299a8efc18a213c terraform_1.0.8_linux_386.zip
7
- a73459d406067ce40a46f026dce610740d368c3b4a3d96591b10c7a577984c2e terraform_1.0.8_linux_amd64.zip
8
- 01aaef769f4791f9b28530e750aadbc983a8eabd0d55909e26392b333a1a26e4 terraform_1.0.8_linux_arm64.zip
9
- 627f677397413d46e65f5f15e59af272ce1140abe34c8f193dd3ba7221c39b62 terraform_1.0.8_linux_arm.zip
10
- e16cbe87d23b6f17317b5bd29dc0971dd0836d9c1da43b44b99f070f4c426ee9 terraform_1.0.8_openbsd_386.zip
11
- df94cdf1760f4180653c386b17e5c27b53f375c1f0269da35494e27eb3dc5cc4 terraform_1.0.8_openbsd_amd64.zip
12
- 7f31a1e20568b00dad64f6d6a7eb862321447f2a803708b33c0175563cd85479 terraform_1.0.8_solaris_amd64.zip
13
- cf2428950271cc8fcc460f492b8764c78b59661b89c62b449e974b91f5c5260f terraform_1.0.8_windows_386.zip
14
- 4ba5058d051f15b48dc7a86d65f2b76e3fc637a0c98f321b01204df437ad07d8 terraform_1.0.8_windows_amd64.zip
1
+ 6fb2af160879d807291980642efa93cc9a97ddf662b17cc3753065c974a5296d terraform_1.1.0_darwin_amd64.zip
2
+ f69e0613f09c21d44ce2131b20e8b97909f3fc7aa90c443639475f5e474a22ec terraform_1.1.0_darwin_arm64.zip
3
+ c04d5422cd44350e653064d80651dbf7c12cd4bf82bb013017fe2d9e230f0726 terraform_1.1.0_freebsd_386.zip
4
+ 3506199574b49312a353c15f1e7683c1e5f3f41f46b5521070a8e73bb4ac38e5 terraform_1.1.0_freebsd_amd64.zip
5
+ 72cc644b324efaf7691a64da3097f02cfafb1d0d5c053f63d6bd6ad3faa4112b terraform_1.1.0_freebsd_arm.zip
6
+ c0ca09a32aad1ff2ebd6eb468b2a3b7f58c2cb75989def314208fecf36442dfe terraform_1.1.0_linux_386.zip
7
+ 763378aa75500ce5ba67d0cba8aa605670cd28bf8bafc709333a30908441acb5 terraform_1.1.0_linux_amd64.zip
8
+ 6697e9a263e264310373f3c91bf83f4cbfeb67b13994d2a8f7bcc492b554552e terraform_1.1.0_linux_arm64.zip
9
+ 40e7b0c745832dbeaeca0e74b6a93267942236573486390806d63e0f87427d7a terraform_1.1.0_linux_arm.zip
10
+ 5b7e01ad7440c0c75e28bda0829c4fd184e08ca2cb8bc74dc2795c042f874f86 terraform_1.1.0_openbsd_386.zip
11
+ d66f197ce000110fa25c7799afbdd0074003169004da10b87dd8a39bbacfd16f terraform_1.1.0_openbsd_amd64.zip
12
+ 41fa21c6d295395d95c11496a3caf8d0cf78a9eb8d6d07721c48849f206dc38d terraform_1.1.0_solaris_amd64.zip
13
+ e1498d7e3e7254b24102e7d2d683f84b465bf2b6ca24fb648e80055fb9298ad8 terraform_1.1.0_windows_386.zip
14
+ a7cb68e34c49336f8bd9792dba3ee350a9eccffb0b9c3ce7275e18e35ad4776b terraform_1.1.0_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.8",
4
- "description": "A wrapper which downloads and runs Terraform locally via npm, Yarn and more.",
3
+ "version": "1.1.0",
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.11",
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.2",
45
+ "prettier": "^2.5.1",
46
+ "typescript": "4.5.x"
50
47
  }
51
48
  }