Skip to content

Package dependencies #231

@che1974

Description

@che1974

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @haskkor/react-native-pincode@1.22.6 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@haskkor/react-native-pincode/dist/index.js b/node_modules/@haskkor/react-native-pincode/dist/index.js
index 5a74812..71060df 100644
--- a/node_modules/@haskkor/react-native-pincode/dist/index.js
+++ b/node_modules/@haskkor/react-native-pincode/dist/index.js
@@ -5,7 +5,7 @@ const PinCode_1 = require("./src/PinCode");
 const PinCodeChoose_1 = require("./src/PinCodeChoose");
 const PinCodeEnter_1 = require("./src/PinCodeEnter");
 const utils_1 = require("./src/utils");
-const async_storage_1 = require("@react-native-community/async-storage");
+const async_storage_1 = require("@react-native-async-storage/async-storage");
 const React = require("react");
 const react_native_1 = require("react-native");
 const disableLockScreenDefault = false;
diff --git a/node_modules/@haskkor/react-native-pincode/dist/src/ApplicationLocked.js b/node_modules/@haskkor/react-native-pincode/dist/src/ApplicationLocked.js
index 6609743..0a03147 100644
--- a/node_modules/@haskkor/react-native-pincode/dist/src/ApplicationLocked.js
+++ b/node_modules/@haskkor/react-native-pincode/dist/src/ApplicationLocked.js
@@ -4,7 +4,7 @@ const colors_1 = require("./design/colors");
 const grid_1 = require("./design/grid");
 const delay_1 = require("./delay");
 const utils_1 = require("./utils");
-const async_storage_1 = require("@react-native-community/async-storage");
+const async_storage_1 = require("@react-native-async-storage/async-storage");
 const d3_ease_1 = require("d3-ease");
 const React = require("react");
 const Animate_1 = require("react-move/Animate");
diff --git a/node_modules/@haskkor/react-native-pincode/dist/src/PinCodeEnter.js b/node_modules/@haskkor/react-native-pincode/dist/src/PinCodeEnter.js
index 23baa84..7e901e6 100644
--- a/node_modules/@haskkor/react-native-pincode/dist/src/PinCodeEnter.js
+++ b/node_modules/@haskkor/react-native-pincode/dist/src/PinCodeEnter.js
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
 const delay_1 = require("./delay");
 const PinCode_1 = require("./PinCode");
 const utils_1 = require("./utils");
-const async_storage_1 = require("@react-native-community/async-storage");
+const async_storage_1 = require("@react-native-async-storage/async-storage");
 const React = require("react");
 const react_native_1 = require("react-native");
 const Keychain = require("react-native-keychain");
diff --git a/node_modules/@haskkor/react-native-pincode/dist/src/utils.js b/node_modules/@haskkor/react-native-pincode/dist/src/utils.js
index c509f91..24b0adf 100644
--- a/node_modules/@haskkor/react-native-pincode/dist/src/utils.js
+++ b/node_modules/@haskkor/react-native-pincode/dist/src/utils.js
@@ -1,7 +1,7 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 const react_native_1 = require("react-native");
-const async_storage_1 = require("@react-native-community/async-storage");
+const async_storage_1 = require("@react-native-async-storage/async-storage");
 const Keychain = require("react-native-keychain");
 var PinResultStatus;
 (function (PinResultStatus) {
diff --git a/node_modules/@haskkor/react-native-pincode/index.tsx b/node_modules/@haskkor/react-native-pincode/index.tsx
index 51828f8..12b170e 100644
--- a/node_modules/@haskkor/react-native-pincode/index.tsx
+++ b/node_modules/@haskkor/react-native-pincode/index.tsx
@@ -4,7 +4,7 @@ import PinCodeChoose from "./src/PinCodeChoose";
 import PinCodeEnter from "./src/PinCodeEnter";
 import { hasPinCode, deletePinCode, resetInternalStates, PinResultStatus } from "./src/utils";
 
-import AsyncStorage from '@react-native-community/async-storage'
+import AsyncStorage from '@react-native-async-storage/async-storage'
 import * as React from "react";
 import { View, StyleSheet, StyleProp, ViewStyle, TextStyle } from "react-native";
 

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions