Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bigcommerce/script-loader

Package Overview
Dependencies
Maintainers
14
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigcommerce/script-loader - npm Package Versions

2.2.3

Diff

Changelog

Source

2.2.3 (2024-01-18)

davidchin
published 2.2.2 •

Changelog

Source

2.2.2 (2020-06-23)

Bug Fixes

  • common: CHECKOUT-4954 Upgrade request-sender version (201651b)
capsula4
published 2.2.1 •

Changelog

Source

2.2.1 (2020-05-25)

davidchin
published 2.1.0 •

Changelog

Source

2.1.0 (2019-10-24)

Features

  • common: PAYPAL-7 Pass in merchant ID on PayPal button script for PayPal Express Checkout (bdfbcd5)
  • common: PAYPAL-7 Pass in merchant ID on PayPal button script for PayPal Express Checkout (fc9e7c9)
  • common: PAYPAL-7 Pass in merchant ID on PayPal button script for PayPal Express Checkout (b6613e3)
  • common: PAYPAL-7 Pass in merchant ID on PayPal button script for PayPal Express Checkout (fe07c6e)
davidchin
published 2.0.0 •

Changelog

Source

2.0.0 (2019-10-03)

⚠ BREAKING CHANGES

  • core: Previously, when a script is loaded, we return the associated event object inside a promise object to the caller. With this change, we return an empty promise object instead. This change is necessary because we can't guarantee that scripts can be loaded in the same way across different browsers. For example, some browsers don't support rel="preload", so as a fallback, we have to preload scripts using regular XHR calls. In that case, we don't have an event object to return to the caller. We could potentially mock the event object to keep the return values consistent. But considering it is not a very useful thing to return, we've decided to make a breaking change and return nothing instead.

Bug Fixes

  • core: CHECKOUT-4455 Provide fallback for browsers that don't support preload attribute (0fc52e7)

  • core: CHECKOUT-4455 Stop resolving promise with load event (670fd2c)

<a name="1.0.0"></a>

davidchin
published 1.0.0 •

Changelog

Source

1.0.0 (2019-09-23)

Features

  • core: CHECKOUT-4400 Add ability to prefetch scripts and stylesheets (072d567)

<a name="0.2.0"></a>

davidchin
published 0.2.0 •

Changelog

Source

0.2.0 (2019-09-20)

Features

  • common: CHECKOUT-4400 Add StylesheetLoader for loading stylesheets (06fd92b)
  • common: CHECKOUT-4400 Load multiple scripts in parallel and run them in series (4d140a6)

<a name="0.1.6"></a>

davidchin
published 0.1.6 •

Changelog

Source

0.1.6 (2018-08-23)

Bug Fixes

  • common: CHECKOUT-3462 Remove Node engine field (d2fd2f3)

<a name="0.1.5"></a>

davidchin
published 0.1.5 •

Changelog

Source

0.1.5 (2018-05-28)

Bug Fixes

  • common: CHECKOUT-3191 Fix sourcemaps by enabling inlineSources (1c06351)

<a name="0.1.4"></a>

davidchin
published 0.1.4 •

Changelog

Source

0.1.4 (2018-05-14)

<a name="0.1.3"></a>

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc