Skip to content

Commit

Permalink
Update dependency prettier to v3 (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jul 15, 2023
1 parent 8c30035 commit 85d9bdb
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"eslint-plugin-jest": "27.2.3",
"jest": "29.6.1",
"js-yaml": "4.1.0",
"prettier": "2.8.8",
"prettier": "3.0.0",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
}
Expand Down
4 changes: 2 additions & 2 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export const run = async (inputs: Inputs): Promise<void> => {
contains: inputs.contains,
},
undefined,
2
)}`
2,
)}`,
)
const filteredComments = filterComments(q, inputs)
for (const c of filteredComments) {
Expand Down
40 changes: 20 additions & 20 deletions tests/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: [],
token: `token`,
}
)
},
),
).toBeFalsy()
})

Expand All @@ -37,8 +37,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: [],
token: `token`,
}
)
},
),
).toBeFalsy()
})

Expand All @@ -58,8 +58,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: [],
token: `token`,
}
)
},
),
).toBeTruthy()
})
test('authors filter did not match', () => {
Expand All @@ -78,8 +78,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: [],
token: `token`,
}
)
},
),
).toBeFalsy()
})

Expand All @@ -98,8 +98,8 @@ describe('filter to minimize', () => {
startsWith: ['<!-- head -->'],
contains: [],
token: `token`,
}
)
},
),
).toBeTruthy()
})
test('starts-with filter did not match', () => {
Expand All @@ -117,8 +117,8 @@ describe('filter to minimize', () => {
startsWith: ['<!-- head -->'],
contains: [],
token: `token`,
}
)
},
),
).toBeFalsy()
})

Expand All @@ -137,8 +137,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: [],
token: `token`,
}
)
},
),
).toBeTruthy()
})
test('ends-with filter did not match', () => {
Expand All @@ -156,8 +156,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: [],
token: `token`,
}
)
},
),
).toBeFalsy()
})

Expand All @@ -176,8 +176,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: ['<!-- mark -->'],
token: `token`,
}
)
},
),
).toBeTruthy()
})
test('contains filter did not match', () => {
Expand All @@ -195,8 +195,8 @@ describe('filter to minimize', () => {
startsWith: [],
contains: ['<!-- bar -->'],
token: `token`,
}
)
},
),
).toBeFalsy()
})
})
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5206,10 +5206,10 @@ prelude-ls@^1.2.1:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==

prettier@2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
prettier@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae"
integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==

pretty-format@^29.0.0, pretty-format@^29.0.1:
version "29.0.1"
Expand Down

0 comments on commit 85d9bdb

Please sign in to comment.