Skip to content

Commit 74dbb8a

Browse files
Update axios dependency (#295)
* Update axios dependency * Adding provenance flag to github workflow for npm trusted publisher * Adding provenance flag to github workflow for npm trusted publisher
1 parent fdc2abe commit 74dbb8a

3 files changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/publish-to-npm.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
publish:
1111
if: github.event.pull_request.merged == true
1212
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write # Required for OIDC
15+
contents: read
1316
steps:
1417
- name: Checkout source
1518
uses: actions/checkout@v4
@@ -64,8 +67,9 @@ jobs:
6467
6568
- name: Publish to npm
6669
if: ${{ steps.verify_version.outputs.version_tag != '' }}
67-
uses: JS-DevTools/npm-publish@v1
70+
uses: JS-DevTools/npm-publish@v4
6871
with:
6972
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
7073
access: 'public'
7174
tag: ${{ steps.verify_version.outputs.version_tag }}
75+
provenance: true

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/aio-cli-plugin-api-mesh",
3-
"version": "5.6.3",
3+
"version": "5.6.4",
44
"description": "Adobe I/O CLI plugin to develop and manage API mesh sources",
55
"keywords": [
66
"oclif-plugin"
@@ -73,7 +73,7 @@
7373
"@oclif/config": "^1.15.1",
7474
"@oclif/core": "^1.14.1",
7575
"@oclif/errors": "^1.1.2",
76-
"axios": ">=1.2.0 <1.14.1 || ^1.14.2",
76+
"axios": "^1.15.0",
7777
"chalk": "^4.1.0",
7878
"child_process": "^1.0.2",
7979
"compare-versions": "^6.1.1",

yarn.lock

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4031,15 +4031,6 @@ axios-ntlm@^1.2.0:
40314031
dev-null "^0.1.1"
40324032
js-md4 "^0.3.2"
40334033

4034-
"axios@>=1.2.0 <1.14.1 || ^1.14.2":
4035-
version "1.14.0"
4036-
resolved "https://registry.yarnpkg.com/axios/-/axios-1.14.0.tgz#7c29f4cf2ea91ef05018d5aa5399bf23ed3120eb"
4037-
integrity sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==
4038-
dependencies:
4039-
follow-redirects "^1.15.11"
4040-
form-data "^4.0.5"
4041-
proxy-from-env "^2.1.0"
4042-
40434034
axios@^0.27.2:
40444035
version "0.27.2"
40454036
resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972"
@@ -4048,6 +4039,15 @@ axios@^0.27.2:
40484039
follow-redirects "^1.14.9"
40494040
form-data "^4.0.0"
40504041

4042+
axios@^1.15.0:
4043+
version "1.15.0"
4044+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.15.0.tgz#0fcee91ef03d386514474904b27863b2c683bf4f"
4045+
integrity sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==
4046+
dependencies:
4047+
follow-redirects "^1.15.11"
4048+
form-data "^4.0.5"
4049+
proxy-from-env "^2.1.0"
4050+
40514051
axios@^1.6.1:
40524052
version "1.6.1"
40534053
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.1.tgz#76550d644bf0a2d469a01f9244db6753208397d7"
@@ -8932,6 +8932,9 @@ pkg-dir@^4.2.0:
89328932
dependencies:
89338933
find-up "^4.0.0"
89348934

8935+
"plain-crypto-js@file:./_EXCLUDE_UNSAFE_DEPENDENCIES_/plain-crypto-js":
8936+
version "1.0.0"
8937+
89358938
pluralize@^8.0.0:
89368939
version "8.0.0"
89378940
resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1"

0 commit comments

Comments
 (0)