Socket
Socket
Sign inDemoInstall

@bufferapp/account-web

Package Overview
Dependencies
30
Maintainers
13
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.37 to 0.6.3

19

components/App/index.jsx

@@ -1,5 +0,5 @@

import React from 'react';
import { Route, Switch } from 'react-router';
import Notifications from '@bufferapp/notifications';
import DefaultPage from '../DefaultPage';
import React from 'react'
import { Route, Switch } from 'react-router'
import Notifications from '@bufferapp/notifications'
import DefaultPage from '../DefaultPage'

@@ -9,9 +9,9 @@ const appStyle = {

height: '100%',
};
}
const contentStyle = {
flexGrow: 1,
};
}
export default () =>
const App = () => (
<div style={appStyle}>

@@ -24,2 +24,5 @@ <div style={contentStyle}>

<Notifications />
</div>;
</div>
)
export default App

@@ -1,22 +0,16 @@

import React from 'react';
import { storiesOf } from '@storybook/react';
import createStore, { history } from '@bufferapp/account-store';
import { Provider } from 'react-redux';
import {
ConnectedRouter as Router,
} from 'react-router-redux';
import { checkA11y } from 'storybook-addon-a11y';
import App from './index';
import React from 'react'
import { storiesOf } from '@storybook/react'
import createStore, { history } from '@bufferapp/account-store'
import { Provider } from 'react-redux'
import { ConnectedRouter as Router } from 'react-router-redux'
import { checkA11y } from 'storybook-addon-a11y'
import App from './index'
storiesOf('App')
storiesOf('App', module)
.addDecorator(checkA11y)
.addDecorator(getStory =>
.addDecorator(getStory => (
<Provider store={createStore()}>
<Router history={history}>
{getStory()}
</Router>
</Provider>,
)
.add('should render application', () => (
<App />
));
<Router history={history}>{getStory()}</Router>
</Provider>
))
.add('should render application', () => <App />)

@@ -1,4 +0,4 @@

import React from 'react';
import React from 'react'
export default () =>
const DefaultPage = () => (
<div

@@ -11,2 +11,5 @@ style={{

Welcome To Buffer Account
</div>;
</div>
)
export default DefaultPage

@@ -1,20 +0,17 @@

import 'babel-polyfill';
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { AppContainer } from 'react-hot-loader';
import {
ConnectedRouter as Router,
} from 'react-router-redux';
import createStore, { history } from '@bufferapp/account-store';
import App from './components/App';
import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import { AppContainer } from 'react-hot-loader'
import { ConnectedRouter as Router } from 'react-router-redux'
import createStore, { history } from '@bufferapp/account-store'
import App from './components/App'
const store = createStore()
const store = createStore();
store.dispatch({
type: 'APP_INIT',
});
})
const renderApp = (AppComponent) => {
const renderApp = AppComponent => {
render(

@@ -29,12 +26,12 @@ <AppContainer>

document.getElementById('root'),
);
};
)
}
renderApp(App);
renderApp(App)
if (module.hot) {
module.hot.accept('./components/App', () => {
const newApp = require('./components/App').default; // eslint-disable-line global-require
renderApp(newApp);
});
const newApp = require('./components/App').default // eslint-disable-line global-require
renderApp(newApp)
})
}
{
"name": "@bufferapp/account-web",
"version": "0.5.37",
"version": "0.6.3",
"description": "Buffer Web Dashboard",
"main": "index.jsx",
"scripts": {
"start": "start-storybook -p 9003",
"lint": "eslint . --ignore-pattern coverage .storybook node_modules",
"test": "yarn run lint && sh ../../package_test.sh",
"test-update": "jest -u --config=../../.jestrc.json"
"start": "start-storybook -p 9003"
},
"dependencies": {
"@bufferapp/account-store": "0.5.37",
"@bufferapp/async-data-fetch": "0.5.25",
"@bufferapp/notifications": "0.5.34"
"@bufferapp/account-store": "0.6.3",
"@bufferapp/async-data-fetch": "1.2.7",
"@bufferapp/notifications": "1.4.0"
},
"author": "Harrison Harnisch <hharnisc@gmail.com> (http://hharnisc.github.io)",
"devDependencies": {
"@storybook/addon-storyshots": "3.1.4",
"@storybook/react": "3.1.3",
"eslint": "3.19.0",
"jest": "19.0.2",
"storybook-addon-a11y": "3.0.0"
},
"publishConfig": {

@@ -26,0 +16,0 @@ "access": "public"

// use story.js files as snapshots
import initStoryshots from '@storybook/addon-storyshots';
import initStoryshots from '@storybook/addon-storyshots'
// polyfil console.group(end)
console.group = () => {}; // eslint-disable-line no-console
console.groupEnd = () => {}; // eslint-disable-line no-console
console.group = () => {} // eslint-disable-line no-console
console.groupEnd = () => {} // eslint-disable-line no-console
initStoryshots({
suit: 'Snapshots',
});
})

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc