nanoevents
Advanced tools
Comparing version 5.1.2 to 5.1.3
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 5.1.3 | ||
* Allow to use library in React Native without `resolverMainFields`. | ||
## 5.1.2 | ||
@@ -5,0 +8,0 @@ * Fix React Native warnings. |
{ | ||
"name": "nanoevents", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "Simple and tiny (72 bytes) event emitter library", | ||
@@ -32,4 +32,3 @@ "keywords": [ | ||
} | ||
}, | ||
"react-native": "index.cjs.js" | ||
} | ||
} |
@@ -49,3 +49,2 @@ # Nano Events | ||
* [Remove All Listeners](#remove-all-listeners) | ||
* [React Native](#react-native) | ||
@@ -211,15 +210,1 @@ | ||
``` | ||
## React Native | ||
Adding this lines to `metro.config.js` will fix | ||
[temporary issue](https://github.com/facebook/metro/issues/535) of React Native. | ||
```js | ||
module.exports = { | ||
resolver: { | ||
resolverMainFields: ['react-native', 'browser', 'main'] | ||
} | ||
} | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10224
209