express-version-route 1.2.3 → 1.2.5

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.
Binary file
@@ -32,15 +32,20 @@ jobs:
32
32
  name: do semantic release
33
33
  runs-on: 'ubuntu-latest'
34
34
  needs: build
35
+ permissions:
36
+ contents: write # to be able to publish a GitHub release
37
+ issues: write # to be able to comment on released issues
38
+ pull-requests: write # to be able to comment on released pull requests
39
+ id-token: write # to enable use of OIDC for npm provenance
35
40
  steps:
36
41
  - uses: actions/checkout@v1
37
42
  - uses: actions/setup-node@v1
38
43
  with:
39
- node-version: '10'
44
+ node-version: '24'
40
45
  - name: install dependencies
41
46
  run: yarn install --ignore-engines
42
47
  - name: release
43
- run: yarn run semantic-release
48
+ run: npx semantic-release@latest
44
49
  env:
45
50
  GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
46
51
  NPM_TOKEN: ${{secrets.NPM_TOKEN}}
package/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  [![Build](https://github.com/lirantal/express-version-route/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/lirantal/express-version-route/actions?query=workflow%3ACI)
6
6
  [![Codecov](https://img.shields.io/codecov/c/gh/lirantal/express-version-route.svg)](https://codecov.io/gh/lirantal/express-version-route)
7
7
  [![npm module downloads](http://img.shields.io/npm/dt/express-version-route.svg)](https://www.npmjs.org/package/express-version-route)
8
- [![Known Vulnerabilities](https://snyk.io/test/github/lirantal/express-version-route/badge.svg)](https://snyk.io/test/github/lirantal/express-version-route)
9
8
  [![Security Responsible Disclosure](https://img.shields.io/badge/Security-Responsible%20Disclosure-yellow.svg)](https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md
10
9
  )
11
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-version-route",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "provides middleware to load controllers based on api versions",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,7 +40,7 @@
40
40
  "husky": "^3.0.0",
41
41
  "nyc": "^13.2.0",
42
42
  "opn-cli": "^4.0.0",
43
- "semantic-release": "^15.8.1",
43
+ "semantic-release": "^23.0.0",
44
44
  "standard": "^12.0.0"
45
45
  },
46
46
  "nyc": {
@@ -131,6 +131,10 @@
131
131
  ]
132
132
  }
133
133
  },
134
+ "publishConfig": {
135
+ "provenance": true,
136
+ "access": "public"
137
+ },
134
138
  "dependencies": {
135
139
  "semver": "^6.3.0"
136
140
  }