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

expo-modules-autolinking

Package Overview
Dependencies
Maintainers
27
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-modules-autolinking - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

build/reactNativeConfig/reactNativeConfig.d.ts

@@ -0,3 +1,3 @@

import type { SupportedPlatform } from '../types';
import type { RNConfigCommandOptions, RNConfigDependency, RNConfigReactNativeAppProjectConfig, RNConfigReactNativeProjectConfig, RNConfigResult } from './reactNativeConfig.types';
import type { SupportedPlatform } from '../types';
/**

@@ -4,0 +4,0 @@ * Create config for react-native core autolinking.

@@ -9,7 +9,7 @@ "use strict";

const path_1 = __importDefault(require("path"));
const utils_1 = require("../autolinking/utils");
const fileUtils_1 = require("../fileUtils");
const androidResolver_1 = require("./androidResolver");
const config_1 = require("./config");
const iosResolver_1 = require("./iosResolver");
const utils_1 = require("../autolinking/utils");
const fileUtils_1 = require("../fileUtils");
/**

@@ -72,3 +72,3 @@ * Create config for react-native core autolinking.

function findProjectLocalDependencyRoots(projectConfig) {
if (!projectConfig) {
if (!projectConfig?.dependencies) {
return {};

@@ -75,0 +75,0 @@ }

@@ -72,3 +72,3 @@ import type { SupportedPlatform } from '../types';

export interface RNConfigReactNativeProjectConfig {
dependencies: Record<string, RNConfigReactNativePlatformsConfig>;
dependencies?: Record<string, RNConfigReactNativePlatformsConfig>;
}

@@ -75,0 +75,0 @@ /**

@@ -13,2 +13,8 @@ # Changelog

## 2.0.2 — 2024-11-13
### 🐛 Bug fixes
- Fixed autolinking when `react-native-config` doesn't specify local dependencies. ([#32841](https://github.com/expo/expo/pull/32841) by [@thespacemanatee](https://github.com/thespacemanatee))
## 2.0.1 — 2024-11-13

@@ -15,0 +21,0 @@

{
"name": "expo-modules-autolinking",
"version": "2.0.1",
"version": "2.0.2",
"description": "Scripts that autolink Expo modules.",

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

},
"gitHead": "2c50bd7f0abaefb6fabcfd6d3935066724990b33"
"gitHead": "c4999f5aa407155a170830a0fa17e3e3ca1fcbee"
}
import fs from 'fs/promises';
import path from 'path';
import { getIsolatedModulesPath } from '../autolinking/utils';
import { fileExistsAsync } from '../fileUtils';
import type { SupportedPlatform } from '../types';
import {

@@ -19,5 +22,2 @@ findGradleAndManifestAsync,

} from './reactNativeConfig.types';
import { getIsolatedModulesPath } from '../autolinking/utils';
import { fileExistsAsync } from '../fileUtils';
import type { SupportedPlatform } from '../types';

@@ -101,3 +101,3 @@ /**

): Record<string, string> {
if (!projectConfig) {
if (!projectConfig?.dependencies) {
return {};

@@ -104,0 +104,0 @@ }

@@ -80,3 +80,3 @@ import type { SupportedPlatform } from '../types';

export interface RNConfigReactNativeProjectConfig {
dependencies: Record<string, RNConfigReactNativePlatformsConfig>;
dependencies?: Record<string, RNConfigReactNativePlatformsConfig>;
}

@@ -83,0 +83,0 @@

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