Socket
Socket
Sign inDemoInstall

open-graph-scraper

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

open-graph-scraper - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

4

CHANGELOG.md
# Change Log
## 5.2.2
- Specify true/false to distinguish `SuccessResult` and `ErrorResult` by `error` field.
## 5.2.1

@@ -4,0 +8,0 @@

4

index.ts

@@ -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",

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