Socket
Socket
Sign inDemoInstall

detect-element-overflow

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-element-overflow - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

dist/esm/index.js

39

package.json
{
"name": "detect-element-overflow",
"version": "1.1.1",
"version": "1.2.0",
"description": "A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.",
"main": "dist/entry.js",
"es6": "src/entry.js",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"source": "src/index.js",
"sideEffects": false,
"scripts": {
"build": "babel src -d dist --ignore **/__tests__",
"prepublishOnly": "npm run build",
"test": "npm run test-eslint",
"test-eslint": "eslint ./src"
"build": "yarn build-esm && yarn build-umd",
"build-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js",
"build-umd": "BABEL_ENV=production-umd babel src -d dist/umd --ignore **/*.spec.js",
"clean": "rimraf dist",
"lint": "eslint src/ --ext .jsx,.js",
"prepublishOnly": "yarn clean && yarn build",
"test": "yarn lint"
},
"keywords": [
"overflow",
"collision"
"collision",
"collision-detection",
"position"
],

@@ -23,10 +29,9 @@ "author": {

"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.24.1",
"eslint": "^4.13.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0"
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"rimraf": "^3.0.0"
},

@@ -33,0 +38,0 @@ "files": [

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