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

open-graph-scraper

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

open-graph-scraper - npm Package Compare versions

Comparing version 2.2.2 to 2.3.0

5

app.js

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

iconv = require('iconv-lite'),
url = require('url'),
_ = require('lodash');

@@ -344,2 +345,6 @@

options.gzip = true;
if (process.browser) {
options.gzip = false;
options.protocol = url.parse(options.url).protocol;
}
that.getOG(options, function (err, results) {

@@ -346,0 +351,0 @@ if (results) {

5

package.json
{
"name": "open-graph-scraper",
"description": "Node.js scraper service for Open Graph info",
"version": "2.2.2",
"version": "2.3.0",
"license": "MIT",
"main": "app.js",
"engines" : {
"node" : "6.x"
},
"author": {

@@ -8,0 +11,0 @@ "name" : "Josh Shemas",

0

README.md

@@ -0,0 +0,0 @@ openGraphScraper

@@ -281,4 +281,4 @@ var app = require('../app'),

expect(result.success).to.be(true);
expect(result.data.ogTitle).to.be('Twitter');
expect(result.data.ogDescription).to.be('Connect with your friends — and other fascinating people. Get in-the-moment updates on the things that interest you. And watch events unfold, in real time, from every angle.');
expect(result.data.ogTitle).to.be('Twitter. It\'s what\'s happening.');
expect(result.data.ogDescription).to.be('From breaking news and entertainment to sports and politics, get the full story with all the live commentary.');
done();

@@ -285,0 +285,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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