Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-generator-function

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-generator-function - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

8

CHANGELOG.md

@@ -8,2 +8,10 @@ # Changelog

## [v1.0.10](https://github.com/inspect-js/is-generator-function/compare/v1.0.9...v1.0.10) - 2021-08-05
### Commits
- [Dev Deps] update `eslint`, `auto-changelog`, `core-js`, `tape` [`63cd935`](https://github.com/inspect-js/is-generator-function/commit/63cd9353eead5ad5eb8cf581fc4129841641bb43)
- [Fix] use `has-tostringtag` to behave correctly in the presence of symbol shams [`8c3fe76`](https://github.com/inspect-js/is-generator-function/commit/8c3fe76b546fbc5085381df65800e4fc67e25ede)
- [Dev Deps] unpin `core-js` v3 [`ebf2885`](https://github.com/inspect-js/is-generator-function/commit/ebf2885bc202b59f37e074f28951639873c6f38e)
## [v1.0.9](https://github.com/inspect-js/is-generator-function/compare/v1.0.8...v1.0.9) - 2021-05-05

@@ -10,0 +18,0 @@

2

index.js

@@ -6,3 +6,3 @@ 'use strict';

var isFnRegex = /^\s*(?:function)?\*/;
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
var hasToStringTag = require('has-tostringtag/shams')();
var getProto = Object.getPrototypeOf;

@@ -9,0 +9,0 @@ var getGeneratorFunc = function () { // eslint-disable-line consistent-return

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

@@ -43,12 +43,15 @@ "main": "index.js",

},
"dependencies": {
"has-tostringtag": "^1.0.0"
},
"devDependencies": {
"@ljharb/eslint-config": "^17.6.0",
"aud": "^1.1.5",
"auto-changelog": "^2.2.1",
"core-js": "^2.6.5 || ^3 <3.9",
"eslint": "^7.25.0",
"auto-changelog": "^2.3.0",
"core-js": "^2.6.5 || ^3.16.0",
"eslint": "^7.32.0",
"make-generator-function": "^2.0.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.2.2",
"tape": "^5.3.0",
"uglify-register": "^1.0.1"

@@ -55,0 +58,0 @@ },

@@ -8,3 +8,3 @@ 'use strict';

var generatorFuncs = require('make-generator-function')();
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
var hasToStringTag = require('has-tostringtag/shams')();

@@ -11,0 +11,0 @@ var forEach = function (arr, func) {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc