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

@semcore/popper

Package Overview
Dependencies
Maintainers
1
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semcore/popper - npm Package Compare versions

Comparing version 4.7.0 to 4.7.1

lib/cjs/arrowOffset.js

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [4.7.1] - 2020-11-25
### Fixed
- Fixed import paths from `@popperjs`.
- Refactor modifier `arrowOffset` that calculates arrow position.
## [4.7.0] - 2020-11-10

@@ -7,0 +14,0 @@

4

lib/cjs/createPopper.js

@@ -12,7 +12,7 @@ "use strict";

var _arrowModifier = _interopRequireDefault(require("./arrowModifier"));
var _arrowOffset = _interopRequireDefault(require("./arrowOffset"));
// @ts-ignore
// eslint-disable-next-line import/named
var defaultModifiers = [_core.eventListeners, _core.popperOffsets, _core.computeStyles, _core.applyStyles, _core.offset, _core.flip, _core.preventOverflow, _arrowModifier["default"], _core.hide];
var defaultModifiers = [_core.eventListeners, _core.popperOffsets, _core.computeStyles, _core.applyStyles, _core.offset, _core.flip, _core.preventOverflow, _core.arrow, _arrowOffset["default"], _core.hide];

@@ -19,0 +19,0 @@ var _default = (0, _core.popperGenerator)({

@@ -85,8 +85,8 @@ "use strict";

/*__inner_css_start__*/
".___SPopper_nzlxs_gg_{outline:none;z-index:110}"
".___SPopper_thnr7_gg_{outline:none;z-index:110}"
/*__inner_css_end__*/
, "rrhzil_gg_")
, "uaqseh_gg_")
/*__reshadow_css_end__*/
, {
"__SPopper": "___SPopper_nzlxs_gg_"
"__SPopper": "___SPopper_thnr7_gg_"
}),

@@ -471,2 +471,5 @@ style = (0, _extends2["default"])({}, _ref);

modifiers: [],
arrow: {
padding: 12
},
strategy: 'absolute',

@@ -473,0 +476,0 @@ interaction: 'click',

// @ts-ignore
// eslint-disable-next-line import/named
import { popperGenerator, eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, hide } from '@popperjs/core';
import arrow from './arrowModifier';
var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];
import { popperGenerator, eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, hide, arrow } from '@popperjs/core';
import arrowOffset from './arrowOffset';
var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, arrowOffset, hide];
export default popperGenerator({

@@ -7,0 +7,0 @@ defaultModifiers: defaultModifiers

@@ -47,8 +47,8 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";

/*__inner_css_start__*/
".___SPopper_nzlxs_gg_{outline:none;z-index:110}"
".___SPopper_thnr7_gg_{outline:none;z-index:110}"
/*__inner_css_end__*/
, "rrhzil_gg_")
, "uaqseh_gg_")
/*__reshadow_css_end__*/
, {
"__SPopper": "___SPopper_nzlxs_gg_"
"__SPopper": "___SPopper_thnr7_gg_"
}),

@@ -454,2 +454,5 @@ style = _extends({}, _ref);

modifiers: [],
arrow: {
padding: 12
},
strategy: 'absolute',

@@ -456,0 +459,0 @@ interaction: 'click',

{
"name": "@semcore/popper",
"description": "SEMRush Popper Component",
"version": "4.7.0",
"version": "4.7.1",
"main": "lib/cjs/index.js",

@@ -6,0 +6,0 @@ "module": "lib/es6/index.js",

@@ -13,4 +13,5 @@ // @ts-ignore

hide,
arrow
} from '@popperjs/core';
import arrow from './arrowModifier';
import arrowOffset from './arrowOffset';

@@ -26,2 +27,3 @@ const defaultModifiers = [

arrow,
arrowOffset,
hide,

@@ -28,0 +30,0 @@ ];

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 not supported yet

Sorry, the diff of this file is not supported yet

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