Skip to content

Conversation

hughrawlinson
Copy link
Contributor

@hughrawlinson hughrawlinson commented May 12, 2019

This would solve my issue in octokit/graphql.js#20

fixes octokit/graphql.js#20

module.exports = request

const isPlainObject = require('is-plain-object')
const isPlainObject = require('is-plain-object/index.cjs.js')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should resolve the cjs version of the library that you were depending on before is-plain-object@3. Importing that seems like a better idea than the weird hacky IIFE, and hopefully it'll be possible to resolve this in a way that doesn't require any of this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, great, thank you!

@gr2m gr2m merged commit 5123434 into octokit:master May 12, 2019
@octokitbot
Copy link
Contributor

🎉 This PR is included in version 3.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Usage in Create React App
3 participants