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

@atlaskit/popper

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/popper - npm Package Compare versions

Comparing version 5.4.0 to 5.4.1

6

CHANGELOG.md
# @atlaskit/popper
## 5.4.1
### Patch Changes
- [`211c04b1c96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/211c04b1c96) - Fixes in-product testing typos causing assert errors
## 5.4.0

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

24

dist/cjs/__tests_external__/page-objects/base-popper.js

@@ -10,7 +10,5 @@ "use strict";

var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));

@@ -23,4 +21,2 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _inProductTesting = require("@atlaskit/in-product-testing");

@@ -37,16 +33,16 @@

function BasePopperPageObject(cy) {
var _this;
function BasePopperPageObject() {
(0, _classCallCheck2.default)(this, BasePopperPageObject);
_this = _super.call(this, cy);
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "assertPopperStyle", function (elementSelector) {
return _this.cy.get(elementSelector).should('be.visbile');
});
return _this;
return _super.apply(this, arguments);
}
return (0, _createClass2.default)(BasePopperPageObject);
(0, _createClass2.default)(BasePopperPageObject, [{
key: "assertPopperStyle",
value: function assertPopperStyle(elementSelector) {
return this.cy.get(elementSelector).should('be.visible');
}
}]);
return BasePopperPageObject;
}(_inProductTesting.InProductTestPageObject);
exports.BasePopperPageObject = BasePopperPageObject;
{
"name": "@atlaskit/popper",
"version": "5.4.0",
"version": "5.4.1",
"sideEffects": false
}

@@ -1,12 +0,7 @@

import _defineProperty from "@babel/runtime/helpers/defineProperty";
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
export class BasePopperPageObject extends InProductTestPageObject {
constructor(cy) {
super(cy);
_defineProperty(this, "assertPopperStyle", elementSelector => {
return this.cy.get(elementSelector).should('be.visbile');
});
assertPopperStyle(elementSelector) {
return this.cy.get(elementSelector).should('be.visible');
}
}
{
"name": "@atlaskit/popper",
"version": "5.4.0",
"version": "5.4.1",
"sideEffects": false
}

@@ -0,8 +1,6 @@

import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _defineProperty from "@babel/runtime/helpers/defineProperty";

@@ -19,17 +17,16 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

function BasePopperPageObject(cy) {
var _this;
function BasePopperPageObject() {
_classCallCheck(this, BasePopperPageObject);
_this = _super.call(this, cy);
return _super.apply(this, arguments);
}
_defineProperty(_assertThisInitialized(_this), "assertPopperStyle", function (elementSelector) {
return _this.cy.get(elementSelector).should('be.visbile');
});
_createClass(BasePopperPageObject, [{
key: "assertPopperStyle",
value: function assertPopperStyle(elementSelector) {
return this.cy.get(elementSelector).should('be.visible');
}
}]);
return _this;
}
return _createClass(BasePopperPageObject);
return BasePopperPageObject;
}(InProductTestPageObject);
{
"name": "@atlaskit/popper",
"version": "5.4.0",
"version": "5.4.1",
"sideEffects": false
}
/// <reference types="cypress" />
import { CypressType, InProductTestPageObject } from '@atlaskit/in-product-testing';
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
export declare class BasePopperPageObject extends InProductTestPageObject {
constructor(cy: CypressType);
assertPopperStyle: (elementSelector: keyof HTMLElementTagNameMap | string) => Cypress.Chainable<JQuery<HTMLElement>>;
assertPopperStyle(elementSelector: keyof HTMLElementTagNameMap | string): Cypress.Chainable<JQuery<HTMLElement>>;
}
{
"name": "@atlaskit/popper",
"version": "5.4.0",
"version": "5.4.1",
"description": "Wrapper for react-popper with common config and some helpers",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -11,2 +11,3 @@ <!-- API Report Version: 2.3 -->

- [Main Entry Types](#main-entry-types)
- [Peer Dependencies](#peer-dependencies)

@@ -81,1 +82,13 @@ ### Main Entry Types

<!--SECTION END: Main Entry Types-->
### Peer Dependencies
<!--SECTION START: Peer Dependencies-->
```json
{
"react": "^16.8.0"
}
```
<!--SECTION END: Peer Dependencies-->
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