diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 59f81569e1e..965c54f0622 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -20,3 +20,20 @@ updates: schedule: interval: weekly open-pull-requests-limit: 10 + + #Check test package dependencies +- package-ecosystem: npm + directory: "/packages/msgraph-sdk-tests" + schedule: + interval: weekly + open-pull-requests-limit: 10 + commit-message: + # Prefix all commit messages with "npm" + prefix: "auto dependabot" + groups: + kiota-dependencies: + patterns: + - "*kiota*" + eslint: + patterns: + - "*eslint*" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6bfb1d2fab4..aa72d92709e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -193,9 +193,9 @@ } }, "node_modules/@microsoft/kiota-abstractions": { - "version": "1.0.0-preview.91", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-abstractions/-/kiota-abstractions-1.0.0-preview.91.tgz", - "integrity": "sha512-JjID/f3bv2vKM5Ahf/fwBVcnwt1AezZjiinzoIibVx2Ki4CQwyaEf5PSSxrOazhRR9UWbdv4h8kc355zxsxxZg==", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-abstractions/-/kiota-abstractions-1.0.0-preview.92.tgz", + "integrity": "sha512-B0w9MJBaK/enLeXQR479YNx6uHs1I6Gfu3OszmI2JbRCfS6ON1oyAB6cWTK2cB1sUD8C3vHR3TgtQfZG2pC5Og==", "license": "MIT", "dependencies": { "@opentelemetry/api": "^1.7.0", @@ -205,79 +205,78 @@ } }, "node_modules/@microsoft/kiota-authentication-azure": { - "version": "1.0.0-preview.91", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-authentication-azure/-/kiota-authentication-azure-1.0.0-preview.91.tgz", - "integrity": "sha512-YGYgona65dOCs15yfcH0xgGiKOCSQyNIPxZG9dNc6b1T7gpz5CU+U1I+2CzpwDHCBgbcqZSWwmN3fblDuvkXEg==", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-authentication-azure/-/kiota-authentication-azure-1.0.0-preview.92.tgz", + "integrity": "sha512-Hif7sfkdVE+gMpvAVeG5fCRUcNp6n+XYWIxu18ewzV1UMn9qygpIFVepcVnG7lAdetBvtddlGiAnwTFSqdSJdQ==", "license": "MIT", "dependencies": { "@azure/core-auth": "^1.5.0", - "@microsoft/kiota-abstractions": "^1.0.0-preview.91", + "@microsoft/kiota-abstractions": "^1.0.0-preview.92", "@opentelemetry/api": "^1.7.0", "tslib": "^2.6.2" } }, "node_modules/@microsoft/kiota-bundle": { - "version": "1.0.0-preview.85", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-bundle/-/kiota-bundle-1.0.0-preview.85.tgz", - "integrity": "sha512-AIQWLcBgdxJypz5rpaRtR+EhGlM7dhZkK+bs02waCNafnlfyAcJhFibhmx2PjsPJV65dQi9mFyT21IT38hI8BQ==", - "license": "MIT", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-bundle/-/kiota-bundle-1.0.0-preview.92.tgz", + "integrity": "sha512-BZI+gF05xMmY32oTLBbBO8vM7Zy/26dSaAqPnoxEJQombjB2LmxS/fnEhc84pHoeOsMKTFOTr9DpOzRJglhNsQ==", "dependencies": { - "@microsoft/kiota-abstractions": "^1.0.0-preview.85", - "@microsoft/kiota-http-fetchlibrary": "^1.0.0-preview.85", - "@microsoft/kiota-serialization-form": "^1.0.0-preview.85", - "@microsoft/kiota-serialization-json": "^1.0.0-preview.85", - "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.85", - "@microsoft/kiota-serialization-text": "^1.0.0-preview.85" + "@microsoft/kiota-abstractions": "^1.0.0-preview.92", + "@microsoft/kiota-http-fetchlibrary": "^1.0.0-preview.92", + "@microsoft/kiota-serialization-form": "^1.0.0-preview.92", + "@microsoft/kiota-serialization-json": "^1.0.0-preview.92", + "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.92", + "@microsoft/kiota-serialization-text": "^1.0.0-preview.92" } }, "node_modules/@microsoft/kiota-http-fetchlibrary": { - "version": "1.0.0-preview.91", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-http-fetchlibrary/-/kiota-http-fetchlibrary-1.0.0-preview.91.tgz", - "integrity": "sha512-BNOfth/u9FSjxl/deF5Sq3oNEbApzwUZUHv9Ub1heiVh8mYeJ+IsFAz+zChv5WO9BjUz7XbalGfK/J0o2pCTRg==", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-http-fetchlibrary/-/kiota-http-fetchlibrary-1.0.0-preview.92.tgz", + "integrity": "sha512-EyU7hUOuDGyCrNeJ9qR9GkE7iEq54RkQ1vdbXxbOZdPogjQcNbZm6Pb5/yDiPwwMIuS3LXvVVVY3jJQwfXQtOA==", "license": "MIT", "dependencies": { - "@microsoft/kiota-abstractions": "^1.0.0-preview.91", + "@microsoft/kiota-abstractions": "^1.0.0-preview.92", "@opentelemetry/api": "^1.7.0", "tslib": "^2.6.2" } }, "node_modules/@microsoft/kiota-serialization-form": { - "version": "1.0.0-preview.91", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-form/-/kiota-serialization-form-1.0.0-preview.91.tgz", - "integrity": "sha512-oUKtwa2QhrrV+KE+tWJ5luJzPY2j5Mbnxiiu7hYXfIgPXm0vHiSwL1GUWQOMjvI/Q6ikivRxCKLhRDJAB+wWdw==", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-form/-/kiota-serialization-form-1.0.0-preview.92.tgz", + "integrity": "sha512-fW7gZOnld8a+nz6mJhWbCSC96XiTxD4nGnHYi1SmvK1uK2n74taCZ6g957Fitj+60nVQAFNJmHtvqd633y4XXg==", "license": "MIT", "dependencies": { - "@microsoft/kiota-abstractions": "^1.0.0-preview.91", + "@microsoft/kiota-abstractions": "^1.0.0-preview.92", "tslib": "^2.6.2" } }, "node_modules/@microsoft/kiota-serialization-json": { - "version": "1.0.0-preview.91", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-json/-/kiota-serialization-json-1.0.0-preview.91.tgz", - "integrity": "sha512-wzQb32GF0poPMwpK2ksh2PZM2GJp9S9sEcxv9+ZdkVhiDoDX5W9z2ZAgDSxMgRM/xrOG4dNEJnECeUFWxfpdZA==", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-json/-/kiota-serialization-json-1.0.0-preview.92.tgz", + "integrity": "sha512-3wb08c2hnBQRmxJ6RFtiGbYEk1spWyzqKenXM1Agtg3XM3MSnpxwxXWfHFvmBGKG2TTxGWaOCCsQsiJmHiI4vA==", "license": "MIT", "dependencies": { - "@microsoft/kiota-abstractions": "^1.0.0-preview.91", + "@microsoft/kiota-abstractions": "^1.0.0-preview.92", "tslib": "^2.6.2" } }, "node_modules/@microsoft/kiota-serialization-multipart": { - "version": "1.0.0-preview.91", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-multipart/-/kiota-serialization-multipart-1.0.0-preview.91.tgz", - "integrity": "sha512-PwOSYwAyPrvEQtWGwXKECVDQQLWfPEWWuSE8ekfKj9HRhCyekyZ8mboyuBIjsPsdZ/4jVQz057CKARor5tmMtQ==", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-multipart/-/kiota-serialization-multipart-1.0.0-preview.92.tgz", + "integrity": "sha512-koIIAOX6gOP3vHA8s4HSq1T8CW8H5DM8+zgImI7887EDSUqo0rSFSWCVsIyQaQSgaFosxhYrdRkBrJGG2cndDw==", "license": "MIT", "dependencies": { - "@microsoft/kiota-abstractions": "^1.0.0-preview.91", + "@microsoft/kiota-abstractions": "^1.0.0-preview.92", "tslib": "^2.6.2" } }, "node_modules/@microsoft/kiota-serialization-text": { - "version": "1.0.0-preview.91", - "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-text/-/kiota-serialization-text-1.0.0-preview.91.tgz", - "integrity": "sha512-sb0c+DYrtP+qgSJwLcIJHvOB/HEu1NBZmld4MbgmeVhtnrGnNVRF/BfQqiGtUPWsEwkRI0gLRzX3hj4CDz3+PQ==", + "version": "1.0.0-preview.92", + "resolved": "https://registry.npmjs.org/@microsoft/kiota-serialization-text/-/kiota-serialization-text-1.0.0-preview.92.tgz", + "integrity": "sha512-1FHYgw0ZyQX6Tv0Y5JmES1j+D8Tlk5r01xtq37zoAr7RcfEzoWzV9fvYhCXbleKbofE+ozJ70tp0667UdLkAKQ==", "license": "MIT", "dependencies": { - "@microsoft/kiota-abstractions": "^1.0.0-preview.91", + "@microsoft/kiota-abstractions": "^1.0.0-preview.92", "tslib": "^2.6.2" } }, @@ -350,9 +349,9 @@ "link": true }, "node_modules/@microsoft/msgraph-sdk-core": { - "version": "1.0.0-preview.16", - "resolved": "https://registry.npmjs.org/@microsoft/msgraph-sdk-core/-/msgraph-sdk-core-1.0.0-preview.16.tgz", - "integrity": "sha512-5yXmVql++unuEmvJjIZpR0OTHHEsRodq7VUPR5tSDiRNLybjENVEzDvNz1TgjHT9UcZdXgpmdvbcQvFttwlQFQ==", + "version": "1.0.0-preview.17", + "resolved": "https://registry.npmjs.org/@microsoft/msgraph-sdk-core/-/msgraph-sdk-core-1.0.0-preview.17.tgz", + "integrity": "sha512-zg4adBwEIwJBjM3IHi8xmz6Hyumz/IyEdCiX4JLWd+v4Jo9qIexZ0+IPEhi8xbgMwdrJ0h82D1CKGRe1vcsCBw==", "license": "MIT", "dependencies": { "@azure/core-auth": "^1.9.0", @@ -2510,7 +2509,7 @@ "version": "1.0.0-preview.49", "license": "MIT", "dependencies": { - "@microsoft/msgraph-sdk-core": "^1.0.0-preview.10", + "@microsoft/msgraph-sdk-core": "^1.0.0-preview.17", "tslib": "^2.6.2" }, "devDependencies": { @@ -3316,16 +3315,11 @@ "license": "MIT", "dependencies": { "@azure/identity": "^4.0.1", - "@microsoft/kiota-abstractions": "^1.0.0-preview.39", - "@microsoft/kiota-authentication-azure": "^1.0.0-preview.32", - "@microsoft/kiota-http-fetchlibrary": "^1.0.0-preview.36", - "@microsoft/kiota-serialization-form": "^1.0.0-preview.28", - "@microsoft/kiota-serialization-json": "^1.0.0-preview.39", - "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18", - "@microsoft/kiota-serialization-text": "^1.0.0-preview.36", - "@microsoft/msgraph-sdk": "^1.0.0-preview.30", - "@microsoft/msgraph-sdk-core": "^1.0.0-preview.2", - "@microsoft/msgraph-sdk-users": "^1.0.0-preview.30", + "@microsoft/kiota-authentication-azure": "^1.0.0-preview.92", + "@microsoft/kiota-bundle": "^1.0.0-preview.92", + "@microsoft/msgraph-sdk": "^1.0.0-preview.49", + "@microsoft/msgraph-sdk-core": "^1.0.0-preview.17", + "@microsoft/msgraph-sdk-users": "^1.0.0-preview.49", "tslib": "^2.6.2" }, "devDependencies": { diff --git a/packages/msgraph-sdk-tests/package.json b/packages/msgraph-sdk-tests/package.json index 712f78c03ea..a861e1daeab 100644 --- a/packages/msgraph-sdk-tests/package.json +++ b/packages/msgraph-sdk-tests/package.json @@ -24,16 +24,11 @@ }, "dependencies": { "@azure/identity": "^4.0.1", - "@microsoft/kiota-abstractions": "^1.0.0-preview.39", - "@microsoft/kiota-authentication-azure": "^1.0.0-preview.32", - "@microsoft/kiota-http-fetchlibrary": "^1.0.0-preview.36", - "@microsoft/kiota-serialization-form": "^1.0.0-preview.28", - "@microsoft/kiota-serialization-json": "^1.0.0-preview.39", - "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18", - "@microsoft/kiota-serialization-text": "^1.0.0-preview.36", - "@microsoft/msgraph-sdk": "^1.0.0-preview.30", - "@microsoft/msgraph-sdk-core": "^1.0.0-preview.2", - "@microsoft/msgraph-sdk-users": "^1.0.0-preview.30", + "@microsoft/kiota-bundle": "^1.0.0-preview.92", + "@microsoft/kiota-authentication-azure": "^1.0.0-preview.92", + "@microsoft/msgraph-sdk": "^1.0.0-preview.49", + "@microsoft/msgraph-sdk-core": "^1.0.0-preview.17", + "@microsoft/msgraph-sdk-users": "^1.0.0-preview.49", "tslib": "^2.6.2" }, "devDependencies": { diff --git a/packages/msgraph-sdk/graphRequestAdapter.ts b/packages/msgraph-sdk/graphRequestAdapter.ts index ef9842bcebe..4a111e053ab 100644 --- a/packages/msgraph-sdk/graphRequestAdapter.ts +++ b/packages/msgraph-sdk/graphRequestAdapter.ts @@ -25,8 +25,8 @@ export class GraphRequestAdapter extends BaseGraphRequestAdapter { */ constructor( authenticationProvider: AuthenticationProvider, - parseNodeFactory: ParseNodeFactory = ParseNodeFactoryRegistry.defaultInstance, - serializationWriterFactory: SerializationWriterFactory = SerializationWriterFactoryRegistry.defaultInstance, + parseNodeFactory: ParseNodeFactory = new ParseNodeFactoryRegistry(), + serializationWriterFactory: SerializationWriterFactory = new SerializationWriterFactoryRegistry(), httpClient?: HttpClient, observabilityOptions: ObservabilityOptions = new ObservabilityOptionsImpl(), ) { diff --git a/packages/msgraph-sdk/package.json b/packages/msgraph-sdk/package.json index 41762c51524..8b5ef73bd10 100644 --- a/packages/msgraph-sdk/package.json +++ b/packages/msgraph-sdk/package.json @@ -27,7 +27,7 @@ "url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues" }, "dependencies": { - "@microsoft/msgraph-sdk-core": "^1.0.0-preview.10", + "@microsoft/msgraph-sdk-core": "^1.0.0-preview.17", "tslib": "^2.6.2" }, "devDependencies": {