Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/unset-value.json

raw
1 {
2 "_id": "unset-value",
3 "_rev": "5-d7f85086b168326e601d17fa1bf333c2",
4 "name": "unset-value",
5 "description": "Delete nested properties from an object using dot notation.",
6 "dist-tags": {
7 "latest": "1.0.0"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "unset-value",
12 "description": "Delete nested properties from an object using dot notation.",
13 "version": "0.1.0",
14 "homepage": "https://github.com/jonschlinkert/unset-value",
15 "author": {
16 "name": "Jon Schlinkert",
17 "url": "https://github.com/jonschlinkert"
18 },
19 "repository": {
20 "type": "git",
21 "url": "git+https://github.com/jonschlinkert/unset-value.git"
22 },
23 "bugs": {
24 "url": "https://github.com/jonschlinkert/unset-value/issues"
25 },
26 "license": "MIT",
27 "files": [
28 "index.js"
29 ],
30 "main": "index.js",
31 "engines": {
32 "node": ">=0.10.0"
33 },
34 "scripts": {
35 "test": "mocha"
36 },
37 "dependencies": {
38 "has-value": "^0.2.0",
39 "isobject": "^2.0.0"
40 },
41 "devDependencies": {
42 "mocha": "*",
43 "should": "*"
44 },
45 "keywords": [],
46 "verb": {
47 "related": {
48 "list": [
49 "get-value",
50 "get-values",
51 "omit-value",
52 "put-value",
53 "set-value",
54 "union-value",
55 "upsert-value"
56 ]
57 }
58 },
59 "_id": "[email protected]",
60 "_shasum": "fbaafe2fe1f17a9a58e25d1fc48c58fb47cf0ec6",
61 "_from": ".",
62 "_npmVersion": "2.10.1",
63 "_nodeVersion": "0.12.4",
64 "_npmUser": {
65 "name": "jonschlinkert",
66 "email": "[email protected]"
67 },
68 "maintainers": [
69 {
70 "name": "jonschlinkert",
71 "email": "[email protected]"
72 }
73 ],
74 "dist": {
75 "shasum": "fbaafe2fe1f17a9a58e25d1fc48c58fb47cf0ec6",
76 "tarball": "https://registry.npmjs.org/unset-value/-/unset-value-0.1.0.tgz"
77 },
78 "directories": {}
79 },
80 "0.1.1": {
81 "name": "unset-value",
82 "description": "Delete nested properties from an object using dot notation.",
83 "version": "0.1.1",
84 "homepage": "https://github.com/jonschlinkert/unset-value",
85 "author": {
86 "name": "Jon Schlinkert",
87 "url": "https://github.com/jonschlinkert"
88 },
89 "repository": {
90 "type": "git",
91 "url": "git+https://github.com/jonschlinkert/unset-value.git"
92 },
93 "bugs": {
94 "url": "https://github.com/jonschlinkert/unset-value/issues"
95 },
96 "license": "MIT",
97 "files": [
98 "index.js"
99 ],
100 "main": "index.js",
101 "engines": {
102 "node": ">=0.10.0"
103 },
104 "scripts": {
105 "test": "mocha"
106 },
107 "dependencies": {
108 "has-value": "^0.2.1",
109 "isobject": "^2.0.0"
110 },
111 "devDependencies": {
112 "mocha": "*",
113 "should": "*"
114 },
115 "verb": {
116 "related": {
117 "description": "",
118 "list": [
119 "get-value",
120 "get-values",
121 "omit-value",
122 "put-value",
123 "set-value",
124 "union-value",
125 "upsert-value"
126 ]
127 }
128 },
129 "keywords": [
130 "del",
131 "delete",
132 "key",
133 "object",
134 "omit",
135 "prop",
136 "property",
137 "remove",
138 "unset",
139 "value"
140 ],
141 "gitHead": "6fc6e855657bec006a2adbe136391a5cbd169724",
142 "_id": "[email protected]",
143 "_shasum": "60bfdcaeaa16a4db88c95e6e79c18dd1eef97922",
144 "_from": ".",
145 "_npmVersion": "2.14.7",
146 "_nodeVersion": "4.2.1",
147 "_npmUser": {
148 "name": "jonschlinkert",
149 "email": "[email protected]"
150 },
151 "maintainers": [
152 {
153 "name": "jonschlinkert",
154 "email": "[email protected]"
155 }
156 ],
157 "dist": {
158 "shasum": "60bfdcaeaa16a4db88c95e6e79c18dd1eef97922",
159 "tarball": "https://registry.npmjs.org/unset-value/-/unset-value-0.1.1.tgz"
160 },
161 "directories": {}
162 },
163 "0.1.2": {
164 "name": "unset-value",
165 "description": "Delete nested properties from an object using dot notation.",
166 "version": "0.1.2",
167 "homepage": "https://github.com/jonschlinkert/unset-value",
168 "author": {
169 "name": "Jon Schlinkert",
170 "url": "https://github.com/jonschlinkert"
171 },
172 "contributors": [
173 {
174 "email": "[email protected]",
175 "url": "https://github.com/wtgtybhertgeghgtwtg"
176 },
177 {
178 "name": "Jon Schlinkert",
179 "email": "[email protected]",
180 "url": "http://twitter.com/jonschlinkert"
181 }
182 ],
183 "repository": {
184 "type": "git",
185 "url": "git+https://github.com/jonschlinkert/unset-value.git"
186 },
187 "bugs": {
188 "url": "https://github.com/jonschlinkert/unset-value/issues"
189 },
190 "license": "MIT",
191 "files": [
192 "index.js"
193 ],
194 "main": "index.js",
195 "engines": {
196 "node": ">=0.10.0"
197 },
198 "scripts": {
199 "test": "mocha"
200 },
201 "dependencies": {
202 "has-value": "^0.3.1",
203 "isobject": "^3.0.0"
204 },
205 "devDependencies": {
206 "gulp-format-md": "^0.1.11",
207 "mocha": "*",
208 "should": "*"
209 },
210 "keywords": [
211 "del",
212 "delete",
213 "key",
214 "object",
215 "omit",
216 "prop",
217 "property",
218 "remove",
219 "unset",
220 "value"
221 ],
222 "verb": {
223 "related": {
224 "list": [
225 "get-value",
226 "get-values",
227 "omit-value",
228 "put-value",
229 "set-value",
230 "union-value",
231 "upsert-value"
232 ]
233 },
234 "toc": false,
235 "layout": "default",
236 "tasks": [
237 "readme"
238 ],
239 "plugins": [
240 "gulp-format-md"
241 ],
242 "lint": {
243 "reflinks": true
244 }
245 },
246 "gitHead": "b4eb4edfca512c173cb91eea08a0f0effa5df9fc",
247 "_id": "[email protected]",
248 "_shasum": "506810b867f27c2a5a6e9b04833631f6de58d310",
249 "_from": ".",
250 "_npmVersion": "4.1.2",
251 "_nodeVersion": "7.5.0",
252 "_npmUser": {
253 "name": "jonschlinkert",
254 "email": "[email protected]"
255 },
256 "maintainers": [
257 {
258 "name": "jonschlinkert",
259 "email": "[email protected]"
260 }
261 ],
262 "dist": {
263 "shasum": "506810b867f27c2a5a6e9b04833631f6de58d310",
264 "tarball": "https://registry.npmjs.org/unset-value/-/unset-value-0.1.2.tgz"
265 },
266 "_npmOperationalInternal": {
267 "host": "packages-12-west.internal.npmjs.com",
268 "tmp": "tmp/unset-value-0.1.2.tgz_1488061615885_0.7473359440919012"
269 },
270 "directories": {}
271 },
272 "1.0.0": {
273 "name": "unset-value",
274 "description": "Delete nested properties from an object using dot notation.",
275 "version": "1.0.0",
276 "homepage": "https://github.com/jonschlinkert/unset-value",
277 "author": {
278 "name": "Jon Schlinkert",
279 "url": "https://github.com/jonschlinkert"
280 },
281 "contributors": [
282 {
283 "email": "[email protected]",
284 "url": "https://github.com/wtgtybhertgeghgtwtg"
285 },
286 {
287 "name": "Jon Schlinkert",
288 "email": "[email protected]",
289 "url": "http://twitter.com/jonschlinkert"
290 }
291 ],
292 "repository": {
293 "type": "git",
294 "url": "git+https://github.com/jonschlinkert/unset-value.git"
295 },
296 "bugs": {
297 "url": "https://github.com/jonschlinkert/unset-value/issues"
298 },
299 "license": "MIT",
300 "files": [
301 "index.js"
302 ],
303 "main": "index.js",
304 "engines": {
305 "node": ">=0.10.0"
306 },
307 "scripts": {
308 "test": "mocha"
309 },
310 "dependencies": {
311 "has-value": "^0.3.1",
312 "isobject": "^3.0.0"
313 },
314 "devDependencies": {
315 "gulp-format-md": "^0.1.11",
316 "mocha": "*",
317 "should": "*"
318 },
319 "keywords": [
320 "del",
321 "delete",
322 "key",
323 "object",
324 "omit",
325 "prop",
326 "property",
327 "remove",
328 "unset",
329 "value"
330 ],
331 "verb": {
332 "related": {
333 "list": [
334 "get-value",
335 "get-values",
336 "omit-value",
337 "put-value",
338 "set-value",
339 "union-value",
340 "upsert-value"
341 ]
342 },
343 "toc": false,
344 "layout": "default",
345 "tasks": [
346 "readme"
347 ],
348 "plugins": [
349 "gulp-format-md"
350 ],
351 "lint": {
352 "reflinks": true
353 }
354 },
355 "gitHead": "36b62353cde18d6be17a1c0dc080fddcc262d2da",
356 "_id": "[email protected]",
357 "_shasum": "8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559",
358 "_from": ".",
359 "_npmVersion": "4.1.2",
360 "_nodeVersion": "7.5.0",
361 "_npmUser": {
362 "name": "jonschlinkert",
363 "email": "[email protected]"
364 },
365 "maintainers": [
366 {
367 "name": "jonschlinkert",
368 "email": "[email protected]"
369 }
370 ],
371 "dist": {
372 "shasum": "8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559",
373 "tarball": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz"
374 },
375 "_npmOperationalInternal": {
376 "host": "packages-18-east.internal.npmjs.com",
377 "tmp": "tmp/unset-value-1.0.0.tgz_1488061635259_0.42952891532331705"
378 },
379 "directories": {}
380 }
381 },
382 "readme": "# unset-value [![NPM version](https://img.shields.io/npm/v/unset-value.svg?style=flat)](https://www.npmjs.com/package/unset-value) [![NPM monthly downloads](https://img.shields.io/npm/dm/unset-value.svg?style=flat)](https://npmjs.org/package/unset-value) [![NPM total downloads](https://img.shields.io/npm/dt/unset-value.svg?style=flat)](https://npmjs.org/package/unset-value) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/unset-value.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/unset-value)\n\n> Delete nested properties from an object using dot notation.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save unset-value\n```\n\n## Usage\n\n```js\nvar unset = require('unset-value');\n\nvar obj = {a: {b: {c: 'd', e: 'f'}}};\nunset(obj, 'a.b.c');\nconsole.log(obj);\n//=> {a: {b: {e: 'f'}}};\n```\n\n## Examples\n\n### Updates the object when a property is deleted\n\n```js\nvar obj = {a: 'b'};\nunset(obj, 'a');\nconsole.log(obj);\n//=> {}\n```\n\n### Returns true when a property is deleted\n\n```js\nunset({a: 'b'}, 'a') // true\n```\n\n### Returns `true` when a property does not exist\n\nThis is consistent with `delete` behavior in that it does not\nthrow when a property does not exist.\n\n```js\nunset({a: {b: {c: 'd'}}}, 'd') // true\n```\n\n### delete nested values\n\n```js\nvar one = {a: {b: {c: 'd'}}};\nunset(one, 'a.b');\nconsole.log(one);\n//=> {a: {}}\n\nvar two = {a: {b: {c: 'd'}}};\nunset(two, 'a.b.c');\nconsole.log(two);\n//=> {a: {b: {}}}\n\nvar three = {a: {b: {c: 'd', e: 'f'}}};\nunset(three, 'a.b.c');\nconsole.log(three);\n//=> {a: {b: {e: 'f'}}}\n```\n\n### throws on invalid args\n\n```js\nunset();\n// 'expected an object.'\n```\n\n## About\n\n### Related projects\n\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* [get-values](https://www.npmjs.com/package/get-values): Return an array of all values from the given object. | [homepage](https://github.com/jonschlinkert/get-values \"Return an array of all values from the given object.\")\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/jonschlinkert/omit-value) | [homepage](https://github.com/jonschlinkert/omit-value \"Omit properties from an object or deeply nested property of an object using object path notation.\")\n* [put-value](https://www.npmjs.com/package/put-value): Update only existing values from an object, works with dot notation paths like `a.b.c` and… [more](https://github.com/tunnckocore/put-value#readme) | [homepage](https://github.com/tunnckocore/put-value#readme \"Update only existing values from an object, works with dot notation paths like `a.b.c` and support deep nesting.\")\n* [set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value \"Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.\")\n* [union-value](https://www.npmjs.com/package/union-value): Set an array of unique values as the property of an object. Supports setting deeply… [more](https://github.com/jonschlinkert/union-value) | [homepage](https://github.com/jonschlinkert/union-value \"Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.\")\n* [upsert-value](https://www.npmjs.com/package/upsert-value): Update or set nested values and any intermediaries with dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/doowb/upsert-value \"Update or set nested values and any intermediaries with dot notation (`'a.b.c'`) paths.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 6 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 25, 2017._",
383 "maintainers": [
384 {
385 "name": "jonschlinkert",
386 "email": "[email protected]"
387 }
388 ],
389 "time": {
390 "modified": "2017-10-21T06:50:53.712Z",
391 "created": "2015-08-27T07:59:45.273Z",
392 "0.1.0": "2015-08-27T07:59:45.273Z",
393 "0.1.1": "2015-10-30T19:55:39.243Z",
394 "0.1.2": "2017-02-25T22:26:57.734Z",
395 "1.0.0": "2017-02-25T22:27:15.940Z"
396 },
397 "homepage": "https://github.com/jonschlinkert/unset-value",
398 "keywords": [
399 "del",
400 "delete",
401 "key",
402 "object",
403 "omit",
404 "prop",
405 "property",
406 "remove",
407 "unset",
408 "value"
409 ],
410 "repository": {
411 "type": "git",
412 "url": "git+https://github.com/jonschlinkert/unset-value.git"
413 },
414 "author": {
415 "name": "Jon Schlinkert",
416 "url": "https://github.com/jonschlinkert"
417 },
418 "bugs": {
419 "url": "https://github.com/jonschlinkert/unset-value/issues"
420 },
421 "license": "MIT",
422 "readmeFilename": "README.md",
423 "contributors": [
424 {
425 "email": "[email protected]",
426 "url": "https://github.com/wtgtybhertgeghgtwtg"
427 },
428 {
429 "name": "Jon Schlinkert",
430 "email": "[email protected]",
431 "url": "http://twitter.com/jonschlinkert"
432 }
433 ],
434 "users": {
435 "rocket0191": true
436 },
437 "_attachments": {}
438 }