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

@actbase/native

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@actbase/native - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

lib/absolute/context.d.ts

2

lib/Application.d.ts
import React, { ReactNode } from 'react';
import { StyleProp, ViewStyle } from 'react-native';
export declare const Application: (props: {
children?: React.ReactNode;
style?: StyleProp<ViewStyle>;
}) => JSX.Element;

@@ -5,0 +7,0 @@ export declare const Providers: {

10

lib/Application.js

@@ -14,2 +14,4 @@ "use strict";

var _provider = _interopRequireDefault(require("./absolute/provider"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -61,5 +63,9 @@

return _react["default"].createElement(_reactNativeSafeAreaContext.SafeAreaProvider, null, exports);
return _react["default"].createElement(_reactNativeSafeAreaContext.SafeAreaProvider, null, _react["default"].createElement(_provider["default"], {
style: props.style
}, exports));
} else {
return _react["default"].createElement(_reactNativeSafeAreaContext.SafeAreaProvider, null, bodies);
return _react["default"].createElement(_reactNativeSafeAreaContext.SafeAreaProvider, null, _react["default"].createElement(_provider["default"], {
style: props.style
}, bodies));
}

@@ -66,0 +72,0 @@ };

@@ -6,2 +6,3 @@ /// <reference types="react" />

onPress?: (e: ALL_VALUE) => Promise<ALL_VALUE> | null | undefined | void;
onProcess?: (lock: boolean) => void;
renderComponent: ALL_VALUE;

@@ -8,0 +9,0 @@ }

@@ -32,3 +32,3 @@ "use strict";

var handlePress = function handlePress(e) {
var _a;
var _a, _b;

@@ -40,4 +40,8 @@ if (!(props === null || props === void 0 ? void 0 : props.onPress)) return;

setLock(true);
(_b = props === null || props === void 0 ? void 0 : props.onProcess) === null || _b === void 0 ? void 0 : _b.call(props, true);
pressed["finally"](function () {
return setLock(false);
var _a;
setLock(false);
(_a = props === null || props === void 0 ? void 0 : props.onProcess) === null || _a === void 0 ? void 0 : _a.call(props, false);
});

@@ -44,0 +48,0 @@ } else {

@@ -0,3 +1,4 @@

export { default as Actbase } from './Actbase';
export { Application, Providers } from './Application';
export { default as Actbase } from './Actbase';
export { default as Absolute } from './absolute';
export { default as Touchable } from './atoms/Touchable';

@@ -6,2 +6,8 @@ "use strict";

});
Object.defineProperty(exports, "Actbase", {
enumerable: true,
get: function get() {
return _Actbase["default"];
}
});
Object.defineProperty(exports, "Application", {

@@ -19,6 +25,6 @@ enumerable: true,

});
Object.defineProperty(exports, "Actbase", {
Object.defineProperty(exports, "Absolute", {
enumerable: true,
get: function get() {
return _Actbase["default"];
return _absolute["default"];
}

@@ -33,5 +39,7 @@ });

var _Actbase = _interopRequireDefault(require("./Actbase"));
var _Application = require("./Application");
var _Actbase = _interopRequireDefault(require("./Actbase"));
var _absolute = _interopRequireDefault(require("./absolute"));

@@ -38,0 +46,0 @@ var _Touchable = _interopRequireDefault(require("./atoms/Touchable"));

{
"name": "@actbase/native",
"version": "0.1.3",
"version": "0.1.4",
"description": "React-Native Generic UI Components",

@@ -5,0 +5,0 @@ "main": "lib/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

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