frs-hide-scrollbar
Advanced tools
Comparing version
@@ -5,2 +5,13 @@ # Changelog | ||
## [2.0.0-alpha.0](https://github.com/FRSource/FRS-hide-scrollbar/compare/v1.0.1...v2.0.0-alpha.0) (2021-01-03) | ||
### ⚠ BREAKING CHANGES | ||
* drop the whole JS API - the package is CSS-only from now on | ||
### Features | ||
* move to css-only implementation ([39d99ab](https://github.com/FRSource/FRS-hide-scrollbar/commit/39d99ab0819bb39c050a578901eb1c2a7952505f)) | ||
### [1.0.1](https://github.com/FRSource/FRS-hide-scrollbar/compare/v1.0.0...v1.0.1) (2021-01-02) | ||
@@ -7,0 +18,0 @@ |
{ | ||
"name": "frs-hide-scrollbar", | ||
"version": "1.0.1", | ||
"description": "Easy & lightweight solution for cross-browser scrollbar hiding", | ||
"source": "src/index.mjs", | ||
"main": "dist/FRS-hide-scrollbar.js", | ||
"module": "dist/FRS-hide-scrollbar.mjs", | ||
"umd:main": "dist/FRS-hide-scrollbar.umd.js", | ||
"unpkg": "dist/FRS-hide-scrollbar.umd.js", | ||
"esnext": "dist/FRS-hide-scrollbar.js", | ||
"version": "2.0.0-alpha.0", | ||
"description": "CSS-only & ease-to-use solution for cross-browser scrollbar hiding", | ||
"source": "src/index.scss", | ||
"main": "dist/frs-hide-scrollbar.css", | ||
"scripts": { | ||
"pretest": "yarn lint", | ||
"test": "tap --node-arg=--experimental-modules ./src/scripts/*.spec.test.js", | ||
"test-coverage": "yarn test && tap --100 --coverage-report=html", | ||
"test-coverage:ci": "yarn test && tap --100 --coverage-report=text-lcov | coveralls", | ||
"prestart": "yarn clean", | ||
"start": "microbundle watch -o docs --name FRSHideScrollbar", | ||
"start": "microbundle watch -o docs --name frs-hide-scrollbar", | ||
"prebuild": "yarn clean", | ||
"build": "yarn build:bundle && yarn build:example", | ||
"build:bundle": "microbundle --compress --name FRSHideScrollbar", | ||
"build:bundle": "microbundle --compress -o dist/frs-hide-scrollbar.js -f cjs", | ||
"postbuild:bundle": "yarn clean:dist:js", | ||
"build:example": "cpy dist/* docs", | ||
"prerelease": "yarn test-coverage && yarn build && git add dist && git add docs", | ||
"release": "yarn build && standard-version", | ||
"prerelease": "yarn build && git add dist && git add docs", | ||
"release": "standard-version", | ||
"postrelease": "git push --follow-tags origin master && yarn publish", | ||
"clean": "rimraf dist/**/* && rimraf docs/*.{js,mjs,css,map} && rimraf coverage", | ||
"lint": "standard \"src/**/*.mjs\" \"src/**/*.test.js\"", | ||
"lint.fix": "yarn lint --fix" | ||
"clean": "rimraf dist/**/* && rimraf docs/*.{js,mjs,css,map}", | ||
"clean:dist:js": "rimraf dist/*.{js,mjs,js.map}" | ||
}, | ||
"author": "Jakub Freisler <FRSgit@users.noreply.github.com>", | ||
"license": "Apache-2.0", | ||
"homepage": "https://frsource.github.io/FRS-hide-scrollbar/", | ||
"homepage": "https://www.frsource.org/FRS-hide-scrollbar/", | ||
"repository": { | ||
@@ -41,7 +33,6 @@ "type": "git", | ||
"simple", | ||
"vanillaJS", | ||
"CSS", | ||
"CSS-only", | ||
"hide scrollbar", | ||
"scrollbar", | ||
"css", | ||
"js" | ||
"scrollbar" | ||
], | ||
@@ -58,12 +49,9 @@ "files": [ | ||
"devDependencies": { | ||
"coveralls": "^3.0.7", | ||
"cpy-cli": "^3.0.0", | ||
"jsdom": "^16.1.0", | ||
"microbundle": "^0.13.0", | ||
"rimraf": "^3.0.0", | ||
"standard": "^16.0.3", | ||
"standard-version": "^9.0.0", | ||
"tap": "^14.1.11" | ||
"sass": "^1.32.0", | ||
"standard-version": "^9.0.0" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -5,19 +5,15 @@ # FRS-hide-scrollbar | ||
[](https://github.com/semantic-release/semantic-release) | ||
[](https://travis-ci.org/FRSource/FRS-hide-scrollbar) | ||
[](https://coveralls.io/github/FRSource/FRS-hide-scrollbar?branch=master) | ||
[](https://dependabot.com/) | ||
[](https://david-dm.org/frsource/frs-hide-scrollbar) | ||
[](https://david-dm.org/frsource/frs-hide-scrollbar?type=dev) | ||
[](https://codebeat.co/projects/github-com-frsource-frs-hide-scrollbar-master) | ||
[](https://standardjs.com) | ||
[](https://bundlephobia.com/result?p=frs-hide-scrollbar) | ||
**FRS-hide-scrollbar** is a cross-browser (supports both desktop & mobile devices), simple & lightweight library for hiding both horizontal & vertical scrollbars! | ||
**FRS-hide-scrollbar** is a css-only, cross-browser (IE10+, supports both desktop & mobile devices), simple & lightweight library for hiding scrollbars! | ||
To gain better performance, all of heavy-lifting & continuous logic is handled by CSS. Start using **FRS-hide-scrollbar** today by reading documentation below: | ||
Start using **FRS-hide-scrollbar** today by reading documentation below: | ||
## Table of contents | ||
* [Installation](https://frsource.github.io/FRS-hide-scrollbar/installation) | ||
* [Usage](https://frsource.github.io/FRS-hide-scrollbar/usage) | ||
* [Example](https://frsource.github.io/FRS-hide-scrollbar/example) | ||
* [Installation](https://www.frsource.org/FRS-hide-scrollbar/installation) | ||
* [Usage](https://www.frsource.org/FRS-hide-scrollbar/usage) | ||
* [Example](https://www.frsource.org/FRS-hide-scrollbar/example) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
5
-37.5%0
-100%274227
-35.85%10
-44.44%1
-99.61%1
Infinity%19
-17.39%2
Infinity%