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

@react-native/metro-babel-transformer

Package Overview
Dependencies
Maintainers
11
Versions
473
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/metro-babel-transformer - npm Package Versions

13
47

0.78.0-nightly-20241203-bfc8b3391

Diff

react-native-bot
published 0.78.0-nightly-20241202-91e217ff5 •

react-native-bot
published 0.78.0-nightly-20241201-91e217ff5 •

react-native-bot
published 0.78.0-nightly-20241130-91e217ff5 •

react-native-bot
published 0.78.0-nightly-20241129-5ff59b448 •

react-native-bot
published 0.78.0-nightly-20241128-5da7089e3 •

react-native-bot
published 0.78.0-nightly-20241127-40c194cf4 •

react-native-bot
published 0.77.0-rc.0 •

Changelog

Source

v0.77.0-rc.0

Breaking

  • Bridgeless: Make NativeModules.foo load turbomodules (unset turboModuleProxy in bridgeless). (cc5f17d5a2 by @RSNara)
  • dev-middleware: Frameworks should specify serverBaseUrl relative to the middleware host. (acf384a72e by @robhogan)
  • position of sticky headers on ScrollView will now be taken into account (cbab004eb9 by @joevilches)
  • Remove ReactFabricInternals module (0c21db360c by @huntie)
  • Make ReactDebugOverlayTags, DebugOverlayTags, Printer, PrinterHolder, NoopPrinter internal (623d481991 by @cortinico)
  • More spec compliant absolute positioning (0a2dec175e by @NickGerleman)
  • Native looping animation will not send React state update every time it finishes. (4b035d820d by @dmytrorykun)
Android specific
iOS specific

Added

Android specific
iOS specific

Changed

  • Fixed a typo in the README file. (30e75a51f3 by @Aryan2727-debug)
  • Fix unnececary rerenders of VirtualizedListCells with strictMode={true} (aafe696453 by @Tom910)
  • The AnimatedNode graph will not occur during the insertion effect phase, which means animations can now be reliably started during layout effects. (316170ce8d by @yungsters)
  • AttributedString appendFragment and prependFragment take an rval instead of a const ref; append/prependAttributedString have been removed (2c31fe99e1 by @javache)
  • Improved AttributedText generation for raw text nodes. (2f7957f2fd by @javache)
  • Callbacks passed to animation.start(<callback>) will be scheduled for execution in a microtask. Previously, there were certain scenarios in which the callback could be synchronously executed by start. (090501d26d by @yungsters)
  • Optimized the performance of updating Animated components. (f0ffcd4f5d by @yungsters)
  • Bump serve-static to 1.16.2 to fix CVE-2024-43800 (50e38cc9f1 by @cortinico)
  • Bump Folly to 2024.10.14.00 (37375d8aba by @alanleedev)
  • useMergeRefs and components using it (e.g. Pressable) now support ref cleanup functions. (01e210fd28 by @yungsters)
  • : Update Metro to 0.81.0 (0902b0af75 by @robhogan)
  • Animations started with incompatible useNativeDriver and AnimatedValue configurations will now synchronously fail. Previously, spring and timing animations with non-zero delays would throw the error asynchronously. (fd8cf19625 by @yungsters)
  • The Animation superclass no longer exposes __onEnd as a property. Subclasses must instead invoke super.start(…) in their start() implementation. (b3fe06b268 by @yungsters)
  • Simplified Flow types to use HostInstance (which changing nominal types). (177697f539 by @yungsters)
  • Upgrade React DevTools to 6.0.0. (ed4f6d6891 by @hoxyq)
  • Fix: use public instance in Fiber renderer and expose it from getInspectorDataForViewAtPoint (#31068) (633ad4933e by @hoxyq)
  • Get react-native package name from package.json in codegen script (65575e8399 by @okwasniewski)
  • Bring back shouldSkipStateUpdatesForLoopingAnimations feature flag (6e0e712c2a by @dmytrorykun)
  • AnimatedNode (and its subclasses) once again implement toJSON(). (7bd4a54968 by @yungsters)
  • Do not print Bridgeless Mode is enabled on console anymore (f3a969f38d by @cortinico)
  • Bump main to 0.77-main (120558c0cd by @cipolleschi)
  • Improved the performance of unmounting (and updating, when an enclosing Activity becomes hidden) Animated components (46abda55b9 by Royi Hagigi)
  • AnimatedNode (and its subclasses) no longer implement toJSON(). (fe6228512e by @yungsters)
  • Animated now resolves style to the original prop value if it contains no AnimatedNode instances. Previously, it would resolve to a flattened style object. (ca234ba10e by @yungsters)
  • Bump Metro dependencies to 0.81.0-alpha.0 (40f98b5eee by @robhogan)
Android specific
iOS specific
  • Make prefetchImageWithMetadata's queryRootName nullable in the spec (4dd60acb7d by @TheRogue76)
  • Change how components automatically register (8becc2514d by @cipolleschi)
  • Stop generating the RCTThirdPartyLibraryComponentProvider (60b9d3d89e by @cipolleschi)
  • RCTSurfaceHostingProxyRootView no longer has different behavior (whether it calls start on the provided surface) depending on which initializer is used. Call start yourself on the surface instead. (13b93cfdda by Nolan O'Brien)
  • Use newArchEnabled flag in RCTAppDelegate and RCTRootViewFactory (7e1674fc59 by @okwasniewski)
  • Do not move to the main queue synchronously when starting a new surface (ab2c47be28 by @cipolleschi)
  • Rename RCTUIGraphicsImageRenderer to RCTMakeUIGraphicsImageRenderer (6a09fc09af by @Saadnajmi)
  • Refactor RCTDevLoadingView to use constraints (fbda60e657 by @okwasniewski)

Deprecated

Android specific
iOS specific
  • Deprecating RCTBridgeModule batchDidComplete and adding configuration to disable it (731bd95c43 by @philIip)

Removed

Android specific
iOS specific

Fixed

  • Hermes: revert Intl removal (4cffff35e0 by @robhogan)
  • Fix the nodes' owners not being updated when display: contents is used (aa53bde21b by @j-piasecki)
  • dev-middleware: Rewrite URLs in the inspector proxy to cover all configurations, not just Android emulators. (74995bc90a by @robhogan)
  • Fix C++ bridging template compatibility with MSVC (e6848ba5ba by @acoates-ms)
  • Accessing KeyboardAvoidingEvent event in onLayout handler (68db74205a by @mhoran)
  • dev-middleware: Fix URL rewriting where device and debugger reach the server on different ports/protocols. (5da7ebf99a by @robhogan)
  • dev-middleware: Regex-escape IP addresses in urlRegex replacements (aae3e03e57 by @robhogan)
  • Fixed jest error from Appearance.js (ce838a4bcf by @Kudo)
  • When using Babel with plain JavaScript files, support for additional user syntax plugins should be fixed (now uses Babel's parser instead of hermes-parser). There is no change for JS files annotated with flow, where extended JS syntax remains unsupported. (3de9892353 by @huntie)
  • Fix Appearance.setColorScheme(null) not resetting color scheme value (7d63235086 by @sangonz193)
  • Fix text not taking full width (550b0c0ed1 by @s77rt)
  • Linear gradient start and end point algorithm. (221d1eceda by @intergalacticspacehighway)
  • Codegen: Support nested objects in arrays (13780126d3 by @tvanlaerhoven)
  • RN DevTools: Don't assume 10.0.2.2 is an alias for localhost unless it's used to establish a connection to the server (69400be4fc by @robhogan)
  • Do not discard props in the patch when they are not null while using useNativeProps (4c3112c8d8 by @cipolleschi)
  • : dev-middleware: Remove URL.canParse, restore compat with Node < 18.17 (99767d43b0 by @robhogan)
  • RN DevTools: Fix fetching sources and source maps when the dev-server is remote and not tunnelled via the same port+protocol. (d1b0e9a30b by @robhogan)
  • Fix npm react-native start when cli-server-api isn't installed (e0be2efe4e by @blakef)
  • AnsiHighlight style in RTL layout (9a3958a619 by @hexboy)
  • Fixes typo in ReactHostImpl (e3f03269c5 by @rozele)
  • TextTransform: capitalize better reflects the web behaviour (dc2000c875 by @javache)
  • Fix for nodes with display: contents not being cleaned in some cases (a88ddcecc9 by @j-piasecki)
  • Microtasks are now correctly executed after the code evaluation in Console panel of DevTools. (3dfe22bd27 by @hoxyq)
  • Passed height and width as native props to support cases where source is an array. (45b177f50d by @shubhamguptadream11)
  • PerformanceEntryReporter::reportMark and PerformanceEntryReporter::reportMeasaure now return created performance entries. (32f7b3b4e0 by @robik)
  • Make Codegen work with local modules (7b6e8e7765 by @cipolleschi)
  • Fix KeyboardAvoidingView not aware of the keyboard closing it is unmounted (08bd8ac47d by @QichenZhu)
  • Fix onEndReached not being called when getItemLayout is present and we scroll past render window (3485e9ed87 by YunPeng Chong)
  • Fix cast and control paths errors on windows (0794fa909b by @TatianaKapos)
  • Plumbing to get boxSizing prop to Yoga round 2 (3ca796edc3 by @joevilches)
  • Fix onEndReached not being called when getItemLayout is present and we scroll past render window (62b7396bf4 by @NickGerleman)
  • TurboModule::get is now a final method, override create to customize property lookup (5b5e150eaf by @javache)
  • Improved types for AnimatedProps (390925ea39 by @javache)
  • Upgrade Codegen dependency jscodeshift@17.0.0 to resolve outdated dependencies (39c98fb8f8 by @byCedric)
  • Fixed issues with W3C PointerEvents testsx (1dcaf823f5 by @rozele)
  • Fixed issue with W3C PointerEvents tests (68a6b69b27 by @rozele)
  • Fix setImmediate/clearTimeout mismatch in NativeAnimatedHelper that could clear an unrelated setTimeout. (a5dd1be889 by Benoit Girard)
  • Improved error message when no view config is found. (bca232ad90 by @javache)
  • : Order of operations related to platformConfig propagation in NativeAnimated (a64183b0c6 by @rozele)
  • Rename overlayColor prop in Modal to backdropColor (7aeff18970 by @alanleedev)
  • Fix source mapping for codegenNativeCommands (8fba154b66 by @vzaidman)
  • Fixed accuracy of FlatList estimations to determine what elements are visible in the rendering window. (40aaeb7181 by @rubennorte)
  • Fix type conversion error in react native windows build. (13db1cb88b by @marlenecota)
  • Correctly pass down isLooping in parallel animation (4014aa4528 by @zeyap)
Android specific
iOS specific
react-native-bot
published 0.77.0-nightly-20241126-f70c3cae5 •

react-native-bot
published 0.77.0-nightly-20241125-4cffff35e •

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