Socket
Socket
Sign inDemoInstall

oembetter

Package Overview
Dependencies
25
Maintainers
16
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12

0.1.6

Diff

Changelog

Source

0.1.6

security improvement: reject all URLs that are not http: or https: completely, right up front. This means you don't have to protect against these obvious hacks in your before and after handlers.

boutell
published 0.1.5 •

Changelog

Source

0.1.5

packaging issues, no changes.

boutell
published 0.1.4 •

Changelog

Source

0.1.4

if the URL leads to a page with no oembed metadata, look for a link rel="canonical" tag and try that URL instead. Don't pursue this more than one step.

Also, specify a user agent so that certain hosts don't give us watered-down HTML.

boutell
published 0.1.3 •

Changelog

Source

0.1.3

added youtu.be to the suggested allowlist.

boutell
published 0.1.2 •

Changelog

Source

0.1.23

workaround for YouTube bug in which video pages contain http: recommendations for oembed URLs, but an http: request is rejected with a 403 error. Force https: for YouTube.

boutell
published 0.1.1 •

Changelog

Source

0.1.19

unnecessary Facebook API logic was running on non-Facebook embeds due to a syntax mistake in 0.1.17.

boutell
published 0.1.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc