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

dom-lib

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-lib - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

2

lib/query.js

@@ -154,3 +154,3 @@ 'use strict';

// Subtract parent offsets and node margins
return _extends({}, offset, {
return _extends({}, _offset, {
top: _offset.top - _parentOffset.top - (parseInt(getStyle(node, 'marginTop'), 10) || 0),

@@ -157,0 +157,0 @@ left: _offset.left - _parentOffset.left - (parseInt(getStyle(node, 'marginLeft'), 10) || 0)

{
"name": "dom-lib",
"version": "0.0.15",
"version": "0.0.16",
"description": "DOM helper library",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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