Skip to content

Commit ad60b8a

Browse files
committed
- replaces deprecated isomorphic-fetch by cross fetch
1 parent b9c4c02 commit ad60b8a

File tree

3 files changed

+13
-36
lines changed

3 files changed

+13
-36
lines changed

helpers/requestHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'isomorphic-fetch';
1+
import 'cross-fetch/polyfill';
22
import * as MicrosoftGraph from '@microsoft/microsoft-graph-client';
33

44
export class SubscriptionManagementService {

package-lock.json

Lines changed: 11 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
"@microsoft/microsoft-graph-client": "^2.0.0",
1313
"adal-node": "^0.2.1",
1414
"body-parser": "^1.19.0",
15+
"cross-fetch": "^3.0.6",
1516
"escape-html": "^1.0.3",
1617
"express": "^4.17.1",
1718
"express-rate-limit": "^5.1.3",
18-
"isomorphic-fetch": "^2.2.1",
1919
"jsonwebtoken": "^8.5.1",
2020
"jwks-rsa": "^1.9.0",
2121
"morgan": "^1.10.0",

0 commit comments

Comments
 (0)