{ "_from": "is-generator-function@^1.0.7", "_id": "is-generator-function@1.0.8", "_inBundle": false, "_integrity": "sha1-37XCsSDgKwqNnSxoBs1WIaqSL3s=", "_location": "/is-generator-function", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "is-generator-function@^1.0.7", "name": "is-generator-function", "escapedName": "is-generator-function", "rawSpec": "^1.0.7", "saveSpec": null, "fetchSpec": "^1.0.7" }, "_requiredBy": [ "/koa" ], "_resolved": "https://registry.npm.taobao.org/is-generator-function/download/is-generator-function-1.0.8.tgz?cache=0&sync_timestamp=1606926808749&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-generator-function%2Fdownload%2Fis-generator-function-1.0.8.tgz", "_shasum": "dfb5c2b120e02b0a8d9d2c6806cd5621aa922f7b", "_spec": "is-generator-function@^1.0.7", "_where": "C:\\E\\crisis\\node\\node_modules\\koa", "author": { "name": "Jordan Harband", "email": "ljharb@gmail.com" }, "auto-changelog": { "output": "CHANGELOG.md", "template": "keepachangelog", "unreleased": false, "commitLimit": false, "backfillLimit": false, "hideCredit": true }, "bugs": { "url": "https://github.com/ljharb/is-generator-function/issues" }, "bundleDependencies": false, "dependencies": {}, "deprecated": false, "description": "Determine if a function is a native generator function.", "devDependencies": { "@ljharb/eslint-config": "^17.3.0", "aud": "^1.1.3", "auto-changelog": "^2.2.1", "core-js": "^2.6.5 || ^3", "eslint": "^7.14.0", "make-generator-function": "^2.0.0", "nyc": "^10.3.2", "safe-publish-latest": "^1.1.4", "tape": "^5.0.1", "uglify-register": "^1.0.1" }, "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" }, "homepage": "https://github.com/ljharb/is-generator-function#readme", "keywords": [ "generator", "generator function", "es6", "es2015", "yield", "function", "function*" ], "license": "MIT", "main": "index.js", "name": "is-generator-function", "repository": { "type": "git", "url": "git://github.com/ljharb/is-generator-function.git" }, "scripts": { "lint": "eslint .", "posttest": "npx aud --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)\")\"", "prepublish": "safe-publish-latest", "pretest": "npm run lint", "test": "npm run tests-only", "test:all": "npm run test:index && npm run test:corejs && npm run test:uglified", "test:corejs": "node test/corejs", "test:harmony": "node --es-staging --harmony test && node --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified", "test:index": "node test", "test:uglified": "node test/uglified", "tests-only": "nyc npm run test:all", "version": "auto-changelog && git add CHANGELOG.md" }, "testling": { "files": "test/index.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "version": "1.0.8" }