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

@twreporter/universal-header

Package Overview
Dependencies
Maintainers
4
Versions
346
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/universal-header - npm Package Compare versions

Comparing version 2.0.0-beta-3 to 2.0.0-beta-5

60

dist/index.js
"use strict";
var _react = _interopRequireDefault(require("react"));
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactDom = _interopRequireDefault(require("react-dom"));
var _standaloneHeader = _interopRequireDefault(require("./standalone-header"));
var _store = _interopRequireDefault(require("./store"));
var _header = _interopRequireDefault(require("./containers/header"));
var _reactRedux = require("react-redux");
var _auth = _interopRequireDefault(require("./actions/auth"));
var _auth2 = _interopRequireDefault(require("./reducers/auth"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//import StandaloneHeader from './standalone-header'
//import Header from './containers/header'
//import authAction from './actions/auth'
//import authReducer from './reducers/auth'
//export default {
// Header,
// StandaloneHeader,
// actions: {
// auth: authAction,
// },
// reducers: {
// auth: authReducer,
// },
//}
var _default = {
Header: _header.default,
StandaloneHeader: _standaloneHeader.default,
actions: {
auth: _auth.default
},
reducers: {
auth: _auth2.default
}
/* eslint no-console:0 */
//import React from 'react'
//import ReactDOM from 'react-dom'
//import StandaloneHeader from './standalone-header'
//import reduxStore from './store'
//import { Provider } from 'react-redux'
//const store = reduxStore.configureStore()
//ReactDOM.hydrate((
// <Provider store={store}>
// <StandaloneHeader
// theme="normal"
// />
// </Provider>
//), document.getElementById('app'))
/* eslint no-console:0 */
var store = _store.default.configureStore();
_reactDom.default.hydrate(_react.default.createElement(_reactRedux.Provider, {
store: store
}, _react.default.createElement(_standaloneHeader.default, {
theme: "normal"
})), document.getElementById('app'));
};
exports.default = _default;
{
"name": "@twreporter/universal-header",
"version": "2.0.0-beta-3",
"version": "2.0.0-beta-5",
"description": "Universal header of TWReporter sites",

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

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