@bolt/components-smooth-scroll
Advanced tools
Comparing version 0.9.5 to 1.0.0-alpha.5f29a4c1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
0
3798
6
36
2
2
1