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.11.1 to 2.11.2-unredaction.0

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

1

js/index.js
export { default } from './CobrowseIO'
export { default as CobrowseView } from './CobrowseView'
export { default as Redacted } from './Redacted'
export { default as Unredacted, unredact, useUnredaction } from './Unredacted'
export { default as SessionControl } from './SessionControl'
export { default as CobrowseAccessibilityService } from './CobrowseAccessibilityService'

20

js/Redacted.js

@@ -1,19 +0,7 @@

import React, { useContext } from 'react'
import { View, requireNativeComponent } from 'react-native'
import React from 'react'
import { requireNativeComponent } from 'react-native'
const CBIOCobrowseRedacted = requireNativeComponent('CBIOCobrowseRedacted')
const RedactionContext = React.createContext(false)
export default function (props) {
const alreadyRedacted = useContext(RedactionContext)
if (!alreadyRedacted) {
return (
<RedactionContext.Provider value>
<CBIOCobrowseRedacted style={props.style}>
<View>{props.children}</View>
</CBIOCobrowseRedacted>
</RedactionContext.Provider>
)
}
return props.children
module.exports = function (props) {
return <CBIOCobrowseRedacted {...props}>{props.children}</CBIOCobrowseRedacted>
}
{
"name": "cobrowse-sdk-react-native",
"version": "2.11.1",
"version": "2.11.2-unredaction.0",
"description": "Cobrowse SDK for React Native",

@@ -9,3 +9,2 @@ "main": "js/index.js",

"lint-fix": "ts-standard ts/*.d.ts --fix",
"watch": "node scripts/watch.mjs",
"start:dev": "nodemon --exec ./scripts/copy.sh"

@@ -35,12 +34,12 @@ },

},
"dependencies": {},
"dependencies": {
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/react": "^17.0.38",
"@types/react-native": "^0.66.15",
"managed-service-daemon": "^1.2.1",
"nodemon": "^2.0.15",
"ts-standard": "^11.0.0",
"typescript": "^4.5.5",
"watchr": "^6.11.0"
"typescript": "^4.5.5"
}
}

@@ -5,2 +5,3 @@ export { default } from './CobrowseIO'

export { default as SessionControl } from './SessionControl'
export { default as Unredacted, unredact, useUnredaction } from './Unredacted'
export { default as CobrowseAccessibilityService } from './CobrowseAccessibilityService'

@@ -1,7 +0,8 @@

import type { Provider, ReactNode } from 'react'
import type { ReactNode, ReactElement } from 'react'
type Props = Readonly<{}> & Readonly<{
children?: ReactNode
}>
type Props = Readonly<{}> &
Readonly<{
children?: ReactNode | undefined
}>
export default function (props: Props): Provider<boolean>
export default function (props: Props): ReactElement | null

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