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

react-jsbox

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jsbox - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

8

package.json
{
"name": "react-jsbox",
"version": "0.0.27",
"version": "0.0.28",
"description": "A Custom React Renderer for writing JSBox apps in React.",

@@ -71,8 +71,10 @@ "keywords": [

"eslint-plugin-jsbox": "^0.1.1",
"rollup": "^1.12.4",
"eslint-plugin-react-hooks": "^1.6.0",
"rollup": "^1.13.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-eslint": "^6.0.0",
"rollup-plugin-modify": "^3.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-progress": "^1.1.1",

@@ -79,0 +81,0 @@ "rollup-plugin-replace": "^2.2.0",

@@ -133,21 +133,2 @@ # react-jsbox-renderer

// Create a root Container:
$ui.render({
props: {
title: '',
debugging: true
},
views: [
{
type: 'view',
props: {
id: 'root'
},
layout(make, view) {
make.edges.equalTo(view.super.safeArea)
}
}
]
})
// Create React component:

@@ -154,0 +135,0 @@ class App extends React.PureComponent {

@@ -1,9 +0,9 @@

import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'
import babel from 'rollup-plugin-babel'
import replace from 'rollup-plugin-modify'
import cleanup from 'rollup-plugin-cleanup'
import commonjs from 'rollup-plugin-commonjs'
import progress from 'rollup-plugin-progress'
import { terser } from 'rollup-plugin-terser'
import replace from 'rollup-plugin-modify'
import resolve from 'rollup-plugin-node-resolve'
import {eslint} from 'rollup-plugin-eslint'
import {terser} from 'rollup-plugin-terser'
import pkg from './package.json'

@@ -16,5 +16,6 @@

treeshake: true,
output: [{ file: pkg.main, format: 'cjs' }],
output: [{file: pkg.main, format: 'cjs'}],
plugins: [
progress(),
eslint(),
replace({

@@ -21,0 +22,0 @@ 'process.env.NODE_ENV': JSON.stringify('production')

@@ -6,3 +6,3 @@ import {useEffect} from 'react'

evaluatePolicy = LAPolicy.kLAPolicyDeviceOwnerAuthenticationWithBiometrics,
localizedReason = `${$addin.current.name} request authentication`,
localizedReason = `${$addin.current.name} apply for authentication`,
handler = () => {}

@@ -25,5 +25,5 @@ ) => {

return () => $objc_release(LAContext)
}, [])
})
}
export default useAuth

@@ -12,9 +12,4 @@ import {useEffect, useState} from 'react'

})
useEffect(() => $cache.set(key, state))
useEffect(() => {
try {
$cache.set(key, state)
} catch {}
})
return [state, setState]

@@ -21,0 +16,0 @@ }

@@ -11,5 +11,5 @@ import {useEffect} from 'react'

}
}, args)
}, [args, fn, ms])
}
export default useDebounce

@@ -34,3 +34,3 @@ import {useEffect, useState} from 'react'

return () => $network.stopPinging()
}, [])
}, [option])

@@ -37,0 +37,0 @@ return [state]

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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