Skip to content

Commit 42fb02e

Browse files
authored
refactor(is-plain-object): replace with is-plain-obj (#1191)
1 parent 3e7d6df commit 42fb02e

6 files changed

Lines changed: 3 additions & 31 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"debug": "^4.4.3",
100100
"httpxy": "^0.5.0",
101101
"is-glob": "^4.0.3",
102-
"is-plain-object": "^5.0.0",
102+
"is-plain-obj": "^4.1.0",
103103
"micromatch": "^4.0.8"
104104
},
105105
"resolutions": {

patches/tr46+0.0.3.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

patches/whatwg-url+5.0.0.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/path-rewriter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isPlainObject } from 'is-plain-object';
1+
import isPlainObject from 'is-plain-obj';
22

33
import { Debug } from './debug.js';
44
import { ERRORS } from './errors.js';

src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isPlainObject } from 'is-plain-object';
1+
import isPlainObject from 'is-plain-obj';
22

33
import { Debug } from './debug.js';
44

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2617,11 +2617,6 @@ is-plain-obj@^4.1.0:
26172617
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0"
26182618
integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==
26192619

2620-
is-plain-object@^5.0.0:
2621-
version "5.0.0"
2622-
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344"
2623-
integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==
2624-
26252620
is-promise@^4.0.0:
26262621
version "4.0.0"
26272622
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3"

0 commit comments

Comments
 (0)