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

@prof-dev/improved-select

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prof-dev/improved-select - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

6

lib/ImprovedSelect.js

@@ -130,7 +130,3 @@ "use strict";

if (!(this.activeToggleElement !== undefined && this.selectBody !== null)) return [3 /*break*/, 2];
return [4 /*yield*/, (0, dom_1.computePosition)(this.activeToggleElement, this.selectBody, {
strategy: this.options.strategy,
placement: "bottom",
middleware: [(0, dom_1.offset)(8), (0, dom_1.flip)(), (0, dom_1.shift)({ padding: 12 })],
})];
return [4 /*yield*/, (0, dom_1.computePosition)(this.activeToggleElement, this.selectBody, __assign(__assign({}, this.options), { middleware: [(0, dom_1.offset)(8), (0, dom_1.flip)(), (0, dom_1.shift)({ padding: 12 })] }))];
case 1:

@@ -137,0 +133,0 @@ _a = _b.sent(), x = _a.x, y = _a.y;

3

package.json
{
"name": "@prof-dev/improved-select",
"version": "1.1.8",
"version": "1.1.9",
"description": "Helper for live clicks events management",

@@ -12,3 +12,2 @@ "main": "lib/ImprovedSelect.js",

"build:only": "tsc && npm run sass",
"prepublish": "npm run build",
"publish:patch": "npm version patch && npm run build && npm publish",

@@ -15,0 +14,0 @@ "clean": "rimraf lib/*"

@@ -5,3 +5,2 @@ import { EventEmitter } from "@prof-dev/event-emitter";

computePosition,
ComputePositionConfig,
flip,

@@ -48,3 +47,3 @@ offset,

private isHtmlValue: boolean = false;
private options: Partial<ComputePositionConfig> = {};
private options: SelectOptions = {};
private cleanup?: () => void;

@@ -305,4 +304,3 @@

{
strategy: this.options.strategy,
placement: "bottom",
...this.options,
middleware: [offset(8), flip(), shift({ padding: 12 })],

@@ -309,0 +307,0 @@ },

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