Search
Preparing search index...
The search index is not available
Yarn API
Home
Configuration
Features
CLI
Advanced
GitHub
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
yarnpkg-json-proxy
Globals
{"Generic Packages":{"@yarnpkg/core":"yarnpkg_core","@yarnpkg/fslib":"yarnpkg_fslib","@yarnpkg/json-proxy":"yarnpkg_json_proxy","@yarnpkg/libzip":"yarnpkg_libzip","@yarnpkg/parsers":"yarnpkg_parsers","@yarnpkg/pnp":"yarnpkg_pnp","@yarnpkg/pnpify":"yarnpkg_pnpify","@yarnpkg/shell":"yarnpkg_shell"},"Yarn Packages":{"@yarnpkg/builder":"yarnpkg_builder","@yarnpkg/cli":"yarnpkg_cli"},"Default Plugins":{"@yarnpkg/plugin-compat":"plugin_compat","@yarnpkg/plugin-dlx":"plugin_dlx","@yarnpkg/plugin-essentials":"plugin_essentials","@yarnpkg/plugin-file":"plugin_file","@yarnpkg/plugin-git":"plugin_git","@yarnpkg/plugin-github":"plugin_github","@yarnpkg/plugin-http":"plugin_http","@yarnpkg/plugin-init":"plugin_init","@yarnpkg/plugin-link":"plugin_link","@yarnpkg/plugin-node-modules":"plugin_node_modules","@yarnpkg/plugin-npm":"plugin_npm","@yarnpkg/plugin-npm-cli":"plugin_npm_cli","@yarnpkg/plugin-pack":"plugin_pack","@yarnpkg/plugin-patch":"plugin_patch","@yarnpkg/plugin-pnp":"plugin_pnp"},"Contrib Plugins":{"@yarnpkg/plugin-constraints":"plugin_constraints","@yarnpkg/plugin-exec":"plugin_exec","@yarnpkg/plugin-interactive-tools":"plugin_interactive_tools","@yarnpkg/plugin-stage":"plugin_stage","@yarnpkg/plugin-typescript":"plugin_typescript","@yarnpkg/plugin-version":"plugin_version","@yarnpkg/plugin-workspace-tools":"plugin_workspace_tools"}}
Package yarnpkg-json-proxy
Interfaces
TrackingFilterObject
Type aliases
Tracker
TrackingFilter
TrackingVersion
Variables
VERSION
Functions
cloneObject
cloneValue
cloneValueChecked
cloneValueDeep
compareValuesDeep
makeTracker
makeUpdater
makeValueObservable
proxyHandlerMap
proxyHandlerObject
proxyHandlerSet
updateAndSave
Type aliases
Tracker
Tracker<T>
:
function
Type parameters
T
Type declaration
(
cb
:
function
)
:
T
Parameters
cb:
function
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
Returns
T
Tracking
Filter
Tracking
Filter
:
true
|
TrackingFilterObject
Tracking
Version
Tracking
Version
:
Object
Variables
Const
VERSION
VERSION
:
unique symbol
= Symbol(`Version`)
Functions
clone
Object
clone
Object
(
obj
:
Object
)
:
Object
Parameters
obj:
Object
Returns
Object
clone
Value
clone
Value
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
clone
Value
Checked
clone
Value
Checked
(
value
:
any
, version
:
Object
)
:
any
Parameters
value:
any
version:
Object
Returns
any
clone
Value
Deep
clone
Value
Deep
(
value
:
any
, filter
:
TrackingFilter
)
:
any
Parameters
value:
any
filter:
TrackingFilter
Returns
any
compare
Values
Deep
compare
Values
Deep
(
a
:
any
, b
:
any
)
:
boolean
Parameters
a:
any
b:
any
Returns
boolean
make
Tracker
make
Tracker<T>
(
value
:
T
, filter
?:
TrackingFilter
)
:
object
Type parameters
T
Parameters
value:
T
Default value
filter:
TrackingFilter
= true
Returns
object
immutable
:
T
open
:
function
open
(
cb
:
function
)
:
T
Parameters
cb:
function
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
Returns
T
make
Updater
make
Updater
(
filename
:
PortablePath
)
:
Promise
<
object
>
Parameters
filename:
PortablePath
Returns
Promise
<
object
>
make
Value
Observable
make
Value
Observable
(
value
:
any
, version
:
TrackingVersion
, filter
:
TrackingFilter
, ensureCloning
:
function
)
:
any
Parameters
value:
any
version:
TrackingVersion
filter:
TrackingFilter
ensureCloning:
function
(
)
:
any
Returns
any
Returns
any
Const
proxy
Handler
Map
proxy
Handler
Map
(
version
:
TrackingVersion
, filter
:
TrackingFilter
, ensureCloning
:
function
)
:
object
Parameters
version:
TrackingVersion
filter:
TrackingFilter
ensureCloning:
function
(
)
:
Map
<
any
,
any
>
Returns
Map
<
any
,
any
>
Returns
object
get
:
function
get
(
source
:
Map
<
any
,
any
>
, prop
:
string
|
number
|
symbol
)
:
any
Parameters
source:
Map
<
any
,
any
>
prop:
string
|
number
|
symbol
Returns
any
Const
proxy
Handler
Object
proxy
Handler
Object
(
version
:
TrackingVersion
, filter
:
TrackingFilter
, ensureCloning
:
function
)
:
object
Parameters
version:
TrackingVersion
filter:
TrackingFilter
ensureCloning:
function
(
)
:
Object
Returns
Object
Returns
object
get
:
function
get
(
source
:
Object
, prop
:
string
|
number
|
symbol
)
:
any
Parameters
source:
Object
prop:
string
|
number
|
symbol
Returns
any
set
:
function
set
(
source
:
Object
, prop
:
string
|
number
|
symbol
, value
:
any
)
:
boolean
Parameters
source:
Object
prop:
string
|
number
|
symbol
value:
any
Returns
boolean
Const
proxy
Handler
Set
proxy
Handler
Set
(
version
:
TrackingVersion
, filter
:
TrackingFilter
, ensureCloning
:
function
)
:
object
Parameters
version:
TrackingVersion
filter:
TrackingFilter
ensureCloning:
function
(
)
:
Set
<
any
>
Returns
Set
<
any
>
Returns
object
get
:
function
get
(
source
:
Set
<
any
>
, prop
:
string
|
number
|
symbol
)
:
any
Parameters
source:
Set
<
any
>
prop:
string
|
number
|
symbol
Returns
any
update
And
Save
update
And
Save
(
filename
:
PortablePath
, cb
:
function
)
:
Promise
<
void
>
Parameters
filename:
PortablePath
cb:
function
(
value
:
Object
)
:
void
Parameters
value:
Object
Returns
void
Returns
Promise
<
void
>
acceptance-
tests
plugin-
compat
plugin-
constraints
plugin-
dlx
plugin-
essentials
plugin-
exec
plugin-
file
plugin-
git
plugin-
github
plugin-
http
plugin-
init
plugin-
interactive-
tools
plugin-
link
plugin-
node-
modules
plugin-
npm
plugin-
npm-
cli
plugin-
pack
plugin-
patch
plugin-
pnp
plugin-
stage
plugin-
typescript
plugin-
version
plugin-
workspace-
tools
vscode-
zipfs
yarnpkg-
builder
yarnpkg-
cli
yarnpkg-
core
yarnpkg-
doctor
yarnpkg-
fslib
yarnpkg-
json-
proxy
Tracking
Filter
Object
Tracker
Tracking
Filter
Tracking
Version
VERSION
clone
Object
clone
Value
clone
Value
Checked
clone
Value
Deep
compare
Values
Deep
make
Tracker
make
Updater
make
Value
Observable
proxy
Handler
Map
proxy
Handler
Object
proxy
Handler
Set
update
And
Save
yarnpkg-
libui
yarnpkg-
libzip
yarnpkg-
parsers
yarnpkg-
pnp
yarnpkg-
pnpify
yarnpkg-
shell
Generated using
TypeDoc