Comparing version 1.1.2 to 1.1.3
// 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", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
88599
19
985
1
0
1