Skip to content

Commit 487143e

Browse files
tlindhardtTyson Lindhardt
authored andcommitted
Update to 3.0.1 for security fix, add recommendation to support <4
1 parent 176af97 commit 487143e

File tree

5 files changed

+54
-32
lines changed

5 files changed

+54
-32
lines changed

package-lock.json

Lines changed: 50 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/instrumentation-koa/.tav.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
koa:
1414
# Testing ^2.7.0 covers at least 97% of the downloaded koa versions
1515
versions:
16-
include: "^3.0.0"
16+
include: "^3.0.1"
1717
mode: latest-minors
1818
commands: npm run test

packages/instrumentation-koa/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ npm install --save @opentelemetry/instrumentation-koa
2323

2424
### Supported Versions
2525

26-
- [`koa`](https://www.npmjs.com/package/koa) versions `>=2.0.0 <=3.0.0`
26+
- [`koa`](https://www.npmjs.com/package/koa) versions `>=2.0.0 <4`
2727
- [`@koa/router`](https://www.npmjs.com/package/@koa/router) versions `>=8.0.0`
2828

2929
## Usage

packages/instrumentation-koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@types/mocha": "10.0.10",
6262
"@types/node": "18.18.14",
6363
"@types/sinon": "17.0.4",
64-
"koa": "3.0.0",
64+
"koa": "3.0.1",
6565
"nyc": "17.1.0",
6666
"rimraf": "5.0.10",
6767
"semver": "7.7.2",

packages/instrumentation-koa/src/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class KoaInstrumentation extends InstrumentationBase<KoaInstrumentationCo
4444
protected init() {
4545
return new InstrumentationNodeModuleDefinition(
4646
'koa',
47-
['>=2.0.0 <=3.0.0'],
47+
['>=2.0.0 <4'],
4848
(module: any) => {
4949
const moduleExports: typeof koa =
5050
module[Symbol.toStringTag] === 'Module'

0 commit comments

Comments
 (0)