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

alphavantage

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alphavantage - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

.travis.yml

9

package.json
{
"name": "alphavantage",
"version": "0.0.5",
"version": "0.0.6",
"description": "A simple interface to the Alpha Vantage API.",

@@ -10,5 +10,5 @@ "main": "index.js",

"scripts": {
"test": "jest",
"test": "jest --coverage",
"lint": "prettier --print-width 120 --single-quote --write \"./**/**.js\"",
"coverage": "jest --coverage"
"coveralls": "cat ./coverage/lcov.info | coveralls"
},

@@ -38,5 +38,6 @@ "keywords": [

"devDependencies": {
"coveralls": "^2.13.1",
"dotenv": "^4.0.0",
"jest": "^20.0.4",
"prettier": "^1.5.3"
"prettier": "^1.6.1"
},

@@ -43,0 +44,0 @@ "jest": {

# AlphaVantage
[![Build Status](https://travis-ci.org/zackurben/alphavantage.svg?branch=master)](https://travis-ci.org/zackurben/alphavantage)
[![Coverage Status](https://coveralls.io/repos/github/zackurben/alphavantage/badge.svg?branch=master)](https://coveralls.io/github/zackurben/alphavantage?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/zackurben/alphavantage.svg)](https://greenkeeper.io/)
```

@@ -19,3 +23,3 @@ Note: This is a WIP

- [x] Add more test coverage
- [ ] Add CI/CD support
- [x] Add CI/CD support
- [x] Add Sector Performance data

@@ -22,0 +26,0 @@ - [ ] Add Technical indicators data

'use strict';
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
const alpha = require('../')();

@@ -4,0 +5,0 @@

'use strict';
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
const alpha = require('../')();

@@ -4,0 +5,0 @@

@@ -7,3 +7,8 @@ 'use strict';

expect.assertions(7);
const frags = alpha.util.url('a', 'b', 'c', 'd', 'e').toString().split('?')[1].toString().split('&');
const frags = alpha.util
.url('a', 'b', 'c', 'd', 'e')
.toString()
.split('?')[1]
.toString()
.split('&');

@@ -19,2 +24,16 @@ expect(frags.length).toBe(6);

test(`the url builder with no params yields the base url`, () => {
expect.assertions(3);
const frags = alpha.util
.url()
.toString()
.split('?')[1]
.toString()
.split('&');
expect(frags.length).toBe(2);
expect(/^apikey=.*$/.test(frags[0])).toBe(true);
expect(frags[1]).toBe('');
});
test(`intraday data polishing works`, () => {

@@ -21,0 +40,0 @@ expect.assertions(41);

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