Skip to content

Commit 5ce05ff

Browse files
authored
Merge pull request #20 from microsoftgraph/dependency-updates
Updated Graph SDK to 2.0
2 parents 5aa6822 + 319d54d commit 5ce05ff

12 files changed

Lines changed: 358 additions & 306 deletions

File tree

Demos/01-create-app/graph-tutorial/package-lock.json

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

Demos/01-create-app/graph-tutorial/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
"start": "node ./bin/www"
77
},
88
"dependencies": {
9-
"@microsoft/microsoft-graph-client": "^1.7.0",
9+
"@microsoft/microsoft-graph-client": "^2.0.0",
1010
"connect-flash": "^0.1.1",
1111
"cookie-parser": "~1.4.4",
1212
"debug": "~2.6.9",
13-
"dotenv": "^8.1.0",
13+
"dotenv": "^8.2.0",
1414
"express": "~4.16.1",
15-
"express-session": "^1.16.2",
15+
"express-session": "^1.17.0",
1616
"hbs": "~4.0.4",
1717
"http-errors": "~1.6.3",
18+
"isomorphic-fetch": "^2.2.1",
1819
"moment": "^2.24.0",
1920
"morgan": "~1.9.1",
20-
"passport-azure-ad": "^4.1.0",
21-
"simple-oauth2": "^2.4.0"
21+
"passport-azure-ad": "^4.2.0",
22+
"simple-oauth2": "^3.1.0"
2223
}
2324
}

Demos/02-add-aad-auth/graph-tutorial/graph.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
var graph = require('@microsoft/microsoft-graph-client');
2+
require('isomorphic-fetch');
23

34
module.exports = {
45
getUserDetails: async function(accessToken) {

0 commit comments

Comments
 (0)