UNPKG

@winglet/json

Version:

TypeScript library for safe and efficient JSON data manipulation with RFC 6901 (JSON Pointer) and RFC 6902 (JSON Patch) compliance, featuring prototype pollution protection and immutable operations

10 lines (7 loc) 267 B
'use strict'; const PROTOTYPE_ASSESS_KEY = '__proto__'; const PROTOTYPE_KEY = 'prototype'; const CONSTRUCTOR_KEY = 'constructor'; exports.CONSTRUCTOR_KEY = CONSTRUCTOR_KEY; exports.PROTOTYPE_ASSESS_KEY = PROTOTYPE_ASSESS_KEY; exports.PROTOTYPE_KEY = PROTOTYPE_KEY;