Socket
Socket
Sign inDemoInstall

nanoevents

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanoevents - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

index.cjs.js

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 5.1.1
* Add temporary workaround for React Native.
## 5.1

@@ -5,0 +8,0 @@ * Add `Unsubscribe` type.

6

package.json
{
"name": "nanoevents",
"version": "5.1.0",
"version": "5.1.1",
"description": "Simple and tiny (72 bytes) event emitter library",

@@ -23,3 +23,2 @@ "keywords": [

"sideEffects": false,
"types": "./index.d.ts",
"type": "module",

@@ -33,3 +32,4 @@ "main": "index.cjs",

}
}
},
"react-native": "index.cjs.js"
}

@@ -49,2 +49,3 @@ # Nano Events

* [Remove All Listeners](#remove-all-listeners)
* [React Native](#react-native)

@@ -210,1 +211,15 @@

```
## 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']
}
}
```
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