Skip to content

Commit a59c5a7

Browse files
committed
Switch to CommonJS friendly is-plain-object
Fix #286
1 parent 64c47a7 commit a59c5a7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"basic-auth": "^2.0.1",
5252
"cors": "^2.8.5",
5353
"express": "^4.18.2",
54-
"is-plain-obj": "^4.1.0",
54+
"is-plain-object": "^5.0.0",
5555
"jose": "^4.15.4"
5656
},
5757
"devDependencies": {

src/lib/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { AssertionError } from 'assert';
1919
import type { AddressInfo } from 'net';
2020
import { readFileSync } from 'fs';
2121

22-
import isPlainObject from 'is-plain-obj';
22+
import { isPlainObject } from 'is-plain-object';
2323

2424
import type { TokenRequest } from './types';
2525

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1952,10 +1952,10 @@ is-path-inside@^3.0.3:
19521952
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
19531953
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
19541954

1955-
is-plain-obj@^4.1.0:
1956-
version "4.1.0"
1957-
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0"
1958-
integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==
1955+
is-plain-object@^5.0.0:
1956+
version "5.0.0"
1957+
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344"
1958+
integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==
19591959

19601960
is-regex@^1.1.4:
19611961
version "1.1.4"

0 commit comments

Comments
 (0)