@types/open-graph-scraper 4.8.1 → 4.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
open-graph-scraper/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for open-graph-scraper (https://github.co
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/open-graph-scraper.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
11
|
+
* Last updated: Sun, 03 Sep 2023 22:33:52 GMT
|
12
12
|
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
13
13
|
* Global values: none
|
14
14
|
|
open-graph-scraper/index.d.ts
CHANGED
@@ -5,14 +5,16 @@
|
|
5
5
|
|
6
6
|
/// <reference types="node" />
|
7
7
|
|
8
|
-
import { PassThrough } from
|
8
|
+
import { PassThrough } from "stream";
|
9
9
|
|
10
10
|
declare namespace run {
|
11
11
|
interface OpenGraphImage {
|
12
|
-
|
12
|
+
// Height and Width can be optional, see doc on
|
13
|
+
// https://github.com/jshemas/openGraphScraper/blob/master/lib/media.js
|
14
|
+
height?: string;
|
13
15
|
type: string;
|
14
16
|
url: string;
|
15
|
-
width
|
17
|
+
width?: string;
|
16
18
|
}
|
17
19
|
|
18
20
|
interface OpenGraphProperties {
|
open-graph-scraper/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/open-graph-scraper",
|
3
|
-
"version": "4.8.
|
3
|
+
"version": "4.8.3",
|
4
4
|
"description": "TypeScript definitions for open-graph-scraper",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/open-graph-scraper",
|
6
6
|
"license": "MIT",
|
@@ -22,6 +22,6 @@
|
|
22
22
|
"dependencies": {
|
23
23
|
"@types/node": "*"
|
24
24
|
},
|
25
|
-
"typesPublisherContentHash": "
|
26
|
-
"typeScriptVersion": "3
|
25
|
+
"typesPublisherContentHash": "64b8decb0c6ee28b1674a73c6fae85e419a884c0ae770b34a31f37a91bfa7c70",
|
26
|
+
"typeScriptVersion": "4.3"
|
27
27
|
}
|