Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/pseudomap.json

raw
1 {
2 "_id": "pseudomap",
3 "_rev": "5-a93165b774ba126a6638b933fb682aa4",
4 "name": "pseudomap",
5 "description": "A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.",
6 "dist-tags": {
7 "latest": "1.0.2"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "pseudomap",
12 "version": "1.0.0",
13 "description": "A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.",
14 "main": "map.js",
15 "directories": {
16 "test": "test"
17 },
18 "devDependencies": {
19 "tap": "^2.3.1"
20 },
21 "scripts": {
22 "test": "tap test/*.js"
23 },
24 "repository": {
25 "type": "git",
26 "url": "git+https://github.com/isaacs/pseudomap.git"
27 },
28 "author": {
29 "name": "Isaac Z. Schlueter",
30 "email": "[email protected]",
31 "url": "http://blog.izs.me/"
32 },
33 "license": "ISC",
34 "bugs": {
35 "url": "https://github.com/isaacs/pseudomap/issues"
36 },
37 "homepage": "https://github.com/isaacs/pseudomap#readme",
38 "gitHead": "2f2252a92ef96db2352e16426d4769375bac3e8f",
39 "_id": "[email protected]",
40 "_shasum": "e54724c45d2467838ea8efd05e9e9d0a80f324ba",
41 "_from": ".",
42 "_npmVersion": "3.3.2",
43 "_nodeVersion": "4.0.0",
44 "_npmUser": {
45 "name": "isaacs",
46 "email": "[email protected]"
47 },
48 "dist": {
49 "shasum": "e54724c45d2467838ea8efd05e9e9d0a80f324ba",
50 "tarball": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.0.tgz"
51 },
52 "maintainers": [
53 {
54 "name": "isaacs",
55 "email": "[email protected]"
56 }
57 ]
58 },
59 "1.0.1": {
60 "name": "pseudomap",
61 "version": "1.0.1",
62 "description": "A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.",
63 "main": "map.js",
64 "directories": {
65 "test": "test"
66 },
67 "devDependencies": {
68 "tap": "^2.3.1"
69 },
70 "scripts": {
71 "test": "tap test/*.js"
72 },
73 "repository": {
74 "type": "git",
75 "url": "git+https://github.com/isaacs/pseudomap.git"
76 },
77 "author": {
78 "name": "Isaac Z. Schlueter",
79 "email": "[email protected]",
80 "url": "http://blog.izs.me/"
81 },
82 "license": "ISC",
83 "bugs": {
84 "url": "https://github.com/isaacs/pseudomap/issues"
85 },
86 "homepage": "https://github.com/isaacs/pseudomap#readme",
87 "gitHead": "a1226c608b1933fa02436b098c483b926f0b4d54",
88 "_id": "[email protected]",
89 "_shasum": "29b4e7f37bbbf3e3c9b9152981c40f33d56b2b28",
90 "_from": ".",
91 "_npmVersion": "3.3.2",
92 "_nodeVersion": "4.0.0",
93 "_npmUser": {
94 "name": "isaacs",
95 "email": "[email protected]"
96 },
97 "dist": {
98 "shasum": "29b4e7f37bbbf3e3c9b9152981c40f33d56b2b28",
99 "tarball": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.1.tgz"
100 },
101 "maintainers": [
102 {
103 "name": "isaacs",
104 "email": "[email protected]"
105 }
106 ]
107 },
108 "1.0.2": {
109 "name": "pseudomap",
110 "version": "1.0.2",
111 "description": "A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.",
112 "main": "map.js",
113 "directories": {
114 "test": "test"
115 },
116 "devDependencies": {
117 "tap": "^2.3.1"
118 },
119 "scripts": {
120 "test": "tap test/*.js"
121 },
122 "repository": {
123 "type": "git",
124 "url": "git+https://github.com/isaacs/pseudomap.git"
125 },
126 "author": {
127 "name": "Isaac Z. Schlueter",
128 "email": "[email protected]",
129 "url": "http://blog.izs.me/"
130 },
131 "license": "ISC",
132 "bugs": {
133 "url": "https://github.com/isaacs/pseudomap/issues"
134 },
135 "homepage": "https://github.com/isaacs/pseudomap#readme",
136 "gitHead": "b6dc728207a0321ede6479e34506d3e0e13a940b",
137 "_id": "[email protected]",
138 "_shasum": "f052a28da70e618917ef0a8ac34c1ae5a68286b3",
139 "_from": ".",
140 "_npmVersion": "3.3.2",
141 "_nodeVersion": "4.0.0",
142 "_npmUser": {
143 "name": "isaacs",
144 "email": "[email protected]"
145 },
146 "dist": {
147 "shasum": "f052a28da70e618917ef0a8ac34c1ae5a68286b3",
148 "tarball": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz"
149 },
150 "maintainers": [
151 {
152 "name": "isaacs",
153 "email": "[email protected]"
154 }
155 ]
156 }
157 },
158 "readme": "# pseudomap\n\nA thing that is a lot like ES6 `Map`, but without iterators, for use\nin environments where `for..of` syntax and `Map` are not available.\n\nIf you need iterators, or just in general a more faithful polyfill to\nES6 Maps, check out [es6-map](http://npm.im/es6-map).\n\nIf you are in an environment where `Map` is supported, then that will\nbe returned instead, unless `process.env.TEST_PSEUDOMAP` is set.\n\nYou can use any value as keys, and any value as data. Setting again\nwith the identical key will overwrite the previous value.\n\nInternally, data is stored on an `Object.create(null)` style object.\nThe key is coerced to a string to generate the key on the internal\ndata-bag object. The original key used is stored along with the data.\n\nIn the event of a stringified-key collision, a new key is generated by\nappending an increasing number to the stringified-key until finding\neither the intended key or an empty spot.\n\nNote that because object traversal order of plain objects is not\nguaranteed to be identical to insertion order, the insertion order\nguarantee of `Map.prototype.forEach` is not guaranteed in this\nimplementation. However, in all versions of Node.js and V8 where this\nmodule works, `forEach` does traverse data in insertion order.\n\n## API\n\nMost of the [Map\nAPI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map),\nwith the following exceptions:\n\n1. A `Map` object is not an iterator.\n2. `values`, `keys`, and `entries` methods are not implemented,\n because they return iterators.\n3. The argument to the constructor can be an Array of `[key, value]`\n pairs, or a `Map` or `PseudoMap` object. But, since iterators\n aren't used, passing any plain-old iterator won't initialize the\n map properly.\n\n## USAGE\n\nUse just like a regular ES6 Map.\n\n```javascript\nvar PseudoMap = require('pseudomap')\n\n// optionally provide a pseudomap, or an array of [key,value] pairs\n// as the argument to initialize the map with\nvar myMap = new PseudoMap()\n\nmyMap.set(1, 'number 1')\nmyMap.set('1', 'string 1')\nvar akey = {}\nvar bkey = {}\nmyMap.set(akey, { some: 'data' })\nmyMap.set(bkey, { some: 'other data' })\n```\n",
159 "maintainers": [
160 {
161 "name": "isaacs",
162 "email": "[email protected]"
163 }
164 ],
165 "time": {
166 "modified": "2017-01-18T10:51:41.887Z",
167 "created": "2015-11-27T22:21:52.729Z",
168 "1.0.0": "2015-11-27T22:21:52.729Z",
169 "1.0.1": "2015-11-27T22:26:27.081Z",
170 "1.0.2": "2016-01-05T03:03:55.449Z"
171 },
172 "homepage": "https://github.com/isaacs/pseudomap#readme",
173 "repository": {
174 "type": "git",
175 "url": "git+https://github.com/isaacs/pseudomap.git"
176 },
177 "author": {
178 "name": "Isaac Z. Schlueter",
179 "email": "[email protected]",
180 "url": "http://blog.izs.me/"
181 },
182 "bugs": {
183 "url": "https://github.com/isaacs/pseudomap/issues"
184 },
185 "license": "ISC",
186 "readmeFilename": "README.md",
187 "users": {
188 "timdp": true,
189 "joaquin.briceno": true
190 },
191 "_attachments": {}
192 }