n8n-nodes-onedrive-business 1.1.8 → 1.1.9

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.
@@ -74,10 +74,11 @@ function isValidItemId(itemId) {
74
74
  // Graph item IDs are base64-encoded strings but can vary.
75
75
  // Use a heuristic: if it contains slash or colon, it's definitely a path.
76
76
  // If it's a long string without path separators, treat as ID.
77
- if (itemId.includes('/') || itemId.includes(':')) {
77
+ if (!itemId || typeof itemId !== 'string') {
78
78
  return false;
79
79
  }
80
- return true;
80
+ // Reverting to strict Regex from v1.1.5 to ensure stability
81
+ return /^[A-Za-z0-9!_\-=]+$/.test(itemId);
81
82
  }
82
83
  exports.isValidItemId = isValidItemId;
83
84
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-onedrive-business",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "n8n custom node for OneDrive Business with robust deduplication and webhook triggers",
5
5
  "keywords": [
6
6
  "n8n",