Skip to content

Commit 427aac2

Browse files
fix: upgrade babel version (#617)
* chore: bump @babel/runtime to 7.28.6 Co-authored-by: xinyi.ye <xinyi.ye@amplitude.com> * chore: update actions cache to v4 Co-authored-by: xinyi.ye <xinyi.ye@amplitude.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 2523469 commit 427aac2

6 files changed

Lines changed: 20 additions & 15 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v1
2525

2626
- name: node_modules cache
27-
uses: actions/cache@v2
27+
uses: actions/cache@v4
2828
with:
2929
path: '**/node_modules'
3030
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@v2
1313

1414
- name: node_modules cache
15-
uses: actions/cache@v2
15+
uses: actions/cache@v4
1616
with:
1717
path: '**/node_modules'
1818
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
aws-region: us-west-2
4545

4646
- name: node_modules cache
47-
uses: actions/cache@v2
47+
uses: actions/cache@v4
4848
with:
4949
path: '**/node_modules'
5050
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v2
2525

2626
- name: node_modules cache
27-
uses: actions/cache@v2
27+
uses: actions/cache@v4
2828
with:
2929
path: '**/node_modules'
3030
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"main": "amplitude.umd.js",
1616
"module": "amplitude.esm.js",
1717
"dependencies": {
18+
"@amplitude/analytics-connector": "^1.4.6",
1819
"@amplitude/ua-parser-js": "0.7.33",
1920
"@amplitude/utils": "^1.10.2",
20-
"@babel/runtime": "^7.21.0",
21+
"@babel/runtime": "^7.28.6",
2122
"blueimp-md5": "^2.19.0",
22-
"query-string": "8.1.0",
23-
"@amplitude/analytics-connector": "^1.4.6"
23+
"query-string": "8.1.0"
2424
},
2525
"devDependencies": {
2626
"@amplitude/eslint-plugin-amplitude": "^1.1.1",
@@ -29,6 +29,13 @@
2929
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
3030
"@babel/plugin-transform-runtime": "^7.21.0",
3131
"@babel/preset-env": "^7.20.2",
32+
"@rollup/plugin-babel": "^6.0.3",
33+
"@rollup/plugin-commonjs": "^23.0.7",
34+
"@rollup/plugin-json": "^5.0.2",
35+
"@rollup/plugin-legacy": "^3.0.1",
36+
"@rollup/plugin-node-resolve": "^15.0.1",
37+
"@rollup/plugin-replace": "^5.0.2",
38+
"@rollup/plugin-terser": "^0.4.0",
3239
"@semantic-release/changelog": "^6.0.2",
3340
"@semantic-release/exec": "^6.0.3",
3441
"@semantic-release/git": "^10.0.1",
@@ -59,13 +66,6 @@
5966
"prettier": "^2.8.4",
6067
"requirejs": "^2.3.6",
6168
"rollup": "^2.79.1",
62-
"@rollup/plugin-babel": "^6.0.3",
63-
"@rollup/plugin-commonjs": "^23.0.7",
64-
"@rollup/plugin-json": "^5.0.2",
65-
"@rollup/plugin-node-resolve": "^15.0.1",
66-
"@rollup/plugin-replace": "^5.0.2",
67-
"@rollup/plugin-legacy": "^3.0.1",
68-
"@rollup/plugin-terser": "^0.4.0",
6969
"semantic-release": "^19.0.5",
7070
"sinon": "^15.0.2"
7171
},

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,12 @@
927927
resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310"
928928
integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==
929929

930-
"@babel/runtime@^7.21.0", "@babel/runtime@^7.8.4":
930+
"@babel/runtime@^7.28.6":
931+
version "7.28.6"
932+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.6.tgz#d267a43cb1836dc4d182cce93ae75ba954ef6d2b"
933+
integrity sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==
934+
935+
"@babel/runtime@^7.8.4":
931936
version "7.21.0"
932937
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673"
933938
integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==

0 commit comments

Comments
 (0)