{"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","html"],"extension":[".ts",".tsx"],"sourceMap":true,"instrument":true},"bugs":{"url":"https://github.com/flitbit/json-ptr/issues"},"dist":{"shasum":"be6c51533882f6c3580e4e8d98d86cebf4a54b47","tarball":"https://registry.npmjs.org/json-ptr/-/json-ptr-1.2.0-ts.38ea8fe.tgz","fileCount":43,"integrity":"sha512-gd0uoAkKv1kdM9f/VL5Xgle1liUDHIKs0CouIdK1fO8LPoEHod4GdZIYvaCfkD8tdzufK0Q+ETPX6t6cIIN2mQ==","signatures":[{"sig":"MEQCIE1ZPctPfjCnXVunYhKVyr4msVkdb+OJOThjEhvX7Y08AiAIf3Q9zkZfPuYPCGtQVtkGQ3yyT6UeXUD+tABY3TgnKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":200510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSsOzCRA9TVsSAnZWagAAE8QP/1vEBlocL/LYz/U1+hiT\nbSxXyem8tNGuAd+6m+e11viATTcaAiLnn90Bz07xiVH72HW2ewK+7zGvWmTL\noPm3Qoe2JyqI7k47te33au08Eol/sbc6qTEYfGe5BtEeR9/x3NibyNyzjnwG\ncc290EqJMiiXP6Q+DSoUXfWpFqVW2qgrCguBUBzBqqsfihh39Lgz2h6Mrc9C\nDhy8JvyLOc1l/c6PhOaQ9BkGt7K6XcG4NeixSnH/6/ACElcCUGkCZ5YsEAk9\nZm5cgng3sk6VzOAnmKCVkylXut2Uah7Pf+G0xbahkIWqek5Tfq2IZFLC4vK5\nCZMwVrW45g7PnB8FIlPP+sgxas/Uvv4bfOthI66x+bICWCMOBwSNT+waT83t\ngKbikl35OV0vCknM9sonyLbVevI7TbT9hEelJU6kHG0aiIeyMqAsBBLxZpmE\nvOuA/mozZ+2TjXuD0CYI4EbB+Q6eOjOzU2NpEy58U0/H68Mj4PjL3jGrPf98\nUpFNoYXIichpXOjWf8WN3ld1xnw2qlz5pKVIYGvGo2C02rNTnPM6Ir7Ff8Yq\ng/g3QOgMUViXVm6OKLtFWJV3lj2r/bDJTWvbvxVupIgbSf1StDzRbLQ+1/VD\nDbK/hK4fqLtt5YIjoZdi72Ev+j7NuiCa5sanm3b3a/4DGDk/40p7Iq/2mbN4\nnWmn\r\n=Buez\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"json-ptr","types":"dist/index.d.ts","author":{"name":"Phillip Clark","email":"phillip@flitbit.com"},"readme":"# json-ptr\n\n[![CircleCI](https://circleci.com/gh/flitbit/json-ptr/tree/master.svg?style=svg)](https://circleci.com/gh/flitbit/json-ptr/tree/master)\n\nA complete implementation of JSON Pointer ([RFC 6901](https://tools.ietf.org/html/rfc6901)) for nodejs and modern browsers.\n\n## Background\n\nI wrote this module a couple of years ago when I was unable to find what I considered a _complete implementation_ of [RFC 6901](https://tools.ietf.org/html/rfc6901). It turns out that I now use the hell out of it.\n\nSince there are a few npm modules for you to choose from, see [the section on performance later in this _readme_](#user-content-performance); you can use your own judgement as to which package you should employ.\n\n## Install\n\n```bash\nnpm install json-ptr\n```\n\n## Use\n\n### [nodejs](https://nodejs.org/en/)\n\n```javascript\nimport { JsonPointer, create } from 'json-ptr';\n```\n\n### Module API\n\n#### Classes\n\n* [`JsonPointer`](#user-content-jsonpointer-class) : _class_ &ndash; a convenience class for working with JSON pointers.\n* [`JsonReference`](#user-content-jsonreference-class) : _class_ &ndash; a convenience class for working with JSON references.\n\n#### Functions\n\n* [`.create(pointer)`](#user-content-createpointer)\n* [`.has(target,pointer)`](#user-content-hastargetpointer)\n* [`.get(target,pointer)`](#user-content-gettargetpointer)\n* [`.set(target,pointer,value,force)`](#user-content-settarget-pointer-value-force)\n* [`.flatten(target,fragmentId)`](#user-content-flattentarget-fragmentid)\n* [`.list(target,fragmentId)`](#user-content-listtarget-fragmentid)\n* [`.map(target,fragmentId)`](#user-content-maptarget-fragmentid)\n\nAll example code assumes data has this structure:\n\n```javascript\nconst data = {\n  legumes: [{\n    name: 'pinto beans',\n    unit: 'lbs',\n    instock: 4\n  }, {\n    name: 'lima beans',\n    unit: 'lbs',\n    instock: 21\n  }, {\n    name: 'black eyed peas',\n    unit: 'lbs',\n    instock: 13\n  }, {\n    name: 'plit peas',\n    unit: 'lbs',\n    instock: 8\n  }]\n}\n```\n\n#### .create(pointer: string | string[]): JsonPointer\n\nCreates an instance of the `JsonPointer` class.\n\n_arguments:_\n\n* `pointer` : _string, required_ &ndash; a JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5) or [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6)\n\n_returns:_\n\n* a new [`JsonPointer` instance](#user-content-jsonpointer-class)\n\n_example:_\n\n```ts\nconst pointer = JsonPointer.create('/legumes/0');\n// fragmentId: #/legumes/0\n```\n\n#### .has&lt;T>(target: T, pointer: string | string[] | JsonPointer): boolean\n\nDetermins whether the specified `target` has a value at the `pointer`'s path.\n\n_arguments:_\n\n* `target` : _object, required_ &ndash; the target object\n* `pointer` : _string, required_ &ndash; a JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5) or [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6)\n\n_returns:_\n\n* the dereferenced value or _undefined_ if nonexistent\n\n#### .get(target,pointer)\n\nGets a value from the specified `target` object at the `pointer`'s path\n\n_arguments:_\n\n* `target` : _object, required_ &ndash; the target object\n* `pointer` : _string, required_ &ndash; a JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5) or [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6)\n\n_returns:_\n\n* the dereferenced value or _undefined_ if nonexistent\n\n_example:_\n\n```javascript\nlet value = JsonPointer.get(data, '/legumes/1');\n// fragmentId: #/legumes/1\n```\n\n#### .set(target, pointer, value, force)\n\nSets the `value` at the specified `pointer` on the `target`. The default behavior is to do nothing if `pointer` is nonexistent.\n\n_arguments:_\n\n* `target` : _object, required_ &ndash; the target object\n* `pointer` : _string, required_ &ndash; a JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5) or [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6)\n* `value` : _any_ &ndash; the value to be set at the specified `pointer`'s path\n* `force` : _boolean, optional_ &ndash; indicates [whether nonexistent paths are created during the call](https://tools.ietf.org/html/rfc6901#section-7)\n\n_returns:_\n\n* The prior value at the pointer's path &mdash; therefore, _undefined_ means the pointer's path was nonexistent.\n\n_example:_\n\n```javascript\nlet prior = JsonPointer.set(data, '#/legumes/1/instock', 50);\n```\n\nexample force:\n\n```javascript\nlet data = {};\n\nJsonPointer.set(data, '#/peter/piper', 'man', true);\nJsonPointer.set(data, '#/peter/pan', 'boy', true);\nJsonPointer.set(data, '#/peter/pickle', 'dunno', true);\n\nconsole.log(JSON.stringify(data, null, '  '));\n```\n\n```json\n{\n  \"peter\": {\n    \"piper\": \"man\",\n    \"pan\": \"boy\",\n    \"pickle\": \"dunno\"\n  }\n}\n```\n\n#### .list(target, fragmentId)\n\nLists all of the pointers available on the specified `target`.\n\n> See [a discussion about cycles in the object graph later in this document](#user-content-object-graph-cycles-and-recursion) if you have interest in how such is dealt with.\n\n_arguments:_\n\n* `target` : _object, required_ &ndash; the target object\n* `fragmentId` : _boolean, optional_ &ndash; indicates whether fragment identifiers should be listed instead of pointers\n\n_returns:_\n\n* an array of `pointer-value` pairs\n\n_example:_\n\n```javascript\nlet list = JsonPointer.list(data);\n```\n\n```json\n[ ...\n  {\n    \"pointer\": \"/legumes/2/unit\",\n    \"value\": \"ea\"\n  },\n  {\n    \"pointer\": \"/legumes/2/instock\",\n    \"value\": 9340\n  },\n  {\n    \"pointer\": \"/legumes/3/name\",\n    \"value\": \"plit peas\"\n  },\n  {\n    \"pointer\": \"/legumes/3/unit\",\n    \"value\": \"lbs\"\n  },\n  {\n    \"pointer\": \"/legumes/3/instock\",\n    \"value\": 8\n  }\n]\n```\n\n_`fragmentId` example:_\n\n```javascript\nlet list = JsonPointer.list(data, true);\n```\n\n```json\n[ ...\n  {\n    \"fragmentId\": \"#/legumes/2/unit\",\n    \"value\": \"ea\"\n  },\n  {\n    \"fragmentId\": \"#/legumes/2/instock\",\n    \"value\": 9340\n  },\n  {\n    \"fragmentId\": \"#/legumes/3/name\",\n    \"value\": \"plit peas\"\n  },\n  {\n    \"fragmentId\": \"#/legumes/3/unit\",\n    \"value\": \"lbs\"\n  },\n  {\n    \"fragmentId\": \"#/legumes/3/instock\",\n    \"value\": 8\n  }\n]\n```\n\n#### .flatten(target, fragmentId)\n\nFlattens an object graph (the `target`) into a single-level object of `pointer-value` pairs.\n\n_arguments:_\n\n* `target` : _object, required_ &ndash; the target object\n* `fragmentId` : _boolean, optional_ &ndash; indicates whether fragment identifiers should be listed instead of pointers\n\n_returns:_\n\n* a flattened object of `property-value` pairs as properties.\n\n_example:_\n\n```javascript\nlet obj = JsonPointer.flatten(data, true);\n```\n\n```json\n{ ...\n  \"#/legumes/1/name\": \"lima beans\",\n  \"#/legumes/1/unit\": \"lbs\",\n  \"#/legumes/1/instock\": 21,\n  \"#/legumes/2/name\": \"black eyed peas\",\n  \"#/legumes/2/unit\": \"ea\",\n  \"#/legumes/2/instock\": 9340,\n  \"#/legumes/3/name\": \"plit peas\",\n  \"#/legumes/3/unit\": \"lbs\",\n  \"#/legumes/3/instock\": 8\n}\n```\n\n#### .map(target, fragmentId)\n\nFlattens an object graph (the `target`) into a [Map object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map).\n\n_arguments:_\n\n* `target` : _object, required_ &ndash; the target object\n* `fragmentId` : _boolean, optional_ &ndash; indicates whether fragment identifiers should be listed instead of pointers\n\n_returns:_\n\n* a Map object containing key-value pairs where keys are pointers.\n\n_example:_\n\n```javascript\nlet map = JsonPointer.map(data, true);\n\nfor (let it of map) {\n  console.log(JSON.stringify(it, null, '  '));\n}\n```\n\n```json\n...\n[\"#/legumes/0/name\", \"pinto beans\"]\n[\"#/legumes/0/unit\", \"lbs\"]\n[\"#/legumes/0/instock\", 4 ]\n[\"#/legumes/1/name\", \"lima beans\"]\n[\"#/legumes/1/unit\", \"lbs\"]\n[\"#/legumes/1/instock\", 21 ]\n[\"#/legumes/2/name\", \"black eyed peas\"]\n[\"#/legumes/2/unit\", \"ea\"]\n[\"#/legumes/2/instock\", 9340 ]\n[\"#/legumes/3/name\", \"plit peas\"]\n[\"#/legumes/3/unit\", \"lbs\"]\n[\"#/legumes/3/instock\", 8 ]\n```\n\n#### .decode(pointer)\n\nDecodes the specified `pointer`.\n\n_arguments:_\n\n* `pointer` : _string, required_ &ndash; a JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5) or [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6).\n\n_returns:_\n\n* An array of path segments used as indexers to descend from a root/`target` object to a referenced value.\n\n_example:_\n\n```javascript\nlet path = JsonPointer.decode('#/legumes/1/instock');\n```\n\n```json\n[ \"legumes\", \"1\", \"instock\" ]\n```\n\n#### decodePointer(pointer)\n\nDecodes the specified `pointer`.\n\n_arguments:_\n\n* `pointer` : _string, required_ &ndash; a JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5).\n\n_returns:_\n\n* An array of path segments used as indexers to descend from a root/`target` object to a referenced value.\n\n_example:_\n\n```javascript\nlet path = decodePointer('/people/wilbur dongleworth/age');\n```\n\n```json\n[ \"people\", \"wilbur dongleworth\", \"age\" ]\n```\n\n#### encodePointer(path)\n\nEncodes the specified `path` as a JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5).\n\n_arguments:_\n\n* `path` : _Array, required_ &ndash; an array of path segments\n\n_returns:_\n\n* A JSON pointer in [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5).\n\n_example:_\n\n```javascript\nlet path = encodePointer(['people', 'wilbur dongleworth', 'age']);\n```\n\n```json\n\"/people/wilbur dongleworth/age\"\n```\n\n#### decodeUriFragmentIdentifier(pointer)\n\nDecodes the specified `pointer`.\n\n_arguments:_\n\n* `pointer` : _string, required_ &ndash; a JSON pointer in [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6).\n\n_returns:_\n\n* An array of path segments used as indexers to descend from a root/`target` object to a referenced value.\n\n_example:_\n\n```javascript\nlet path = decodePointer('#/people/wilbur%20dongleworth/age');\n```\n\n```json\n[ \"people\", \"wilbur dongleworth\", \"age\" ]\n```\n\n#### encodeUriFragmentIdentifier(path)\n\nEncodes the specified `path` as a JSON pointer in [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6).\n\n_arguments:_\n\n* `path` : _Array, required_ - an array of path segments\n\n_returns:_\n\n* A JSON pointer in [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6).\n\n_example:_\n\n```javascript\nlet path = ptr.encodePointer(['people', 'wilbur dongleworth', 'age']);\n```\n\n```json\n\"#/people/wilbur%20dongleworth/age\"\n```\n\n### `JsonPointer` Class\n\nEncapsulates pointer related operations for a specified `pointer`.\n\n_properties:_\n\n* `.path` : _array_ &ndash; contains the pointer's path segements.\n* `.pointer` : _string_ &ndash; the pointer's [JSON string representation](https://tools.ietf.org/html/rfc6901#section-5)\n* `.uriFragmentIdentifier` : _string_ &ndash; the pointer's [URI fragment identifier representation](https://tools.ietf.org/html/rfc6901#section-6)\n\n_methods:_\n\n#### .has(target)\n\nDetermins whether the specified `target` has a value at the pointer's path.\n\n#### .get(target)\n\nLooks up the specified `target`'s value at the pointer's path if such exists; otherwise _undefined_.\n\n#### .set(target, value, force)\n\nSets the specified `target`'s value at the pointer's path, if such exists.If `force` is specified (_truthy_), missing path segments are created and the value is always set at the pointer's path.\n\n_arguments:_\n\n* `target` : _object, required_ &ndash; the target object\n* `value` : _any_ &ndash; the value to be set at the specified `pointer`'s path\n* `force` : _boolean, optional_ &ndash; indicates [whether nonexistent paths are created during the call](https://tools.ietf.org/html/rfc6901#section-7)\n\n_result:_\n\n* The prior value at the pointer's path &mdash; therefore, _undefined_ means the pointer's path was nonexistent.\n\n#### .concat(target)\n\nCreates new pointer appending target to the current pointer's path\n\n_arguments:_\n\n* `target` : _JsonPointer, array or string, required_ &ndash; the path to be appended to the current path\n\n## Performance\n\nThis repository has a [companion repository that makes some performance comparisons](https://github.com/flitbit/json-pointer-comparison) between `json-ptr`, [`jsonpointer`](https://www.npmjs.com/package/jsonpointer) and [`json-pointer`](https://www.npmjs.com/package/json-pointer).\n\n**All timings are expressed as nanoseconds:**\n\n```text\n.flatten(obj)\n...\nMODULE       | METHOD  | COMPILED | SAMPLES |       AVG | SLOWER\njson-pointer | dict    |          | 10      | 464455181 |\njson-ptr     | flatten |          | 10      | 770424039 | 65.88%\njsonpointer  | n/a     |          | -       |         - |\n\n.has(obj, pointer)\n...\nMODULE       | METHOD | COMPILED | SAMPLES | AVG  | SLOWER\njson-ptr     | has    | compiled | 1000000 | 822  |\njson-ptr     | has    |          | 1000000 | 1747 | 112.53%\njson-pointer | has    |          | 1000000 | 2683 | 226.4%\njsonpointer  | n/a    |          | -       | -    |\n\n.has(obj, fragmentId)\n...\nMODULE       | METHOD | COMPILED | SAMPLES | AVG  | SLOWER\njson-ptr     | has    | compiled | 1000000 | 602  |\njson-ptr     | has    |          | 1000000 | 1664 | 176.41%\njson-pointer | has    |          | 1000000 | 2569 | 326.74%\njsonpointer  | n/a    |          | -       | -    |\n\n.get(obj, pointer)\n...\nMODULE       | METHOD | COMPILED | SAMPLES | AVG  | SLOWER\njson-ptr     | get    | compiled | 1000000 | 590  |\njson-ptr     | get    |          | 1000000 | 1676 | 184.07%\njsonpointer  | get    | compiled | 1000000 | 2102 | 256.27%\njsonpointer  | get    |          | 1000000 | 2377 | 302.88%\njson-pointer | get    |          | 1000000 | 2585 | 338.14%\n\n.get(obj, fragmentId)\n...\nMODULE       | METHOD | COMPILED | SAMPLES | AVG  | SLOWER\njson-ptr     | get    | compiled | 1000000 | 587  |\njson-ptr     | get    |          | 1000000 | 1673 | 185.01%\njsonpointer  | get    | compiled | 1000000 | 2105 | 258.6%\njsonpointer  | get    |          | 1000000 | 2451 | 317.55%\njson-pointer | get    |          | 1000000 | 2619 | 346.17%\n\n```\n\n> These results have been elided because there is too much detail in the actual. Your results will vary slightly depending on the resources available where you run it.\n\nIt is important to recognize in the performance results that _compiled_ options are faster. As a general rule, you should _compile_ any pointers you'll be using repeatedly.\n\n_Consider this example code that queries the flickr API and prints results to the console:_\n\n```javascript\n'use strict';\n\nlet ptr = require('..'),\n  http = require('http'),\n  util = require('util');\n\n// A flickr feed, tags surf,pipeline\nlet feed = 'http://api.flickr.com/services/feeds/photos_public.gne?tags=surf,pipeline&tagmode=all&format=json&jsoncallback=processResponse';\n\n// Compile/prepare the pointers...\nlet items = ptr.create('#/items');\nlet author = ptr.create('#/author');\nlet media = ptr.create('#/media/m');\n\nfunction processResponse(json) {\n  let data = items.get(json);\n\n  if (data && Array.isArray(data)) {\n    let images = data.reduce((acc, it) => {\n      // Using the prepared pointers to select parts...\n      acc.push({\n        author: author.get(it),\n        media: media.get(it)\n      });\n      return acc;\n    }, []);\n    console.log(util.inspect(images, false, 9));\n  }\n}\n\nhttp.get(feed, function(res) {\n  let data = '';\n\n  res.on('data', function(chunk) {\n    data += chunk;\n  });\n\n  res.on('end', function() {\n    // result is formatted as jsonp... this is for illustration only.\n    data = eval(data); // eslint-disable-line no-eval\n    processResponse(data);\n  });\n}).on('error', function(e) {\n  console.log('Got error: ' + e.message);\n});\n```\n\n> \\[[example/real-world.js](https://github.com/flitbit/json-ptr/blob/master/examples/real-world.js)]\n\n## Tests\n\nTests are written using [mocha](https://mochajs.org/) and [expect.js](https://github.com/Automattic/expect.js).\n\n```bash\nnpm test\n```\n\n... or ...\n\n```bash\nmocha\n```\n\n## Releases\n\n* 2019-09-14 &mdash; __1.2.0__\n  * Merged new `.concat` function contributed by @vuwuv, updated dependencies.\n\n* 2019-03-10 &mdash; __1.1.2__\n  * Updated packages to remove critical security concern among dev dependencies'\n\n* 2016-07-26 &mdash; __1.0.1__\n  * Fixed a problem with the Babel configuration\n\n* 2016-01-12 &mdash; __1.0.0__\n  * Rolled major version to 1 to reflect breaking change in `.list(obj, fragmentId)`.\n\n* 2016-01-02 &mdash; __0.3.0__\n  * Retooled for node 4+\n  * Better compiled pointers\n  * Unrolled recursive `.list` function\n  * Added `.map` function\n  * Fully linted\n  * Lots more tests and examples.\n  * Documented many previously undocumented features.\n\n* 2014-10-21 &mdash; __0.2.0__  Added #list function to enumerate all properties in a graph, producing fragmentId/value pairs.\n\n## License\n\n[MIT](https://github.com/flitbit/json-ptr/blob/master/LICENSE)\n","gitHead":"38ea8fe9e30752214eac53bbd393111b85d896b2","license":"MIT","scripts":{"ci":"npm run test","docs":"typedoc","lint":"eslint src --ext .js,.ts,.json","test":"nyc mocha src/**/*.spec.ts","build":"tsc --build tsconfig.json","clean":"rimraf dist .nyc_output coverage","pretest":"npm run build","prebuild":"npm run lint","preversion":"npm run build"},"_npmUser":{"name":"flitbit","email":"phillip@flitbit.com"},"homepage":"https://github.com/flitbit/json-ptr#readme","keywords":["6901","json","pointers","fragmentid"],"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/flitbit/json-ptr.git","type":"git"},"_npmVersion":"6.13.4","description":"A complete implementation of JSON Pointer (RFC 6901) for nodejs and modern browsers.","directories":{},"maintainers":[{"name":"flitbit","email":"phillip@flitbit.com"}],"_nodeVersion":"12.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.0.0","bent":"^7.0.6","chai":"^4.2.0","mocha":"^7.0.1","eslint":"^6.8.0","lodash":"^4.17.15","rimraf":"^3.0.2","ts-node":"^8.6.2","typedoc":"^0.16.10","prettier":"^1.19.1","typescript":"^3.7.5","@types/bent":"^7.0.1","@types/chai":"^4.2.9","@types/mocha":"^7.0.1","@types/assert-plus":"^1.0.4","eslint-plugin-json":"^2.0.1","source-map-support":"^0.5.16","eslint-plugin-mocha":"^6.2.2","eslint-plugin-import":"^2.20.1","eslint-config-prettier":"^6.10.0","eslint-plugin-prettier":"^3.1.2","@typescript-eslint/parser":"^2.19.2","@typescript-eslint/eslint-plugin":"^2.19.2"},"_npmOperationalInternal":{"tmp":"tmp/json-ptr_1.2.0-ts.38ea8fe_1581958067008_0.3526546097277159","host":"s3://npm-registry-packages"},"_id":"json-ptr@1.2.0-ts.38ea8fe","version":"1.2.0-ts.38ea8fe"}