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
23Next

1.1.1

Diff

Changelog

Source

1.1.1 - 2023-09-22

  • Hardcode the oembed endpoint for vimeo, which stopped offering oembed metadata on pages.
boutell
published 1.1.0 •

Changelog

Source

1.1.0 - 2023-05-03

  • Switched to fast-xml-parser, eliminating installation warnings about xml2js.
boutell
published 1.0.2 •

Changelog

Source

1.0.2 - 2022-12-21

  • Switched to node-fetch, eliminating installation warnings about the unsupported request module.
  • Switched to mocha 10.x, eliminating another set of installation warnings.
  • Internal implementation of oembed.js now uses async/await for better maintainability.
alexbea
published 1.0.1 •

Changelog

Source

1.0.1 - 2020-06-30

Fixes

  • Updates cheerio to the 1.0.0-rc version series to address a security vulnerability.
boutell
published 1.0.0 •

Changelog

Source

1.0.0

renamed the whitelist and suggestedWhitelist properties to allowlist and suggestedAllowlist, respectively. Also introduced support for options.headers.

boutell
published 0.1.23 •

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.22 •

Changelog

Source

0.1.22

fixed URL parsing bugs impacting use of preconfigured endpoints that already contain some query string parameters.

boutell
published 0.1.20 •

Changelog

Source

0.1.20

fixed a nuisance error that was appearing when Facebook was present but window was not the default object.

boutell
published 0.1.19 •

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.18 •

Changelog

Source

0.1.18

report HTTP errors properly rather than attempting to parse a nonexistent JSON body. Also, always try/catch when parsing JSON and report the exception as the callback error if necessary.

23Next
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