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

super-react

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

super-react - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

test/App.js

2

package.json
{
"name": "super-react",
"version": "0.9.0",
"version": "0.9.1",
"description": "Opinionated Command Line Tool for Scaffolding out Nested React Components Into Files",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -41,3 +41,3 @@ #Super React

```javascript
import React, {propTypes, Component} from 'react';
import React, {PropTypes, Component} from 'react';
import Description from './components/Description'

@@ -86,24 +86,21 @@ import ListContainer from './components/ListContainer'

```javascript
import React from 'react';
import Description from './Description.jsx'
import ListContainer from './ListContainer.jsx'
import React, {PropTypes} from 'react';
import Description from './components/Description';
import ListContainer from './components/ListContainer';
let App = React.createClass({
mixins : [],
const App = React.createClass({
propTypes: {
},
render() {
var styles = {};
const styles = {};
return (
<div>
<Description />
<ListContainer />
<Description />
<ListContainer />
</div>
);
}
});
});
export default App;

@@ -191,2 +188,3 @@ ```

##Changelog
* v0.9.1 Fix propTypes to PropTypes in import and fix documentation
* v0.9.0 Simplified API and output ES6 by default. Added folder scaffolding.

@@ -193,0 +191,0 @@ * v0.2.0 Added --es6 and --ext flags

@@ -1,2 +0,2 @@

import React, {propTypes, Component} from 'react';
import React, {PropTypes, Component} from 'react';
<% deps.forEach(function (dep, index) { %>import <%= names[index] %> from './<%= dep %><%= ext %>';

@@ -3,0 +3,0 @@ <% }); %>

@@ -1,2 +0,2 @@

import React, {propTypes} from 'react';
import React, {PropTypes} from 'react';
<% deps.forEach(function (dep, index) { %>import <%= names[index] %> from './<%= dep %><%= ext %>';

@@ -3,0 +3,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