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

gotsentimental

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

gotsentimental - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

core/asset.js

5

core/config.js
"use strict";
const fs = require('fs'),
path = require('path'),
debug = require('../core/debug')('core/config', true);
const cfgPath = path.resolve(__dirname, '../defaults.json');
// read config
var cfg;
try {
cfg = JSON.parse(fs.readFileSync('defaults.json', 'utf8'));
cfg = JSON.parse(fs.readFileSync(cfgPath, 'utf8'));
} catch (e) {

@@ -11,0 +14,0 @@ if (e.code === 'ENOENT') {

4

index.js

@@ -6,2 +6,3 @@ "use strict";

debug = require('./core/debug')('main', true),
asset = require('./core/asset'),
got = require('./crawler/got'),

@@ -84,2 +85,5 @@ mobile = require('./crawler/mobile'),

pkg.css = asset('public/chart.css');
pkg.js = asset('public/chart.js');
/*

@@ -86,0 +90,0 @@ (function test() {

{
"name": "gotsentimental",
"version": "0.0.2",
"version": "0.0.3",
"description": "GoT Twitter Sentiment Analysis",

@@ -8,4 +8,3 @@ "main": "index.js",

"test": "gulp test",
"hookup": "gulp hook",
"start": "node app.js"
"hookup": "gulp hook"
},

@@ -31,6 +30,3 @@ "repository": {

"dependencies": {
"Sentimental": "^1.0.1",
"agentkeepalive": "^2.0.5",
"express": "^4.13.4",
"express-handlebars": "^3.0.0",
"mongoose": "^4.4.6",

@@ -37,0 +33,0 @@ "request": "^2.69.0",

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