Skip to content

Commit

Permalink
updated react-native-safe-modules dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Apr 27, 2021
1 parent 346dca0 commit c3342da
Show file tree
Hide file tree
Showing 3 changed files with 6,752 additions and 6,609 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## 4.0.1

- Update react-native-safe-modules dependency

## 4.0.0

- Fix react-native 0.64 compatibility
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "lottie-react-native",
"version": "4.0.0",
"version": "4.0.1",
"description": "React Native bindings for Lottie",
"main": "lib/index.js",
"types": "src/js/index.d.ts",
Expand Down Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"invariant": "^2.2.2",
"prop-types": "^15.5.10",
"react-native-safe-modules": "^1.0.0"
"react-native-safe-modules": "^1.0.1"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
Expand Down

1 comment on commit c3342da

@efstathiosntonas
Copy link

@efstathiosntonas efstathiosntonas commented on c3342da Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emilioicai it seems it breaks, i get the following error:

error: Error: While trying to resolve module `react-native-safe-modules` from file `/Users/stathis/WebstormProjects/xxxx/app/node_modules/lottie-react-native/lib/LottieView.js`, the package `/Users/stathis/WebstormProjects/xxxx/app/node_modules/react-native-safe-modules/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/stathis/WebstormProjects/xxxx/app/node_modules/react-native-safe-modules/lib/index.js`. Indeed, none of these files exist:
  * /Users/stathis/WebstormProjects/xxxx/app/node_modules/react-native-safe-modules/lib/index.js(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
  * /Users/stathis/WebstormProjects/xxxxxx/app/node_modules/react-native-safe-modules/lib/index.js/index(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)

Please sign in to comment.