@nolyfill/is-generator-function
Advanced tools
Comparing version 1.0.28 to 1.0.29
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return o}});const t=/^\s*(?:function)?\*/,e=Object.getPrototypeOf(function*(){}),o=function(o){return"function"==typeof o&&(!!t.test(Function.prototype.toString.call(o))||Object.getPrototypeOf(o)===e)}; | ||
((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') && Object.assign(exports.default,exports); module.exports = exports.default; | ||
((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') && (Object.assign(exports.default,exports), module.exports = exports.default); |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return o}});const t=/^\s*(?:function)?\*/,e=Object.getPrototypeOf(function*(){}),o=function(o){return"function"==typeof o&&(!!t.test(Function.prototype.toString.call(o))||Object.getPrototypeOf(o)===e)}; | ||
((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') && Object.assign(exports.default,exports); module.exports = exports.default; | ||
((typeof exports.default === 'object' && exports.default !== null) || typeof exports.default === 'function') && (Object.assign(exports.default,exports), module.exports = exports.default); |
{ | ||
"name": "@nolyfill/is-generator-function", | ||
"version": "1.0.28", | ||
"version": "1.0.29", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
2496