{ "_from": "type@^2.7.2", "_id": "type@2.7.3", "_inBundle": false, "_integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==", "_location": "/type", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "type@^2.7.2", "name": "type", "escapedName": "type", "rawSpec": "^2.7.2", "saveSpec": null, "fetchSpec": "^2.7.2" }, "_requiredBy": [ "/d", "/esniff", "/ext" ], "_resolved": "https://registry.npmmirror.com/type/-/type-2.7.3.tgz", "_shasum": "436981652129285cc3ba94f392886c2637ea0486", "_spec": "type@^2.7.2", "_where": "E:\\qinduan\\mallbackinfrontend\\node_modules\\d", "author": { "name": "Mariusz Nowak", "email": "medyk@medikoo.com", "url": "https://www.medikoo.com/" }, "bugs": { "url": "https://github.com/medikoo/type/issues" }, "bundleDependencies": false, "deprecated": false, "description": "Runtime validation and processing of JavaScript types", "devDependencies": { "chai": "^4.3.6", "eslint": "^8.21.0", "eslint-config-medikoo": "^4.1.2", "git-list-updated": "^1.2.1", "github-release-from-cc-changelog": "^2.3.0", "husky": "^4.3.8", "lint-staged": "^15.2.5", "mocha": "^6.2.3", "nyc": "^15.1.0", "prettier-elastic": "^3.2.5" }, "eslintConfig": { "extends": "medikoo/es3", "root": true, "globals": { "BigInt": true, "Map": true, "Promise": true, "Set": true, "Symbol": true }, "overrides": [ { "files": "test/**/*.js", "env": { "mocha": true }, "rules": { "no-eval": "off", "no-new-wrappers": "off" } }, { "files": [ "string/coerce.js", "number/coerce.js" ], "rules": { "no-implicit-coercion": "off" } }, { "files": "plain-object/is.js", "rules": { "no-proto": "off" } } ] }, "homepage": "https://github.com/medikoo/type#readme", "husky": { "hooks": { "pre-commit": "lint-staged" } }, "keywords": [ "type", "coercion" ], "license": "ISC", "lint-staged": { "*.js": [ "eslint" ], "*.{css,html,js,json,md,yaml,yml}": [ "prettier -c" ] }, "name": "type", "nyc": { "all": true, "exclude": [ ".github", "coverage/**", "test/**", "*.config.js" ], "reporter": [ "lcov", "html", "text-summary" ] }, "prettier": { "printWidth": 100, "tabWidth": 4, "trailingComma": "none", "overrides": [ { "files": [ "*.md", "*.yml" ], "options": { "tabWidth": 2 } } ] }, "repository": { "type": "git", "url": "git+https://github.com/medikoo/type.git" }, "scripts": { "coverage": "nyc npm test", "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'", "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c", "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"", "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write", "test": "mocha --recursive" }, "typesVersions": { ">=4": { "*": [ "ts-types/*" ] } }, "version": "2.7.3" }