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

@popperjs/core

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@popperjs/core - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

6

dist/cjs/popper-base.js
/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -671,5 +671,3 @@

}
var createPopper =
/*#__PURE__*/
popperGenerator();
var createPopper = /*#__PURE__*/popperGenerator();

@@ -676,0 +674,0 @@ function getViewportRect(element) {

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -1245,5 +1245,3 @@

var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -1250,0 +1248,0 @@ }); // eslint-disable-next-line import/no-unused-modules

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -241,10 +241,6 @@

var reference = 'reference';
var variationPlacements =
/*#__PURE__*/
basePlacements.reduce(function (acc, placement) {
var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
return acc.concat([placement + "-" + start, placement + "-" + end]);
}, []);
var placements =
/*#__PURE__*/
[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
return acc.concat([placement, placement + "-" + start, placement + "-" + end]);

@@ -1727,5 +1723,3 @@ }, []); // modifiers that need to read the DOM

var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -1732,0 +1726,0 @@ }); // eslint-disable-next-line import/no-unused-modules

@@ -13,10 +13,6 @@ export var top = 'top';

export var reference = 'reference';
export var variationPlacements =
/*#__PURE__*/
basePlacements.reduce(function (acc, placement) {
export var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
return acc.concat([placement + "-" + start, placement + "-" + end]);
}, []);
export var placements =
/*#__PURE__*/
[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
export var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
return acc.concat([placement, placement + "-" + start, placement + "-" + end]);

@@ -23,0 +19,0 @@ }, []); // modifiers that need to read the DOM

@@ -256,4 +256,2 @@ import getCompositeRect from "./dom-utils/getCompositeRect.js";

}
export var createPopper =
/*#__PURE__*/
popperGenerator();
export var createPopper = /*#__PURE__*/popperGenerator();

@@ -8,5 +8,3 @@ import { popperGenerator } from "./index.js";

var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -13,0 +11,0 @@ }); // eslint-disable-next-line import/no-unused-modules

@@ -13,5 +13,3 @@ import { popperGenerator } from "./index.js";

var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -18,0 +16,0 @@ }); // eslint-disable-next-line import/no-unused-modules

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -673,5 +673,3 @@

}
var createPopper =
/*#__PURE__*/
popperGenerator();
var createPopper = /*#__PURE__*/popperGenerator();

@@ -678,0 +676,0 @@ function getViewportRect(element) {

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -4,0 +4,0 @@

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -1247,5 +1247,3 @@

var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -1252,0 +1250,0 @@ }); // eslint-disable-next-line import/no-unused-modules

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -4,0 +4,0 @@

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -243,10 +243,6 @@

var reference = 'reference';
var variationPlacements =
/*#__PURE__*/
basePlacements.reduce(function (acc, placement) {
var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
return acc.concat([placement + "-" + start, placement + "-" + end]);
}, []);
var placements =
/*#__PURE__*/
[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
return acc.concat([placement, placement + "-" + start, placement + "-" + end]);

@@ -1729,5 +1725,3 @@ }, []); // modifiers that need to read the DOM

var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -1734,0 +1728,0 @@ }); // eslint-disable-next-line import/no-unused-modules

/**
* @popperjs/core v2.2.2 - MIT License
* @popperjs/core v2.2.3 - MIT License
*/

@@ -4,0 +4,0 @@

@@ -13,10 +13,6 @@ export var top = 'top';

export var reference = 'reference';
export var variationPlacements =
/*#__PURE__*/
basePlacements.reduce(function (acc, placement) {
export var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
return acc.concat([placement + "-" + start, placement + "-" + end]);
}, []);
export var placements =
/*#__PURE__*/
[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
export var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
return acc.concat([placement, placement + "-" + start, placement + "-" + end]);

@@ -23,0 +19,0 @@ }, []); // modifiers that need to read the DOM

@@ -256,4 +256,2 @@ import getCompositeRect from "./dom-utils/getCompositeRect.js";

}
export var createPopper =
/*#__PURE__*/
popperGenerator();
export var createPopper = /*#__PURE__*/popperGenerator();

@@ -8,5 +8,3 @@ import { popperGenerator } from "./index.js";

var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -13,0 +11,0 @@ }); // eslint-disable-next-line import/no-unused-modules

@@ -13,5 +13,3 @@ import { popperGenerator } from "./index.js";

var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];
var createPopper =
/*#__PURE__*/
popperGenerator({
var createPopper = /*#__PURE__*/popperGenerator({
defaultModifiers: defaultModifiers

@@ -18,0 +16,0 @@ }); // eslint-disable-next-line import/no-unused-modules

{
"name": "@popperjs/core",
"version": "2.2.2",
"version": "2.2.3",
"description": "Tooltip and Popover Positioning Engine",

@@ -39,3 +39,3 @@ "main": "dist/cjs/popper.js",

"build:dev": "NODE_ENV=dev babel src -d tests/visual/dist",
"build:flow": "flow-copy-source --ignore \"**/*.test.js\" src lib",
"build:flow": "flow-copy-source --ignore \"**/*.test.js\" src lib && replace-in-files --string=__DEV__ --replacement=false 'lib/**/*.flow'",
"build:typescript": "rimraf dist/typescript; flow-to-ts \"src/**/*.js\" --write --inline-utility-types; node typescript/ts.js --project .config/tsconfig.json --outDir lib; rimraf \"src/**/*.ts\"",

@@ -76,2 +76,3 @@ "prepublishOnly": "yarn build"

"@khanacademy/flow-to-ts": "^0.1.4",
"@rollup/plugin-replace": "^2.3.1",
"@typescript-eslint/parser": "^2.17.0",

@@ -108,2 +109,3 @@ "arg": "^4.1.2",

"puppeteer": "^2.1.0",
"replace-in-files-cli": "^0.3.1",
"rollup": "^1.30.0",

@@ -113,3 +115,2 @@ "rollup-plugin-babel": "^4.3.3",

"rollup-plugin-license": "^0.13.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^5.2.0",

@@ -116,0 +117,0 @@ "rollup-plugin-visualizer": "^4.0.3",

@@ -45,2 +45,4 @@ <!-- <HEADER> // IGNORE IT -->

To contribute to the Popper website and documentation, please visit the [dedicated repository](https://github.com/popperjs/website).
## Why not use pure CSS?

@@ -47,0 +49,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

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