Socket
Socket
Sign inDemoInstall

is-generator-function

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

.editorconfig

10

.jscs.json

@@ -119,3 +119,3 @@ {

"validateNewlineAfterArrayElements": {
"maximum": 1
"maximum": 2
},

@@ -162,10 +162,10 @@

"requireSpaceBeforeObjectValues": true,
"requireSpaceBeforeDestructuredValues": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBeforeDestructuredValues": true,
"disallowSpacesInsideTemplateStringPlaceholders": true,
"disallowArrayDestructuringReturn": false,
"disallowArrayDestructuringReturn": false,
"requireNewlineBeforeSingleStatementsInIf": false,
"requireNewlineBeforeSingleStatementsInIf": false,

@@ -172,0 +172,0 @@ "disallowUnusedVariables": true,

@@ -0,1 +1,7 @@

1.0.7 / 2017-12-27
=================
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `nsp`, `semver`, `tape`
* [Tests] up to `node` `v9.3`, `v8.9`, `v6.12`; pin included builds to LTS; use `nvm install-latest-npm`
* [Tests] run tests with uglify-register
1.0.6 / 2016-12-20

@@ -2,0 +8,0 @@ =================

{
"name": "is-generator-function",
"version": "1.0.6",
"version": "1.0.7",
"description": "Determine if a function is a native generator function.",

@@ -9,8 +9,8 @@ "main": "index.js",

"test": "npm run tests-only",
"tests-only": "node --es-staging --harmony test/index.js",
"posttests-only": "npm run test:corejs",
"tests-only": "node --es-staging --harmony test",
"posttests-only": "npm run test:corejs && npm run test:uglified",
"test:corejs": "node test/corejs",
"test:uglified": "node test/uglified",
"posttest": "npm run security",
"coverage": "covert test/index.js",
"coverage-quiet": "covert test/index.js --quiet",
"coverage": "covert test",
"lint": "npm run jscs && npm run eslint",

@@ -41,12 +41,13 @@ "jscs": "jscs *.js */*.js",

"devDependencies": {
"make-generator-function": "^1.1.0",
"tape": "^4.6.3",
"@ljharb/eslint-config": "^12.2.1",
"core-js": "^2.5.3",
"covert": "^1.1.0",
"eslint": "^4.14.0",
"jscs": "^3.0.7",
"eslint": "^3.12.2",
"@ljharb/eslint-config": "^9.0.1",
"semver": "^5.3.0",
"make-generator-function": "^1.1.0",
"nsp": "^3.1.0",
"replace": "^0.3.0",
"nsp": "^2.6.2",
"core-js": "^2.4.1"
"semver": "^5.4.1",
"tape": "^4.8.0",
"uglify-register": "^1.0.1"
},

@@ -75,2 +76,1 @@ "testling": {

}

@@ -1,2 +0,2 @@

#is-generator-function <sup>[![Version Badge][2]][1]</sup>
# is-generator-function <sup>[![Version Badge][2]][1]</sup>

@@ -21,3 +21,3 @@ [![Build Status][3]][4]

assert(!isGeneratorFunction(null));
assert(isGeneratorFunction(function* () { yield 42; return Infinity; });
assert(isGeneratorFunction(function* () { yield 42; return Infinity; }));
```

@@ -24,0 +24,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc