diff --git a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package-lock.json b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package-lock.json index 6cf93daed..1ee2b1378 100644 --- a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package-lock.json +++ b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package-lock.json @@ -12,7 +12,7 @@ "cors": "^2.8.5", "debug": "~4.3.4", "dotenv": "^16.4.5", - "express": "~4.21.1", + "express": "~4.22.1", "form-urlencoded": "^6.1.4", "http-errors": "~2.0.0", "jshint": "^2.13.6", @@ -241,22 +241,23 @@ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "version": "1.20.4", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz", + "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==", + "license": "MIT", "dependencies": { - "bytes": "3.1.2", + "bytes": "~3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.14.0", + "raw-body": "~2.5.3", "type-is": "~1.6.18", - "unpipe": "1.0.0" + "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8", @@ -271,11 +272,40 @@ "ms": "2.0.0" } }, + "node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/body-parser/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, + "node_modules/body-parser/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/brace-expansion": { "version": "1.1.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", @@ -296,6 +326,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -675,38 +706,39 @@ } }, "node_modules/express": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", - "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", + "version": "4.22.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz", + "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==", + "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", + "body-parser": "~1.20.3", + "content-disposition": "~0.5.4", "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", "debug": "2.6.9", "depd": "2.0.0", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", "merge-descriptors": "1.0.3", "methods": "~1.1.2", - "on-finished": "2.4.1", + "on-finished": "~2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", + "path-to-regexp": "~0.1.12", "proxy-addr": "~2.0.7", - "qs": "6.13.0", + "qs": "~6.14.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", + "send": "~0.19.0", + "serve-static": "~1.16.2", "setprototypeof": "1.2.0", - "statuses": "2.0.1", + "statuses": "~2.0.1", "type-is": "~1.6.18", "utils-merge": "1.0.1", "vary": "~1.1.2" @@ -978,6 +1010,7 @@ "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -1570,11 +1603,12 @@ } }, "node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.14.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz", + "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==", + "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" }, "engines": { "node": ">=0.6" @@ -1592,19 +1626,49 @@ } }, "node_modules/raw-body": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", - "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", + "license": "MIT", "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8" } }, + "node_modules/raw-body/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/raw-body/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/read-package-json-fast": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", @@ -1660,7 +1724,8 @@ "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" }, "node_modules/semver": { "version": "7.7.1", diff --git a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package.json b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package.json index a85e7a2e7..7587d696d 100644 --- a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package.json +++ b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/API/package.json @@ -11,7 +11,7 @@ "cors": "^2.8.5", "debug": "~4.3.4", "dotenv": "^16.4.5", - "express": "~4.21.1", + "express": "~4.22.1", "form-urlencoded": "^6.1.4", "http-errors": "~2.0.0", "jshint": "^2.13.6", diff --git a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package-lock.json b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package-lock.json index 2e4d21625..69adbb6f5 100644 --- a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package-lock.json +++ b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package-lock.json @@ -8,7 +8,7 @@ "name": "office-addin-identity-sample", "version": "0.0.0", "dependencies": { - "@azure/msal-browser": "^4.7.0", + "@azure/msal-browser": "^5.1.0", "core-js": "^3.36.0", "regenerator-runtime": "^0.14.1" }, @@ -25,7 +25,7 @@ "html-loader": "^5.0.0", "html-webpack-plugin": "^5.6.0", "office-addin-cli": "^2.0.3", - "office-addin-debugging": "^6.0.3", + "office-addin-debugging": "^6.0.6", "office-addin-dev-certs": "^2.0.3", "office-addin-lint": "^3.0.3", "office-addin-manifest": "^2.0.3", @@ -460,6 +460,31 @@ "node": ">=20.0.0" } }, + "node_modules/@azure/identity/node_modules/@azure/msal-browser": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.28.1.tgz", + "integrity": "sha512-al2u2fTchbClq3L4C1NlqLm+vwKfhYCPtZN2LR/9xJVaQ4Mnrwf5vANvuyPSJHcGvw50UBmhuVmYUAhTEetTpA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@azure/msal-common": "15.14.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/identity/node_modules/@azure/msal-browser/node_modules/@azure/msal-common": { + "version": "15.14.1", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.14.1.tgz", + "integrity": "sha512-IkzF7Pywt6QKTS0kwdCv/XV8x8JXknZDvSjj/IccooxnP373T5jaadO3FnOrbWo3S0UqkfIDyZNTaQ/oAgRdXw==", + "dev": true, + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/@azure/identity/node_modules/@azure/msal-common": { "version": "15.13.3", "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.13.3.tgz", @@ -537,20 +562,22 @@ } }, "node_modules/@azure/msal-browser": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.7.0.tgz", - "integrity": "sha512-H4AIPhIQVe1qW4+BJaitqod6UGQiXE3juj7q2ZBsOPjuZicQaqcbnBp2gCroF/icS0+TJ9rGuyCBJbjlAqVOGA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-5.1.0.tgz", + "integrity": "sha512-5tZcp1zcALSLJvnxkmJ8MYxLtZzEyq28wX2jSV4Kz2QaHty4eYIb/Pc44DARLfgHD+G9F82k9nD7J89MbFRQxA==", + "license": "MIT", "dependencies": { - "@azure/msal-common": "15.2.1" + "@azure/msal-common": "16.0.3" }, "engines": { "node": ">=0.8.0" } }, "node_modules/@azure/msal-common": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.2.1.tgz", - "integrity": "sha512-eZHtYE5OHDN0o2NahCENkczQ6ffGc0MoUSAI3hpwGpZBHJXaEQMMZPWtIx86da2L9w7uT+Tr/xgJbGwIkvTZTQ==", + "version": "16.0.3", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-16.0.3.tgz", + "integrity": "sha512-3aedNnM0CHVuVZ+BqembdZWgovqe96BJ4YxGoIK0+qhoBZQsAhfwXdhjen72K94pkSQHtzlJ7fAq6w7knFZsng==", + "license": "MIT", "engines": { "node": ">=0.8.0" } @@ -7797,20 +7824,6 @@ "license": "ISC", "peer": true }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -10832,9 +10845,9 @@ "dev": true }, "node_modules/office-addin-cli": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/office-addin-cli/-/office-addin-cli-2.0.4.tgz", - "integrity": "sha512-oUcTYqTNmDlhLThTQXmfUfG7NVbfY2OCT6FwRWNeDtjQ6jIkocAxqJpqN1IQpsHZfFgiHHv19AOsG+tf65ElDA==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/office-addin-cli/-/office-addin-cli-2.0.6.tgz", + "integrity": "sha512-TazLZNGqw8h2S5Hgzp/wiShe7X5oL8o2dkZRVpI/7Ond5RhwT4f/gb5ybvNkOHBG6fwNWicY4bnkXWVOQzYNOg==", "dev": true, "license": "MIT", "dependencies": { @@ -10856,21 +10869,21 @@ } }, "node_modules/office-addin-debugging": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/office-addin-debugging/-/office-addin-debugging-6.0.4.tgz", - "integrity": "sha512-aEAXO8w0yoz2vDK10CPXRQH992S9ayUe3TWujeZEjrKpWMeAFvHzpZpdhKn5e0ZspO2wpMt6s2J+WmkLf//Qzw==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/office-addin-debugging/-/office-addin-debugging-6.0.6.tgz", + "integrity": "sha512-YFLOYZ+N7dneT7EVVm8ol4M9AWzD8PpJ6VbNY8cdkASmQbI0AecnOUFjWH3889oLPaIQrcTefzEE6w6sPX4Unw==", "dev": true, "license": "MIT", "dependencies": { "adm-zip": "0.5.12", "commander": "^13.0.0", "node-fetch": "^2.6.1", - "office-addin-cli": "^2.0.4", - "office-addin-dev-certs": "^2.0.4", - "office-addin-dev-settings": "^3.0.4", - "office-addin-manifest": "^2.1.0", - "office-addin-node-debugger": "^1.0.4", - "office-addin-usage-data": "^2.0.4" + "office-addin-cli": "^2.0.6", + "office-addin-dev-certs": "^2.0.6", + "office-addin-dev-settings": "^3.0.6", + "office-addin-manifest": "^2.1.2", + "office-addin-node-debugger": "^1.0.6", + "office-addin-usage-data": "^2.0.6" }, "bin": { "office-addin-debugging": "cli.js" @@ -10886,17 +10899,17 @@ } }, "node_modules/office-addin-dev-certs": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/office-addin-dev-certs/-/office-addin-dev-certs-2.0.4.tgz", - "integrity": "sha512-FT4tBAK791Tre/81S9OFp/F+ggsGWH08P+K9u0ablMUx4taeGxi3YqjW3VB2durisz9G2I5HAlGUES/vz6NKZA==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/office-addin-dev-certs/-/office-addin-dev-certs-2.0.6.tgz", + "integrity": "sha512-uCD0HA55lQh1Qj78aDz/AehR2NlR4Rs/EIi79RQzNVDDZpKoa4xTchiG6Pjc/zUxmQRUYHvzZA3FG8bE7fauBA==", "dev": true, "license": "MIT", "dependencies": { "commander": "^13.0.0", "fs-extra": "^11.2.0", "mkcert": "^3.2.0", - "office-addin-cli": "^2.0.4", - "office-addin-usage-data": "^2.0.4" + "office-addin-cli": "^2.0.6", + "office-addin-usage-data": "^2.0.6" }, "bin": { "office-addin-dev-certs": "cli.js" @@ -10985,22 +10998,6 @@ "node": ">=4" } }, - "node_modules/office-addin-dev-settings/node_modules/office-addin-usage-data": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/office-addin-usage-data/-/office-addin-usage-data-2.0.6.tgz", - "integrity": "sha512-yOWCJKIpplFIVAFN9BAjwTYZqgMv2lGh2Dcd2BICRCoqQSfCvUsf6dRfIsMk5TcG0Ns6MLRWUUepWtX3aokBdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "applicationinsights": "^1.7.3", - "commander": "^13.0.0", - "readline-sync": "^1.4.9", - "uuid": "8.3.2" - }, - "bin": { - "office-addin-usage-data": "cli.js" - } - }, "node_modules/office-addin-dev-settings/node_modules/open": { "version": "6.4.0", "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", @@ -11283,22 +11280,6 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/office-addin-manifest/node_modules/office-addin-usage-data": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/office-addin-usage-data/-/office-addin-usage-data-2.0.6.tgz", - "integrity": "sha512-yOWCJKIpplFIVAFN9BAjwTYZqgMv2lGh2Dcd2BICRCoqQSfCvUsf6dRfIsMk5TcG0Ns6MLRWUUepWtX3aokBdA==", - "dev": true, - "license": "MIT", - "dependencies": { - "applicationinsights": "^1.7.3", - "commander": "^13.0.0", - "readline-sync": "^1.4.9", - "uuid": "8.3.2" - }, - "bin": { - "office-addin-usage-data": "cli.js" - } - }, "node_modules/office-addin-manifest/node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -11321,15 +11302,15 @@ } }, "node_modules/office-addin-node-debugger": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/office-addin-node-debugger/-/office-addin-node-debugger-1.0.4.tgz", - "integrity": "sha512-9evJ3xdkZkuXHs/l9QADR+kDg0a+uhowqgOwpJscmYcm9Wnl2BqJJtGJkJNuZVBADJh5eTonhD/Dc1fYyk2miw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/office-addin-node-debugger/-/office-addin-node-debugger-1.0.6.tgz", + "integrity": "sha512-0zhNBlMatX0hNvhwBeIB2x2xFJ6cXjgB8FOksLLGF6wjfgY6hSMCrBsZsIbOXEDyl9x2mKmhBOuNlp5YJ22kHQ==", "dev": true, "license": "MIT", "dependencies": { "commander": "^13.0.0", "node-fetch": "^2.6.1", - "office-addin-usage-data": "^2.0.4", + "office-addin-usage-data": "^2.0.6", "ws": "^7.4.6" }, "bin": { @@ -11410,23 +11391,6 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/office-addin-project/node_modules/office-addin-usage-data": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/office-addin-usage-data/-/office-addin-usage-data-2.0.6.tgz", - "integrity": "sha512-yOWCJKIpplFIVAFN9BAjwTYZqgMv2lGh2Dcd2BICRCoqQSfCvUsf6dRfIsMk5TcG0Ns6MLRWUUepWtX3aokBdA==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "applicationinsights": "^1.7.3", - "commander": "^13.0.0", - "readline-sync": "^1.4.9", - "uuid": "8.3.2" - }, - "bin": { - "office-addin-usage-data": "cli.js" - } - }, "node_modules/office-addin-project/node_modules/universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -11439,9 +11403,9 @@ } }, "node_modules/office-addin-usage-data": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/office-addin-usage-data/-/office-addin-usage-data-2.0.4.tgz", - "integrity": "sha512-c6btoChf8pV/yPUk1tBEZi9FlYIDP0ius+rmgBk81oLnn3sNlxm+kx/cbhxSh1oMYUZDzvo0szZs5p9DR8t3dQ==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/office-addin-usage-data/-/office-addin-usage-data-2.0.6.tgz", + "integrity": "sha512-yOWCJKIpplFIVAFN9BAjwTYZqgMv2lGh2Dcd2BICRCoqQSfCvUsf6dRfIsMk5TcG0Ns6MLRWUUepWtX3aokBdA==", "dev": true, "license": "MIT", "dependencies": { diff --git a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package.json b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package.json index 1a631a39f..6d4c743fc 100644 --- a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package.json +++ b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/SPA/package.json @@ -22,7 +22,7 @@ "watch": "webpack --mode development --watch" }, "dependencies": { - "@azure/msal-browser": "^4.7.0", + "@azure/msal-browser": "^5.1.0", "core-js": "^3.36.0", "regenerator-runtime": "^0.14.1" }, @@ -39,7 +39,7 @@ "html-loader": "^5.0.0", "html-webpack-plugin": "^5.6.0", "office-addin-cli": "^2.0.3", - "office-addin-debugging": "^6.0.3", + "office-addin-debugging": "^6.0.6", "office-addin-dev-certs": "^2.0.3", "office-addin-lint": "^3.0.3", "office-addin-manifest": "^2.0.3", diff --git a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/package-lock.json b/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/package-lock.json deleted file mode 100644 index 417bf7907..000000000 --- a/Samples/auth/Outlook-Add-in-SSO-NAA-Identity/package-lock.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "Outlook-Add-in-SSO-NAA-Identity", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "Outlook-Add-in-SSO-NAA-Identity" - } - } -} diff --git a/Samples/auth/Outlook-Event-SSO-NAA/manifest.json b/Samples/auth/Outlook-Event-SSO-NAA/manifest.json new file mode 100644 index 000000000..32f25d21a --- /dev/null +++ b/Samples/auth/Outlook-Event-SSO-NAA/manifest.json @@ -0,0 +1,298 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.17/MicrosoftTeams.schema.json#", + "manifestVersion": "1.17", + "version": "1.0.0", + "id": "16c028c6-f97d-4b09-96eb-3821219e0a47", + "localizationInfo": { + "defaultLanguageTag": "en-us" + }, + "developer": { + "name": "Contoso", + "websiteUrl": "https://www.contoso.com/help", + "privacyUrl": "https://www.contoso.com/help", + "termsOfUseUrl": "https://www.contoso.com/help" + }, + "name": { + "short": "test-event-naa", + "full": "test-event-naa" + }, + "description": { + "short": "A template to get started.", + "full": "A template to get started." + }, + "icons": { + "outline": "assets/icon-64.png", + "color": "assets/icon-128.png" + }, + "accentColor": "#230201", + "validDomains": [ + "https://www.contoso.com", + "https://localhost:3000" + ], + "showLoadingIndicator": false, + "isFullScreen": false, + "defaultBlockUntilAdminAction": false, + "authorization": { + "permissions": { + "resourceSpecific": [ + { + "name": "Mailbox.ReadWrite.User", + "type": "Delegated" + } + ] + } + }, + "extensions": [ + { + "requirements": { + "capabilities": [ + { + "name": "Mailbox", + "minVersion": "1.1" + } + ], + "scopes": [ + "mail" + ] + }, + "runtimes": [ + { + "requirements": { + "capabilities": [ + { + "name": "Mailbox", + "minVersion": "1.5" + } + ], + "formFactors": [ + "desktop" + ] + }, + "id": "runtime_1", + "type": "general", + "code": { + "page": "https://localhost:3000/commands.html", + "script": "https://localhost:3000/launchevent.js" + }, + "lifetime": "short", + "actions": [ + { + "id": "onNewMessageComposeHandler", + "type": "executeFunction", + "displayName": "onNewMessageComposeHandler", + "multiselect": false, + "supportsNoItemContext": false + }, + { + "id": "onNewAppointmentComposeHandler", + "type": "executeFunction", + "displayName": "onNewAppointmentComposeHandler", + "multiselect": false, + "supportsNoItemContext": false + } + ] + }, + { + "requirements": { + "capabilities": [ + { + "name": "Mailbox", + "minVersion": "1.5" + } + ], + "formFactors": [ + "desktop" + ] + }, + "id": "runtime_2", + "type": "general", + "code": { + "page": "https://localhost:3000/taskpane.html" + }, + "lifetime": "short", + "actions": [ + { + "id": "action_1", + "type": "openPage", + "displayName": "action_1", + "pinnable": false, + "view": "view_1", + "multiselect": false, + "supportsNoItemContext": false + }, + { + "id": "action_2", + "type": "openPage", + "displayName": "action_2", + "pinnable": false, + "view": "view_2", + "multiselect": false, + "supportsNoItemContext": false + } + ] + } + ], + "ribbons": [ + { + "requirements": { + "capabilities": [ + { + "name": "Mailbox", + "minVersion": "1.5" + } + ], + "scopes": [ + "mail" + ], + "formFactors": [ + "desktop" + ] + }, + "contexts": [ + "mailCompose" + ], + "tabs": [ + { + "builtInTabId": "TabDefault", + "groups": [ + { + "id": "mccsG0", + "label": "Office NAA sample", + "controls": [ + { + "id": "MRCS_TpBtn0", + "type": "button", + "label": "Open task pane", + "icons": [ + { + "size": 16, + "url": "https://localhost:3000/assets/icon-16.png" + }, + { + "size": 32, + "url": "https://localhost:3000/assets/icon-16.png" + }, + { + "size": 80, + "url": "https://localhost:3000/assets/icon-16.png" + } + ], + "supertip": { + "title": "Open task pane", + "description": "Opens the pane for the Office NAA sample." + }, + "actionId": "action_1", + "overriddenByRibbonApi": false, + "enabled": true + } + ] + } + ] + } + ] + }, + { + "requirements": { + "capabilities": [ + { + "name": "Mailbox", + "minVersion": "1.5" + } + ], + "scopes": [ + "mail" + ], + "formFactors": [ + "desktop" + ] + }, + "contexts": [ + "meetingDetailsOrganizer" + ], + "tabs": [ + { + "builtInTabId": "TabDefault", + "groups": [ + { + "id": "aocsG0", + "label": "Office NAA sample", + "controls": [ + { + "id": "MRCS_TpBtn1", + "type": "button", + "label": "Open task pane", + "icons": [ + { + "size": 16, + "url": "https://localhost:3000/assets/icon-16.png" + }, + { + "size": 32, + "url": "https://localhost:3000/assets/icon-16.png" + }, + { + "size": 80, + "url": "https://localhost:3000/assets/icon-16.png" + } + ], + "supertip": { + "title": "Open task pane", + "description": "Opens the pane for the Office NAA sample." + }, + "actionId": "action_2", + "overriddenByRibbonApi": false, + "enabled": true + } + ] + } + ] + } + ] + } + ], + "autoRunEvents": [ + { + "requirements": { + "capabilities": [ + { + "name": "Mailbox", + "minVersion": "1.5" + } + ], + "scopes": [ + "mail" + ], + "formFactors": [ + "desktop" + ] + }, + "events": [ + { + "type": "newMessageComposeCreated", + "actionId": "onNewMessageComposeHandler" + }, + { + "type": "newAppointmentOrganizerCreated", + "actionId": "onNewAppointmentComposeHandler" + } + ] + } + ], + "alternates": [ + { + "alternateIcons": { + "icon": { + "size": 64, + "url": "https://localhost:3000/assets/icon-64.png" + }, + "highResolutionIcon": { + "size": 64, + "url": "https://localhost:3000/assets/icon-128.png" + } + } + } + ], + "audienceClaimUrl": "https://localhost:3000/taskpane.html" + } + ] +} \ No newline at end of file diff --git a/Samples/auth/Outlook-Event-SSO-NAA/manifest.xml b/Samples/auth/Outlook-Event-SSO-NAA/manifest.xml deleted file mode 100644 index 9cc2644da..000000000 --- a/Samples/auth/Outlook-Event-SSO-NAA/manifest.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - 16c028c6-f97d-4b09-96eb-3821219e0a47 - 1.0.0.0 - Contoso - en-US - - - - - - - https://www.contoso.com - - - - - - - - - - -
- - - 250 - -
-
- ReadWriteMailbox - - - - true - - - - - - - - - - - - - - - - - - - - - - -