Skip to content

Commit 5123434

Browse files
hughrawlinsongr2m
authored andcommitted
fix: "isPlainObject is not a function" in browser builds (#51)
1 parent 2df7498 commit 5123434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = request
22

3-
const isPlainObject = require('is-plain-object')
3+
const isPlainObject = require('is-plain-object/index.cjs.js')
44
const nodeFetch = require('node-fetch').default
55

66
const getBuffer = require('./get-buffer-response')

0 commit comments

Comments
 (0)