guratan 0.8.0 → 0.8.2

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/dist/cli.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Readable, Writable } from 'stream';
3
2
  type Opts = {
4
3
  stdin: Readable;
package/dist/tdrive.js CHANGED
@@ -27,7 +27,7 @@ export async function getFileId(drive, parentId, fileName, supportsAllDrives = f
27
27
  pageSize: 10,
28
28
  q: `'${parentId}' in parents and name = '${fileName}'`,
29
29
  fields: 'files(id, name)',
30
- includeItemsFromAllDrives: supportsAllDrives,
30
+ includeItemsFromAllDrives: supportsAllDrives, // 現状では supportsAllDrives が指定されていれば常に true にする
31
31
  supportsAllDrives
32
32
  });
33
33
  if (list.data.files && list.data.files.length > 0) {
package/dist/trecv.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Writable } from 'stream';
3
2
  import { drive_v3 } from '@googleapis/drive';
4
3
  export declare class DownloadFileError extends Error {
package/dist/tsend.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Readable } from 'stream';
3
2
  import { drive_v3 } from '@googleapis/drive';
4
3
  export declare class UploadFileError extends Error {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guratan",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Tiny send tool for Google Drive",
5
5
  "author": "hankei6km <hankei6km@gmail.com> (https://github.com/hankei6km)",
6
6
  "license": "MIT",
@@ -34,18 +34,18 @@
34
34
  "csb:test": "npm test -- --runInBand --watchAll"
35
35
  },
36
36
  "dependencies": {
37
- "@googleapis/drive": "^5.1.0",
37
+ "@googleapis/drive": "^19.2.0",
38
38
  "strip-bom-stream": "^5.0.0",
39
- "yargs": "^17.3.1"
39
+ "yargs": "^18.0.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/jest": "^27.4.1",
42
+ "@types/jest": "^30.0.0",
43
43
  "@types/node": "^16.11.26",
44
44
  "@types/yargs": "^17.0.9",
45
- "jest": "^27.5.1",
46
- "rimraf": "^5.0.0",
47
- "ts-jest": "^27.1.3",
48
- "ts-node": "^10.7.0",
49
- "typescript": "^4.6.2"
45
+ "jest": "^30.0.0",
46
+ "rimraf": "^6.0.0",
47
+ "ts-jest": "^29.1.1",
48
+ "ts-node": "^10.9.1",
49
+ "typescript": "^5.1.6"
50
50
  }
51
51
  }