Skip to content

Commit 4b956d0

Browse files
Bumped the dotenv package in all msal-node samples (#7823)
1. Updated all msal-node samples to use dotenv 16.5.0 2. Moved dotenv from devDependencies to dependencies in several samples. This change reflects that dotenv is a runtime requirement for these samples since they need to load environment variables during actual execution, not just during development. 3. Run `npm i` in each directory to update package-lock.json files 4. Merged in child: #7824
1 parent 97ea591 commit 4b956d0

File tree

17 files changed

+99
-70
lines changed

17 files changed

+99
-70
lines changed

package-lock.json

Lines changed: 79 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

samples/msal-node-samples/Managed-Identity/FIC/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@azure/msal-node": "^3.0.0",
11-
"dotenv": "^16.4.5"
11+
"dotenv": "^16.5.0"
1212
},
1313
"devDependencies": {
1414
"typescript": "^5.3.3"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

samples/msal-node-samples/Managed-Identity/Imds/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"@azure/msal-node": "^3.0.0",
11-
"dotenv": "^16.4.5"
11+
"dotenv": "^16.5.0"
1212
},
1313
"devDependencies": {
1414
"typescript": "^5.3.3"

samples/msal-node-samples/auth-code-distributed-cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"@types/express": "^4.17.17",
1717
"@types/express-session": "^1.17.6",
1818
"@types/node": "^18.14.1",
19-
"dotenv": "^16.0.3",
2019
"nodemon": "^2.0.20",
2120
"rimraf": "^4.1.2",
2221
"ts-node": "^10.9.1",
@@ -26,6 +25,7 @@
2625
"@azure/msal-node": "^1.15.0",
2726
"axios": "^1.9.0",
2827
"connect-redis": "^7.0.0",
28+
"dotenv": "^16.5.0",
2929
"express": "^4.20.0",
3030
"express-session": "^1.17.3",
3131
"hbs": "^4.2.0",

samples/msal-node-samples/auth-code-key-vault/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@azure/identity": "^3.4.2",
1717
"@azure/keyvault-certificates": "^4.1.0",
1818
"@azure/keyvault-secrets": "^4.1.0",
19+
"dotenv": "^16.5.0",
1920
"express": "^4.20.0"
2021
}
21-
}
22+
}

samples/msal-node-samples/auth-code-pkce/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"license": "MIT",
1616
"dependencies": {
1717
"@azure/msal-node": "^3.0.0",
18+
"dotenv": "^16.5.0",
1819
"express": "^4.20.0",
1920
"express-session": "^1.17.2"
2021
},
2122
"devDependencies": {
2223
"@types/express": "^4.17.13",
2324
"@types/express-session": "^1.17.4",
2425
"@types/node": "^16.10.1",
25-
"dotenv": "^16.3.1",
2626
"typescript": "^4.4.3"
2727
}
2828
}

0 commit comments

Comments
 (0)