redux
Advanced tools
Comparing version 5.0.0-alpha.2 to 5.0.0-alpha.3
{ | ||
"name": "redux", | ||
"version": "5.0.0-alpha.2", | ||
"version": "5.0.0-alpha.3", | ||
"description": "Predictable state container for JavaScript apps", | ||
@@ -26,12 +26,11 @@ "license": "MIT", | ||
], | ||
"type": "module", | ||
"module": "dist/es/index.js", | ||
"main": "dist/cjs/index.cjs", | ||
"types": "types/index.d.ts", | ||
"main": "dist/cjs/redux.cjs", | ||
"module": "dist/redux.mjs", | ||
"types": "dist/redux.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./types/index.d.ts", | ||
"import": "./dist/es/index.js", | ||
"default": "./dist/cjs/index.cjs" | ||
"types": "./dist/redux.d.ts", | ||
"import": "./dist/redux.mjs", | ||
"default": "./dist/cjs/redux.cjs" | ||
} | ||
@@ -41,9 +40,6 @@ }, | ||
"dist", | ||
"lib", | ||
"es", | ||
"src", | ||
"types" | ||
"src" | ||
], | ||
"scripts": { | ||
"clean": "rimraf lib dist es coverage types", | ||
"clean": "rimraf dist", | ||
"format": "prettier --write \"{src,test}/**/*.{js,ts}\" \"**/*.md\"", | ||
@@ -57,4 +53,5 @@ "format:check": "prettier --list-different \"{src,test}/**/*.{js,ts}\" \"**/*.md\"", | ||
"test:cov": "vitest --coverage", | ||
"build": "rollup -c", | ||
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test && yarn build", | ||
"build": "tsup", | ||
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test", | ||
"prepack": "yarn build", | ||
"examples:lint": "eslint --ext js,ts examples", | ||
@@ -84,2 +81,3 @@ "examples:test": "cross-env CI=true babel-node examples/testAll.js", | ||
"cross-env": "^7.0.3", | ||
"esbuild-extra": "^0.1.3", | ||
"eslint": "^8.23.0", | ||
@@ -100,2 +98,3 @@ "eslint-config-react-app": "^7.0.1", | ||
"rxjs": "^7.5.6", | ||
"tsup": "^6.7.0", | ||
"typescript": "^4.8.3", | ||
@@ -102,0 +101,0 @@ "vitest": "^0.27.2" |
import { Action, AnyAction } from './actions' | ||
import { Reducer } from './reducers' | ||
import '../utils/symbol-observable' | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
import _$$observable from '../utils/symbol-observable' | ||
@@ -5,0 +6,0 @@ /** |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
function formatProdErrorMessage(code: number) { | ||
export function formatProdErrorMessage(code: number) { | ||
return ( | ||
@@ -15,3 +15,1 @@ `Minified Redux error #${code}; visit https://redux.js.org/Errors?code=${code} for the full message or ` + | ||
} | ||
export default formatProdErrorMessage |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
277673
38
26
2804
1
No