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.0 to 1.0.1

CHANGELOG.md

5

index.js

@@ -5,2 +5,3 @@ var cheerio = require('cheerio');

var moment = require('moment');
var extend = require('util-extend');

@@ -11,2 +12,6 @@ var options = {

exports.setOptions = function (newOptions) {
options = extend(options, newOptions);
};
exports.search = function (query, callback) {

@@ -13,0 +18,0 @@ 'use strict';

5

package.json

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

},
"version": "1.0.0",
"version": "1.0.1",
"scripts": {

@@ -28,4 +28,5 @@ "test": "node_modules/lab/bin/lab -t 100"

"cheerio": "^0.17.0",
"moment": "^2.8.3"
"moment": "^2.8.3",
"util-extend": "^1.0.1"
}
}

@@ -95,2 +95,15 @@ /*jshint expr: true*/

});
it('should allow alternate URL to be set with setOptions()', function (done) {
nock('http://cors-anywhere.herokuapp.com')
.get('/html5devconf.com/schedule.html')
.replyWithFile(200, __dirname + '/fixtures/schedule.html');
sched.setOptions({url: 'http://cors-anywhere.herokuapp.com/html5devconf.com/schedule.html'});
sched.search({}, function (err, result) {
expect(err).to.be.not.ok;
expect(result).to.be.ok;
done();
});
});
});
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