
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@react-native/js-polyfills
Advanced tools
yarn add @react-native/js-polyfills
Note: We're using yarn
to install deps. Feel free to change commands to use npm
3+ and npx
if you like
To run the tests in this package, run the following commands from the React Native root folder:
yarn
to install the dependencies. You just need to run this onceyarn jest packages/polyfills
.v0.82.0
Appearance.setColorScheme
no longer accepts a nullable value (a4581ecd8b by @huntie)CxxSharedModuleWrapper
: Removed CxxSharedModuleWrapper (fafbee2402 by @javache)requestIdleCallback()
. (03d9f34a82 by @yungsters)shouldEmitW3CPointerEvents
: Migrate shouldPressibilityUseW3CPointerEventsForHover
to common private feature flags and remove shouldEmitW3CPointerEvents
flag. (fb4587780e by @coado)reactNativeHost
: Throw Exception if ReactApplication.reactNativeHost is not overriden (0d3791ca0a by @mdvacca)Animated.CompositeAnimation
is now exposed when using "react-native-strict-api"
(024d25794a by @huntie)ReactNativeVersion
API as JavaScript root export (ec5638abd0 by @huntie)blockNativeResponder
on Pressable (6e4d23ded2 by @zeyap)debugOptimized
buildType
for Android (eb2461c7c9 by @cortinico)DevSupportManager::openDebugger
now supports an optional panel
param determining the starting panel (7eb3536728 by @huntie)usesCleartextTraffic
manifest placeholder which is autoconfigured by RNGP. (d89acc1596 by @cortinico)enableFontScaleChangesUpdatingLayout
feature flag by default (686d14f1d1 by @j-piasecki)addBinding
and removeBinding
methods earlier, before a Runtime exists. (3271e57c75 by @motiz88)openDebugger()
methods now accept a panel: String?
param. Frameworks directly implementing DevSupportManager
will need to adjust call signatures. (9dba7112cf by @huntie)YogaConfig
to Kotlin (4d5caef76b by @mateoguzmana)YogaValue
to Kotlin (4340dcbae8 by @mateoguzmana)YogaNative
to Kotlin (bc54a06fcb by @mateoguzmana)YogaConfigFactory
to Kotlin (33ca53d9db by @mateoguzmana)DoNotStrip
to Kotlin (35d8086881 by @mateoguzmana)YogaLayoutType
to Kotlin (7e461003c6 by @mateoguzmana)LayoutPassReason
to Kotlin (db2a9c089c by @mateoguzmana)YogaNodeFactory
to Kotlin (40afa75a7c by @mateoguzmana)YogaMeasureOutput
to Kotlin (453508ada8 by @mateoguzmana)YogaMeasureFunction
to Kotlin (05eddd354e by @mateoguzmana)YogaStyleInputs
to Kotlin (001736000f by @mateoguzmana)YogaBaselineFunction
to Kotlin (a2eb3b299d by @mateoguzmana)YogaLogger
to Kotlin (9c9a39b58e by @mateoguzmana)TextAttributeProps.effectiveLineHeight
. This field was public but never used in OSS. (ede037ade7 by @cortinico)StyleSheet.absoluteFillObject
is deprecated in favor of StyleSheet.absoluteFill
(equivalent). (83e19813ff by @huntie)BridgelessReactContext.getCatalystInstance()
method (4583fbe052 by @cortinico)CoreModulesPackage
and NativeModuleRegistryBuilder
legacy architecture classes, these classes unused in the new architecture and will be deleted in the future (d3bbbd893a by @mdvacca)DefaultReactHost.getDefaultReactHost()
overload (d35ddb5e59 by @cortinico)Inspector
public class from React Android (cf528526cc by @cortinico)com.facebook.react.bridge.JSONArguments
class (04ae15d99b by @cortinico)aria-hidden
support for Text
, non-editable TextInput
and Image
(0f39fc3000 by @mdjastrzebski)exports
field in their package.json file and the ./package.json
subpath is not explicitly defined (739dfd2141 by @RakaDoank)hermes.framework
to hermesvm.framework
(7f051c5470 by @j-piasecki)Dimensions
window
values on Android < 15 when edge-to-edge is enabled (3b185e4bce by @zoontek)RootView
(5cda3065ce by @j-piasecki)isDevicePreferredLanguageRTL
(a03780d279 by Kaining Zhong)jsBundleAssetPath
on DefaultReactHost
(2246e2b82c by @cortinico)set_fast_float_config
method in react_native_pods.rb
(327057fad5 by @eliotfallon213)RCTPullToRefreshViewComponentView
(27217e8bd6 by @cipolleschi)getModuleForClass
and getModuleInstanceFromClass
(85b47afb48 by @cipolleschi)ScrollView
props to RefreshControl
(09daad27ea by @cipolleschi)ScrollView
recycled refresh control have the right props setup. (21b93d8d7d by @cipolleschi)Switch
component (28275a0f7b by @cipolleschi)inputAccessoryView
dependency. (eb08f54594 by @ArturKalach)maxLength={null}
is passed (56ad53cb14 by @cipolleschi)View
alignment with lineHeight
in Text (6da351a5ed by @intergalacticspacehighway)FAQs
Polyfills for React Native.
The npm package @react-native/js-polyfills receives a total of 3,016,962 weekly downloads. As such, @react-native/js-polyfills popularity was classified as popular.
We found that @react-native/js-polyfills demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.