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

scrollama

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrollama - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

package.json
{
"name": "scrollama",
"version": "1.4.0",
"version": "1.4.1",
"description": "Lightweight scrollytelling library using IntersectionObserver",

@@ -5,0 +5,0 @@ "main": "build/scrollama.js",

@@ -10,2 +10,4 @@ ###### scrollama.js

**Note: As of version 1.4.0, you must manually add the IntersectionObserver polyfill for cross-browser support. See [installation](https://github.com/russellgoldenberg/scrollama#installation) for details.**
As seen on [The Pudding](https://pudding.cool/):

@@ -55,5 +57,8 @@

**Note: As of version 1.4.0, the IntersectionObserver polyfill has been removed from the build. You must include it yourself for cross-browser support.**
Old school (exposes the `scrollama` global):
```html
<script src='https://unpkg.com/intersection-observer'></script>
<script src='https://unpkg.com/scrollama'></script>

@@ -65,3 +70,3 @@ ```

```sh
npm install scrollama
npm install scrollama intersection-observer
```

@@ -72,2 +77,3 @@

```js
import 'intersection-observer'
import scrollama from 'scrollama'; // or...

@@ -74,0 +80,0 @@ const scrollama = require('scrollama');

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