Updated Dependencies + Added Comments

This commit is contained in:
paoda 2020-03-17 04:07:53 -03:00
parent 724af523ff
commit 9c824bfdd6
4 changed files with 17 additions and 11 deletions

View File

@ -1,5 +1,9 @@
"use strict";
/**
* @file Scrapes https://trendogate.com and creates a .csv of historical trending data
* @author Rekai Musuka <rk306597@dal.ca>
* @license MIT
* @version 2020.03.17
*/
import { addDays, format } from 'date-fns';
import cheerio from 'cheerio';
import axios from 'axios';

View File

@ -1,12 +1,13 @@
{
"name": "trendogate_scraper",
"version": "1.0.0",
"version": "2020.03.17",
"description": "Scrapes information from https://trendogate.com/ for CSCI 1107",
"main": "index.js",
"repository": "ssh://gitea@git.paoda.moe:31059/paoda/trendogate_scraper.git",
"author": "paoda <musukarekai@gmail.com>",
"scripts": {
"start": "node ./out/index.js"
"start": "node ./out/index.js",
"watch": "tsc --watch"
},
"license": "MIT",
"private": true,

View File

@ -4,7 +4,8 @@
"module": "CommonJS",
"outDir": "out",
"sourceMap": true,
"esModuleInterop": true
"esModuleInterop": true,
"alwaysStrict": true
},
"compileOnSave": true
}

View File

@ -10,9 +10,9 @@
"@types/node" "*"
"@types/node@*":
version "13.7.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.7.tgz#1628e6461ba8cc9b53196dfeaeec7b07fa6eea99"
integrity sha512-Uo4chgKbnPNlxQwoFmYIwctkQVkMMmsAoGGU4JKwLuvBefF0pCq4FybNSnfkfRCpC7ZW7kttcC/TrRtAJsvGtg==
version "13.9.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.1.tgz#96f606f8cd67fb018847d9b61e93997dabdefc72"
integrity sha512-E6M6N0blf/jiZx8Q3nb0vNaswQeEyn0XlupO+xN6DtJ6r6IT4nXrTry7zhIfYvFCl3/8Cu6WIysmUBKiqV0bqQ==
axios@^0.19.2:
version "0.19.2"
@ -54,9 +54,9 @@ css-what@2.1:
integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==
date-fns@^2.10.0:
version "2.10.0"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.10.0.tgz#abd10604d8bafb0bcbd2ba2e9b0563b922ae4b6b"
integrity sha512-EhfEKevYGWhWlZbNeplfhIU/+N+x0iCIx7VzKlXma2EdQyznVlZhCptXUY+BegNpPW2kjdx15Rvq503YcXXrcA==
version "2.11.0"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.11.0.tgz#ec2b44977465b9dcb370021d5e6c019b19f36d06"
integrity sha512-8P1cDi8ebZyDxUyUprBXwidoEtiQAawYPGvpfb+Dg0G6JrQ+VozwOmm91xYC0vAv1+0VmLehEPb+isg4BGUFfA==
debug@=3.1.0:
version "3.1.0"