New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

react-menu

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-menu - npm Package Compare versions

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