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

onscreen

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onscreen - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

CHANGELOG.md

8

lib/index.js
// Methods
import attach from './methods/attach';
import debouncedScroll from './methods/debouncedScroll';
import debouncedScroll from './methods/debounced-scroll';
import destroy from './methods/destroy';

@@ -9,4 +9,4 @@ import off from './methods/off';

// Helpers
import observeDOM from './helpers/observeDOM';
import insideViewport from './helpers/insideViewport';
import observeDOM from './helpers/observe-dom';
import inViewport from './helpers/in-viewport';

@@ -110,4 +110,4 @@ /**

OnScreen.check = insideViewport;
OnScreen.check = inViewport;
export default OnScreen;
{
"name": "onscreen",
"version": "1.1.2",
"version": "1.1.3",
"description": "A light library that does stuff when the matched elements enter or leave the viewport",
"main": "dist/onScreen.umd.js",
"jsnext:main": "dist/onScreen.es6.js",
"main": "dist/on-screen.umd.js",
"jsnext:main": "dist/on-screen.es6.js",
"scripts": {
"prebuild": "eslint lib test",
"build": "rollup -c rollup.config.umd.js && rollup -c rollup.config.es6.js",
"postbuild": "uglifyjs -c --screw-ie8 dist/OnScreen.umd.js -o dist/OnScreen.umd.min.js --source-map dist/OnScreen.umd.min.map",
"postbuild": "uglifyjs -c --screw-ie8 dist/on-screen.umd.js -o dist/on-screen.umd.min.js --source-map dist/on-screen.umd.min.map",
"prepublish": "npm run build",
"pretest": "rollup -c rollup.config.test.js",
"test": "mocha-phantomjs -v 800x600 http://localhost:8080/test/TestRunner.html",
"test": "mocha-phantomjs -v 800x600 http://localhost:8080/test/test-runner.html",
"dev": "watch 'npm run build' lib/"

@@ -40,8 +40,8 @@ },

"chai": "3.5.0",
"eslint": "2.9.0",
"eslint-config-airbnb-base": "2.0.0",
"eslint-plugin-import": "1.6.1",
"eslint": "2.10.2",
"eslint-config-airbnb-base": "3.0.1",
"eslint-plugin-import": "1.8.0",
"fs": "0.0.2",
"http-server": "0.9.0",
"mocha": "2.4.5",
"mocha": "2.5.1",
"mocha-phantomjs": "4.0.2",

@@ -52,3 +52,3 @@ "mocha-phantomjs-core": "1.3.1",

"require-stub": "2.2.4",
"rollup": "0.26.2",
"rollup": "0.26.3",
"rollup-plugin-babel": "2.4.0",

@@ -55,0 +55,0 @@ "rollup-plugin-multi-entry": "1.2.0",

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