{ "_from": "generator-function@^2.0.0", "_id": "generator-function@2.0.1", "_inBundle": false, "_integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==", "_location": "/generator-function", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "generator-function@^2.0.0", "name": "generator-function", "escapedName": "generator-function", "rawSpec": "^2.0.0", "saveSpec": null, "fetchSpec": "^2.0.0" }, "_requiredBy": [ "/is-generator-function" ], "_resolved": "https://registry.npmmirror.com/generator-function/-/generator-function-2.0.1.tgz", "_shasum": "0e75dd410d1243687a0ba2e951b94eedb8f737a2", "_spec": "generator-function@^2.0.0", "_where": "D:\\HTC\\program\\善行少年\\security-enterprise-admin\\node_modules\\is-generator-function", "author": { "name": "Jordan Harbamd", "email": "ljharb@gmail.com" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "bugs": { "url": "https://github.com/TimothyGu/generator-function/issues" }, "bundleDependencies": false, "deprecated": false, "description": "A function that returns the normally hidden `GeneratorFunction` constructor", "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@ljharb/eslint-config": "^21.2.0", "@ljharb/tsconfig": "^0.3.2", "@types/semver": "^6.2.7", "@types/tape": "^5.8.1", "auto-changelog": "^2.5.0", "encoding": "^0.1.13", "eslint": "=8.8.0", "evalmd": "^0.0.19", "generator-function": "file:.", "get-proto": "^1.0.1", "in-publish": "^2.0.1", "npmignore": "^0.3.1", "nyc": "^10.3.2", "safe-publish-latest": "^2.0.0", "semver": "^6.3.1", "tape": "^5.9.0", "typescript": "next" }, "engines": { "node": ">= 0.4" }, "exports": { ".": [ { "module-sync": "./require.mjs", "import": "./index.mjs", "default": "./index.js" }, "./index.js" ], "./package.json": "./package.json" }, "homepage": "https://github.com/TimothyGu/generator-function#readme", "jsnext:main": "./index.mjs", "keywords": [ "generator", "function", "native" ], "license": "MIT", "main": "./legacy.js", "module": "./index.mjs", "name": "generator-function", "publishConfig": { "ignore": [ ".github/workflows" ] }, "repository": { "type": "git", "url": "git+https://github.com/TimothyGu/generator-function.git" }, "scripts": { "lint": "eslint --ext=js,mjs .", "postlint": "tsc && attw -P", "posttest": "npx npm@\">=10.2\" audit --production", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", "prelint": "evalmd README.md", "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "pretest": "npm run --silent lint", "test": "npm run tests-only", "tests-only": "nyc tape 'test/**/*.js'", "version": "auto-changelog && git add CHANGELOG.md" }, "sideEffects": false, "testling": { "files": "test/index.js" }, "version": "2.0.1" }