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

react-native-reanimated

Package Overview
Dependencies
Maintainers
0
Versions
749
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-reanimated - npm Package Compare versions

Comparing version 3.17.0-nightly-20241219-1e9cdd2fa to 3.17.0-nightly-20241220-6713c4c29

2

lib/module/core.js

@@ -94,3 +94,3 @@ 'use strict';

if (!isWeb()) {
initializeUIRuntime();
initializeUIRuntime(ReanimatedModule);
}

@@ -97,0 +97,0 @@ let featuresConfig = {

@@ -160,3 +160,7 @@ 'use strict';

}
export function initializeUIRuntime() {
export function initializeUIRuntime(ReanimatedModule) {
if (!ReanimatedModule) {
// eslint-disable-next-line reanimated/use-reanimated-error
throw new Error('[Reanimated] Reanimated is trying to initialize the UI runtime without a valid ReanimatedModule');
}
if (IS_JEST) {

@@ -163,0 +167,0 @@ // requestAnimationFrame react-native jest's setup is incorrect as it polyfills

@@ -0,5 +1,6 @@

import type { IReanimatedModule } from './commonTypes';
export declare function callGuardDEV<Args extends unknown[], ReturnValue>(fn: (...args: Args) => ReturnValue, ...args: Args): ReturnValue | void;
export declare function setupCallGuard(): void;
export declare function setupConsole(): void;
export declare function initializeUIRuntime(): void;
export declare function initializeUIRuntime(ReanimatedModule: IReanimatedModule): void;
//# sourceMappingURL=initializers.d.ts.map
{
"name": "react-native-reanimated",
"version": "3.17.0-nightly-20241219-1e9cdd2fa",
"version": "3.17.0-nightly-20241220-6713c4c29",
"description": "More powerful alternative to Animated library for React Native.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -158,3 +158,3 @@ 'use strict';

if (!isWeb()) {
initializeUIRuntime();
initializeUIRuntime(ReanimatedModule);
}

@@ -161,0 +161,0 @@

@@ -18,2 +18,3 @@ 'use strict';

} from './logger';
import type { IReanimatedModule } from './commonTypes';

@@ -182,3 +183,9 @@ const IS_JEST = isJest();

export function initializeUIRuntime() {
export function initializeUIRuntime(ReanimatedModule: IReanimatedModule) {
if (!ReanimatedModule) {
// eslint-disable-next-line reanimated/use-reanimated-error
throw new Error(
'[Reanimated] Reanimated is trying to initialize the UI runtime without a valid ReanimatedModule'
);
}
if (IS_JEST) {

@@ -185,0 +192,0 @@ // requestAnimationFrame react-native jest's setup is incorrect as it polyfills

@@ -7,2 +7,2 @@ 'use strict';

*/
export const jsVersion = '3.17.0-nightly-20241219-1e9cdd2fa';
export const jsVersion = '3.17.0-nightly-20241220-6713c4c29';

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

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