Skip to content

Commit 5058699

Browse files
authored
Merge pull request #755 from microlinkhq/next
chore: update dependencies
2 parents 3b5b2ef + 38719be commit 5058699

File tree

12 files changed

+402
-11905
lines changed

12 files changed

+402
-11905
lines changed

packages/metascraper-helpers/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
],
2424
"dependencies": {
2525
"audio-extensions": "0.0.0",
26-
"chrono-node": "~2.7.9",
2726
"condense-whitespace": "~2.0.0",
27+
"chrono-node": "~2.8.0",
2828
"data-uri-utils": "~1.0.8",
2929
"debug-logfmt": "~1.2.3",
3030
"entities": "~6.0.0",
@@ -35,15 +35,15 @@
3535
"is-uri": "~1.2.7",
3636
"iso-639-3": "~2.2.0",
3737
"isostring": "0.0.1",
38-
"jsdom": "~26.0.0",
38+
"jsdom": "~26.1.0",
3939
"lodash": "~4.17.21",
4040
"memoize-one": "~6.0.0",
4141
"microsoft-capitalize": "~1.0.5",
4242
"mime": "3",
4343
"normalize-url": "~6.1.0",
4444
"re2": "~1.21.4",
4545
"smartquotes": "~2.3.2",
46-
"tldts": "~6.1.85",
46+
"tldts": "~7.0.6",
4747
"url-regex-safe": "~4.0.0",
4848
"video-extensions": "1"
4949
},

packages/metascraper-instagram/test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test('code is resilient', async t => {
2525
...metadata,
2626
/* prevent snapshot from failing */
2727
logo: metadata.logo.replace(
28-
'https://t0.gstatic.com',
28+
/^https:\/\/t[01]\.gstatic\.com/,
2929
'https://t2.gstatic.com'
3030
)
3131
})

packages/metascraper-media-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"p-retry": "~4.6.1",
3434
"p-timeout": "~4.1.0",
3535
"serialize-error": "~8.1.0",
36-
"youtube-dl-exec": "~3.0.20"
36+
"youtube-dl-exec": "~3.0.21"
3737
},
3838
"devDependencies": {
3939
"@kikobeats/time-span": "latest",

packages/metascraper-readability/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@metascraper/helpers": "workspace:*",
2727
"@mozilla/readability": "~0.6.0",
2828
"async-memoize-one": "~1.1.8",
29-
"happy-dom": "~17.4.4"
29+
"happy-dom": "~17.4.6"
3030
},
3131
"devDependencies": {
3232
"ava": "5"

packages/metascraper/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
},
8282
"license": "MIT",
8383
"ava": {
84+
"timeout": "30s",
8485
"failFast": true
8586
},
8687
"tsd": {

packages/metascraper/test/integration/transistor/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ const url = 'https://share.transistor.fm/e/70c487ed'
2525

2626
test('transistor.fm', async t => {
2727
const html = await readFile(resolve(__dirname, 'input.html'))
28-
const metadata = await metascraper({ html, url })
28+
const { logo, ...metadata } = await metascraper({ html, url })
2929
t.snapshot(metadata)
30+
t.is(typeof logo, 'string')
31+
t.true(new URL(logo).hostname.endsWith('transistor.fm'), logo)
3032
})

packages/metascraper/test/integration/transistor/snapshots/index.js.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Generated by [AVA](https://avajs.dev).
1515
description: null,
1616
image: 'https://images.transistor.fm/file/transistor/images/episode/263474/medium_1590257639-artwork.jpg',
1717
lang: null,
18-
logo: 'https://assets.transistor.fm/assets/favicon-6e847568a3fbd949ba82be5cb10951e28b51f7f58d6e573235b0cddf494de2c0.ico',
1918
publisher: '#032 – Before and After Product-Market Fit with Peter and Calvin from Segment',
2019
title: 'Transistor Embed | #032 – Before and After Product-Market Fit with Peter and Calvin from Segment',
2120
url: 'https://share.transistor.fm/e/70c487ed',
Binary file not shown.

packages/metascraper/test/integration/vimeo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const metascraper = require('../../..')([
2121
require('metascraper-readability')()
2222
])
2323

24-
const url = 'https://vimeo.com/200104989'
24+
const url = 'https://vimeo.com/311983548'
2525

2626
test('vimeo', async t => {
2727
const html = await readFile(resolve(__dirname, 'input.html'))

packages/metascraper/test/integration/vimeo/input.html

Lines changed: 384 additions & 11889 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)