Skip to content

Commit

Permalink
chore(deps): pin mainor API version
Browse files Browse the repository at this point in the history
Use ~ instead ^ in API dependency to avoid that a semver minor API change is allowed.
Semver minor API changes usually need an update in SDK therefore automatically update to a new
minor would break the API contract for the end user.
  • Loading branch information
Flarna committed Oct 12, 2021
1 parent ed0ba06 commit cbb18c9
Show file tree
Hide file tree
Showing 25 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions experimental/packages/opentelemetry-api-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"access": "public"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/webpack-env": "1.16.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/api-metrics": "0.26.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
Expand All @@ -64,7 +64,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@grpc/grpc-js": "^1.3.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",
Expand All @@ -83,7 +83,7 @@
"webpack-merge": "5.8.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/api-metrics": "0.26.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/api-metrics": "0.26.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
Expand All @@ -64,7 +64,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@grpc/proto-loader": "^0.6.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",
Expand All @@ -54,7 +54,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/api-metrics": "0.26.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/context-zone": "1.0.0",
"@opentelemetry/propagator-b3": "1.0.0",
"@opentelemetry/sdk-trace-base": "1.0.0",
Expand Down Expand Up @@ -78,7 +78,7 @@
"webpack-merge": "5.8.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@grpc/grpc-js": "1.3.7",
"@grpc/proto-loader": "0.6.4",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/context-async-hooks": "1.0.0",
"@opentelemetry/core": "1.0.0",
"@opentelemetry/sdk-trace-base": "1.0.0",
Expand All @@ -66,7 +66,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/api-metrics": "0.26.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/context-async-hooks": "1.0.0",
"@opentelemetry/sdk-trace-base": "1.0.0",
"@opentelemetry/sdk-trace-node": "1.0.0",
Expand All @@ -69,7 +69,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/context-zone": "1.0.0",
"@opentelemetry/propagator-b3": "1.0.0",
"@opentelemetry/sdk-trace-base": "1.0.0",
Expand Down Expand Up @@ -78,7 +78,7 @@
"webpack-merge": "5.8.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
"shimmer": "^1.2.1"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/semver": "7.3.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/lodash.merge": "4.6.6",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
Expand All @@ -60,7 +60,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/api-metrics": "0.26.0",
Expand Down
4 changes: 2 additions & 2 deletions experimental/packages/opentelemetry-sdk-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
"@opentelemetry/sdk-trace-node": "1.0.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/context-async-hooks": "1.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"compile": "tsc --build"
},
"dependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/context-async-hooks": "1.0.0",
"@opentelemetry/core": "1.0.0",
"@opentelemetry/sdk-trace-base": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-context-async-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"codecov": "3.8.3",
Expand All @@ -53,6 +53,6 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
}
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-context-zone-peer-dep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",
Expand All @@ -75,7 +75,7 @@
"zone.js": "0.11.4"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"zone.js": "^0.10.2 || ^0.11.0"
},
"sideEffects": false
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",
Expand All @@ -80,7 +80,7 @@
"webpack": "4.46.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/semantic-conventions": "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/resources": "1.0.0",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
Expand All @@ -57,7 +57,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-zipkin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"devDependencies": {
"@babel/core": "7.15.0",
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",
Expand All @@ -81,7 +81,7 @@
"webpack-merge": "5.8.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-propagator-b3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
"@opentelemetry/core": "1.0.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"codecov": "3.8.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-propagator-jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",
Expand All @@ -72,7 +72,7 @@
"webpack": "4.46.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
"@types/sinon": "10.0.2",
Expand All @@ -64,7 +64,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-sdk-trace-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@types/lodash.merge": "4.6.6",
"@types/mocha": "8.2.3",
"@types/node": "14.17.11",
Expand All @@ -79,7 +79,7 @@
"webpack": "4.46.0"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/core": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-sdk-trace-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"access": "public"
},
"devDependencies": {
"@opentelemetry/api": "^1.0.2",
"@opentelemetry/api": "~1.0.2",
"@opentelemetry/resources": "1.0.0",
"@opentelemetry/semantic-conventions": "1.0.0",
"@types/mocha": "8.2.3",
Expand All @@ -59,7 +59,7 @@
"typescript": "4.3.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.0.2"
"@opentelemetry/api": "~1.0.2"
},
"dependencies": {
"@opentelemetry/context-async-hooks": "1.0.0",
Expand Down
Loading

0 comments on commit cbb18c9

Please sign in to comment.