New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

canvas-data-cli

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-data-cli - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

10

lib/Sync.js

@@ -44,4 +44,4 @@ 'use strict';

if (splitResults.erroredFiles.length) {
_this.logger.warn(errorFiles.length + ' files failed to download, please try running the sync again, if this error persists, open a ticket. No files will be cleaned up');
_this.logger.warn(errorFiles);
_this.logger.warn(splitResults.erroredFiles.length + ' files failed to download, please try running the sync again, if this error persists, open a ticket. No files will be cleaned up');
_this.logger.warn(splitResults.erroredFiles);
return cb(new Error('failed to download some files, try running sync again'));

@@ -214,3 +214,7 @@ }

glob('**/*', { cwd: this.saveLocation, nodir: true }, function (err, files) {
var toRemove = files.filter(function (f) {
if (err) return cb(err);
// rewrite paths because glob returns inproper path seperators on windows (/ instead of \)
var toRemove = files.map(function (f) {
return f.split('/').join(path.sep);
}).filter(function (f) {
return f !== 'schema.json' && !byFilename[f];

@@ -217,0 +221,0 @@ });

{
"name": "canvas-data-cli",
"version": "0.3.4",
"version": "0.3.5",
"description": "A CLI tool for interacting with the Canvas Data API",

@@ -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