open-graph-scraper
Advanced tools
Comparing version 5.0.3 to 5.0.4
# Change Log | ||
## 5.0.4 | ||
- The `options.downloadLimit` type now allows for `false` | ||
- Updating Dependencies | ||
## 5.0.3 | ||
@@ -4,0 +9,0 @@ |
@@ -406,3 +406,3 @@ export = run; | ||
* @param {number} [options.peekSize] - Sets the peekSize for the request. | ||
* @param {number} [options.downloadLimit] - Maximum size of the content downloaded from the server, in bytes. | ||
* @param {number | false} [options.downloadLimit] - Maximum size of the content downloaded from the server, in bytes. | ||
* @param {validatorSettings} [options.urlValidatorSettings] - Sets the options used by validator.js for testing the URL | ||
@@ -426,3 +426,3 @@ * @param {boolean} [options.decompress] - Set the accept-encoding to `gzip, deflate, br` (default: `true`). | ||
peekSize?: number; | ||
downloadLimit?: number; | ||
downloadLimit?: number | false; | ||
urlValidatorSettings?: validatorSettings; | ||
@@ -429,0 +429,0 @@ decompress?: boolean; |
@@ -415,3 +415,3 @@ /* eslint-disable max-len */ | ||
* @param {number} [options.peekSize] - Sets the peekSize for the request. | ||
* @param {number} [options.downloadLimit] - Maximum size of the content downloaded from the server, in bytes. | ||
* @param {number | false} [options.downloadLimit] - Maximum size of the content downloaded from the server, in bytes. | ||
* @param {validatorSettings} [options.urlValidatorSettings] - Sets the options used by validator.js for testing the URL | ||
@@ -418,0 +418,0 @@ * @param {boolean} [options.decompress] - Set the accept-encoding to `gzip, deflate, br` (default: `true`). |
{ | ||
"name": "open-graph-scraper", | ||
"description": "Node.js scraper module for Open Graph and Twitter Card info", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"chardet": "^1.5.0", | ||
"chardet": "^1.5.1", | ||
"cheerio": "^1.0.0-rc.12", | ||
@@ -40,17 +40,17 @@ "got": "^12.5.3", | ||
"devDependencies": { | ||
"@babel/core": "^7.20.5", | ||
"@babel/core": "^7.20.12", | ||
"@babel/eslint-parser": "^7.19.1", | ||
"@snyk/protect": "^1.1071.0", | ||
"@snyk/protect": "^1.1093.0", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.29.0", | ||
"eslint": "^8.33.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-mocha": "^10.1.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"mocha": "^10.2.0", | ||
"nock": "^13.2.9", | ||
"nock": "^13.3.0", | ||
"nyc": "^15.1.0", | ||
"sinon": "^15.0.1", | ||
"tunnel": "^0.0.6", | ||
"typescript": "^4.9.4" | ||
"typescript": "^4.9.5" | ||
}, | ||
@@ -57,0 +57,0 @@ "repository": { |
@@ -6,4 +6,6 @@ # openGraphScraper | ||
A simple node module for scraping Open Graph and Twitter Card info off a site. For browser usage, we recommend using [ky](https://github.com/sindresorhus/ky) to make the requests(or a backend service) then pass in the `html` into `open-graph-scraper` using the `html` option. | ||
A simple node module for scraping Open Graph and Twitter Card info off a site. | ||
Note: `open-graph-scraper` doesn't support browser usage at this time. | ||
## Installation | ||
@@ -10,0 +12,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143
126001
Updatedchardet@^1.5.1