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

element-resize-event

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-resize-event - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

4

example/bundle.js

@@ -78,2 +78,6 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

obj.setAttribute('class', 'resize-sensor')
// prevent <object> from stealing keyboard focus
obj.setAttribute('tabindex', '-1');
obj.__resizeElement__ = element

@@ -80,0 +84,0 @@ obj.onload = objectLoad

@@ -48,2 +48,6 @@ function resizeListener(e) {

obj.setAttribute('class', 'resize-sensor')
// prevent <object> from stealing keyboard focus
obj.setAttribute('tabindex', '-1');
obj.__resizeElement__ = element

@@ -50,0 +54,0 @@ obj.onload = objectLoad

2

package.json
{
"name": "element-resize-event",
"description": "Polyfill to make it easy to listen for element resize events",
"version": "3.0.1",
"version": "3.0.2",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",

@@ -6,0 +6,0 @@ "bugs": {

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