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

create-rca-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-rca-client - npm Package Compare versions

Comparing version 0.0.6 to 0.0.10

es/clientWrapper/clientWrapper.js

18

es/index.js

@@ -6,15 +6,15 @@ 'use strict';

});
exports.RouteHandler = exports.createRcaClient = undefined;
var _react = require('react');
var _clientWrapper = require('./clientWrapper/clientWrapper');
var _react2 = _interopRequireDefault(_react);
var _clientWrapper2 = _interopRequireDefault(_clientWrapper);
var _RouteHandler2 = require('./RouteHandler/RouteHandler');
var _RouteHandler3 = _interopRequireDefault(_RouteHandler2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var clientWrapper = function clientWrapper(RootComponent) {
var props = document.getElementById('app-props').textContent;
props = props.replace("<![CDATA[", "").replace("]]>", ""); // eslint-disable-line
return _react2.default.createElement(RootComponent, JSON.parse(props));
};
exports.default = clientWrapper;
exports.createRcaClient = _clientWrapper2.default;
exports.RouteHandler = _RouteHandler3.default;
{
"name": "create-rca-client",
"version": "0.0.6",
"version": "0.0.10",
"main": "es/index.js",

@@ -9,3 +9,4 @@ "repository": "git@git.realestate.com.au:craig-collie/create-rca-app.git",

"react": "^15.6.1",
"react-dom": "^15.6.1"
"react-dom": "^15.6.1",
"react-router-dom": "^4.1.2"
},

@@ -12,0 +13,0 @@ "devDependencies": {

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

import React from 'react';
const clientWrapper = (RootComponent) => {
let props = document.getElementById('app-props').textContent;
props = props.replace("<![CDATA[", "").replace("]]>", ""); // eslint-disable-line
return (
<RootComponent {...JSON.parse(props)} />
);
};
export default clientWrapper;
export createRcaClient from './clientWrapper/clientWrapper';
export RouteHandler from './RouteHandler/RouteHandler';

Sorry, the diff of this file is not supported yet

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