Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-camera

Package Overview
Dependencies
Maintainers
17
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-camera - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0-rc.0

.eslintrc.js

7

build/Camera.d.ts

@@ -76,4 +76,5 @@ import PropTypes from 'prop-types';

accessibilityLabel?: PropTypes.Validator<string | undefined> | undefined;
accessibilityRole?: PropTypes.Validator<"button" | "header" | "link" | "summary" | "image" | "text" | "none" | "search" | "keyboardkey" | "adjustable" | "imagebutton" | undefined> | undefined;
accessibilityStates?: PropTypes.Validator<import("react-native").AccessibilityState[] | undefined> | undefined;
accessibilityRole?: PropTypes.Validator<"button" | "header" | "link" | "menu" | "menuitem" | "summary" | "image" | "switch" | "text" | "none" | "search" | "keyboardkey" | "adjustable" | "imagebutton" | "alert" | "checkbox" | "combobox" | "menubar" | "progressbar" | "radio" | "radiogroup" | "scrollbar" | "spinbutton" | "tab" | "tablist" | "timer" | "toolbar" | undefined> | undefined;
accessibilityStates?: PropTypes.Validator<import("react-native").AccessibilityStates[] | undefined> | undefined;
accessibilityState?: PropTypes.Validator<import("react-native").AccessibilityState | undefined> | undefined;
accessibilityHint?: PropTypes.Validator<string | undefined> | undefined;

@@ -84,3 +85,3 @@ accessibilityComponentType?: PropTypes.Validator<"button" | "none" | "radiobutton_checked" | "radiobutton_unchecked" | undefined> | undefined;

accessibilityElementsHidden?: PropTypes.Validator<boolean | undefined> | undefined;
accessibilityTraits?: PropTypes.Validator<"button" | "header" | "link" | "summary" | "image" | "text" | "none" | "search" | "adjustable" | "selected" | "disabled" | "plays" | "key" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined;
accessibilityTraits?: PropTypes.Validator<"button" | "header" | "link" | "summary" | "image" | "text" | "none" | "search" | "adjustable" | "disabled" | "selected" | "plays" | "key" | "frequentUpdates" | "startsMedia" | "allowsDirectInteraction" | "pageTurn" | import("react-native").AccessibilityTrait[] | undefined> | undefined;
onAccessibilityTap?: PropTypes.Validator<(() => void) | undefined> | undefined;

@@ -87,0 +88,0 @@ onMagicTap?: PropTypes.Validator<(() => void) | undefined> | undefined;

@@ -92,2 +92,3 @@ import invariant from 'invariant';

//TODO: Bacon: IMP
// eslint-disable-next-line
const aspectRatio = parseFloat(width) / parseFloat(height);

@@ -94,0 +95,0 @@ this._pictureSize = value;

@@ -0,1 +1,2 @@

/* eslint-env browser */
import invariant from 'invariant';

@@ -2,0 +3,0 @@ import { CameraType, ImageType } from './CameraModule.types';

{
"name": "expo-camera",
"version": "6.0.0",
"version": "7.0.0-rc.0",
"description": "A React component that renders a preview for the device's either front or back camera. Camera's parameters like zoom, auto focus, white balance and flash mode are adjustable. With expo-camera, one can also take photos and record videos that are saved to the app's cache. Morever, the component is also capable of detecting faces and bar codes appearing on the preview.",

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

"clean": "expo-module clean",
"lint": "expo-module lint",
"test": "expo-module test",

@@ -24,3 +25,4 @@ "prepare": "expo-module prepare",

"type": "git",
"url": "https://github.com/expo/expo.git"
"url": "https://github.com/expo/expo.git",
"directory": "packages/expo-camera"
},

@@ -49,5 +51,5 @@ "bugs": {

"devDependencies": {
"expo-module-scripts": "^1.0.0"
"expo-module-scripts": "~1.1.1-rc.0"
},
"gitHead": "9518929d6f2ba9cf8e0aae81d34cc1eb52f7093a"
"gitHead": "5d4fcf318390f59cecd1ae5d191afb15488a4447"
}

@@ -10,6 +10,8 @@ # expo-camera

# Installation
# Installation in managed Expo projects
This package is pre-installed in [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects. You may skip the rest of the installation guide if this applies to you.
For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects &mdash; it is likely to be included in an upcoming Expo SDK release.
# Installation in bare React Native projects
For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing.

@@ -16,0 +18,0 @@

@@ -116,2 +116,3 @@ import invariant from 'invariant';

//TODO: Bacon: IMP
// eslint-disable-next-line
const aspectRatio = parseFloat(width) / parseFloat(height);

@@ -118,0 +119,0 @@

@@ -0,1 +1,2 @@

/* eslint-env browser */
import invariant from 'invariant';

@@ -2,0 +3,0 @@

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