Socket
Socket
Sign inDemoInstall

vanilla-back-to-top

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-back-to-top - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

2

package.json
{
"name": "vanilla-back-to-top",
"version": "5.0.2",
"version": "5.0.3",
"description": "Tiny and configurable Back To Top button with no dependencies",

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

@@ -24,7 +24,7 @@ # Vanilla Back To Top

```html
<script src="https://unpkg.com/vanilla-back-to-top@5.0.2/dist/vanilla-back-to-top.min.js.gz"></script>
<script src="https://unpkg.com/vanilla-back-to-top@5.0.3/dist/vanilla-back-to-top.min.js"></script>
<script>addBackToTop()</script>
```
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://unpkg.com/vanilla-back-to-top@5.0.2/dist/vanilla-back-to-top.min.js) to your project and serve it from your server:
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://unpkg.com/vanilla-back-to-top@5.0.3/dist/vanilla-back-to-top.min.js) to your project and serve it from your server:
```html

@@ -31,0 +31,0 @@ <script src="/assets/vanilla-back-to-top.min.js.gz"></script>

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