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

sajari-website

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sajari-website - npm Package Compare versions

Comparing version 0.7.10 to 0.8.0

12

gulpfile.js

@@ -19,3 +19,3 @@ var gulp = require('gulp');

gulp.task('beautify', function() {
gulp.src('./src/js/*.js')
return gulp.src('./src/js/*.js')
.pipe(prettify({config: '.jsbeautifyrc', mode: 'VERIFY_AND_WRITE'}))

@@ -26,3 +26,3 @@ .pipe(gulp.dest('./src/js/'));

gulp.task('lint', function() {
gulp.src('./src/js/*.js')
return gulp.src('./src/js/*.js')
.pipe(jshint())

@@ -48,3 +48,3 @@ .pipe(jshint.reporter('jshint-stylish'))

gulp.task('website', ['compile-templates', 'test', 'lint'], function() {
gulp.task('website', gulp.series('compile-templates', 'test', 'lint'), function() {
return browserify('./src/js/website.js')

@@ -66,3 +66,3 @@ .bundle().on('error', function(e){

gulp.task('compress-website', ['compile-templates', 'test'], function() {
gulp.task('compress-website', gulp.series('compile-templates', 'test'), function() {
return browserify('./src/js/website.js')

@@ -77,5 +77,5 @@ .bundle()

gulp.task('default', ['compile-templates', 'website', 'compress-website']);
gulp.task('default', gulp.series('compile-templates', 'website', 'compress-website'));
gulp.task("watch", ['beautify'], function() {
gulp.task("watch", gulp.series('beautify'), function() {
watch(['src/js/*', 'tests/*'], function() {

@@ -82,0 +82,0 @@ gulp.start("default");

{
"name": "sajari-website",
"version": "0.7.10",
"version": "0.8.0",
"description": "Website extensions for the Sajari API. Automatically index site content, add user profiles, render search and recommendations, etc.",

@@ -37,11 +37,12 @@ "author": {

"browserify": "^13.0.0",
"gulp": "^3.9.0",
"gulp": "^4.0.0",
"gulp-cli": "^2.0.1",
"gulp-concat": "^2.3.4",
"gulp-jsbeautifier": "^1.0.1",
"gulp-jshint": "^2.0.0",
"gulp-jslint": "^0.2.2",
"gulp-jsbeautifier": "^2.1.2",
"gulp-jshint": "^2.1.0",
"gulp-jslint": "^1.0.10",
"gulp-tape": "0.0.7",
"gulp-uglify": "^0.3.1",
"gulp-watch": "^4.3.5",
"jshint": "^2.8.0",
"gulp-uglify": "^3.0.1",
"gulp-watch": "^5.0.1",
"jshint": "^2.9.6",
"jshint-stylish": "^2.1.0",

@@ -54,11 +55,11 @@ "tap-colorize": "^1.2.0",

"dependencies": {
"debug": "^2.2.0",
"debug": "^2.6.9",
"dot": "1.0.1",
"js-base64": "^2.1.9",
"js-cookie": "^2.1.0",
"sajari": "0.9.5",
"superagent": "^1.6.1",
"js-base64": "^2.1.9",
"readability-hash": "^1.0.0"
"readability-hash": "1.1.0",
"sajari": "^0.20.0",
"superagent": "^3.8.3"
},
"license": "MIT"
}

@@ -752,6 +752,8 @@ require("./utils/polyfills");

// Grab page meta and add it to the page object
page.meta = hash.Meta(document);
dom.dynamicMeta(document, page.meta);
// Add the readability MD5 hash for the page to the data sent with indexing ping
page.md5 = hash.Hash(document);
page.bodyMD5 = hash.Hash(document);
page.metaMD5 = hash.ObjHash(page.meta);

@@ -758,0 +760,0 @@ // Send page for indexing

Sorry, the diff of this file is too big to display

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