Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
988 changes: 185 additions & 803 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion samples/e2eTestUtils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "src/index.ts",
"dependencies": {
"@azure/identity": "^4.5.0",
"axios": "^1.9.0",
"axios": "^1.12.0",
"dotenv": "^8.2.0",
"find-process": "^1.4.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.9.0",
"axios": "^1.12.0",
"bootstrap": "^5.0.0",
"electron-squirrel-startup": "^1.0.0",
"react": "^19.1.0",
Expand Down
54 changes: 27 additions & 27 deletions samples/msal-node-samples/ElectronTestApp/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"name": "electron-test-app",
"version": "1.0.0",
"description": "A sample Electron application that uses msal-node to acquire tokens",
"main": "App.ts",
"private": true,
"scripts": {
"build": "tsc",
"start": "npm run build && electron dist/app.js",
"build:package": "cd ../../../lib/msal-common && npm run build && cd ../msal-node && npm run build",
"start:build": "npm run build:package && npm start"
},
"keywords": [
"msal-node",
"electron",
"javascript"
],
"author": "",
"license": "MIT",
"devDependencies": {
"babel": "^6.23.0",
"electron": "^22.3.25",
"typescript": "^4.1.2"
},
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.9.0"
}
"name": "electron-test-app",
"version": "1.0.0",
"description": "A sample Electron application that uses msal-node to acquire tokens",
"main": "App.ts",
"private": true,
"scripts": {
"build": "tsc",
"start": "npm run build && electron dist/app.js",
"build:package": "cd ../../../lib/msal-common && npm run build && cd ../msal-node && npm run build",
"start:build": "npm run build:package && npm start"
},
"keywords": [
"msal-node",
"electron",
"javascript"
],
"author": "",
"license": "MIT",
"devDependencies": {
"babel": "^6.23.0",
"electron": "^22.3.25",
"typescript": "^4.1.2"
},
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.12.0"
}
}
2 changes: 1 addition & 1 deletion samples/msal-node-samples/auth-code-cli-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"license": "MIT",
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.9.0",
"axios": "^1.12.0",
"open": "^8.4.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"name": "msal-node-webapp",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"clean": "rimraf ./build",
"build": "npm run clean && tsc",
"start": "node src/app.ts",
"dev": "ts-node src/app.ts",
"dev:watch": "nodemon src/app.ts -e ts,json --exec 'npm run dev'"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.17",
"@types/express-session": "^1.17.6",
"@types/node": "^18.14.1",
"nodemon": "^2.0.20",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@azure/msal-node": "^1.15.0",
"axios": "^1.9.0",
"connect-redis": "^7.0.0",
"dotenv": "^16.5.0",
"express": "^4.20.0",
"express-session": "^1.17.3",
"hbs": "^4.2.0",
"redis": "^4.6.5"
}
"name": "msal-node-webapp",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"clean": "rimraf ./build",
"build": "npm run clean && tsc",
"start": "node src/app.ts",
"dev": "ts-node src/app.ts",
"dev:watch": "nodemon src/app.ts -e ts,json --exec 'npm run dev'"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.17",
"@types/express-session": "^1.17.6",
"@types/node": "^18.14.1",
"nodemon": "^2.0.20",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@azure/msal-node": "^1.15.0",
"axios": "^1.12.0",
"connect-redis": "^7.0.0",
"dotenv": "^16.5.0",
"express": "^4.20.0",
"express-session": "^1.17.3",
"hbs": "^4.2.0",
"redis": "^4.6.5"
}
}
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "msal-node-daemon",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"clean": "rimraf ./build",
"build": "npm run clean && tsc",
"start": "node src",
"dev": "ts-node src",
"dev:watch": "nodemon src -e ts, json --exec 'npm run dev'"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^18.14.1",
"nodemon": "^2.0.20",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.9.0",
"dotenv": "^16.5.0",
"open": "^8.4.2",
"redis": "^4.6.5",
"yargs": "^17.7.1"
}
"name": "msal-node-daemon",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"clean": "rimraf ./build",
"build": "npm run clean && tsc",
"start": "node src",
"dev": "ts-node src",
"dev:watch": "nodemon src -e ts, json --exec 'npm run dev'"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^18.14.1",
"nodemon": "^2.0.20",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.12.0",
"dotenv": "^16.5.0",
"open": "^8.4.2",
"redis": "^4.6.5",
"yargs": "^17.7.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"name": "msal-node-webapi",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"clean": "rimraf ./build",
"build": "npm run clean && tsc",
"start": "node src/app.ts",
"dev": "ts-node src/app.ts",
"dev:watch": "nodemon src/app.ts -e ts,json --exec 'npm run dev'"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.1",
"@types/node": "^18.14.1",
"nodemon": "^2.0.20",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.9.0",
"dotenv": "^16.5.0",
"express": "^4.20.0",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"redis": "^4.6.5"
}
"name": "msal-node-webapi",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"clean": "rimraf ./build",
"build": "npm run clean && tsc",
"start": "node src/app.ts",
"dev": "ts-node src/app.ts",
"dev:watch": "nodemon src/app.ts -e ts,json --exec 'npm run dev'"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.1",
"@types/node": "^18.14.1",
"nodemon": "^2.0.20",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.12.0",
"dotenv": "^16.5.0",
"express": "^4.20.0",
"jsonwebtoken": "^9.0.0",
"jwks-rsa": "^3.0.1",
"redis": "^4.6.5"
}
}
56 changes: 28 additions & 28 deletions samples/msal-node-samples/silent-flow/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "msal-node-silent-flow",
"version": "1.0.0",
"description": "sample app for msal-node",
"main": "index.js",
"private": true,
"scripts": {
"start": "node index.js",
"test:e2e": "jest",
"test:agc": "jest --testMatch [ '**/test/**/*agc*.spec.ts' ]",
"build:package": "cd ../../.. && npm run build:all --workspace=lib/msal-node"
},
"author": "Microsoft",
"license": "MIT",
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.9.0",
"dotenv": "^16.5.0",
"express": "^4.20.0",
"express-handlebars": "^5.3.5",
"express-promise-router": "^4.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"e2e-test-utils": "file:../../e2eTestUtils",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A reference to the local package is intentional here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. The change was not intentional, co-pilot suggestion I believe. Will revert this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good catch, how do we prevent reverting this in the future?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be a lint rule?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add one? There's going to be a CVE asking folks to move to 4.25.1 when we moved the e2e tests and our lint rules to file references. We really shouldn't regress this.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a devDependency on samples, we shouldn't be opening a CVE or pushing folks to upgrade for this. We should still avoid regressing this for our own sake though

"jest": "^29.5.0",
"jest-junit": "^16.0.0",
"ts-jest": "^29.1.0"
}
"name": "msal-node-silent-flow",
"version": "1.0.0",
"description": "sample app for msal-node",
"main": "index.js",
"private": true,
"scripts": {
"start": "node index.js",
"test:e2e": "jest",
"test:agc": "jest --testMatch [ '**/test/**/*agc*.spec.ts' ]",
"build:package": "cd ../../.. && npm run build:all --workspace=lib/msal-node"
},
"author": "Microsoft",
"license": "MIT",
"dependencies": {
"@azure/msal-node": "^3.0.0",
"axios": "^1.12.0",
"dotenv": "^16.5.0",
"express": "^4.20.0",
"express-handlebars": "^5.3.5",
"express-promise-router": "^4.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"e2e-test-utils": "file:../../e2eTestUtils",
"jest": "^29.5.0",
"jest-junit": "^16.0.0",
"ts-jest": "^29.1.0"
}
}