Skip to content

Commit b56a8c6

Browse files
authored
chore: update demo and dev dependencies to fix vulns (amplitude#16)
1 parent 89655e2 commit b56a8c6

File tree

8 files changed

+3477
-10711
lines changed

8 files changed

+3477
-10711
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
lint:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out Git repository
1414
uses: actions/checkout@v2

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
authorize:
1313
name: Authorize
14-
runs-on: ubuntu-18.04
14+
runs-on: ubuntu-latest
1515
steps:
1616
- name: ${{ github.actor }} permission check to do a release
1717
uses: octokit/[email protected]
@@ -51,7 +51,7 @@ jobs:
5151
run: npx lerna exec yarn
5252

5353
- name: Test
54-
run: yarn test
54+
run: yarn test --testPathIgnorePatterns "benchmark.test.ts"
5555

5656
- name: Configure Git User
5757
run: |

.github/workflows/semantic-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
pr-title-check:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
steps:
1111
- name: PR title is valid
1212
if: >

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
node-version: ['14', '16']
15-
os: [macos-latest, ubuntu-18.04]
14+
node-version: ['14', '16', '18']
15+
os: [macos-latest, ubuntu-latest]
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
@@ -37,4 +37,4 @@ jobs:
3737
run: npx lerna exec yarn
3838

3939
- name: Test
40-
run: yarn test
40+
run: yarn test --testPathIgnorePatterns "benchmark.test.ts"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"eslint-plugin-prettier": "^3.1.4",
2626
"genversion": "^2.3.1",
2727
"jest": "^26.6.3",
28-
"lerna": "^3.22.1",
28+
"lerna": "^6.6.1",
2929
"prettier": "^2.1.2",
3030
"ts-jest": "^26.4.2",
3131
"typedoc": "^0.23.9",

packages/ssr-demo/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"start": "yarn --cwd ../node build && yarn next dev"
88
},
99
"dependencies": {
10-
"@amplitude/experiment-js-client": "^0.2.0",
10+
"@amplitude/experiment-js-client": "^1.7.3",
1111
"@amplitude/experiment-node-server": "^1.4.0",
12-
"next": "9.5.5",
13-
"next-transpile-modules": "^4.1.0",
14-
"react": "16.13.1",
15-
"react-dom": "16.13.1"
12+
"next": "^13.3.0",
13+
"next-transpile-modules": "^10.0.0",
14+
"react": "^16.13.1",
15+
"react-dom": "^16.13.1"
1616
},
1717
"devDependencies": {
1818
"@types/node": "^14.11.8",

packages/ssr-demo/yarn.lock

-4,947
This file was deleted.

yarn.lock

+3,464-5,751
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)