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

simplebar

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplebar - npm Package Compare versions

Comparing version 5.3.6 to 5.3.7

37

dist/simplebar-core.esm.js
/**
* SimpleBar.js - v5.3.6
* SimpleBar.js - v5.3.7
* Scrollbars, simpler.

@@ -10,11 +10,10 @@ * https://grsmto.github.io/simplebar/

import 'core-js/modules/es.array.filter';
import 'core-js/modules/es.array.for-each';
import 'core-js/modules/es.array.iterator';
import 'core-js/modules/es.object.assign';
import 'core-js/modules/es.object.to-string';
import 'core-js/modules/es.parse-int';
import 'core-js/modules/es.string.iterator';
import 'core-js/modules/es.weak-map';
import 'core-js/modules/web.dom-collections.iterator';
import 'core-js/modules/es.parse-int.js';
import 'core-js/modules/es.object.assign.js';
import 'core-js/modules/es.array.filter.js';
import 'core-js/modules/es.object.to-string.js';
import 'core-js/modules/es.array.iterator.js';
import 'core-js/modules/es.string.iterator.js';
import 'core-js/modules/es.weak-map.js';
import 'core-js/modules/web.dom-collections.iterator.js';
import throttle from 'lodash.throttle';

@@ -25,7 +24,7 @@ import debounce from 'lodash.debounce';

import canUseDOM from 'can-use-dom';
import 'core-js/modules/es.array.reduce';
import 'core-js/modules/es.function.name';
import 'core-js/modules/es.regexp.exec';
import 'core-js/modules/es.string.match';
import 'core-js/modules/es.string.replace';
import 'core-js/modules/es.array.reduce.js';
import 'core-js/modules/es.regexp.exec.js';
import 'core-js/modules/es.string.match.js';
import 'core-js/modules/es.function.name.js';
import 'core-js/modules/es.string.replace.js';

@@ -80,5 +79,3 @@ function getElementWindow(element) {

var SimpleBar =
/*#__PURE__*/
function () {
var SimpleBar = /*#__PURE__*/function () {
function SimpleBar(element, options) {

@@ -281,4 +278,4 @@ var _this = this;

this.minScrollbarWidth = 20;
this.options = Object.assign({}, SimpleBar.defaultOptions, {}, options);
this.classNames = Object.assign({}, SimpleBar.defaultOptions.classNames, {}, this.options.classNames);
this.options = Object.assign({}, SimpleBar.defaultOptions, options);
this.classNames = Object.assign({}, SimpleBar.defaultOptions.classNames, this.options.classNames);
this.axis = {

@@ -285,0 +282,0 @@ x: {

/**
* SimpleBar.js - v5.3.6
* SimpleBar.js - v5.3.7
* Scrollbars, simpler.

@@ -10,13 +10,12 @@ * https://grsmto.github.io/simplebar/

import 'core-js/modules/es.array.for-each';
import 'core-js/modules/web.dom-collections.for-each';
import 'core-js/modules/es.object.to-string.js';
import 'core-js/modules/web.dom-collections.for-each.js';
import canUseDOM from 'can-use-dom';
import 'core-js/modules/es.array.filter';
import 'core-js/modules/es.array.iterator';
import 'core-js/modules/es.object.assign';
import 'core-js/modules/es.object.to-string';
import 'core-js/modules/es.parse-int';
import 'core-js/modules/es.string.iterator';
import 'core-js/modules/es.weak-map';
import 'core-js/modules/web.dom-collections.iterator';
import 'core-js/modules/es.parse-int.js';
import 'core-js/modules/es.object.assign.js';
import 'core-js/modules/es.array.filter.js';
import 'core-js/modules/es.array.iterator.js';
import 'core-js/modules/es.string.iterator.js';
import 'core-js/modules/es.weak-map.js';
import 'core-js/modules/web.dom-collections.iterator.js';
import throttle from 'lodash.throttle';

@@ -26,7 +25,7 @@ import debounce from 'lodash.debounce';

import { ResizeObserver } from '@juggle/resize-observer';
import 'core-js/modules/es.array.reduce';
import 'core-js/modules/es.function.name';
import 'core-js/modules/es.regexp.exec';
import 'core-js/modules/es.string.match';
import 'core-js/modules/es.string.replace';
import 'core-js/modules/es.array.reduce.js';
import 'core-js/modules/es.regexp.exec.js';
import 'core-js/modules/es.string.match.js';
import 'core-js/modules/es.function.name.js';
import 'core-js/modules/es.string.replace.js';

@@ -113,5 +112,3 @@ // Helper function to retrieve options from element attributes

var SimpleBar =
/*#__PURE__*/
function () {
var SimpleBar = /*#__PURE__*/function () {
function SimpleBar(element, options) {

@@ -314,4 +311,4 @@ var _this = this;

this.minScrollbarWidth = 20;
this.options = Object.assign({}, SimpleBar.defaultOptions, {}, options);
this.classNames = Object.assign({}, SimpleBar.defaultOptions.classNames, {}, this.options.classNames);
this.options = Object.assign({}, SimpleBar.defaultOptions, options);
this.classNames = Object.assign({}, SimpleBar.defaultOptions.classNames, this.options.classNames);
this.axis = {

@@ -318,0 +315,0 @@ x: {

{
"version": "5.3.6",
"version": "5.3.7",
"name": "simplebar",

@@ -28,3 +28,3 @@ "title": "SimpleBar.js",

"dev": "rollup -c -w",
"test": "yarn test:unit && yarn test:e2e",
"test": "yarn test:unit",
"test:unit": "jest -c jest-unit.config.js",

@@ -58,3 +58,3 @@ "test:e2e": "env-cmd intern",

},
"gitHead": "40b847916bfdd96a46dce6e9af0128b239dc70d5"
"gitHead": "cc2c78f5bfc69ea7819e9f0276550274bd940fe2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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