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

dsfeeds

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsfeeds - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

1

lib/dsfeeds.js

@@ -24,2 +24,3 @@ const DSFeeds = require('./js_module');

};
console.log('x: ', feeds.tryGet.call(id)[0]);
return result;

@@ -26,0 +27,0 @@ };

8

package.json
{
"name": "dsfeeds",
"version": "0.1.2",
"version": "0.1.3",
"description": "Command line app to manage feeds easily.",

@@ -10,4 +10,3 @@ "main": "./dsfeeds",

"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "gulp build"
"test": "echo \"Error: no test specified\" && exit 1"
},

@@ -45,5 +44,4 @@ "repository": {

"eslint-config-airbnb-base": "^11.1.0",
"eslint-plugin-import": "^2.2.0",
"gulp": "^3.9.1"
"eslint-plugin-import": "^2.2.0"
}
}

@@ -21,5 +21,14 @@ function toBytes(number, bytes) {

} else {
// Private network
const network = result > 3 ? 4 : result;
const env = [null, 'live', 'morden', 'ropsten', 'develop'][network];
switch(result) {
case '1':
env = 'live'; break;
case '2':
env = 'morden'; break;
case '3':
env = 'ropsten'; break;
case '42':
env = 'kovan'; break;
default:
env = 'develop'; break;
}
resolve(env);

@@ -26,0 +35,0 @@ }

Sorry, the diff of this file is too big to display

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