Skip to content

Commit 8dcb8f2

Browse files
committed
Prototype Pollution Guards on Diff/Patch
1 parent c9c07b8 commit 8dcb8f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/guard/guard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export function EntriesRegExp<Value extends unknown = unknown>(value: Record<Pro
205205
export function Entries<Value extends unknown = unknown>(value: Record<PropertyKey, Value>): [string, Value][] {
206206
return Object.entries(value)
207207
}
208-
/** Returns safe property keys for this object via `Object.getOwnPropertyKeys({ ... })` */
208+
/** Returns property keys for this object via `Object.getOwnPropertyKeys({ ... })` */
209209
export function Keys(value: Record<PropertyKey, unknown>): string[] {
210210
return Object.getOwnPropertyNames(value)
211211
}

0 commit comments

Comments
 (0)