@adobe/helix-onedrive-support 8.3.2 → 8.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +2 -2
- package/src/OneDrive.js +2 -2
- package/src/OneDriveAuth.js +2 -2
- package/src/SharePointSite.js +2 -2
- package/src/StatusCodeError.js +1 -1
- package/src/cache/S3CachePlugin.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [8.3.3](https://github.com/adobe/helix-onedrive-support/compare/v8.3.2...v8.3.3) (2022-09-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* @adobe/helix-fetch -> @adobe/fetch ([0fa4d0a](https://github.com/adobe/helix-onedrive-support/commit/0fa4d0a8f11f0f6d85a5d0e63a1311e788ce40bb))
|
|
7
|
+
|
|
1
8
|
## [8.3.2](https://github.com/adobe/helix-onedrive-support/compare/v8.3.1...v8.3.2) (2022-09-19)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-onedrive-support",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
4
4
|
"description": "Helix OneDrive Support",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/adobe/helix-onedrive-support#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@adobe/
|
|
31
|
+
"@adobe/fetch": "3.1.4",
|
|
32
32
|
"@aws-sdk/client-s3": "3.171.0",
|
|
33
33
|
"@azure/msal-node": "1.14.0",
|
|
34
34
|
"jose": "4.9.3"
|
package/src/OneDrive.js
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// eslint-disable-next-line max-classes-per-file
|
|
14
|
-
import { keepAliveNoCache } from '@adobe/
|
|
14
|
+
import { keepAliveNoCache } from '@adobe/fetch';
|
|
15
15
|
import { Workbook } from './excel/Workbook.js';
|
|
16
16
|
import { StatusCodeError } from './StatusCodeError.js';
|
|
17
17
|
import { editDistance, sanitizeName, splitByExtension } from './utils.js';
|
|
18
18
|
import { SharePointSite } from './SharePointSite.js';
|
|
19
19
|
|
|
20
|
-
const { fetch, reset } = keepAliveNoCache({ userAgent: '
|
|
20
|
+
const { fetch, reset } = keepAliveNoCache({ userAgent: 'adobe-fetch' });
|
|
21
21
|
/**
|
|
22
22
|
* the maximum subscription time in milliseconds
|
|
23
23
|
* @see https://docs.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0#maximum-length-of-subscription-per-resource-type
|
package/src/OneDriveAuth.js
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// eslint-disable-next-line max-classes-per-file
|
|
14
|
-
import { keepAliveNoCache } from '@adobe/
|
|
14
|
+
import { keepAliveNoCache } from '@adobe/fetch';
|
|
15
15
|
import { ConfidentialClientApplication, LogLevel } from '@azure/msal-node';
|
|
16
16
|
import { decodeJwt } from 'jose';
|
|
17
17
|
import { MemCachePlugin } from './cache/MemCachePlugin.js';
|
|
18
18
|
import { StatusCodeError } from './StatusCodeError.js';
|
|
19
19
|
|
|
20
|
-
const { fetch, reset } = keepAliveNoCache({ userAgent: '
|
|
20
|
+
const { fetch, reset } = keepAliveNoCache({ userAgent: 'adobe-fetch' });
|
|
21
21
|
|
|
22
22
|
const AZ_AUTHORITY_HOST_URL = 'https://login.windows.net';
|
|
23
23
|
const AZ_COMMON_TENANT = 'common';
|
package/src/SharePointSite.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
import { keepAliveNoCache } from '@adobe/
|
|
12
|
+
import { keepAliveNoCache } from '@adobe/fetch';
|
|
13
13
|
import { StatusCodeError } from './StatusCodeError.js';
|
|
14
14
|
|
|
15
|
-
const { fetch } = keepAliveNoCache({ userAgent: '
|
|
15
|
+
const { fetch } = keepAliveNoCache({ userAgent: 'adobe-fetch' });
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Helper class accessing folders and files using the SharePoint V1 API.
|
package/src/StatusCodeError.js
CHANGED