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

smart-sections

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-sections - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

3

dist/bundle.cjs.js

@@ -570,3 +570,4 @@ 'use strict';

name: sectionName,
scroll: function scroll() {
scroll: function scroll(e) {
if (e && typeof e.preventDefault === 'function') e.preventDefault();
window.scrollTo(0, yScrollPoint);

@@ -573,0 +574,0 @@ },

@@ -566,3 +566,4 @@ var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

name: sectionName,
scroll: function scroll() {
scroll: function scroll(e) {
if (e && typeof e.preventDefault === 'function') e.preventDefault();
window.scrollTo(0, yScrollPoint);

@@ -569,0 +570,0 @@ },

{
"name": "smart-sections",
"version": "0.0.3",
"version": "0.0.4",
"description": "Framework agnostic, vertical scroll solution that follows what you actually read",

@@ -16,3 +16,4 @@ "main": "dist/bundle.cjs.js",

"scripts": {
"start": "nps"
"start": "nps",
"prepublish": "yarn start build"
},

@@ -19,0 +20,0 @@ "dependencies": {

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