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

amalgamatic-h5dcsched

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amalgamatic-h5dcsched - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

19

CHANGELOG.md

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

# 2014-10-21
4 commits against 3 issues, over 3 hours [`650e31f`](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/commit/650e31f)⎆[`1e61845`](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/commit/1e61845)
## [**1.0.3**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues?milestone=3&state=closed)
- [**#6**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues/6) Set timezone explicitly
## [**1.0.2**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues?milestone=2&state=closed)

@@ -8,18 +9,4 @@ - [**#4**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues/4) Handle no speakers

## Issues
- [**#5**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues/5) better parsing, closes #3, closes #4
---
# 2014-10-21
5 commits against 2 issues, over 3 hours [`b057471`](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/commit/b057471)⎆[`8e4a4aa`](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/commit/8e4a4aa)
## [**1.0.1**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues?milestone=1&state=closed)
- [**#1**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues/1) requires ability to set URL option
## Issues
- [**#2**](https://github.com/ucsf-ckm/amalgamatic-h5dcsched/issues/2) add setOptions(), closes #1

8

index.js
var cheerio = require('cheerio');
var http = require('http');
var url = require('url');
var extend = require('util-extend');
var moment = require('moment');
var extend = require('util-extend');
var timeOffset = '-0700'; // Offset of conference timezone for human-readable timestamps/easier testing.
var options = {

@@ -62,4 +64,4 @@ url: 'http://html5devconf.com/schedule.html'

var endTime = times.substring(times.indexOf('-')+2);
var start = moment(date + ' ' + startTime + ' -0700', 'MMMM DD hh:mma ZZ').format();
var end = moment(date + ' ' + endTime + ' -0700', 'MMMM DD hh:mma ZZ').format();
var start = moment(date + ' ' + startTime + ' ' + timeOffset, 'MMMM DD hh:mma ZZ').zone(timeOffset).format();
var end = moment(date + ' ' + endTime + ' ' + timeOffset, 'MMMM DD hh:mma ZZ').zone(timeOffset).format();

@@ -66,0 +68,0 @@ result.push({

@@ -8,3 +8,3 @@ {

},
"version": "1.0.2",
"version": "1.0.3",
"scripts": {

@@ -11,0 +11,0 @@ "test": "node_modules/lab/bin/lab -t 100"

@@ -39,2 +39,4 @@ /*jshint expr: true*/

console.dir(result.data[134]);
expect(result.data).to.contain({

@@ -41,0 +43,0 @@ url: 'http://html5devconf.com/speakers/rich_trott.html#session',

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