Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gyran/google-drive-incomplete-folder-sync

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gyran/google-drive-incomplete-folder-sync - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

9

index.js

@@ -12,3 +12,3 @@ #!/usr/bin/env node

// config.clear();
config.clear();

@@ -93,5 +93,8 @@ const setupAuth = async () => {

for (const file of filesListResponse.data.files) {
console.log('syncing file', file);
if (file.capabilities.canListChildren) {
await syncDriveFolder(file.id, nodePath.join(currentPath, file.name));
} else if (file.capabilities.canDownload) {
console.log('will download', file.name);
await downloadDriveFile(

@@ -144,3 +147,3 @@ file.id,

const deleteDriveFile = async (fileId) => {
const a = await drive.files.delete({ fileId });
await drive.files.delete({ fileId });
};

@@ -165,2 +168,3 @@

console.log('will delete drive file', fileId, drivePath);
await deleteDriveFile(fileId);

@@ -184,2 +188,3 @@ }

console.log('Waiting for next loop');
await delay(intervalMs);

@@ -186,0 +191,0 @@ }

{
"name": "@gyran/google-drive-incomplete-folder-sync",
"version": "0.0.4",
"version": "0.0.5",
"description": "very simple and naive incomplete folder sync with google drive for my personal use",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc