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

react-virtualized

Package Overview
Dependencies
Maintainers
1
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized - npm Package Compare versions

Comparing version 0.0.4 to 1.0.0

dist/react-virtualized.js

23

package.json

@@ -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 @@ },

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