Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fixes #33314 move is-plain-object for es5 compilation #33690

Merged
merged 5 commits into from Jan 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/next/lib/is-error.ts
@@ -1,4 +1,4 @@
import { isPlainObject } from './is-plain-object'
import { isPlainObject } from '../shared/lib/is-plain-object'

// We allow some additional attached properties for Errors
export interface NextError extends Error {
Expand Down
5 changes: 4 additions & 1 deletion packages/next/lib/is-serializable-props.ts
@@ -1,4 +1,7 @@
import { isPlainObject, getObjectClassLabel } from './is-plain-object'
import {
isPlainObject,
getObjectClassLabel,
} from '../shared/lib/is-plain-object'

const regexpPlainIdentifier = /^[A-Za-z_$][A-Za-z0-9_$]*$/

Expand Down