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

react-page-visibility

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-page-visibility - npm Package Compare versions

Comparing version 4.2.0 to 5.0.0

dist/es2015/index.js

17

package.json
{
"name": "react-page-visibility",
"version": "4.2.0",
"version": "5.0.0",
"description": "Declarative, nested, stateful, isomorphic page visibility for React",
"author": "Gilad Peleg <gilad@giladpeleg.com> (https://www.giladpeleg.com)",
"repository": "pgilad/react-page-visibility",
"sideEffects": false,
"keywords": [

@@ -16,5 +17,5 @@ "react",

],
"main": "dist/index.umd.js",
"module": "dist/index.es5.js",
"es2015": "dist/index.js",
"main": "dist/umd/index.js",
"module": "dist/es5/index.js",
"es2015": "dist/es2015/index.js",
"files": [

@@ -28,6 +29,6 @@ "dist",

"scripts": {
"build:main": "BABEL_ENV=main babel src/index.js -o dist/index.umd.js",
"build:module": "BABEL_ENV=module babel src/index.js -o dist/index.es5.js",
"build:es2015": "BABEL_ENV=es2015 babel src/index.js -o dist/index.js",
"clean": "rm -rf dist && mkdir -p dist",
"build:main": "BABEL_ENV=main babel src -d dist/umd",
"build:module": "BABEL_ENV=module babel src -d dist/es5",
"build:es2015": "BABEL_ENV=es2015 babel src -d dist/es2015",
"clean": "rm -rf dist",
"lint": "eslint src/ test/",

@@ -34,0 +35,0 @@ "build": "npm run clean && npm run build:main && npm run build:module && npm run build:es2015",

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