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.63 to 1.0.0

src/hooks/useKeyboardHeight.js

16

package.json
{
"name": "react-jsbox",
"version": "0.0.63",
"description": "A Custom React Renderer for writing JSBox apps in React.",
"version": "1.0.0",
"description": "A custom React renderer for writing JSBox apps in React.",
"keywords": [

@@ -39,9 +39,9 @@ "React",

"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.5",
"@babel/preset-env": "^7.7.5",
"@babel/preset-react": "^7.7.4",
"@babel/runtime": "^7.7.4",
"@babel/runtime": "^7.7.5",
"@commitlint/config-conventional": "^8.2.0",

@@ -54,3 +54,3 @@ "babel-eslint": "^10.0.3",

"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.7.0",
"eslint": "^6.7.2",
"eslint-plugin-babel": "^5.3.0",

@@ -62,3 +62,3 @@ "eslint-plugin-import": "^2.18.2",

"react": "^16.12.0",
"rollup": "^1.27.4",
"rollup": "^1.27.8",
"rollup-plugin-babel": "^4.3.3",

@@ -65,0 +65,0 @@ "rollup-plugin-cleanup": "^3.1.1",

@@ -8,4 +8,2 @@ <h1 align="center">Welcome to react-jsbox 👋</h1>

This package is experimental, **Use it at your own risk.**
npm: <https://www.npmjs.com/package/react-jsbox>

@@ -15,3 +13,3 @@

JSBox doc: <https://docs.xteko.com/#/quickstart/intro>
JSBox doc: <https://docs.xteko.com/#/en/>

@@ -18,0 +16,0 @@ Example App: <https://github.com/Nicify/react-jsbox-example>

@@ -7,2 +7,3 @@ import usePing from './usePing'

import useEventHandler from './useEventHandler'
import useKeyboardHeight from './useKeyboardHeight'

@@ -15,3 +16,4 @@ export default {

useDebounce,
useEventHandler
useEventHandler,
useKeyboardHeight
}
import view from './components/view'
import { now, filterProps, getOCClassName } from './helper'
import { now, filterProps } from './helper'

@@ -44,7 +44,2 @@ const NO_CONTEXT = true

appendInitialChild(parentInstance, child) {
if (getOCClassName(parentInstance.element) === 'BBStackView') {
const stack = parentInstance.element.stack
stack.insert(child.element, stack.views.length)
return
}
parentInstance.appendChild(child)

@@ -79,6 +74,2 @@ },

const parent = parentInstance.element || parentInstance
if (getOCClassName(parent) === 'BBStackView') {
parent.stack.insert(child.element, parent.stack.views.length)
return
}
parent.ocValue().$addSubview(child.element)

@@ -111,7 +102,2 @@ },

removeChildFromContainer(parentInstance, child) {
const parent = parentInstance.element || parentInstance
if (getOCClassName(parent) === 'BBStackView') {
parent.stack.remove(child.element)
return
}
child.element.remove()

@@ -118,0 +104,0 @@ },

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