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

danz-test

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danz-test - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

60

index.js

@@ -373,32 +373,32 @@ 'use strict';

// init(flags)
// .then(function() {
// var rootPath = path.resolve(_root, _flags.base);
// return genTree(rootPath);
// })
// .then(function() {
// _debug('generated tree:', JSON.stringify(_tree, null, 2));
// var str = stringifyTree(_tree) + _marks.eol;
// if (!_flags.noreport) {
// for (var i = 0, l = _types.length; i < l; i++) {
// if (_stats[_types[i]] && _stats[_types[i]].length) {
// str += _types[i] + ': ' + _stats[_types[i]].length + ' ';
// }
// }
// // _log('result:\n', str);
// }
// return fs.writeFileAsync(_flags.o, str)
// .then(function() {
// // _log('Finish writing to file:',
// path.resolve(_root, _flags.o)
// );
// })
// .catch(function(err) {
// // _error(err);
// process.exit(-1);
// });
// })
// .then(function() {
// _spinnerOff();
// });
init(flags)
.then(function() {
var rootPath = path.resolve(_root, _flags.base);
return genTree(rootPath);
})
.then(function() {
_debug('generated tree:', JSON.stringify(_tree, null, 2));
var str = stringifyTree(_tree) + _marks.eol;
if (!_flags.noreport) {
for (var i = 0, l = _types.length; i < l; i++) {
if (_stats[_types[i]] && _stats[_types[i]].length) {
str += _types[i] + ': ' + _stats[_types[i]].length + ' ';
}
}
// _log('result:\n', str);
}
return fs.writeFileAsync(_flags.o, str)
.then(function() {
// _log('Finish writing to file:',
path.resolve(_root, _flags.o)
);
})
.catch(function(err) {
// _error(err);
process.exit(-1);
});
})
.then(function() {
_spinnerOff();
});

@@ -405,0 +405,0 @@ };

{
"name": "danz-test",
"version": "0.0.3",
"version": "0.0.4",
"description": "just a test.",

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