Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
update ts and skipLibCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Motti Bechhofer committed May 16, 2024
1 parent 5062e06 commit 156b684
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion detectors/node/resource-detector-deployment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"mocha": "^8.4.0",
"aspecto-opentelemetry-instrumentation-mocha": "0.0.9-alpha.0",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion detectors/node/resource-detector-git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"aspecto-opentelemetry-instrumentation-mocha": "0.0.9-alpha.0",
"sinon": "^11.1.1",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion detectors/node/resource-detector-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"mocha": "^8.4.0",
"aspecto-opentelemetry-instrumentation-mocha": "0.0.9-alpha.0",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion detectors/resource-detector-sync-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"devDependencies": {
"@opentelemetry/api": "^1.8.0",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
}
}
2 changes: 1 addition & 1 deletion packages/instrumentation-elasticsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"sinon": "^9.2.4",
"test-all-versions": "^5.0.1",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"aspecto-opentelemetry-instrumentation-mocha": "0.0.9-alpha.0",
"test-all-versions": "^5.0.1",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-kafkajs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"mocha": "^8.4.0",
"aspecto-opentelemetry-instrumentation-mocha": "0.0.9-alpha.0",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-neo4j/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"aspecto-opentelemetry-instrumentation-mocha": "0.0.9-alpha.0",
"test-all-versions": "^5.0.1",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-node-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"aspecto-opentelemetry-instrumentation-mocha": "0.0.9-alpha.0",
"test-all-versions": "^5.0.1",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-sequelize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"sequelize": "^5.22.0",
"sqlite3": "^5.0.2",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion packages/instrumentation-typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"test-all-versions": "^5.0.1",
"ts-node": "^9.1.1",
"typeorm": "^0.2.26",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ const ARGUMENT_NAMES = /([^\s,]+)/g;

export function getParamNames(func: Function) {
const fnStr = func.toString().replace(STRIP_COMMENTS, '');
let result = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.indexOf(')')).match(ARGUMENT_NAMES);
if (result === null) result = [];
let result = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.indexOf(')')).match(ARGUMENT_NAMES) as any;
if (result === null) {
result = [];
}
return result;
}
2 changes: 1 addition & 1 deletion packages/propagation-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"@opentelemetry/api": "^1.8.0",
"@types/node": "^14.14.8",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.8.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/span-transformations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"expect": "^26.6.2",
"mocha": "^8.4.0",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
2 changes: 1 addition & 1 deletion propagators/propagator-selective/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"mocha": "^8.4.0",
"sinon": "^12.0.1",
"ts-node": "^9.1.1",
"typescript": "4.3.4"
"typescript": "5.4.5"
},
"mocha": {
"extension": [
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"types": ["node"],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"noImplicitOverride": true
"noImplicitOverride": true,
"skipLibCheck": true
}
}

0 comments on commit 156b684

Please sign in to comment.