Skip to content

Commit 5dd2cad

Browse files
authored
fix: use fixed graph client version (#2274)
bumps version for preview 2 resolves codeql regex issue
1 parent 4e3d898 commit 5dd2cad

File tree

10 files changed

+10
-11
lines changed

10 files changed

+10
-11
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "root",
33
"private": true,
4-
"version": "3.0.0-preview.1",
4+
"version": "3.0.0-preview.2",
55
"workspaces": {
66
"packages": [
77
"packages/*",
@@ -170,7 +170,6 @@
170170
"embeddedLanguageFormatting": "off"
171171
},
172172
"resolutions": {
173-
"@microsoft/microsoft-graph-client": "3.0.2",
174173
"@typescript-eslint/eslint-plugin": "^5.54.0",
175174
"@typescript-eslint/eslint-plugin-tslint": "^5.54.0",
176175
"@typescript-eslint/parser": "^5.54.0",

packages/mgt-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"dependencies": {
3939
"@microsoft/mgt-element": "*",
40-
"@microsoft/microsoft-graph-client": "^3.0.0",
40+
"@microsoft/microsoft-graph-client": "3.0.2",
4141
"@microsoft/microsoft-graph-types": "^2.0.0",
4242
"@microsoft/microsoft-graph-types-beta": "^0.29.0-preview",
4343
"@fluentui/web-components": "^2.5.12",

packages/mgt-components/src/components/mgt-person/mgt-person.tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('mgt-person - tests', () => {
3131
)
3232
// response to the $batch request to load the user photo and user data when there is nothing in the cache
3333
// note that this used mockOnceIf matching the fake url supplied in the first mock.
34-
.mockOnceIf(/https:\/\/fake-proxy.microsoft.com\/*$/, () =>
34+
.mockOnceIf(/https:\/\/fake-proxy\.microsoft\.com\/*$/, () =>
3535
Promise.resolve({
3636
headers: {
3737
'Content-Type': 'application/json'

packages/mgt-element/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"postpack": "cpx *.tgz ../../artifacts"
3232
},
3333
"dependencies": {
34-
"@microsoft/microsoft-graph-client": "^3.0.0",
34+
"@microsoft/microsoft-graph-client": "3.0.2",
3535
"lit": "^2.3.1",
3636
"idb": "6.0.0"
3737
},

packages/mgt-element/src/utils/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
// THIS FILE IS AUTO GENERATED
99
// ANY CHANGES WILL BE LOST DURING BUILD
1010

11-
export const PACKAGE_VERSION = '3.0.0-preview.1';
11+
export const PACKAGE_VERSION = '3.0.0-preview.2';

packages/providers/mgt-electron-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"dependencies": {
4444
"@azure/msal-node": "^1.0.3",
4545
"@microsoft/mgt-element": "*",
46-
"@microsoft/microsoft-graph-client": "^3.0.0",
46+
"@microsoft/microsoft-graph-client": "3.0.2",
4747
"electron": "^11.0.2"
4848
},
4949
"publishConfig": {

packages/providers/mgt-msal-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"dependencies": {
4141
"@microsoft/mgt-element": "*",
42-
"@microsoft/microsoft-graph-client": "^3.0.0",
42+
"@microsoft/microsoft-graph-client": "3.0.2",
4343
"msal": "^1.4.10"
4444
},
4545
"publishConfig": {

packages/providers/mgt-msal2-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"dependencies": {
4242
"@microsoft/mgt-element": "*",
43-
"@microsoft/microsoft-graph-client": "^3.0.0",
43+
"@microsoft/microsoft-graph-client": "3.0.2",
4444
"@azure/msal-browser": "^2.22.0"
4545
},
4646
"publishConfig": {

packages/providers/mgt-teams-msal2-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"dependencies": {
4545
"@microsoft/mgt-element": "*",
4646
"@microsoft/mgt-msal2-provider": "*",
47-
"@microsoft/microsoft-graph-client": "^3.0.0",
47+
"@microsoft/microsoft-graph-client": "3.0.2",
4848
"@azure/msal-browser": "^2.22.0"
4949
},
5050
"publishConfig": {

packages/providers/mgt-teams-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"dependencies": {
4343
"@microsoft/mgt-element": "*",
4444
"@microsoft/mgt-msal-provider": "*",
45-
"@microsoft/microsoft-graph-client": "^3.0.0",
45+
"@microsoft/microsoft-graph-client": "3.0.2",
4646
"msal": "^1.4.10"
4747
},
4848
"publishConfig": {

0 commit comments

Comments
 (0)