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

affixing-header

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

affixing-header - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

3

dist/affixing-header.js

@@ -0,2 +1,5 @@

var _a;
import onscrolling from 'onscrolling';
// Create window fallback if needed for SSR
const window = (_a = globalThis.window) !== null && _a !== void 0 ? _a : globalThis;
// Keep track of:

@@ -3,0 +6,0 @@ // - state of nav bar

4

package.json
{
"name": "affixing-header",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"description": "An affixing header that behaves normally as a user navigates down a page, but reveals itself naturally when a user scrolls or drags upwards. Inspired by iOS Safari, Medium, and others.",

@@ -77,4 +77,4 @@ "type": "module",

"dependencies": {
"onscrolling": "^2.0.0-beta.5"
"onscrolling": "^2.0.0-beta.6"
}
}

Sorry, the diff of this file is not supported yet

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