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

@expo/env

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/env - npm Package Versions

1
45

0.1.0

Diff

brentvatne
published 0.0.5 •

brentvatne
published 0.0.4 •

tsapeta
published 0.0.3 •

evanbacon
published 0.0.2 •

evanbacon
published 0.0.1 •

evanbacon
published 0.0.0 •

Changelog

Source

50.0.0 — 2023-12-12

📚 3rd party library updates

  • Updated react-native-maps from 1.3.2 to 1.7.1. (#28007 by @lukmccall)
  • expo-location
    • Updated com.google.android.gms:play-services-location to 21.0.1. (#25028 by @behenate)

🛠 Breaking changes

🎉 New features

  • expo-asset
  • expo-application
  • expo-barcode-scanner
  • expo-battery
  • expo-background-fetch
  • expo-av
  • expo-camera
    • Added support for React Native 0.73. (#24018 by @kudo)
    • [iOS] Rewrote Objective-C classes to Swift. (#22604 by @alanjhughes)
    • Methods stopRecording, pausePreview and resumePreview have been updated to return promises. (#25737 by @lukmccall)
  • expo-cellular
  • expo-calendar
  • expo-brightness
  • expo-blur
    • Added support for React Native 0.73. (#24018 by @kudo)
    • Support more blur effects. On iOS, using UIBlurEffect.Style. On Android, find the closest available color reference. (#24392 by @alanjhughes)
  • expo-constants
  • expo-crypto
  • expo-clipboard
  • expo-contacts
  • expo-file-system
  • expo-document-picker
  • expo-face-detector
  • expo-haptics
  • expo-image-loader
  • expo-font
  • expo-gl
  • expo-image-manipulator
  • expo-keep-awake
  • expo-image-picker
  • expo-intent-launcher
  • expo-linear-gradient
  • expo-mail-composer
  • expo-local-authentication
  • expo-location
  • expo-media-library
  • expo-localization
    • Added support for React Native 0.73. (#24018 by @kudo)
    • Added a temperatureUnit field, which contains the default temperature unit for the locale. (#24059 by @behenate)
  • expo-modules-core
    • [Android] Surfaced errorManager to allow throwing errors and warnings from modules. (#23848 by @aleqsio)
    • [Android] Enums can now be used to define events. (#23875 by @lukmccall)
    • [Android] Promises can now be resolved without arguments. (#23907 by @lukmccall)
    • Added support for React Native 0.73. (#24018, #24019 by @kudo)
    • [Android] Property component can now take the native shared object instance as the first argument. (#24206 by @lukmccall)
    • Introduced requireOptionalNativeModule that returns null when the module cannot be found instead of throwing an error. (#24262 by @tsapeta)
    • [Android] Introduced shared refs – a way to pass native objects among different independent modules. (#24446 by @lukmccall)
    • Added support for Apple tvOS. (#24329 by @douglowder)
    • Add CommonExceptions.ModuleNotFound. (#24898 by @lukmccall)
    • [Android] Set<T> can now be passed as an argument to a module method. (#24897 by @lukmccall)
    • Add preventModuleOverriding to ModuleRegistry.register method. (#24860 by @wschurman)
    • [iOS] CGFloat can now be used as an argument type. (#25140 by @tsapeta)
    • Added support for React Native 0.73.0. (#24971, #25453 by @gabrieldonadel)
    • Added Data <-> Uint8Array convertible on iOS. (#25726 by @kudo)
    • Added ByteArray <-> Uint8Array convertible on Android. (#25727 by @kudo)
  • expo-notifications
  • expo-print
  • expo-device
  • expo-screen-capture
  • expo-network
  • expo-sensors
  • expo-random
  • expo-secure-store
    • Added a config plugin to automatically set NSFaceIDUsageDescription on iOS. (#23268 by @aleqsio)
    • [Android] Migrated to Expo Modules API. (#23804 by @behenate)
    • [Android] It is now possible to store values that require authentication and ones that don't under the same keychainService. (#23804 by @behenate)
    • Added support for React Native 0.73. (#24018 by @kudo)
    • [iOS] Added possibility to store values that require authentication and ones that don't under the same keychainService. (#23841 by @behenate)
    • [iOS] Added synchronous functions for storing and retrieving values from the store. (#23841 by @behenate)
  • expo-screen-orientation
  • expo-sms
  • expo-store-review
  • expo-task-manager
  • expo-speech
  • expo-sharing
  • expo-video-thumbnails
  • expo-web-browser
  • expo-sqlite
    • Migrated Android codebase to Expo Modules API. (#23115 by @alanjhughes)
    • Added experimental Promise based execAsync and transactionAsync functions. (#23109 by @kudo)
    • Add support for running raw queries on Android. (#24320 by @alanjhughes)
    • On Android, add support for CRSQLite. (#24322 by @alanjhughes)
    • Add synchronous method closeSync. (#23757 by @alanjhughes)
    • Added support for React Native 0.73. (#24018 by @kudo)
    • [Android] Rewrite implementations from low-level SQLite bindings. (#24730 by @kudo)
    • Introduced expo-sqlite/next new APIs. (#24812 by @kudo)
    • Added Android implementation for sqlite/next APIs. (#25021 by @kudo)
    • Added the useSQLiteContext hook that can be used across components. (#25129 by @kudo)
    • Improved performance on the expo-sqlite/next API. (#25314 by @kudo)
    • Added binary data support to the expo-sqlite/next API through the Uint8Array. (#25787 by @kudo)
  • unimodules-app-loader

🐛 Bug fixes

  • expo-asset
  • expo-application
    • On iOS, fixed a regression that prevented expo go from determining the release type. (#25834 by @alanjhughes)
  • expo-barcode-scanner
  • expo-av
  • expo-camera
    • Resolved an issue on Android where recording a video, even with the mute: true option, would still result in an audio permission exception. Furthermore, the mute flag was incorrectly referred to as muteValue, causing it to be consistently ignored (#23145 by @hirbod)
    • Fix crash when onBarCodeScanned or onFacesDetected callback is removed. (#23223 by @thespacemanatee)
    • Remove @koale/useworker. (#23967 by @marklawlor)
    • Fixed issue with checking camera/microphone permissions in Firefox. (#22855 by @loganrosen)
    • Fixed flash is not enabled during recordings. (#23776 by @tszheichoi)
    • On iOS, fix dead frames when starting a video recording. (#22037 by @alanjhughes)
    • [iOS] Fix a regression from (#22604 that prevented the barcode scanner from starting.(#25053 by @alanjhughes) (#22604, #25053 by @alanjhughes)
  • expo-calendar
    • On iOS, fix permissions error on iOS 17. (#24545 by @alanjhughes)
    • Fix url parsing when adding url in calendar event and reminder on iOS. (#24102 by @Thomas-Mollard)
    • On iOS, fix check that determines if the version of Xcode supports iOS 17. (#24655 by @alanjhughes)
    • On iOS, validate calendars argument in getRemindersAsync before accessing count. (#24677 by @alanjhughes)
    • [iOS] Fix unnecessary permission check for calendars when calling saveCalendarAsync with entityType "reminder" (#24967 by @robertying)
  • expo-brightness
    • On Android, add event to prevent the new NativeEventEmitter() warning. (#24942 by @alanjhughes)
  • expo-constants
    • Fix task ':expo-constants:packageDebugAssets' uses this output of task ':expo-constants:copyReleaseExpoConfig' without declaring an explicit or implicit dependency when running gradlew test on Android. (#23511 by @lukmccall)
  • expo-clipboard
    • [Android] Fix path traversal vulnerability in getFileForUri function. (#25549 by @behenate)
  • expo-contacts
    • [Android] Fix addContactAsync failing when an e-mail or a phone number is provided with an id. (#23877 by @behenate)
  • expo-file-system
  • expo-document-picker
    • Fix type on DocumentPickerOptions on iOS. (#23497 by @aleqsio)
    • [web] Fix promise never resolving when user cancels the picker. (#24838 by @behenate)
    • Added default mimetype (application/octet-stream) to avoid quiet failure when mimetype is null on iOS (#24764 by @OzymandiasTheGreat)
  • expo-image-loader
  • expo-font
    • Gracefully catch exceptions during font loading on web with fontfaceobserver. (#22954 by @bradjones1)
    • Handle the case where no argument is passed to the plugin. (#25138 by @alanjhughes)
  • expo-image-manipulator
    • [iOS] Fix an issue where the image is manipulated on a background thread. (#25756 by @alanjhughes)
  • expo-image-picker
  • expo-intent-launcher
    • Fixed errors in debug and crashes in production when an intent is launched without found activities. (#24481 by @robertying)
  • expo-location
  • expo-linking
  • expo-media-library
    • Fix albumNeedsMigrationAsync crashing if called with invalid albumId on Android. (#23516 by @lukmccall)
    • Fix the bind value at index 1 is null exception thrown by ExpoMediaLibrary.migrateAlbumIfNeededAsync on Android. (#23515 by @lukmccall)
    • On iOS, fix issue where the wrong requester class was used if the user had requested writeOnly permissions. (#23780 by @alanjhughes)
    • On iOS, fix iOS 14 limited library picker presentation, using presentPermissionsPickerAsync, on nested views and reject Promise if state is not limited. (#25521 by @exodusanto)
    • Fix promises being resolved twice on Android. (#25763 by @lukmccall)
  • expo-localization
  • expo-modules-core
    • Fix the View cannot be cast to ViewGroup exception on Android. (#23264 by @lukmccall)
    • Improved the OkHttp network inspector stability on Android. (#23350 by @kudo)
    • [iOS] Fix conversion to URL type that failed despite receiving a string that contained a valid URL. (#23331 by @alanhughes) (#23331 by @alanjhughes) (#23331, #23331 by @alanjhughes, @alanjhughes)
    • Fixed the Network Inspector cannot preview response body for response without the Content-Length header. (#23405 by @kudo)
    • Fixed SoLoader does not work on Android. (#23415 by @kudo)
    • Fixed slower boot time on Android. (#23345 by @lukmccall)
    • Fixed regressions and crashes in the dev client introduced by #23405. (#23491 by @kudo) (#23405, #23491 by @kudo)
    • Fixed the ErrorViewGroup cannot be cast to module view class exception on Android. (#23651 by @lukmccall)
    • [iOS] Fix allowed orientations set in Info.plist being ignored when no delegates requested a different orientation. (#23593 by @behenate)
    • [iOS] Fixed custom fonts support on Fabric. (#23666 by @aleqsio)
    • [Android] Fixed splash screen is missing when using the getDelayLoadAppHandler() from expo-updates. (#23747 by @kudo)
    • [Android] Refresh NativeModulesProxy if app bundle is reloaded. (#23824 by @douglowder)
    • [Android] Fix nullability of parameter type in List and Map when converting from JS to native. (#23942 by @lukmccall)
    • Fixed Fabric setup error on iOS. (#24004 by @kudo)
    • Fixed uuid v4 generation. (#24123 by @tsapeta)
    • [Android] Fixed owner type of view functions. (#24135 by @lukmccall)
    • [Android] Fixed IOException No space left on device when saving persistent log. (#24247 by @RodolfoGS)
    • Fixed typed arrays couldn't be returned from synchronous functions. (#24744 by @lukmccall)
    • [iOS] Fixed exception when deallocating shared objects. (#24836 by @kudo)
    • [Android] Fixed null or undefined wasn't converted to JavaScriptValue. (#24899 by @lukmccall)
    • [Android] Fixed Either converter not working with types that have common representation in JavaScript. (#24903 by @lukmccall)
    • [Android] Any converter doesn't use ReadableMap or ReadableList anymore. Objects and arrays are converted to Kotlin's primitives. (#24963 by @lukmccall)
    • Mock native code on web platforms. (#25264 by @EvanBacon)
    • [iOS] Fixed the object identifier for shared object types. (#25060 by @tsapeta)
    • [iOS] Fixed concurrent functions (async/await) not converting results such as records and shared objects. (#25075 by @tsapeta)
    • [iOS] Fixed concurrent functions (async/await) not supporting an owner argument (view and class functions). (#25141 by @tsapeta)
    • Fixed UIView arguments not being resolved correctly when passed in with findNodeHandle (#24703 by @javache)
    • [Android] Improve boot time on low-end devices. (#25267 by @lukmccall)
    • [Android] Improve performance of enum and map converters. (#25272 by @lukmccall)
    • [Android] Improve logic responsible for obtaining converters that slow down the startup time. (#25273 by @lukmccall)
    • [Android] Improving the creation process of views for better performance. (#25274 by @lukmccall)
    • [Android] Prevent the app from crashing during reloading when an unfinished promise tries to execute.
    • [Android] Fix JavaScriptFunction not working when the return type wasn't provided. (#25688 by @lukmccall)
    • [Android] Fix requesting only WRITE_SETTINGS rejecting promise even if the permission was granted. (#25732 by @lukmccall)
    • [Android] Fix functions that are scheduled on the main thread weren't being called as soon as possible. (#25757 by @lukmccall)
  • expo-notifications
    • Fix server rendering with Metro web. (#24195 by @EvanBacon)
    • Send background notifications through when the app is in the foreground (#24684 by @kadikraman)
    • On Android, make tokenManager nullable to prevent crash if we can't find it. (#25860 by @alanjhughes)
  • expo-print
    • Fixed missing constants on iOS, restricted possibility of starting multiple print jobs at once, which would lead to crashes. (#23128 by @behenate)
  • expo-device
  • expo-sensors
  • expo-secure-store
    • Fixed the 'WHEN_UNLOCKED_THIS_DEVICE_ONLY' constraint being incorrectly mapped to wrong secure store accessible (#24831 by @mmmguitar)
  • expo-screen-orientation
    • [iOS] When config plugin is not configured the initial orientation is now based on values in Info.plist instead of being set to portrait. (#23456 by @behenate)
    • [iOS] Fix event emitter sending events with no registered listeners. (#23462 by @behenate)
    • [iOS] Fix config plugin deleting the orientations key from Info.plist when the initial orientation value is set to DEFAULT. (#23637 by @behenate)
    • Fix addOrientationChangeListener not working on iPadOS. (#23656 by @behenate)
    • On Android, add event to module definition to prevent new NativeEventEmitter() warning. (#24943 by @alanjhughes)
  • expo-speech
  • expo-video-thumbnails
    • [iOS] Fixed an issue where timeFrame exceeding video duration failed to generate a thumbnail. Implemented clamping. (#25681 by @hirbod)
  • expo-sqlite
    • Fixed the return type from executeSqlAsync to only successful ResultSet. (#24336 by @kudo)
    • Fixed missing transaction() and readTransaction() function types from SQLiteDatabase. (#23751 by @kudo)
    • [iOS] Fixed build error when mixing with iOS built-in SQLite3. (#23885 by @kudo)
    • [Android] Fixed select queries with CTEs crashing on Android. (#24132 by @derekstavis)
    • [iOS] Fixed an issue with CRSQLite missing a minimum OS version on iOS, causing rejections on AppStore Connect submission. (#24347 by @derekstavis)
    • Fix broken JS test. (#24498 by @alanjhughes)
    • [ios] Fix some issues for sqlite/next. (#25022 by @kudo)
    • Fix crash issues in sqlite/next. (#25295 by @kudo)
    • Fix executeSqlAsync to accept null properly as arguments. (#24761 by @spencerc99)
    • Fixed useSQLiteContext() and finalizeUnusedStatementsBeforeClosing issues in expo-sqlite/next API. (#25328 by @kudo)
    • Fixed the transactionExclusiveAsync does not support CRSQLite. (#25370 by @kudo)
    • Fixed expo-sqlite/next integer overflow crashes on iOS. (#25322 by @peterferguson)
    • Fixed expo-sqlite/next crashes when access to finalized statements. (#25623 by @kudo)
    • Fixed expo-sqlite/next UTF-8 text issue and :memory: database issue. (#25637 by @kudo)

💡 Others

⚠️ Notices

1
45
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