Merge pull request #13278 from backstage/freben/node-fetch
Remove usages of cross-fetch in purely backend packages
This commit is contained in:
@@ -33,10 +33,10 @@
|
||||
"clean": "backstage-cli package clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/plugin-search-common": "^1.0.1-next.0",
|
||||
"@backstage/config": "^1.0.1",
|
||||
"@backstage/plugin-search-common": "^1.0.1-next.0",
|
||||
"node-fetch": "^2.6.7",
|
||||
"qs": "^6.9.4",
|
||||
"cross-fetch": "^3.1.5",
|
||||
"winston": "^3.2.1"
|
||||
},
|
||||
"files": [
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
} from '@backstage/plugin-search-common';
|
||||
import { Config } from '@backstage/config';
|
||||
import { Readable } from 'stream';
|
||||
import fetch from 'cross-fetch';
|
||||
import fetch from 'node-fetch';
|
||||
import qs from 'qs';
|
||||
import { Logger } from 'winston';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user