Skip to content

Commit

Permalink
Remove got temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Oct 19, 2022
1 parent ec8ff16 commit 8bafc2b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ All notable changes to experimental packages in this project will be documented

### :house: (Internal)

* ci(instrumentation-http): remove got devDependency
[#????](https://github.com/open-telemetry/opentelemetry-js/issues/????) @dyladan

## 0.33.0

### :boom: Breaking Change
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"@opentelemetry/context-async-hooks": "1.7.0",
"@opentelemetry/sdk-trace-base": "1.7.0",
"@opentelemetry/sdk-trace-node": "1.7.0",
"@types/got": "9.6.12",
"@types/mocha": "10.0.0",
"@types/node": "18.6.5",
"@types/request-promise-native": "1.0.18",
Expand All @@ -58,7 +57,6 @@
"@types/superagent": "4.1.13",
"axios": "0.24.0",
"codecov": "3.8.3",
"got": "9.6.0",
"mocha": "10.0.0",
"nock": "13.0.11",
"nyc": "15.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ instrumentation.disable();
import * as http from 'http';
import * as request from 'request-promise-native';
import * as superagent from 'superagent';
import * as got from 'got';
// Temporarily removed. See https://github.com/open-telemetry/opentelemetry-js/issues/3344
// import * as got from 'got';
import * as nock from 'nock';
import axios, { AxiosResponse } from 'axios';

Expand Down Expand Up @@ -80,7 +81,7 @@ describe('Packages', () => {
[
{ name: 'axios', httpPackage: axios }, //keep first
{ name: 'superagent', httpPackage: superagent },
{ name: 'got', httpPackage: { get: (url: string) => got(url) } },
// { name: 'got', httpPackage: { get: (url: string) => got(url) } },
{
name: 'request',
httpPackage: { get: (url: string) => request(url) },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ instrumentation.disable();
import * as http from 'http';
import * as request from 'request-promise-native';
import * as superagent from 'superagent';
import * as got from 'got';
// Temporarily removed. See https://github.com/open-telemetry/opentelemetry-js/issues/3344
// import * as got from 'got';
import * as nock from 'nock';
import axios, { AxiosResponse } from 'axios';

Expand Down Expand Up @@ -80,7 +81,7 @@ describe('Packages', () => {
[
{ name: 'axios', httpPackage: axios }, //keep first
{ name: 'superagent', httpPackage: superagent },
{ name: 'got', httpPackage: { get: (url: string) => got(url) } },
// { name: 'got', httpPackage: { get: (url: string) => got(url) } },
{
name: 'request',
httpPackage: { get: (url: string) => request(url) },
Expand Down

0 comments on commit 8bafc2b

Please sign in to comment.