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

@bolt/components-smooth-scroll

Package Overview
Dependencies
Maintainers
4
Versions
351
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolt/components-smooth-scroll - npm Package Compare versions

Comparing version 0.9.5 to 1.0.0-alpha.5f29a4c1

25

package.json

@@ -11,3 +11,4 @@ {

],
"version": "0.9.5",
"version": "1.0.0-alpha.5f29a4c1",
"sourceFilesFrom": "0.9.5",
"maintainers": [

@@ -26,25 +27,13 @@ {

"name": "Remy Denton",
"email": "remy.denton@pega.com"
"email": "https://github.com/remydenton"
}
],
"homepage": "https://boltdesignsystem.com",
"homepage": "https://bolt-design-system.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bolt-design-system/bolt/"
},
"bugs": {
"url": "https://github.com/bolt-design-system/bolt/issues"
},
"main": "dist/bolt-smooth-scroll.min.js",
"repository": "https://github.com/bolt-design-system/bolt/tree/master/packages/components/bolt-smooth-scroll",
"bugs": "https://github.com/bolt-design-system/bolt/issues",
"main": "src/smooth-scroll.js",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@bolt/build-webpack": "^0.9.0"
},
"scripts": {
"prepublishOnly": "npm run build",
"build": "./node_modules/@bolt/build-webpack/node_modules/.bin/webpack --env.production --env.cli --config ./node_modules/@bolt/build-webpack/webpack.config.cli.js --entry ./src/smooth-scroll --output-filename='bolt-smooth-scroll.min.js' --output-public-path /scripts/"
},
"dependencies": {

@@ -51,0 +40,0 @@ "smooth-scroll": "^12.1.5"

@@ -11,3 +11,2 @@ import SmoothScroll from 'smooth-scroll';

const scrollElem = elem;
const scrollOffset = defaultScrollOffset;
const scrollSpeed = defaultScrollSpeed;

@@ -19,3 +18,3 @@

//
// const scrollOffset = scrollElem.dataset.scrollOffset ? scrollElem.dataset.scrollOffset : defaultScrollOffset;
const scrollOffset = scrollElem.dataset.scrollOffset ? scrollElem.dataset.scrollOffset : defaultScrollOffset;
// const scrollSpeed = scrollElem.dataset.scrollSpeed ? scrollElem.dataset.scrollSpeed : defaultScrollSpeed;

@@ -22,0 +21,0 @@

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