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

cobrowse-sdk-react-native

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cobrowse-sdk-react-native - npm Package Compare versions

Comparing version 2.4.5 to 2.5.0

android/src/main/java/io/cobrowse/reactnative/RedactedView.java

18

js/Redacted.js

@@ -1,3 +0,17 @@

import { requireNativeComponent } from 'react-native';
import React, { useContext } from 'react';
import { View, requireNativeComponent } from 'react-native';
const CBIOCobrowseRedacted = requireNativeComponent('CBIOCobrowseRedacted');
module.exports = requireNativeComponent('CBIOCobrowseRedacted');
const RedactionContext = React.createContext(false);
module.exports = function(props) {
const alreadyRedacted = useContext(RedactionContext);
if (!alreadyRedacted) return (
<RedactionContext.Provider value={true}>
<CBIOCobrowseRedacted>
<View>{props.children}</View>
</CBIOCobrowseRedacted>
</RedactionContext.Provider>
);
return props.children;
}

2

package.json
{
"name": "cobrowse-sdk-react-native",
"version": "2.4.5",
"version": "2.5.0",
"description": "Cobrowse SDK for React Native",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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