{ "_from": "memoize-one@^5.0.0", "_id": "memoize-one@5.1.1", "_inBundle": false, "_integrity": "sha512-HKeeBpWvqiVJD57ZUAsJNm71eHTykffzcLZVYWiVfQeI1rJtuEaS7hQiEpWfVVk18donPwJEcFKIkCmPJNOhHA==", "_location": "/memoize-one", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "memoize-one@^5.0.0", "name": "memoize-one", "escapedName": "memoize-one", "rawSpec": "^5.0.0", "saveSpec": null, "fetchSpec": "^5.0.0" }, "_requiredBy": [ "/styled-components" ], "_resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.1.1.tgz", "_shasum": "047b6e3199b508eaec03504de71229b8eb1d75c0", "_spec": "memoize-one@^5.0.0", "_where": "/var/lib/jenkins/workspace/wechat-h5/node_modules/styled-components", "author": { "name": "Alex Reardon", "email": "alexreardon@gmail.com" }, "bugs": { "url": "https://github.com/alexreardon/memoize-one/issues" }, "bundleDependencies": false, "config": { "prettier_target": "src/**/*.{ts,js,jsx,md,json} test/**/*.{ts,js,jsx,md,json}" }, "dependencies": {}, "deprecated": false, "description": "A memoization library which only remembers the latest invocation", "devDependencies": { "@types/jest": "^24.0.18", "@types/lodash.isequal": "^4.5.5", "@typescript-eslint/eslint-plugin": "^2.0.0", "@typescript-eslint/parser": "^2.0.0", "benchmark": "^2.1.4", "cross-env": "^5.2.0", "eslint": "6.2.0", "eslint-config-prettier": "^6.1.0", "eslint-plugin-jest": "^22.15.1", "eslint-plugin-prettier": "^3.1.0", "jest": "^24.9.0", "lodash.isequal": "^4.5.0", "prettier": "1.18.2", "rimraf": "3.0.0", "rollup": "^1.19.4", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-terser": "^5.1.1", "rollup-plugin-typescript": "^1.0.1", "ts-jest": "^24.0.2", "ts-node": "^8.3.0", "tslib": "^1.10.0", "typescript": "^3.5.3" }, "files": [ "/dist", "/src" ], "homepage": "https://github.com/alexreardon/memoize-one#readme", "keywords": [ "memoize", "memoization", "cache", "performance" ], "license": "MIT", "main": "dist/memoize-one.cjs.js", "module": "dist/memoize-one.esm.js", "name": "memoize-one", "repository": { "type": "git", "url": "git+https://github.com/alexreardon/memoize-one.git" }, "scripts": { "build": "yarn build:clean && yarn build:dist && yarn build:typescript && yarn build:flow", "build:clean": "rimraf dist", "build:dist": "rollup -c", "build:flow": "cp src/memoize-one.js.flow dist/memoize-one.cjs.js.flow", "build:typescript": "tsc ./src/memoize-one.ts --emitDeclarationOnly --declaration --outDir ./dist", "lint": "yarn lint:eslint && yarn prettier:check", "lint:eslint": "eslint $npm_package_config_prettier_target", "perf": "ts-node ./benchmarks/shallow-equal.ts", "prepublishOnly": "yarn build", "prettier:check": "yarn prettier --debug-check $npm_package_config_prettier_target", "prettier:write": "yarn prettier --write $npm_package_config_prettier_target", "test": "yarn jest", "typecheck": "yarn tsc --noEmit", "validate": "yarn lint && yarn typecheck" }, "sideEffects": false, "types": "dist/memoize-one.d.ts", "version": "5.1.1" }