Socket
Socket
Sign inDemoInstall

vanilla-back-to-top

Package Overview
Dependencies
0
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "vanilla-back-to-top",
"version": "2.0.0",
"version": "2.0.1",
"description": "Configurable zero dependency Back To Top button",

@@ -5,0 +5,0 @@ "main": "dist/vanilla-back-to-top.min.js",

@@ -13,9 +13,9 @@ # Vanilla Back To Top

```
<script src="https://unpkg.com/vanilla-back-to-top@2.0.0/dist/vanilla-back-to-top.min.js"></script>
<script src="https://unpkg.com/vanilla-back-to-top@2.0.1/dist/vanilla-back-to-top.min.js"></script>
<script>addBackToTop({})</script>
```
If you want to target older browsers and IE 10 add this instead:
If you want to target older browsers and IE 10 add this instead (~15% larger when gzipped):
```
<script src="https://unpkg.com/vanilla-back-to-top@1.1.3/dist/vanilla-back-to-top.ie10.min.js"></script>
<script src="https://unpkg.com/vanilla-back-to-top@2.0.1/dist/vanilla-back-to-top.ie10.min.js"></script>
<script>addBackToTop({})</script>

@@ -22,0 +22,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