react-menu
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -0,1 +1,7 @@ | ||
v0.0.9 - Mon, 15 Aug 2016 20:11:02 GMT | ||
-------------------------------------- | ||
- | ||
v0.0.8 - Thu, 04 Aug 2016 15:27:58 GMT | ||
@@ -2,0 +8,0 @@ -------------------------------------- |
@@ -100,3 +100,3 @@ var React = require('react'); | ||
var optionsRect = findDOMNode(this.refs.options).getBoundingClientRect(); | ||
positionState = { | ||
var positionState = { | ||
horizontalPlacement: this.props.preferredHorizontal, | ||
@@ -103,0 +103,0 @@ verticalPlacement: this.props.preferredVertical |
{ | ||
"name": "react-menu", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Accessible menu component for React.JS", | ||
@@ -24,9 +24,10 @@ "main": "./lib/index", | ||
"devDependencies": { | ||
"browserify": "13.0.0", | ||
"browserify-shim": "3.8.12", | ||
"babel-core": "6.13.2", | ||
"babel-loader": "6.2.4", | ||
"babel-plugin-transform-object-rest-spread": "6.8.0", | ||
"babel-preset-es2015": "6.13.2", | ||
"babel-preset-react": "6.11.1", | ||
"envify": "3.4.0", | ||
"expect": "1.14.0", | ||
"jsx-loader": "0.13.2", | ||
"karma": "0.13.19", | ||
"karma-browserify": "^5.0.1", | ||
"karma-chrome-launcher": "0.2.2", | ||
@@ -36,2 +37,4 @@ "karma-cli": "0.1.2", | ||
"karma-mocha": "0.2.1", | ||
"karma-webpack": "1.8.0", | ||
"lodash.assign": "^4.1.0", | ||
"mocha": "2.4.5", | ||
@@ -41,7 +44,6 @@ "react": "^0.14.7", | ||
"react-dom": "^0.14.7", | ||
"reactify": "^1.1.1", | ||
"rf-release": "0.4.0", | ||
"uglify-js": "2.6.1", | ||
"webpack-dev-server": "1.14.1", | ||
"webpack": "1.13.1" | ||
"webpack": "1.13.1", | ||
"webpack-dev-server": "1.14.1" | ||
}, | ||
@@ -62,10 +64,2 @@ "peerDependencies": { | ||
], | ||
"browserify-shim": { | ||
"react": "global:React" | ||
}, | ||
"browserify": { | ||
"transform": [ | ||
"reactify" | ||
] | ||
}, | ||
"dependencies": { | ||
@@ -72,0 +66,0 @@ "js-stylesheet": "0.0.1" |
@@ -10,4 +10,2 @@ # react-menu | ||
```html | ||
/** @jsx React.DOM */ | ||
var React = require('react'); | ||
@@ -14,0 +12,0 @@ var ReactDOM = require('react-dom'); |
@@ -1,34 +0,11 @@ | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var webpack = require('webpack'); | ||
var EXAMPLES_DIR = path.resolve(__dirname, 'examples'); | ||
function isDirectory(dir) { | ||
return fs.lstatSync(dir).isDirectory(); | ||
} | ||
function buildEntries() { | ||
return fs.readdirSync(EXAMPLES_DIR).reduce(function (entries, dir) { | ||
if (dir === 'build') | ||
return entries; | ||
var isDraft = dir.charAt(0) === '_'; | ||
if (!isDraft && isDirectory(path.join(EXAMPLES_DIR, dir))) | ||
entries[dir] = path.join(EXAMPLES_DIR, dir, 'app.js'); | ||
return entries; | ||
}, {}); | ||
} | ||
module.exports = { | ||
entry: { | ||
'react-menu': './lib/index.js' | ||
}, | ||
entry: buildEntries(), | ||
output: { | ||
library: "ReactMenu", | ||
libraryTarget: "umd", | ||
filename: '[name].js', | ||
chunkFilename: '[id].chunk.js', | ||
path: 'examples/__build__', | ||
publicPath: '/__build__/' | ||
path: 'dist', | ||
}, | ||
@@ -38,16 +15,12 @@ | ||
loaders: [ | ||
{ test: /\.(js|jsx)$/, loader: 'jsx-loader?harmony' } | ||
{ | ||
test: /\.js$/, | ||
loader: 'babel', | ||
query: { | ||
presets: ['react', 'es2015'], | ||
plugins: ['transform-object-rest-spread'], | ||
}, | ||
} | ||
] | ||
}, | ||
resolve: { | ||
alias: { | ||
'react-router': '../../modules/index' | ||
} | ||
}, | ||
plugins: [ | ||
new webpack.optimize.CommonsChunkPlugin('shared.js') | ||
] | ||
}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
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
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
1
1
2
1059205
22
23
19590
86