m365-cli 0.1.0 → 0.1.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/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "m365-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Microsoft 365 CLI - Manage Mail, Calendar, and OneDrive from the command line",
5
5
  "type": "module",
6
- "files": ["bin", "src", "config", "README.md"],
6
+ "files": [
7
+ "bin",
8
+ "src",
9
+ "config",
10
+ "README.md"
11
+ ],
7
12
  "main": "src/index.js",
8
13
  "bin": {
9
14
  "m365": "./bin/m365.js"
@@ -23,8 +28,13 @@
23
28
  "onedrive"
24
29
  ],
25
30
  "author": "",
26
- "repository": { "type": "git", "url": "" },
27
- "bugs": { "url": "" },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": ""
34
+ },
35
+ "bugs": {
36
+ "url": ""
37
+ },
28
38
  "homepage": "",
29
39
  "license": "MIT",
30
40
  "engines": {
@@ -12,9 +12,6 @@ const WHITELIST_PATHS = [
12
12
  join(homedir(), '.m365-cli/trusted-senders.txt'),
13
13
  ];
14
14
 
15
- /**
16
- * Get the active whitelist file path
17
- */
18
15
  function getWhitelistPath() {
19
16
  // Return first existing path
20
17
  for (const path of WHITELIST_PATHS) {
@@ -23,8 +20,8 @@ function getWhitelistPath() {
23
20
  }
24
21
  }
25
22
 
26
- // Default to second path if none exist
27
- return WHITELIST_PATHS[1];
23
+ // Default to first path if none exist (will be created on first add)
24
+ return WHITELIST_PATHS[0];
28
25
  }
29
26
 
30
27
  /**