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

storeon

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

storeon - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.9.4
* Fix logger on `0` in event data.
## 0.9.3

@@ -5,0 +8,0 @@ * Improved TypeScript support for typed events and store (by @majo44).

16

devtools/logger.browser.js

@@ -1,5 +0,5 @@

var print = console.log
var print
if (typeof navigator !== 'undefined' && navigator.product !== 'ReactNative') {
print = function (type, name, opts) {
if (opts) {
if (typeof opts !== 'undefined') {
console.log(

@@ -19,2 +19,10 @@ '%c' + type + ' %c' + name,

}
} else {
print = function (type, name, opts) {
if (typeof opts !== 'undefined') {
console.log(type, name, opts)
} else {
console.log(type, name)
}
}
}

@@ -27,8 +35,6 @@

print('changed', keys, state)
} else if (data[1]) {
} else {
print('action', String(data[0]), data[1])
} else {
print('action', String(data[0]))
}
})
}

@@ -20,3 +20,3 @@ /**

console.log('changed ' + keys, state)
} else if (data[1]) {
} else if (typeof data[1] !== 'undefined') {
console.log('action ' + String(data[0]), data[1])

@@ -23,0 +23,0 @@ } else {

{
"name": "storeon",
"version": "0.9.3",
"version": "0.9.4",
"description": "Tiny (173 bytes) event-based Redux-like state manager for React and Preact",

@@ -23,4 +23,4 @@ "keywords": [

"sharec": {
"version": "0.3.5"
"version": "0.4.0"
}
}
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