Skip to content

Commit

Permalink
Merge pull request #712 from xeroxinteractive/AL-deps
Browse files Browse the repository at this point in the history
Move @pnpm/audit to deps
  • Loading branch information
AndrewLeedham committed Dec 1, 2022
2 parents ab28e54 + 5cbbaa2 commit 5d6e4a7
Show file tree
Hide file tree
Showing 15 changed files with 155 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion __tests__/npm-vulnerable-allow-function/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "npm-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
}
}
3 changes: 2 additions & 1 deletion __tests__/npm-vulnerable-allow-pkg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "npm-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
}
}
3 changes: 2 additions & 1 deletion __tests__/npm-vulnerable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "npm-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
}
}
3 changes: 2 additions & 1 deletion __tests__/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "npm",
"version": "1.0.0",
"dependencies": {
"mem": "4.0.0"
}
}
}
1 change: 1 addition & 0 deletions __tests__/pnpm-vulnerable-allow-function/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "pnpm-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions __tests__/pnpm-vulnerable-allow-pkg/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "pnpm-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions __tests__/pnpm-vulnerable/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "pnpm-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions __tests__/pnpm/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "pnpm",
"version": "1.0.0",
"dependencies": {
"mem": "4.0.0"
}
Expand Down
1 change: 1 addition & 0 deletions __tests__/yarn-vulnerable-allow-function/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "yarn-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions __tests__/yarn-vulnerable-allow-pkg/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "yarn-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions __tests__/yarn-vulnerable/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "yarn-vulnerable",
"version": "1.0.0",
"dependencies": {
"mem": "3.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions __tests__/yarn/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "yarn",
"version": "1.0.0",
"dependencies": {
"mem": "4.0.0"
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
},
"devDependencies": {
"@auto-it/slack": "10.37.6",
"@pnpm/audit": "5.0.2",
"@types/jest": "29.2.3",
"@types/node": "18.11.9",
"@xerox/eslint-config": "5.0.2",
Expand All @@ -83,8 +82,9 @@
},
"dependencies": {
"@antfu/ni": "0.18.6",
"execa": "^5.1.1",
"pkg-dir": "^5.0.0"
"@pnpm/audit": "6.0.1",
"execa": "5.1.1",
"pkg-dir": "5.0.0"
},
"resolutions": {
"set-value": ">=2.0.1",
Expand Down Expand Up @@ -168,4 +168,4 @@
}
]
}
}
}

0 comments on commit 5d6e4a7

Please sign in to comment.