env-secrets 0.3.0 → 0.3.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.
@@ -14,14 +14,14 @@ jobs:
14
14
  build:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v5
17
+ - uses: actions/checkout@v6
18
18
  with:
19
19
  fetch-depth: 0
20
20
 
21
21
  - name: Set up Node.js
22
- uses: actions/setup-node@v5
22
+ uses: actions/setup-node@v6
23
23
  with:
24
- node-version: 20.18.3
24
+ node-version: 24
25
25
 
26
26
  - name: Install Node.js dependencies
27
27
  run: yarn
@@ -21,10 +21,10 @@ jobs:
21
21
  build:
22
22
  runs-on: ubuntu-latest
23
23
  steps:
24
- - uses: actions/checkout@v5
25
- - uses: actions/setup-node@v5
24
+ - uses: actions/checkout@v6
25
+ - uses: actions/setup-node@v6
26
26
  with:
27
- node-version: 20
27
+ node-version: 24
28
28
  cache: 'yarn'
29
29
  cache-dependency-path: website/package.json
30
30
  - name: Install deps
@@ -18,15 +18,15 @@ jobs:
18
18
 
19
19
  steps:
20
20
  - name: Checkout repository
21
- uses: actions/checkout@v5
21
+ uses: actions/checkout@v6
22
22
 
23
23
  - name: Set up Node.js
24
- uses: actions/setup-node@v5
24
+ uses: actions/setup-node@v6
25
25
  with:
26
- node-version: 24.x
26
+ node-version: 24
27
27
 
28
28
  - name: Set up Python
29
- uses: actions/setup-python@v5
29
+ uses: actions/setup-python@v6
30
30
  with:
31
31
  python-version: '3.12'
32
32
 
@@ -16,12 +16,12 @@ jobs:
16
16
 
17
17
  steps:
18
18
  - name: Check out Git repository
19
- uses: actions/checkout@v5
19
+ uses: actions/checkout@v6
20
20
 
21
21
  - name: Set up Node.js
22
- uses: actions/setup-node@v5
22
+ uses: actions/setup-node@v6
23
23
  with:
24
- node-version: 20.18.3
24
+ node-version: 24
25
25
 
26
26
  # ESLint and Prettier must be in `package.json`
27
27
  - name: Install Node.js dependencies
@@ -14,18 +14,18 @@ on:
14
14
  default: 'patch'
15
15
  required: true
16
16
 
17
- permissions:
18
- contents: write
19
- packages: read
20
-
21
17
  jobs:
22
18
  release:
23
19
  if: ${{ github.ref == 'refs/heads/main' }}
24
20
  name: Create Github Release
25
21
  runs-on: ubuntu-latest
22
+ permissions:
23
+ id-token: write # Required for OIDC authentication
24
+ contents: read # Allows checking out the repository
25
+
26
26
  steps:
27
27
  - name: Clone Repository
28
- uses: actions/checkout@v5
28
+ uses: actions/checkout@v6
29
29
  with:
30
30
  fetch-depth: 0
31
31
 
@@ -35,9 +35,9 @@ jobs:
35
35
  git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
36
36
 
37
37
  - name: Set up Node.js
38
- uses: actions/setup-node@v5
38
+ uses: actions/setup-node@v6
39
39
  with:
40
- node-version: 20.18.3
40
+ node-version: 24
41
41
  registry-url: 'https://registry.npmjs.org'
42
42
 
43
43
  - name: Install Node.js dependencies
@@ -47,9 +47,8 @@ jobs:
47
47
  run: yarn build
48
48
 
49
49
  - name: Github release
50
- run: yarn release ${{ inputs.release_type }} --ci
50
+ run: npx release-it ${{ inputs.release_type }} --ci
51
51
  env:
52
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
53
52
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
53
 
55
54
  - name: Notify failures
@@ -14,7 +14,7 @@ jobs:
14
14
  security:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v5
17
+ - uses: actions/checkout@v6
18
18
  - name: Run Snyk to check for vulnerabilities
19
19
  uses: snyk/actions/node@master
20
20
  continue-on-error: true # To make sure that SARIF upload gets called
@@ -23,6 +23,6 @@ jobs:
23
23
  with:
24
24
  args: --sarif-file-output=snyk.sarif
25
25
  - name: Upload result to GitHub Code Scanning
26
- uses: github/codeql-action/upload-sarif@v3
26
+ uses: github/codeql-action/upload-sarif@v4
27
27
  with:
28
28
  sarif_file: snyk.sarif
@@ -22,10 +22,10 @@ jobs:
22
22
 
23
23
  steps:
24
24
  - name: Checkout repository
25
- uses: actions/checkout@v5
25
+ uses: actions/checkout@v6
26
26
 
27
27
  - name: Set up Node.js ${{ matrix.node-version }}
28
- uses: actions/setup-node@v5
28
+ uses: actions/setup-node@v6
29
29
  with:
30
30
  node-version: ${{ matrix.node-version }}
31
31
 
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v20.18.3
1
+ v24.12
package/.release-it.json CHANGED
@@ -7,6 +7,6 @@
7
7
  "releaseNotes": "./generate-release-notes.sh ${tagName}"
8
8
  },
9
9
  "npm": {
10
- "publish": true
10
+ "skipChecks": true
11
11
  }
12
12
  }
package/README.md CHANGED
@@ -286,7 +286,7 @@ The site is configured for GitHub Pages at https://markcallen.github.io/env-secr
286
286
  nvm use
287
287
  ```
288
288
 
289
- Or use Node.js 20 (LTS) directly.
289
+ Or use Node.js 24 (LTS) directly.
290
290
 
291
291
  2. **Install dependencies:**
292
292
 
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "env-secrets",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "get secrets from a secrets vault and inject them into the running environment",
5
5
  "main": "index.js",
6
6
  "author": "Mark C Allen (@markcallen)",
7
- "repository": "markcallen/env-secrets",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/markcallen/env-secrets.git"
10
+ },
8
11
  "homepage": "https://github.com/markcallen/env-secrets",
9
12
  "license": "MIT",
10
13
  "private": false,
@@ -26,7 +29,7 @@
26
29
  "devDependencies": {
27
30
  "@types/debug": "^4.1.12",
28
31
  "@types/jest": "^29.5.14",
29
- "@types/node": "^18.19.124",
32
+ "@types/node": "^18.19.130",
30
33
  "@typescript-eslint/eslint-plugin": "^5.62.0",
31
34
  "@typescript-eslint/parser": "^5.62.0",
32
35
  "aws-sdk-client-mock": "^3.0.0",
@@ -39,16 +42,16 @@
39
42
  "prettier": "^2.8.8",
40
43
  "release-it": "^15.11.0",
41
44
  "rimraf": "^3.0.2",
42
- "ts-jest": "^29.4.1",
45
+ "ts-jest": "^29.4.5",
43
46
  "ts-node": "^10.9.2",
44
47
  "typescript": "^4.9.5"
45
48
  },
46
49
  "dependencies": {
47
- "@aws-sdk/client-secrets-manager": "^3.883.0",
48
- "@aws-sdk/client-sts": "^3.883.0",
49
- "@aws-sdk/credential-providers": "^3.883.0",
50
+ "@aws-sdk/client-secrets-manager": "^3.899.0",
51
+ "@aws-sdk/client-sts": "^3.899.0",
52
+ "@aws-sdk/credential-providers": "^3.899.0",
50
53
  "commander": "^9.5.0",
51
- "debug": "^4.4.1"
54
+ "debug": "^4.4.3"
52
55
  },
53
56
  "lint-staged": {
54
57
  "*.{ts,js}": [
@@ -60,10 +63,11 @@
60
63
  ]
61
64
  },
62
65
  "publishConfig": {
63
- "registry": "https://registry.npmjs.org/"
66
+ "registry": "https://registry.npmjs.org/",
67
+ "provenance": true
64
68
  },
65
69
  "bin": {
66
- "env-secrets": "./dist/index.js"
70
+ "env-secrets": "dist/index.js"
67
71
  },
68
72
  "engines": {
69
73
  "node": ">=18.0.0"