@types/open-graph-scraper 4.8.1 → 4.8.2

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.
@@ -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: Thu, 08 Jul 2021 18:51:49 GMT
11
+ * Last updated: Wed, 19 Oct 2022 13:33:07 GMT
12
12
  * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
13
13
  * Global values: none
14
14
 
@@ -9,10 +9,12 @@ import { PassThrough } from 'stream';
9
9
 
10
10
  declare namespace run {
11
11
  interface OpenGraphImage {
12
- height: string;
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: string;
17
+ width?: string;
16
18
  }
17
19
 
18
20
  interface OpenGraphProperties {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/open-graph-scraper",
3
- "version": "4.8.1",
3
+ "version": "4.8.2",
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": "71d755b1a84385a49a6fbac267cf59d73a07d222d389432dce2acfd9fd04345b",
26
- "typeScriptVersion": "3.6"
25
+ "typesPublisherContentHash": "765a7edb94fd229ab033a9d761fe3786b2728dee8e272930e272c685e45f24f9",
26
+ "typeScriptVersion": "4.1"
27
27
  }