simplebar-core
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"name": "simplebar-core", | ||
@@ -8,3 +8,2 @@ "title": "SimpleBar.js", | ||
"dist", | ||
"src", | ||
"README.md" | ||
@@ -18,6 +17,6 @@ ], | ||
}, | ||
"main": "dist/simplebar-core.js", | ||
"module": "dist/simplebar-core.esm.js", | ||
"style": "dist/simplebar.min.css", | ||
"typings": "dist/simplebar-core.d.ts", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"style": "./dist/simplebar.min.css", | ||
"typings": "./dist/index.d.ts", | ||
"sideEffects": [ | ||
@@ -31,7 +30,7 @@ "*.css" | ||
"serve": "serve -s demo", | ||
"build": "rollup -c && cp src/simplebar.css dist/simplebar.css && cp simplebar-core.d.ts dist/simplebar-core.d.ts", | ||
"build": "rollup -c && cp src/simplebar.css dist/simplebar.css", | ||
"dev": "rollup -c -w --environment BUILD:development", | ||
"test": "yarn test:unit && yarn test:e2e", | ||
"test:unit": "jest -c jest-unit.config.js", | ||
"test:e2e": "jest -c jest-e2e.config.js", | ||
"test:e2e": "jest -c jest-e2e.config.js --runInBand", | ||
"version": "yarn build", | ||
@@ -41,10 +40,8 @@ "precommit": "lint-staged" | ||
"dependencies": { | ||
"@babel/runtime": "^7.11.2", | ||
"can-use-dom": "^0.1.0", | ||
"lodash-es": "^4.17.15" | ||
"lodash": "^4.17.21" | ||
}, | ||
"devDependencies": { | ||
"@babel/plugin-transform-runtime": "^7.10.1", | ||
"babel-loader": "^8.1.0", | ||
"css-loader": "^0.28.11", | ||
"@types/lodash": "^4.14.191", | ||
"can-use-dom": "^0.1.0", | ||
"intern": "^4.4.2", | ||
@@ -59,3 +56,3 @@ "promise": "^8.0.2" | ||
}, | ||
"gitHead": "2495b2259ca9e3602546a285c3433ee48e864d50" | ||
"gitHead": "edd8de57b1d186fdd2603bc9d945c7f61145925c" | ||
} |
@@ -212,2 +212,10 @@ # SimpleBar [![npm package][npm-badge]][npm] ![size-badge] | ||
### ariaLabel | ||
You can set custom aria-label attribute for users with screen reader using the `ariaLabel` option: | ||
``` | ||
ariaLabel: 'Your label' (default to `scrollable content`) | ||
``` | ||
#### direction (RTL support) | ||
@@ -214,0 +222,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
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
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
558670
2
4
358
12
2418
+ Addedlodash@^4.17.21
+ Addedlodash@4.17.21(transitive)
- Removed@babel/runtime@^7.11.2
- Removedlodash-es@^4.17.15
- Removed@babel/runtime@7.26.0(transitive)
- Removedlodash-es@4.17.21(transitive)
- Removedregenerator-runtime@0.14.1(transitive)