@adobe/helix-onedrive-support 10.7.2 → 10.8.1
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/.circleci/config.yml +1 -1
- package/.github/workflows/semantic-release.yaml +1 -1
- package/CHANGELOG.md +14 -0
- package/package.json +5 -5
- package/src/OneDriveMock.js +6 -0
- package/src/excel/Table.d.ts +6 -0
- package/src/excel/Table.js +5 -0
package/.circleci/config.yml
CHANGED
|
@@ -9,7 +9,7 @@ jobs:
|
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
11
11
|
steps:
|
|
12
|
-
- uses: actions/checkout@
|
|
12
|
+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
|
|
13
13
|
- name: Use Node.js 18.x
|
|
14
14
|
uses: actions/setup-node@v3
|
|
15
15
|
with:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [10.8.1](https://github.com/adobe/helix-onedrive-support/compare/v10.8.0...v10.8.1) (2023-09-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/helix-shared-tokencache to v1.3.9 ([7b024cc](https://github.com/adobe/helix-onedrive-support/commit/7b024cc5484c11d34fe4d953904ef7ff799b02d4))
|
|
7
|
+
|
|
8
|
+
# [10.8.0](https://github.com/adobe/helix-onedrive-support/compare/v10.7.2...v10.8.0) (2023-09-26)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* support get range for table ([#442](https://github.com/adobe/helix-onedrive-support/issues/442)) ([0a8affe](https://github.com/adobe/helix-onedrive-support/commit/0a8affec901dd67e1be8bf66f784537760a6dff5))
|
|
14
|
+
|
|
1
15
|
## [10.7.2](https://github.com/adobe/helix-onedrive-support/compare/v10.7.1...v10.7.2) (2023-09-21)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-onedrive-support",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.8.1",
|
|
4
4
|
"description": "Helix OneDrive Support",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"homepage": "https://github.com/adobe/helix-onedrive-support#readme",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@adobe/fetch": "4.1.0",
|
|
31
|
-
"@adobe/helix-shared-tokencache": "1.3.
|
|
31
|
+
"@adobe/helix-shared-tokencache": "1.3.9",
|
|
32
32
|
"@azure/msal-node": "2.1.0",
|
|
33
33
|
"jose": "4.14.6"
|
|
34
34
|
},
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"@adobe/eslint-config-helix": "2.0.3",
|
|
37
37
|
"@semantic-release/changelog": "6.0.3",
|
|
38
38
|
"@semantic-release/git": "10.0.1",
|
|
39
|
-
"@aws-sdk/client-s3": "3.
|
|
39
|
+
"@aws-sdk/client-s3": "3.418.0",
|
|
40
40
|
"ajv": "8.12.0",
|
|
41
41
|
"c8": "8.0.1",
|
|
42
42
|
"codecov": "3.8.3",
|
|
43
43
|
"dotenv": "16.3.1",
|
|
44
|
-
"eslint": "8.
|
|
44
|
+
"eslint": "8.50.0",
|
|
45
45
|
"eslint-plugin-header": "3.1.1",
|
|
46
46
|
"eslint-plugin-import": "2.28.1",
|
|
47
47
|
"husky": "8.0.3",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"mocha-multi-reporters": "1.5.1",
|
|
55
55
|
"nock": "13.3.3",
|
|
56
56
|
"npm": "10.1.0",
|
|
57
|
-
"semantic-release": "22.0.
|
|
57
|
+
"semantic-release": "22.0.4"
|
|
58
58
|
},
|
|
59
59
|
"lint-staged": {
|
|
60
60
|
"*.js": "eslint"
|
package/src/OneDriveMock.js
CHANGED
package/src/excel/Table.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import {DriveItem, GraphResult} from '../OneDrive';
|
|
13
|
+
import { Range } from './Range';
|
|
13
14
|
|
|
14
15
|
export declare interface FormatOptions {
|
|
15
16
|
/**
|
|
@@ -100,4 +101,9 @@ export declare interface Table {
|
|
|
100
101
|
* @param name column name
|
|
101
102
|
*/
|
|
102
103
|
deleteColumn(name: string): Promise<void>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Returns the range object associated with the entire table.
|
|
107
|
+
*/
|
|
108
|
+
range(): Range;
|
|
103
109
|
}
|
package/src/excel/Table.js
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { superTrim } from '../utils.js';
|
|
13
|
+
import { Range } from './Range.js';
|
|
13
14
|
|
|
14
15
|
export class Table {
|
|
15
16
|
constructor(oneDrive, prefix, name, log) {
|
|
@@ -142,4 +143,8 @@ export class Table {
|
|
|
142
143
|
get log() {
|
|
143
144
|
return this._log;
|
|
144
145
|
}
|
|
146
|
+
|
|
147
|
+
range() {
|
|
148
|
+
return new Range(this._oneDrive, `${this.uri}/range`, this._log);
|
|
149
|
+
}
|
|
145
150
|
}
|