open-graph-scraper
Advanced tools
Comparing version 5.2.1 to 5.2.2
# Change Log | ||
## 5.2.2 | ||
- Specify true/false to distinguish `SuccessResult` and `ErrorResult` by `error` field. | ||
## 5.2.1 | ||
@@ -4,0 +8,0 @@ |
@@ -61,3 +61,3 @@ /* eslint-disable max-len, import/no-import-module-exports */ | ||
type SuccessResult = { | ||
error: boolean; | ||
error: false; | ||
result: OgObject; | ||
@@ -68,5 +68,5 @@ response: object; | ||
type ErrorResult = { | ||
error: boolean; | ||
error: true; | ||
result: OgObject; | ||
response: undefined; | ||
}; |
{ | ||
"name": "open-graph-scraper", | ||
"description": "Node.js scraper module for Open Graph and Twitter Card info", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.js", |
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
123707