react-virtualized
Advanced tools
Comparing version 0.0.4 to 1.0.0
@@ -6,11 +6,14 @@ { | ||
"user": "bvaughn", | ||
"version": "0.0.4", | ||
"version": "1.0.0", | ||
"scripts": { | ||
"build": "npm run build:webpack", | ||
"build:webpack": "NODE_ENV=production NODE_PATH='source/modules' webpack --config webpack.config.prod.js", | ||
"clean": "rimraf build", | ||
"build": "npm run build:demo && npm run build:dist", | ||
"build:demo": "npm run clean:demo && NODE_ENV=demo NODE_PATH='source/modules' webpack --config webpack.config.demo.js", | ||
"build:dist": "npm run clean:dist && NODE_ENV=dist NODE_PATH='source/modules' webpack --config webpack.config.dist.js", | ||
"clean": "npm run clean:demo && npm run clean:dist", | ||
"clean:demo": "rimraf build", | ||
"clean:dist": "rimraf dist", | ||
"deploy-gh-pages": "node scripts/deploy-gh-pages", | ||
"lint": "standard", | ||
"postbuild": "node scripts/post-build", | ||
"prebuild": "npm run lint && npm run clean", | ||
"prebuild": "npm run lint", | ||
"postpublish": "npm run deploy-gh-pages", | ||
@@ -45,6 +48,8 @@ "prepublish": "npm run build", | ||
"homepage": "https://github.com/gaearon/react-transform-boilerplate", | ||
"main": "source/index.js", | ||
"main": "dist/react-virtualized.js", | ||
"standard": { | ||
"parser": "babel-eslint", | ||
"ignore": [], | ||
"ignore": [ | ||
"dist" | ||
], | ||
"global": [ | ||
@@ -76,2 +81,3 @@ "afterAll", | ||
"file-loader": "^0.8.5", | ||
"fs-extra": "^0.26.2", | ||
"gh-pages": "^0.5.0", | ||
@@ -105,5 +111,4 @@ "immutable": "^3.7.5", | ||
}, | ||
"dependencies": { | ||
"peerDependencies": { | ||
"classnames": "^2.2.1", | ||
"fs-extra": "^0.26.2", | ||
"raf": "^3.1.0", | ||
@@ -110,0 +115,0 @@ "react": "^0.14.0", |
@@ -31,3 +31,3 @@ Demos available here: | ||
height={300} | ||
rowsCount={list.size} | ||
rowsCount={list.length} | ||
rowHeight={20} | ||
@@ -49,3 +49,3 @@ rowRenderer={index => list[index]} | ||
const list = [ | ||
{ name: 'Brian Vaughn', description: 'Software engineer' | ||
{ name: 'Brian Vaughn', description: 'Software engineer' } | ||
// And so on... | ||
@@ -52,0 +52,0 @@ ]; |
require('babel/register') | ||
var ghpages = require('gh-pages') | ||
var config = require('../webpack.config.prod.js') | ||
var config = require('../webpack.config.demo.js') | ||
@@ -6,0 +6,0 @@ main() |
@@ -63,2 +63,4 @@ /** @flow */ | ||
this._scrollingContainer = this.refs.scrollingContainer.getDOMNode() | ||
if (scrollToIndex >= 0) { | ||
@@ -93,3 +95,3 @@ // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work | ||
if (scrollTop >= 0 && scrollTop !== prevState.scrollTop) { | ||
this.refs.scrollingContainer.scrollTop = scrollTop | ||
this._scrollingContainer.scrollTop = scrollTop | ||
} | ||
@@ -344,3 +346,3 @@ | ||
// See issue #404 for more information. | ||
if (event.target !== this.refs.scrollingContainer) { | ||
if (event.target !== this._scrollingContainer) { | ||
return | ||
@@ -375,3 +377,3 @@ } | ||
_onWheel (event) { | ||
const scrollTop = this.refs.scrollingContainer.scrollTop | ||
const scrollTop = this._scrollingContainer.scrollTop | ||
@@ -378,0 +380,0 @@ // Certain devices (like Apple touchpad) rapid-fire duplicate events. |
@@ -7,9 +7,10 @@ const autoprefixer = require('autoprefixer') | ||
devtool: 'eval', | ||
entry: [ | ||
'webpack-hot-middleware/client', | ||
'./source/demo' | ||
], | ||
entry: { | ||
client: 'webpack-hot-middleware/client', | ||
demo: './source/demo', | ||
index: './source/index' | ||
}, | ||
output: { | ||
path: path.join(__dirname, 'build'), | ||
filename: 'demo.js', | ||
filename: '[name].js', | ||
publicPath: '/static/' | ||
@@ -16,0 +17,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
208930
5
34
3090
0
42
5
- Removedclassnames@^2.2.1
- Removedfs-extra@^0.26.2
- Removedraf@^3.1.0
- Removedreact@^0.14.0
- Removedreact-dom@^0.14.0
- Removedreact-pure-render@^1.0.2
- Removedfs-extra@0.26.7(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedjsonfile@2.4.0(transitive)
- Removedklaw@1.3.1(transitive)
- Removedrimraf@2.7.1(transitive)