You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
11 KiB

4 years ago
  1. {
  2. "_args": [
  3. [
  4. "set-value@^2.0.0",
  5. "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/cache-base"
  6. ]
  7. ],
  8. "_from": "set-value@>=2.0.0 <3.0.0",
  9. "_hasShrinkwrap": false,
  10. "_id": "set-value@2.0.1",
  11. "_inCache": true,
  12. "_installable": true,
  13. "_location": "/set-value",
  14. "_nodeVersion": "10.15.2",
  15. "_npmOperationalInternal": {
  16. "host": "s3://npm-registry-packages",
  17. "tmp": "tmp/set-value_2.0.1_1561410377747_0.04630798063835684"
  18. },
  19. "_npmUser": {
  20. "email": "brian.woodward@gmail.com",
  21. "name": "doowb"
  22. },
  23. "_npmVersion": "6.9.0",
  24. "_phantomChildren": {},
  25. "_requested": {
  26. "name": "set-value",
  27. "raw": "set-value@^2.0.0",
  28. "rawSpec": "^2.0.0",
  29. "scope": null,
  30. "spec": ">=2.0.0 <3.0.0",
  31. "type": "range"
  32. },
  33. "_requiredBy": [
  34. "/cache-base",
  35. "/union-value"
  36. ],
  37. "_resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
  38. "_shasum": "a18d40530e6f07de4228c7defe4227af8cad005b",
  39. "_shrinkwrap": null,
  40. "_spec": "set-value@^2.0.0",
  41. "_where": "/home/herrhase/Workspace/tentakelfabrik/tiny-components/tiny-consent/node_modules/cache-base",
  42. "author": {
  43. "name": "Jon Schlinkert",
  44. "url": "https://github.com/jonschlinkert"
  45. },
  46. "bugs": {
  47. "url": "https://github.com/jonschlinkert/set-value/issues"
  48. },
  49. "contributors": [
  50. {
  51. "name": "Jon Schlinkert",
  52. "url": "http://twitter.com/jonschlinkert"
  53. },
  54. {
  55. "url": "https://github.com/wtgtybhertgeghgtwtg"
  56. },
  57. {
  58. "name": "Vadim Demedes",
  59. "url": "https://vadimdemedes.com"
  60. }
  61. ],
  62. "dependencies": {
  63. "extend-shallow": "^2.0.1",
  64. "is-extendable": "^0.1.1",
  65. "is-plain-object": "^2.0.3",
  66. "split-string": "^3.0.1"
  67. },
  68. "description": "Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.",
  69. "devDependencies": {
  70. "gulp-format-md": "^0.1.12",
  71. "mocha": "^3.4.2"
  72. },
  73. "directories": {},
  74. "dist": {
  75. "fileCount": 4,
  76. "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
  77. "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdETtKCRA9TVsSAnZWagAAOwQP/RXKTdAMJgGay6gW0Gcq\nsIHSR1mvwoYfCkAswFLyPVyxToicUitgytwX4M88eTLOZY42B99z0L15kEWS\nqxDOuo9RpOWu9NZhk0OpD3bhjgiAq32uDi/E5XinVqdFezZJVH25DntVcSdJ\nLyuV/H5TJFpKNrlI8VzL8+mGHNXfzHIzlCSvnzEJGEEBGOoo8jbcprLxHWXB\naSgCYf8V/9T0iM0NS3EpRhXy7wUPSSL+R6PUvcMjCmJ0fvW39i/CERx0ZMRp\nUyjTlyBXV3ONDy3Dfb7f20Ty0U/VvJn3WKLDcAEUmUrZ2VEpqwH7XtwwGCQE\nEeXAEUBz2SrK2XamCS3lw46fOVrZN5Qwt5UseNJelIPyABCIk2xzNTqmob+i\nWXijOz2y7EEMZUjgWiNckTai7+5p+WlejvsVA7brr4FHmh62kvyTbSSBVwKD\nHKmERXcnb9YIuwxzDdC/nfnV/sq+RMBkoumGw53CX0IOtOJV4ENNdfGRBe5E\nbRy3E3Ut3ydu9SbtwKuZPEasYyrscnw4Go/3bGNUxoFPWJ4TpWPfoAYfqaJw\nCZn+7fibRuyGYUZ+EdOp6TsMjh3vLWBfaXZbvR4eEnIkjEl3NomAQ2J+JvwY\nlVQxQbqFSYv/u0La08+9AB3CtagJJNc5Nk5uWJxLC08ywP3sxwOE/y3Yod0x\nOBB+\r\n=JrGJ\r\n-----END PGP SIGNATURE-----\r\n",
  78. "shasum": "a18d40530e6f07de4228c7defe4227af8cad005b",
  79. "tarball": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
  80. "unpackedSize": 10322
  81. },
  82. "engines": {
  83. "node": ">=0.10.0"
  84. },
  85. "gitHead": "bb0f0382f7d7637f3de1bba52d1b4abdbbbde4d4",
  86. "homepage": "https://github.com/jonschlinkert/set-value",
  87. "keywords": [
  88. "get",
  89. "has",
  90. "hasown",
  91. "key",
  92. "keys",
  93. "nested",
  94. "notation",
  95. "object",
  96. "prop",
  97. "properties",
  98. "property",
  99. "props",
  100. "set",
  101. "value",
  102. "values"
  103. ],
  104. "license": "MIT",
  105. "main": "index.js",
  106. "maintainers": [
  107. {
  108. "name": "doowb",
  109. "email": "brian.woodward@gmail.com"
  110. },
  111. {
  112. "name": "jonschlinkert",
  113. "email": "github@sellside.com"
  114. }
  115. ],
  116. "name": "set-value",
  117. "optionalDependencies": {},
  118. "readme": "# set-value [![NPM version](https://img.shields.io/npm/v/set-value.svg?style=flat)](https://www.npmjs.com/package/set-value) [![NPM monthly downloads](https://img.shields.io/npm/dm/set-value.svg?style=flat)](https://npmjs.org/package/set-value) [![NPM total downloads](https://img.shields.io/npm/dt/set-value.svg?style=flat)](https://npmjs.org/package/set-value) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/set-value.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/set-value)\n\n> Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save set-value\n```\n\n## Usage\n\n```js\nvar set = require('set-value');\nset(object, prop, value);\n```\n\n### Params\n\n* `object` **{object}**: The object to set `value` on\n* `prop` **{string}**: The property to set. Dot-notation may be used.\n* `value` **{any}**: The value to set on `object[prop]`\n\n## Examples\n\nUpdates and returns the given object:\n\n```js\nvar obj = {};\nset(obj, 'a.b.c', 'd');\nconsole.log(obj);\n//=> { a: { b: { c: 'd' } } }\n```\n\n### Escaping\n\n**Escaping with backslashes**\n\nPrevent set-value from splitting on a dot by prefixing it with backslashes:\n\n```js\nconsole.log(set({}, 'a\\\\.b.c', 'd'));\n//=> { 'a.b': { c: 'd' } }\n\nconsole.log(set({}, 'a\\\\.b\\\\.c', 'd'));\n//=> { 'a.b.c': 'd' }\n```\n\n**Escaping with double-quotes or single-quotes**\n\nWrap double or single quotes around the string, or part of the string, that should not be split by set-value:\n\n```js\nconsole.log(set({}, '\"a.b\".c', 'd'));\n//=> { 'a.b': { c: 'd' } }\n\nconsole.log(set({}, \"'a.b'.c\", \"d\"));\n//=> { 'a.b': { c: 'd' } }\n\nconsole.log(set({}, '\"this/is/a/.file.path\"', 'd'));\n//=> { 'this/is/a/file.path': 'd' }\n```\n\n### Bracket support\n\nset-value does not split inside brackets or braces:\n\n```js\nconsole.log(set({}, '[a.b].c', 'd'));\n//=> { '[a.b]': { c: 'd' } }\n\nconsole.log(set({}, \"(a.b).c\", \"d\"));\n//=> { '(a.b)': { c: 'd' } }\n\nconsole.log(set({}, \"<a.b>.c\", \"d\"));\n//=> { '<a.b>': { c: 'd' } }\n\nconsole.log(set({}, \"{a..b}.c\", \"d\"));\n//=> { '{a..b}': { c: 'd' } }\n```\n\n## History\n\n### v2.0.0\n\n* Adds support for escaping with double or single quotes. See [escaping](#escaping) for examples.\n* Will no longer split inside brackets or braces. See [bracket support](#bracket-support) for examples.\n\nIf there are any regressions please create a [bug report](../../issues/new). Thanks!\n\n## About\n\n### Related projects\n\n* [assign-value](https://www.npmjs.com/package/assign-value): Assign a value or extend a deeply nested property of an object using object path… [more](https://github.com/jonschlinkert/assign-value) | [homepage](https://github.com/jonschlinkert/assign-value \"Assign a value or extend a deeply nested property of an object using object path notation.\")\n* [get-value](https://www.npmjs.com/package/get-value): Use property paths (`a.b.c`) to get a nested value from an object. | [homepage](https://github.com/jonschlinkert/get-value \"Use property paths (`a.b.c`) to get a nested value from an object.\")\n* [has-value](https://www.npmjs.com/package/has-value): Returns true if a value exists, false if empty. Works with deeply nested values using… [more](https://github.com/jonschlinkert/has-value) | [homepage](https://github.com/jonschlinkert/has-value \"Returns true if a value exists, false if empty. Works with deeply nested values using object paths.\")\n* [merge-value](https://www.npmjs.com/package/merge-value): Similar to assign-value but deeply merges object values or nested values using object path/dot notation. | [homepage](https://github.com/jonschlinkert/merge-value \"Similar to assign-value but deeply merges object values or nested values using object path/dot notation.\")\n* [omit-value](https://www.npmjs.com/package/omit-value): Omit properties from an object or deeply nested property of an object using object path [more](https://github.com/jonsc
  119. "readmeFilename": "README.md",
  120. "repository": {
  121. "type": "git",
  122. "url": "git+https://github.com/jonschlinkert/set-value.git"
  123. },
  124. "scripts": {
  125. "test": "mocha"
  126. },
  127. "verb": {
  128. "layout": "default",
  129. "lint": {
  130. "reflinks": true
  131. },
  132. "plugins": [
  133. "gulp-format-md"
  134. ],
  135. "related": {
  136. "list": [
  137. "assign-value",
  138. "get-value",
  139. "has-value",
  140. "merge-value",
  141. "omit-value",
  142. "set-value",
  143. "union-value",
  144. "unset-value"
  145. ]
  146. },
  147. "tasks": [
  148. "readme"
  149. ],
  150. "toc": false
  151. },
  152. "version": "2.0.1"
  153. }