recoil
Advanced tools
Comparing version 0.7.2 to 0.7.3-alpha
@@ -93,2 +93,3 @@ // Minimum TypeScript Version: 3.7 | ||
storeID: StoreID, | ||
parentStoreID_UNSTABLE?: StoreID, | ||
trigger: 'set' | 'get', | ||
@@ -101,3 +102,4 @@ | ||
| Promise<T | DefaultValue> | ||
| ((param: T | DefaultValue) => T | DefaultValue), | ||
| WrappedValue<T> | ||
| ((param: T | DefaultValue) => T | DefaultValue | WrappedValue<T>), | ||
) => void, | ||
@@ -104,0 +106,0 @@ resetSelf: () => void, |
{ | ||
"name": "recoil", | ||
"version": "0.7.2", | ||
"version": "0.7.3-alpha", | ||
"type": "module", | ||
"description": "Recoil - A state management library for React", | ||
@@ -9,2 +10,3 @@ "main": "cjs/recoil.js", | ||
"unpkg": "umd/recoil.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
@@ -19,13 +21,2 @@ "umd", | ||
"license": "MIT", | ||
"scripts": { | ||
"prepare": "install-peers", | ||
"build": "rollup -c && node scripts/postbuild.js", | ||
"test": "jest packages/*", | ||
"format": "prettier --write \"./**/*.{js,md,json}\"", | ||
"flow": "flow --show-all-errors", | ||
"flow:restart": "flow stop && npm run flow", | ||
"test:typescript": "dtslint typescript", | ||
"lint": "eslint .", | ||
"deploy-nightly": "yarn build && node scripts/deploy_nightly_build.js" | ||
}, | ||
"dependencies": { | ||
@@ -44,55 +35,3 @@ "hamt_plus": "1.0.2" | ||
} | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.16.0", | ||
"@babel/plugin-proposal-class-properties": "^7.16.0", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.16.0", | ||
"@babel/plugin-syntax-optional-chaining": "^7.8.3", | ||
"@babel/plugin-transform-flow-strip-types": "^7.16.0", | ||
"@babel/preset-flow": "^7.16.0", | ||
"@babel/preset-react": "^7.16.0", | ||
"@rollup/plugin-alias": "^3.1.5", | ||
"@rollup/plugin-babel": "^5.0.0", | ||
"@rollup/plugin-commonjs": "^11.1.0", | ||
"@rollup/plugin-node-resolve": "^7.1.3", | ||
"@rollup/plugin-replace": "^2.3.2", | ||
"@types/react": ">=16.13.1", | ||
"babel-jest": "^26.0.1", | ||
"babel-plugin-module-resolver": "^4.0.0", | ||
"babel-preset-fbjs": "^3.3.0", | ||
"dtslint": "^4.2.0", | ||
"eslint": "^8.2.0", | ||
"eslint-plugin-fb-www": "^1.8.0", | ||
"eslint-plugin-flowtype": "^8.0.3", | ||
"eslint-plugin-jest": "^23.13.2", | ||
"eslint-plugin-react": "^7.20.0", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"eslint-plugin-rulesdir": "^0.2.0", | ||
"flow-bin": "^0.164.0", | ||
"flow-copy-source": "^2.0.9", | ||
"hermes-eslint": "^0.4.8", | ||
"husky": ">=4", | ||
"immutable": "^4.0.0-rc.12", | ||
"install-peers-cli": "^2.2.0", | ||
"jest-cli": "^26.0.1", | ||
"lint-staged": ">=10", | ||
"prettier": "^2.4.1", | ||
"promise-polyfill": "^8.1.3", | ||
"react": ">=16.13.1", | ||
"react-dom": ">=16.13.1", | ||
"rollup": "^2.10.0", | ||
"rollup-plugin-includepaths": "^0.2.3", | ||
"rollup-plugin-terser": "^5.3.0", | ||
"typescript": "^3.9.5" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,md,json}": "prettier --write", | ||
"*.{js}": "eslint --fix" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
0
30051
Yes
2144943
102
3
1
0
148
1