chore: replace node-fetch => cross-fetch

This commit is contained in:
Marvin9
2020-10-23 23:32:10 +05:30
parent 91e425fdab
commit c5acbbb8c4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
"uuid": "^8.2.0",
"winston": "^3.2.1",
"yaml": "^1.10.0",
"node-fetch": "^2.6.1"
"cross-fetch": "^3.0.6"
},
"devDependencies": {
"@backstage/cli": "^0.1.1-alpha.25",
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import fetch from 'node-fetch';
import fetch from 'cross-fetch';
import { TemplateEntityV1alpha1 } from '@backstage/catalog-model';
import {
ConflictError,
+1 -1
View File
@@ -9021,7 +9021,7 @@ cross-env@^7.0.0:
dependencies:
cross-spawn "^7.0.1"
cross-fetch@3.0.6, cross-fetch@^3.0.4, cross-fetch@^3.0.5:
cross-fetch@3.0.6, cross-fetch@^3.0.4, cross-fetch@^3.0.5, cross-fetch@^3.0.6:
version "3.0.6"
resolved "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz#3a4040bc8941e653e0e9cf17f29ebcd177d3365c"
integrity sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==