Comparing version 3.1.2 to 3.1.3
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 3.1.3 | ||
* Fix peer dependency warning for React 17. | ||
## 3.1.2 | ||
@@ -5,0 +8,0 @@ * Reduced size (by Alexander Zaytsev). |
@@ -101,2 +101,2 @@ let print | ||
export { storeonDevtools, storeonLogger } | ||
module.exports = { storeonDevtools, storeonLogger } |
@@ -43,2 +43,2 @@ let createStoreon = modules => { | ||
export { createStoreon } | ||
module.exports = { createStoreon } |
{ | ||
"name": "storeon", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Tiny (180 bytes) event-based Redux-like state manager for React and Preact", | ||
@@ -18,4 +18,4 @@ "keywords": [ | ||
"peerDependencies": { | ||
"preact": "^10.0.0", | ||
"react": "^16.8.0" | ||
"preact": ">=10.0.0", | ||
"react": ">=16.8.0" | ||
}, | ||
@@ -32,43 +32,3 @@ "peerDependenciesMeta": { | ||
"node": ">=10.0.0" | ||
}, | ||
"type": "module", | ||
"main": "index.cjs", | ||
"module": "index.js", | ||
"react-native": "index.js", | ||
"exports": { | ||
".": { | ||
"require": "./index.cjs", | ||
"import": "./index.js", | ||
"types": "./index.d.ts" | ||
}, | ||
"./package.json": "./package.json", | ||
"./devtools/package.json": "./devtools/package.json", | ||
"./devtools": { | ||
"browser": { | ||
"development": "./devtools/index.dev.js", | ||
"production": "./devtools/index.prod.js" | ||
}, | ||
"require": "./devtools/index.cjs", | ||
"import": "./devtools/index.js" | ||
}, | ||
"./preact/package.json": "./preact/package.json", | ||
"./preact": { | ||
"browser": { | ||
"development": "./preact/index.dev.js", | ||
"production": "./preact/index.prod.js" | ||
}, | ||
"require": "./preact/index.cjs", | ||
"import": "./preact/index.js" | ||
}, | ||
"./react/package.json": "./react/package.json", | ||
"./react": { | ||
"browser": { | ||
"development": "./react/index.dev.js", | ||
"production": "./react/index.prod.js" | ||
}, | ||
"require": "./react/index.cjs", | ||
"import": "./react/index.js" | ||
}, | ||
"./index.d.ts": "./index.d.ts" | ||
} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { | ||
let { | ||
useMemo, | ||
@@ -7,5 +7,5 @@ useContext, | ||
useEffect | ||
} from 'preact/hooks' | ||
import { createContext, h } from 'preact' | ||
import { forwardRef } from 'preact/compat' | ||
} = require('preact/hooks') | ||
let { createContext, h } = require('preact') | ||
let { forwardRef } = require('preact/compat') | ||
@@ -56,2 +56,2 @@ let StoreContext = createContext() | ||
export { useStoreon, StoreContext, connectStoreon, customContext } | ||
module.exports = { useStoreon, StoreContext, connectStoreon, customContext } |
@@ -1,2 +0,2 @@ | ||
import { | ||
let { | ||
useMemo, | ||
@@ -10,3 +10,3 @@ useContext, | ||
forwardRef | ||
} from 'react' | ||
} = require('react') | ||
@@ -58,2 +58,2 @@ let StoreContext = createContext() | ||
export { useStoreon, StoreContext, connectStoreon, customContext } | ||
module.exports = { useStoreon, StoreContext, connectStoreon, customContext } |
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
3
31993
12
531
No