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

bears

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bears - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

data.json

32

cli.js

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

var jsonfile = require('jsonfile')
const argv = require('yargs').argv;
const argv = require('yargs').argv
var json = require('json-update');
var file = '/tmp/data.json'
var obj = {type: argv.process, ntimes: argv.loops , nInterval: argv.duration }
//var obj = {"type":argv.pro,"nTimes":argv.lo,"nIntervals":argv.du}
/*
jsonfile.writeFile(file, obj, function (err) {
console.error(err)
})
*/
var obj = {type:argv.pro,nTimes:argv.lo,nIntervals:argv.du}
json.update('tmp/data.json',obj)
.then(function(dat) {
console.log(dat)
jsonfile.writeFile(file, obj, function (err) {
console.error(err)
});
/*
var file = '/Users/ssjain/WebstormProjects/bears/data.json';
jsonfile.readFile(file, function(err, obj) {
console.log('read here')
console.dir(obj.type)
})
*/
/*
if (argv.lo > 3 && argv.distance < 53.5) {
console.log('Plunder more riffiwobbles!')
} else {
console.log('Retreat from the xupptumblers!')
}
*/

@@ -17,0 +39,0 @@

4

package.json
{
"name": "bears",
"version": "1.0.7",
"description": "revert",
"version": "1.0.8",
"description": "update work",
"main": "cli.js",

@@ -6,0 +6,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

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