metascraper
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -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" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
39937
17
1
0
0