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

jetifier

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jetifier - npm Package Compare versions

Comparing version 1.6.4 to 1.6.5

5

CHANGELOG.md
# Changelog
## 1.6.5
- fix: avoid infinite readdir loop w/symlink skip (great work, thanks @gaodeng!)
- docs(README): clarify jetifier runs automatically in RN>=0.60 (thanks @taylorkline!)
- chore(CI): make sure openjdk8 is used on linux CI instances (@mikehardy)
## 1.6.4

@@ -4,0 +9,0 @@ - fix: link jetify to jetifier name, `npx jetifier` works (thanks @salakar for the assist)

4

package.json
{
"name": "jetifier",
"version": "1.6.4",
"version": "1.6.5",
"description": "jetifier from Android Studio, in npm package format",

@@ -42,4 +42,4 @@ "main": "index.js",

"devDependencies": {
"np": "^5.0.3"
"np": "^5.1.3"
}
}

@@ -20,2 +20,4 @@ [![npm version](https://badge.fury.io/js/jetifier.svg)](http://badge.fury.io/js/jetifier)

***Note that jetifier is included and ran automatically with [react-native-community/cli](https://github.com/react-native-community/cli) for React Native versions 0.60 and above, so you do not need to install and run jetifier manually.***
If you use React Native modules with native Java code that isn't converted to AndroidX, and your app is AndroidX, you probably need this.

@@ -47,2 +49,4 @@

***As noted above, jetify is ran for you automatically in React Native versions 0.60 and above.***
Proof it works / how this is tested: <https://github.com/mikehardy/rn-androidx-demo>. You can clone that repo, run the script, and see it works. Please feel to make PRs to that repo, especially in App.js or in the dependencies included, if you would like to demonstrate success or failure for a specific module.

@@ -49,0 +53,0 @@

@@ -1,2 +0,2 @@

const { existsSync, readFileSync, readdirSync, statSync } = require('fs');
const { existsSync, readFileSync, readdirSync, statSync, lstatSync } = require('fs');
const { join } = require('path');

@@ -17,3 +17,5 @@

const filePath = join(dir, file);
if (lstatSync(filePath).isSymbolicLink()) {
continue;
}
if (existsSync(filePath)) {

@@ -20,0 +22,0 @@ if (statSync(filePath).isDirectory()) {

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