jstink 1.2.8 → 1.2.10

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.
@@ -2,30 +2,31 @@
2
2
  # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3
3
 
4
4
  name: Node.js CI
5
+ permissions:
6
+ contents: read
5
7
 
6
8
  on:
7
9
  push:
8
- branches: [ "main" ]
10
+ branches: ["main"]
9
11
  pull_request:
10
- branches: [ "main" ]
12
+ branches: ["main"]
11
13
 
12
14
  jobs:
13
15
  build:
14
-
15
16
  runs-on: ubuntu-latest
16
17
 
17
18
  strategy:
18
19
  matrix:
19
- node-version: [18.x, 20.x]
20
+ node-version: [20.x, 22.x, 24.x]
20
21
  # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
22
 
22
23
  steps:
23
- - uses: actions/checkout@v4
24
- - name: Use Node.js ${{ matrix.node-version }}
25
- uses: actions/setup-node@v4
26
- with:
27
- node-version: ${{ matrix.node-version }}
28
- cache: 'npm'
29
- - run: npm ci
30
- - run: npm run build --if-present
31
- - run: npm test
24
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25
+ - name: Use Node.js ${{ matrix.node-version }}
26
+ uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
27
+ with:
28
+ node-version: ${{ matrix.node-version }}
29
+ cache: "npm"
30
+ - run: npm ci
31
+ - run: npm run build --if-present
32
+ - run: npm test
@@ -6,25 +6,22 @@ name: Node.js Package
6
6
  on:
7
7
  push:
8
8
  tags:
9
- - 'v*.*.*'
9
+ - "v*.*.*"
10
10
 
11
11
  permissions:
12
12
  id-token: write
13
13
  contents: write
14
14
 
15
15
  jobs:
16
-
17
16
  publish-npm:
18
17
  runs-on: ubuntu-latest
19
18
  steps:
20
- - uses: actions/checkout@v4
21
- - uses: actions/setup-node@v3
19
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20
+ - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
22
21
  with:
23
- node-version: 20
22
+ node-version: 24
24
23
  registry-url: https://registry.npmjs.org/
25
24
  - run: npm ci
26
25
  - run: npm test
27
26
  - run: npm publish
28
- env:
29
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
30
- - uses: softprops/action-gh-release@v2
27
+ - uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jstink",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
4
4
  "description": "A simple, easy-to-use Javascript crytopgraphy library.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {