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

metascraper

Package Overview
Dependencies
Maintainers
2
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metascraper - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

.bumpedrc

2

dist/index.js

@@ -36,3 +36,3 @@ 'use strict';

return request.then(function (res) {
return scrapeMetadata(res.body, url, rules);
return scrapeMetadata(res.body, res.url, rules);
});

@@ -39,0 +39,0 @@ }

{
"name": "metascraper",
"description": "A library to easily scrape metadata from an article on the web using Open Graph metadata, regular HTML metadata, and series of fallbacks.",
"version": "1.0.6",
"repository": "git://github.com/ianstormtaylor/metascraper.git",
"license": "MIT",
"homepage": "https://github.com/ianstormtaylor/metascraper#readme",
"version": "1.0.7",
"main": "./dist/index.js",
"scripts": {
"build": "npm-run-all build:dist build:tests",
"build:tests": "browserify ./test/browser.js --transform babelify --outfile ./test/support/build.js",
"build:dist": "babel ./lib --out-dir ./dist",
"clean": "rm -rf ./dist ./node_modules ./test/support/build.js",
"compare": "node ./support/comparison",
"prepublish": "npm run build:dist",
"release": "np",
"test": "npm-run-all build tests:server tests:browser",
"tests:browser": "mocha-phantomjs --reporter spec --timeout 5000 ./test/support/browser.html",
"tests:server": "mocha --reporter spec --timeout 5000 ./test/server"
"repository": {
"type": "git",
"url": "git://github.com/ianstormtaylor/metascraper.git"
},
"dependencies": {
"cheerio": "^0.20.0",
"chrono-node": "^1.2.3",
"is-isodate": "0.0.1",
"is-url": "^1.2.1",
"popsicle": "^6.2.0",
"to-title-case": "^1.0.0"
"bugs": {
"url": "https://github.com/ianstormtaylor/metascraper/issues"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-core": "^6.9.0",
"babel-polyfill": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"html-metadata": "^1.4.1",
"metaphor": "^2.1.0",
"mkdirp": "^0.5.1",
"mocha": "^2.5.2",
"mocha-phantomjs": "^4.0.2",
"node-metainspector": "^1.3.0",
"np": "^2.9.0",
"npm-run-all": "^2.3.0",
"open-graph-scraper": "^2.1.0",
"rimraf": "^2.5.2",
"source-map-support": "^0.4.0",
"unfluff": "^1.0.0"
},
"keywords": [

@@ -64,8 +29,8 @@ "article",

"metadata",
"micro format",
"microformat",
"micro format",
"og",
"open",
"open graph",
"opengraph",
"open graph",
"page",

@@ -88,3 +53,45 @@ "parse",

"website"
]
],
"dependencies": {
"cheerio": "^0.20.0",
"chrono-node": "^1.2.3",
"is-isodate": "0.0.1",
"is-url": "^1.2.1",
"popsicle": "^6.2.0",
"to-title-case": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-core": "^6.9.0",
"babel-polyfill": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"html-metadata": "^1.4.1",
"metaphor": "^2.1.0",
"mkdirp": "^0.5.1",
"mocha": "^2.5.2",
"mocha-phantomjs": "^4.0.2",
"node-metainspector": "^1.3.0",
"np": "^2.9.0",
"npm-run-all": "^2.3.0",
"open-graph-scraper": "^2.1.0",
"rimraf": "^2.5.2",
"source-map-support": "^0.4.0",
"unfluff": "^1.0.0"
},
"scripts": {
"build": "npm-run-all build:dist build:tests",
"build:dist": "babel ./lib --out-dir ./dist",
"build:tests": "browserify ./test/browser.js --transform babelify --outfile ./test/support/build.js",
"clean": "rm -rf ./dist ./node_modules ./test/support/build.js",
"compare": "node ./support/comparison",
"prepublish": "npm run build:dist",
"release": "np",
"test": "npm-run-all build tests:server tests:browser",
"tests:browser": "mocha-phantomjs --reporter spec --timeout 5000 ./test/support/browser.html",
"tests:server": "mocha --reporter spec --timeout 5000 ./test/server"
},
"license": "MIT"
}
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