open-graph-scraper
Advanced tools
Comparing version 6.3.2 to 6.3.3
# Change Log | ||
## 6.3.3 | ||
- Updating dependencies | ||
- Sent the `Accept: text/html` header by default | ||
## 6.3.2 | ||
@@ -4,0 +9,0 @@ |
@@ -152,3 +152,3 @@ "use strict"; | ||
multiple: true, | ||
property: 'og:video:url', | ||
property: 'og:video:url', // An alternative to 'og:video' | ||
fieldName: 'ogVideoProperty', | ||
@@ -155,0 +155,0 @@ }, |
@@ -17,3 +17,3 @@ "use strict"; | ||
signal: AbortSignal.timeout((options.timeout || 10) * 1000), | ||
headers: { Origin: options.url }, | ||
headers: { Origin: options.url, Accept: 'text/html' }, | ||
...options.fetchOptions, | ||
@@ -20,0 +20,0 @@ }); |
{ | ||
"name": "open-graph-scraper", | ||
"description": "Node.js scraper module for Open Graph and Twitter Card info", | ||
"version": "6.3.2", | ||
"version": "6.3.3", | ||
"license": "MIT", | ||
@@ -30,3 +30,3 @@ "main": "./dist/index.js", | ||
"cheerio": "^1.0.0-rc.12", | ||
"undici": "^5.26.4", | ||
"undici": "^6.4.0", | ||
"validator": "^13.11.0" | ||
@@ -40,13 +40,13 @@ }, | ||
"devDependencies": { | ||
"@snyk/protect": "^1.1236.0", | ||
"@types/mocha": "^10.0.3", | ||
"@snyk/protect": "^1.1272.0", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^18.18.3", | ||
"@types/validator": "^13.11.5", | ||
"@typescript-eslint/eslint-plugin": "^6.8.0", | ||
"@typescript-eslint/parser": "^6.8.0", | ||
"chai": "^4.3.10", | ||
"eslint": "^8.52.0", | ||
"@types/validator": "^13.11.8", | ||
"@typescript-eslint/eslint-plugin": "^6.19.1", | ||
"@typescript-eslint/parser": "^6.19.1", | ||
"chai": "^4.4.1", | ||
"eslint": "^8.56.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-config-airbnb-typescript": "^17.1.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-mocha": "^10.2.0", | ||
@@ -56,5 +56,5 @@ "eslint-plugin-promise": "^6.1.1", | ||
"nyc": "^15.1.0", | ||
"sinon": "^17.0.0", | ||
"sinon": "^17.0.1", | ||
"ts-mocha": "^10.0.0", | ||
"typescript": "^5.2.2" | ||
"typescript": "^5.3.3" | ||
}, | ||
@@ -61,0 +61,0 @@ "repository": { |
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
88942
- Removed@fastify/busboy@2.1.1(transitive)
- Removedundici@5.28.4(transitive)
Updatedundici@^6.4.0