react-native-share
Advanced tools
Comparing version 9.4.1 to 10.0.0
@@ -9,25 +9,21 @@ "use strict"; | ||
var _reactNative = require("react-native"); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
const Button = _ref => { | ||
let { | ||
buttonStyle, | ||
onPress, | ||
iconSrc, | ||
textStyle, | ||
children | ||
} = _ref; | ||
return /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, { | ||
activeOpacity: 0.5, | ||
style: [styles.button, buttonStyle], | ||
onPress: onPress | ||
}, /*#__PURE__*/React.createElement(_reactNative.Image, { | ||
style: styles.icon, | ||
source: iconSrc | ||
}), /*#__PURE__*/React.createElement(_reactNative.Text, { | ||
style: [styles.buttonText, textStyle] | ||
}, children)); | ||
}; | ||
var _default = Button; | ||
exports.default = _default; | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
const Button = ({ | ||
buttonStyle, | ||
onPress, | ||
iconSrc, | ||
textStyle, | ||
children | ||
}) => /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, { | ||
activeOpacity: 0.5, | ||
style: [styles.button, buttonStyle], | ||
onPress: onPress | ||
}, /*#__PURE__*/React.createElement(_reactNative.Image, { | ||
style: styles.icon, | ||
source: iconSrc | ||
}), /*#__PURE__*/React.createElement(_reactNative.Text, { | ||
style: [styles.buttonText, textStyle] | ||
}, children)); | ||
var _default = exports.default = Button; | ||
const styles = _reactNative.StyleSheet.create({ | ||
@@ -34,0 +30,0 @@ button: { |
@@ -9,4 +9,4 @@ "use strict"; | ||
var _reactNative = require("react-native"); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
const DEFAULT_ANIMATE_TIME = 300; | ||
@@ -29,7 +29,6 @@ const styles = _reactNative.StyleSheet.create({ | ||
}); | ||
const Overlay = _ref => { | ||
let { | ||
visible, | ||
children | ||
} = _ref; | ||
const Overlay = ({ | ||
visible, | ||
children | ||
}) => { | ||
const [fadeAnim] = React.useState(new _reactNative.Animated.Value(0)); | ||
@@ -58,4 +57,3 @@ const [overlayStyle, setOverlayStyle] = React.useState(styles.emptyOverlay); | ||
}; | ||
var _default = Overlay; | ||
exports.default = _default; | ||
var _default = exports.default = Overlay; | ||
//# sourceMappingURL=Overlay.js.map |
@@ -12,12 +12,11 @@ "use strict"; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
const ShareSheet = _ref => { | ||
let { | ||
style = {}, | ||
overlayStyle = {}, | ||
visible, | ||
onCancel, | ||
children | ||
} = _ref; | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
const ShareSheet = ({ | ||
style = {}, | ||
overlayStyle = {}, | ||
visible, | ||
onCancel, | ||
children | ||
}) => { | ||
const backButtonHandler = React.useCallback(() => { | ||
@@ -67,4 +66,3 @@ if (visible) { | ||
}); | ||
var _default = ShareSheet; | ||
exports.default = _default; | ||
var _default = exports.default = ShareSheet; | ||
//# sourceMappingURL=ShareSheet.js.map |
@@ -9,11 +9,10 @@ "use strict"; | ||
var _reactNative = require("react-native"); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
const DEFAULT_BOTTOM = -300; | ||
const DEFAULT_ANIMATE_TIME = 300; | ||
const Sheet = _ref => { | ||
let { | ||
visible, | ||
children | ||
} = _ref; | ||
const Sheet = ({ | ||
visible, | ||
children | ||
}) => { | ||
const [bottom] = React.useState(new _reactNative.Animated.Value(DEFAULT_BOTTOM)); | ||
@@ -33,4 +32,3 @@ React.useEffect(() => { | ||
}; | ||
var _default = Sheet; | ||
exports.default = _default; | ||
var _default = exports.default = Sheet; | ||
//# sourceMappingURL=Sheet.js.map |
@@ -10,7 +10,6 @@ "use strict"; | ||
/** Check if the passed in options require platform permission. If an error isn't thrown, no permission is required */ | ||
async function checkPermissions(_ref) { | ||
let { | ||
url, | ||
urls | ||
} = _ref; | ||
async function checkPermissions({ | ||
url, | ||
urls | ||
}) { | ||
if ((0, _platform.isAndroid)()) { | ||
@@ -17,0 +16,0 @@ if (url || urls) { |
@@ -9,6 +9,5 @@ "use strict"; | ||
var _platform = require("./platform"); | ||
function normalizeShareOpenOptions(_ref) { | ||
let { | ||
...options | ||
} = _ref; | ||
function normalizeShareOpenOptions({ | ||
...options | ||
}) { | ||
if ((0, _platform.isIOS)()) { | ||
@@ -29,6 +28,5 @@ // Backward compatibility with { Share } from react-native | ||
} | ||
function normalizeSingleShareOptions(_ref2) { | ||
let { | ||
...options | ||
} = _ref2; | ||
function normalizeSingleShareOptions({ | ||
...options | ||
}) { | ||
if (options.url) options.urls = [options.url]; | ||
@@ -35,0 +33,0 @@ return options; |
@@ -121,4 +121,3 @@ "use strict"; | ||
}; | ||
var _default = RNShare; | ||
exports.default = _default; | ||
var _default = exports.default = RNShare; | ||
//# sourceMappingURL=index.js.map |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.Social = exports.ShareAsset = void 0; | ||
let Social = /*#__PURE__*/function (Social) { | ||
let Social = exports.Social = /*#__PURE__*/function (Social) { | ||
Social["Facebook"] = "facebook"; | ||
@@ -28,4 +28,3 @@ Social["FacebookStories"] = "facebookstories"; | ||
}({}); | ||
exports.Social = Social; | ||
let ShareAsset = /*#__PURE__*/function (ShareAsset) { | ||
let ShareAsset = exports.ShareAsset = /*#__PURE__*/function (ShareAsset) { | ||
ShareAsset["BackgroundImage"] = "shareBackgroundImage"; | ||
@@ -37,3 +36,2 @@ ShareAsset["BackgroundVideo"] = "shareBackgroundVideo"; | ||
}({}); // iOS 11 or late | ||
exports.ShareAsset = ShareAsset; | ||
//# sourceMappingURL=types.js.map |
import * as React from 'react'; | ||
import { StyleSheet, Text, TouchableOpacity, Image } from 'react-native'; | ||
const Button = _ref => { | ||
let { | ||
buttonStyle, | ||
onPress, | ||
iconSrc, | ||
textStyle, | ||
children | ||
} = _ref; | ||
return /*#__PURE__*/React.createElement(TouchableOpacity, { | ||
activeOpacity: 0.5, | ||
style: [styles.button, buttonStyle], | ||
onPress: onPress | ||
}, /*#__PURE__*/React.createElement(Image, { | ||
style: styles.icon, | ||
source: iconSrc | ||
}), /*#__PURE__*/React.createElement(Text, { | ||
style: [styles.buttonText, textStyle] | ||
}, children)); | ||
}; | ||
const Button = ({ | ||
buttonStyle, | ||
onPress, | ||
iconSrc, | ||
textStyle, | ||
children | ||
}) => /*#__PURE__*/React.createElement(TouchableOpacity, { | ||
activeOpacity: 0.5, | ||
style: [styles.button, buttonStyle], | ||
onPress: onPress | ||
}, /*#__PURE__*/React.createElement(Image, { | ||
style: styles.icon, | ||
source: iconSrc | ||
}), /*#__PURE__*/React.createElement(Text, { | ||
style: [styles.buttonText, textStyle] | ||
}, children)); | ||
export default Button; | ||
@@ -23,0 +20,0 @@ const styles = StyleSheet.create({ |
@@ -20,7 +20,6 @@ import * as React from 'react'; | ||
}); | ||
const Overlay = _ref => { | ||
let { | ||
visible, | ||
children | ||
} = _ref; | ||
const Overlay = ({ | ||
visible, | ||
children | ||
}) => { | ||
const [fadeAnim] = React.useState(new Animated.Value(0)); | ||
@@ -27,0 +26,0 @@ const [overlayStyle, setOverlayStyle] = React.useState(styles.emptyOverlay); |
@@ -5,10 +5,9 @@ import * as React from 'react'; | ||
import Sheet from './Sheet'; | ||
const ShareSheet = _ref => { | ||
let { | ||
style = {}, | ||
overlayStyle = {}, | ||
visible, | ||
onCancel, | ||
children | ||
} = _ref; | ||
const ShareSheet = ({ | ||
style = {}, | ||
overlayStyle = {}, | ||
visible, | ||
onCancel, | ||
children | ||
}) => { | ||
const backButtonHandler = React.useCallback(() => { | ||
@@ -15,0 +14,0 @@ if (visible) { |
@@ -5,7 +5,6 @@ import * as React from 'react'; | ||
const DEFAULT_ANIMATE_TIME = 300; | ||
const Sheet = _ref => { | ||
let { | ||
visible, | ||
children | ||
} = _ref; | ||
const Sheet = ({ | ||
visible, | ||
children | ||
}) => { | ||
const [bottom] = React.useState(new Animated.Value(DEFAULT_BOTTOM)); | ||
@@ -12,0 +11,0 @@ React.useEffect(() => { |
@@ -5,7 +5,6 @@ import { checkAndroidPermissionsForUrls } from './android'; | ||
/** Check if the passed in options require platform permission. If an error isn't thrown, no permission is required */ | ||
export default async function checkPermissions(_ref) { | ||
let { | ||
url, | ||
urls | ||
} = _ref; | ||
export default async function checkPermissions({ | ||
url, | ||
urls | ||
}) { | ||
if (isAndroid()) { | ||
@@ -12,0 +11,0 @@ if (url || urls) { |
import { isIOS } from './platform'; | ||
export function normalizeShareOpenOptions(_ref) { | ||
let { | ||
...options | ||
} = _ref; | ||
export function normalizeShareOpenOptions({ | ||
...options | ||
}) { | ||
if (isIOS()) { | ||
@@ -21,6 +20,5 @@ // Backward compatibility with { Share } from react-native | ||
} | ||
export function normalizeSingleShareOptions(_ref2) { | ||
let { | ||
...options | ||
} = _ref2; | ||
export function normalizeSingleShareOptions({ | ||
...options | ||
}) { | ||
if (options.url) options.urls = [options.url]; | ||
@@ -27,0 +25,0 @@ return options; |
@@ -40,1 +40,2 @@ import type { TurboModule } from 'react-native'; | ||
export default _default; | ||
//# sourceMappingURL=NativeRNShare.d.ts.map |
@@ -12,1 +12,2 @@ import * as React from 'react'; | ||
export default Button; | ||
//# sourceMappingURL=Button.d.ts.map |
@@ -7,1 +7,2 @@ import * as React from 'react'; | ||
export default Overlay; | ||
//# sourceMappingURL=Overlay.d.ts.map |
@@ -11,1 +11,2 @@ import * as React from 'react'; | ||
export default ShareSheet; | ||
//# sourceMappingURL=ShareSheet.d.ts.map |
@@ -7,1 +7,2 @@ import * as React from 'react'; | ||
export default Sheet; | ||
//# sourceMappingURL=Sheet.d.ts.map |
export declare function checkAndroidPermissionsForUrls(urls: string[]): Promise<void>; | ||
//# sourceMappingURL=android.d.ts.map |
import { ShareOptions } from '../types'; | ||
/** Check if the passed in options require platform permission. If an error isn't thrown, no permission is required */ | ||
export default function checkPermissions({ url, urls }: Pick<ShareOptions, 'url' | 'urls'>): Promise<void>; | ||
//# sourceMappingURL=checkPermissions.d.ts.map |
@@ -44,2 +44,3 @@ import { ShareOptions, ShareSingleOptions } from '../types'; | ||
type?: string | undefined; | ||
email?: string | undefined; | ||
url?: string | undefined; | ||
@@ -50,3 +51,2 @@ message?: string | undefined; | ||
subject?: string | undefined; | ||
email?: string | undefined; | ||
recipient?: string | undefined; | ||
@@ -65,2 +65,3 @@ forceDialog?: boolean | undefined; | ||
type?: string | undefined; | ||
email?: string | undefined; | ||
url?: string | undefined; | ||
@@ -71,5 +72,5 @@ message?: string | undefined; | ||
subject?: string | undefined; | ||
email?: string | undefined; | ||
recipient?: string | undefined; | ||
forceDialog?: boolean | undefined; | ||
}; | ||
//# sourceMappingURL=options.d.ts.map |
export declare function isIOS(): boolean; | ||
export declare function isAndroid(): boolean; | ||
export declare function getAndroidVersion(): number; | ||
//# sourceMappingURL=platform.d.ts.map |
@@ -42,1 +42,2 @@ /// <reference types="react" /> | ||
export default RNShare; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -85,3 +85,3 @@ export declare enum Social { | ||
} | ||
export declare type ShareSingleOptions = BaseShareSingleOptions | InstagramStoriesShareSingleOptions | FacebookStoriesShareSingleOptions; | ||
export type ShareSingleOptions = BaseShareSingleOptions | InstagramStoriesShareSingleOptions | FacebookStoriesShareSingleOptions; | ||
export interface ShareOptions { | ||
@@ -105,4 +105,4 @@ message?: string; | ||
} | ||
export declare type ActivityType = 'default' | 'addToReadingList' | 'airDrop' | 'assignToContact' | 'copyToPasteBoard' | 'mail' | 'message' | 'openInIBooks' | 'postToFacebook' | 'postToFlickr' | 'postToTencentWeibo' | 'postToTwitter' | 'postToVimeo' | 'postToWeibo' | 'print' | 'saveToCameraRoll' | 'markupAsPDF'; | ||
export declare type ActivityTypeItemSource = ActivityType | string; | ||
export type ActivityType = 'default' | 'addToReadingList' | 'airDrop' | 'assignToContact' | 'copyToPasteBoard' | 'mail' | 'message' | 'openInIBooks' | 'postToFacebook' | 'postToFlickr' | 'postToTencentWeibo' | 'postToTwitter' | 'postToVimeo' | 'postToWeibo' | 'print' | 'saveToCameraRoll' | 'markupAsPDF'; | ||
export type ActivityTypeItemSource = ActivityType | string; | ||
export interface ShareSingleResult { | ||
@@ -120,1 +120,2 @@ message: string; | ||
export {}; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "react-native-share", | ||
"description": "Social share, sending simple data to other apps.", | ||
"version": "9.4.1", | ||
"version": "10.0.0", | ||
"repository": { | ||
@@ -29,29 +29,39 @@ "type": "git", | ||
"devDependencies": { | ||
"@babel/core": "^7.12.9", | ||
"@babel/runtime": "^7.12.5", | ||
"@commitlint/cli": "11.0.0", | ||
"@commitlint/config-conventional": "11.0.0", | ||
"@react-native-community/eslint-config": "^3.0.0", | ||
"@semantic-release/commit-analyzer": "^8.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/github": "^7.1.1", | ||
"@semantic-release/npm": "^7.0.6", | ||
"@semantic-release/release-notes-generator": "^9.0.1", | ||
"@types/react": "16.14.5", | ||
"@types/react-native": "0.68.15", | ||
"eslint": "^7.24.0", | ||
"eslint-config-satya164": "3.1.10", | ||
"husky": "4.3.0", | ||
"lint-staged": "10.3.0", | ||
"metro-config": "^0.66.2", | ||
"metro-react-native-babel-preset": "^0.66.2", | ||
"pre-commit": "1.2.2", | ||
"prettier": "^2.2.1", | ||
"react": "17.0.2", | ||
"react-native": "0.66.4", | ||
"react-native-builder-bob": "^0.18.1", | ||
"react-native-windows": "0.66.4", | ||
"semantic-release": "^19.0.3", | ||
"typescript": "4.2.4" | ||
"@babel/core": "^7.23.3", | ||
"@babel/preset-env": "^7.23.3", | ||
"@babel/runtime": "^7.23.2", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@react-native/eslint-config": "^0.74.0", | ||
"@react-native/metro-config": "^0.73.2", | ||
"@semantic-release/commit-analyzer": "^11.1.0", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^9.2.1", | ||
"@semantic-release/npm": "^11.0.1", | ||
"@semantic-release/release-notes-generator": "^12.1.0", | ||
"@tsconfig/react-native": "^3.0.2", | ||
"@types/react": "^18.2.37", | ||
"@types/react-native": "^0.72.6", | ||
"@types/react-test-renderer": "^18.0.6", | ||
"babel-jest": "^29.7.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-satya164": "^3.2.0", | ||
"husky": "^4.3.0", | ||
"jest": "^29.7.0", | ||
"lint-staged": "^15.0.2", | ||
"metro-config": "^0.80.0", | ||
"metro-react-native-babel-preset": "^0.77.0", | ||
"pre-commit": "^1.2.2", | ||
"prettier": "^3.0.3", | ||
"react": "^18.2.0", | ||
"react-native": "0.72.6", | ||
"react-native-builder-bob": "^0.23.1", | ||
"react-native-windows": "^0.72.19", | ||
"react-test-renderer": "^18.2.0", | ||
"semantic-release": "^22.0.7", | ||
"typescript": "^5.2.2" | ||
}, | ||
"resolutions": { | ||
"eslint-plugin-prettier": "5.0.1" | ||
}, | ||
"keywords": [ | ||
@@ -82,3 +92,3 @@ "react-native", | ||
"start:android": "react-native run-android", | ||
"start:ios": "react-native run-ios --project-path example/ios", | ||
"start:ios": "react-native run-ios", | ||
"lint": "eslint \"src/**/*.{js,ts,tsx}\" \"codegenSpec/**/*.{js,ts,tsx}\" --max-warnings=0", | ||
@@ -139,3 +149,6 @@ "typescript": "tsc --noEmit", | ||
} | ||
}, | ||
"engines": { | ||
"node": ">=16" | ||
} | ||
} |
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
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153
313558
33
1609